1833788 Members
2686 Online
110063 Solutions
New Discussion

Re: Cluster IP

 
SOLVED
Go to solution
Roberto Severo
Advisor

Cluster IP

Hi,

I'm a newbie on Service Guard, and I have a cluster with 2 machines. What is the easiest way to discover the ip address of the cluster (in which machine is running) only referencing its hostname.

Thanks a lot
8 REPLIES 8
RolandH
Honored Contributor

Re: Cluster IP

See this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=237012

HTH
Roland
Sometimes you lose and sometimes the others win
Elmar P. Kolkman
Honored Contributor

Re: Cluster IP

Log into any of the nodes and do a cmviewcl to see what packages are configured and running on which node.

This should provide the info you need.
Every problem has at least one solution. Only some solutions are harder to find.
Stephen Doud
Honored Contributor

Re: Cluster IP

Hi Roberto,

I'm not certain what you mean by "cluster IP". There is no such thing as a "cluster IP".

Perhaps you are referring to a "relocatable IP" that is assigned to a LAN adapter when a ServiceGuard package starts on a particular node. When that package is halted, the Reloc. IP is removed from the NIC, and when the package is started on another node, the relocatable IP moves to that other node.

Such a relocatable IP can be given an alias name in /etc/hosts or your DNS server, so that users don't have to remember an IP in order to get to the package, on whichever node it is running.

-S.D.
Roberto Severo
Advisor

Re: Cluster IP

Yes, I've re-posted the message. I think this is the right place to ask about a Service Guard command. Not there.

Thank Notifying me.
Alex Lavrov
Regular Advisor

Re: Cluster IP

There is no such thing Cluster IP.
You have packages in cluster that have IP.

cmviewctl to see what packages you have there, then go to one of the machines to:
/etc/cmcluster/
and see in .cntl file the properties of this package, IP will be there too.
Alex Lavrov
Regular Advisor

Re: Cluster IP

sorry, it's *cmviewcl*, not *cmviewctl*

my mistake.
Geoff Wild
Honored Contributor
Solution

Re: Cluster IP

cmviewcl

then

cmgetconf -c clustername cluster.ascii

Where clustername is the name of the cluster from the cmviewcl command...

vi the cluster.ascii file and you will see your ip addresses...

Check out these links:

http://docs.hp.com/hpux/ha/index.html

http://docs.hp.com/hpux/onlinedocs/ha/haFAQindex2.html


Rgds...Geoff
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.
Jayan_2
Advisor

Re: Cluster IP

hey man,

give this command


netstat -in

With best regards

jinu
Work whole souled so as to god