Operating System - HP-UX
1833313 Members
2931 Online
110051 Solutions
New Discussion

Re: Changing IP address on lan1 (Service Guard)

 
Tim Howell
Frequent Advisor

Changing IP address on lan1 (Service Guard)

I have to change the IP address of my "secondary" lan card, lan1. This can be done through SAM, but is that the best way?
Also, when "adding" an address to a card, does it have to be in the same subnet as the other?
I have service guard and I am aware of having to edit the pkg control script and the cluster.config file (and of course /etc/hosts).
Are there any other files I need to check, especially related to service guard?

Thanks in advance!
if only we knew...
3 REPLIES 3
Karthik S S
Honored Contributor

Re: Changing IP address on lan1 (Service Guard)

When you say "secondary" lan card are you using this interface with any particular package??. Because you need not manually assign a IP addreess to lan1 if it is being used as a standby card to lan0. If you do not intend to use this as a backup to lan0 and using it for some package then yes, it needs to be on the same subnet as the cluster NETWORK_INTERFACE lan0. The easisest way is to do through SAM if you want to avoid editing the /etc/rc.config.d/netconf file manually.

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Tim Howell
Frequent Advisor

Re: Changing IP address on lan1 (Service Guard)

It is not a backup to lan0. It is used by the one and only pkg to "create" an IP for the pkg for another subnet (network). The subnets for lan0 and lan1 are already different. I am simply changing the subnet and IP addresses of the network connected to lan1. I do have a lan2 card which I believe is a backup to lan0, but I don't think I have to change anything related to it...

Thanks;
if only we knew...
G. Vrijhoeven
Honored Contributor

Re: Changing IP address on lan1 (Service Guard)

Hi Tim.

If lan1 is configured in the cluster configuration . I am afraid you have to alter the cluster ascii file, in addition to the netconf file on the server. If you have to do it on one node only it is possible to do it by stopping all packages on the node. Stop the cluster software on that node. edit the cmclconfig.ascii ( cluster config file ) by remove the stopped node. Make the network adjustments on that node ( alter the netconf file, by hand or using SAM ) add the node including the new network adjustments to the cluster config file, check and apply it.

If you need more info let us know.

HTH,

Gideon