Operating System - HP-UX
1836450 Members
2437 Online
110100 Solutions
New Discussion

Re: Service Guard Adding the floating IP

 
SOLVED
Go to solution
Brad Marshall_2
Frequent Advisor

Service Guard Adding the floating IP

Hi
I am doing a huge disk migration on a machine with service guard. I am going to disable the cluster to get my work done and then run for a week without the cluster, till I can get another window to get it going again.

How should I manually apply the floating IP and floating hostname. At the unix prompt will cmmodnet work, as it is used with service guard?

Should I use something like
ifalias lan1 255.255.255.255 172.x.x.x
Do i also have to run the ifconfig command.
ifconfig lan1:1 inet 172.x.x.x netmask 0xffffff00

thanks
4 REPLIES 4
Sanjay_6
Honored Contributor

Re: Service Guard Adding the floating IP

Hi Brad,

ifalias command is not supported for 11.x. You'll have to use the ifconfig command.

Check out this link on how to assign multiple ip addres to the same lan card using ifconfig or by using netconf.

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063202882

The itrc doc id is 3100451169.

Hope this helps.

regds
Olivier Masse
Honored Contributor
Solution

Re: Service Guard Adding the floating IP

1. Identify which LAN card is on the network for which you need a floating address. Let's assume it's lan2. You need to create a virtual LAN device lan2:1 which will have your IP address.

2. Once your package is down, check to be sure that lan2:1 is free. Do "ifconfig lan2:1", and if nothing or 0.0.0.0 comes out you can use it. If it's used, check lan2:2, lan2:3 and so on.

3. Configure the virtual lan with "ifconfig lan2:1 1.2.3.4" where 1.2.3.4 is the IP address

4. Ping it from another host to be sure it works.

5. To disable it, do "ifconfig lan2:1 0.0.0.0".

6. To keep it across a reboot, add it in /etc/rc.config.d/netconf however it might not be needed just for a week. And you absolutely need to remove it before restarting your package or else it will fail.

Olivier
Brad Marshall_2
Frequent Advisor

Re: Service Guard Adding the floating IP

Worked great!
Thanks to both of you, I used both answers.
Brad Marshall_2
Frequent Advisor

Re: Service Guard Adding the floating IP

Answers worked.