[Linux-cluster] Best quick way to identify CS4 / CS5

Christine Caulfield ccaulfie at redhat.com
Wed Aug 5 13:19:44 UTC 2009


On 05/08/09 14:07, Alain.Moulle wrote:
> Hi
>
> What is the best way in a script to quickly identify if the CS is CS4 or
> CS5 ?
>

Probably the best way is to use 'cman_tool status' and look for the 
'Version:' string. For RHEL4 it's 5.x.x, for RHEL5 it's 6.[01].x and 
the STABLE3 code returns 6.2.x

chrissie




More information about the Linux-cluster mailing list