Operating System - HP-UX
1751921 Members
4825 Online
108783 Solutions
New Discussion юеВ

Re: Service Guard Package IP Query !!

 
Avinash20
Honored Contributor

Service Guard Package IP Query !!

>>> Is there any specific command to check which package is having which relocatable IP ??

# netstat -in only shows the IP and package control file shows the relocatable IP but I like to know which command will help me to find the relocatable IP for running Cluster with more than 2 packages
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
3 REPLIES 3
Ivan Krastev
Honored Contributor

Re: Service Guard Package IP Query !!

Just use:
nslookup packagename


regards,
ivan
Ralph Grothe
Honored Contributor

Re: Service Guard Package IP Query !!

Not very elegant,
but assuming that the package control scripts are held in sync on all your cluster nodes (as common practice foresees)
then you could try parsing them similar to this:

# grep ^IP\\[ /etc/cmcluster/*/*.cntl|sed -e s,/etc/cmcluster/,, -e s,/.*=,\ ,|tr -d \"
Madness, thy name is system administration
Avinash20
Honored Contributor

Re: Service Guard Package IP Query !!

Not possible
"Light travels faster than sound. That's why some people appear bright until you hear them speak."