Operating System - HP-UX
1826373 Members
4405 Online
109692 Solutions
New Discussion

How many Nodes configured in Cluster

 
SOLVED
Go to solution
Ajin_1
Valued Contributor

How many Nodes configured in Cluster

Hi

 

Which command to find How many Nodes configured in Cluster,

other than cmviewcl -v, how to find its 2node or 3 node ......etc

Thanks & Regards
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
1 REPLY 1
Matti_Kurkela
Honored Contributor
Solution

Re: How many Nodes configured in Cluster

Only the cmviewcl and cmgetconf commands can output cluster configuration information in a human-readable format.

 

But if you have Serviceguard A.11.19 or later, the cmviewcl command has the "-f line" option that is very useful for scripting.

 

cmviewcl -f line |grep 'node:.*|id' |wc -l

 This command will display the number of nodes configured, and nothing else.

MK