1820257 Members
2829 Online
109622 Solutions
New Discussion юеВ

Get IP address

 
zsujith
Frequent Advisor

Get IP address

Hi,

Can anyone let me know how to find the Backup IP, Cluster IP and Console IP address of HP-Unix server.

Regards
"The most wasted day is that in which we have not laughed."
3 REPLIES 3
Ramesh S
Esteemed Contributor

Re: Get IP address

Hi

i couldn't understand your question,

But, Normally we use these command to know the IP's

# netstat -in -- Configures IP for lanX

Cluster IP ---> do you mean relocatable IP of package ? -- it will also be shown in "netstat -in"

Backup IP ---> do you mean Ip for your backup application -- it will also be shown in "netstat -in"

Console IP ---> do you mean MP/GSP Console Ip? -- If you are already logged into MP, you could try "CM > LS".

Thanks & Regards

Ramesh


Matti_Kurkela
Honored Contributor

Re: Get IP address

Backup IP: there is no way to specify a network interface as a "Backup IP" in the OS level. If some IP is designated as "Backup IP", it might mean that the backup software is configured to use that particular IP address only. Read the documentation of your backup software, then examine the configuration of the backup software.

Cluster IP: If you're using HP's MC/ServiceGuard, examine the configuration files in /etc/cmcluster. If you're using some other clustering solution, read the documentation of your clustering software.

Console IP: There is generally no way to determine the Console IP address at the OS level. It's intentionally designed that way.

If you don't know the Console IP address, you cannot connect to the console remotely. You must use the local serial console and press Control-B to access the GSP or MP. To view the LAN parameters of the GSP, just use the "LS" (Lan Status) command. If the console processor is MP type (newer servers), you must first enter "CM" (for Command Menu), then "LS" (Lan Status).

MK
MK
Nair1980
Frequent Advisor

Re: Get IP address

Hi


In Unix you can not specify any IP as backup ip . Using the command ├в netstat ├в in├в you can find all the IP address configured with a server.

Consider a server which is configured with one production IP and one backup IP and the same server is in a cluster.

You can identify the cluster IP by seeing the ├в netstat ├в in ├в output by seeing the name column of it .Consider the cluster ip is configured on lan1 then the name column of cluster IP will be shown lan1:1 .

Take the out put of #hostname command and do an nslookup will give the production IP address

The remaining will be backup IP..

If you are considering a server with long list of IP configured then you need to find the backup IP by seeing the same from backup server .