Operating System - HP-UX
1833680 Members
4794 Online
110062 Solutions
New Discussion

LAN Reconfiguration on a Cluster

 
SOLVED
Go to solution
Vassilios
Frequent Advisor

LAN Reconfiguration on a Cluster

Hello all.

I was wondering if anyone could give me some advice on the following issue:

We have a cluster (Node 1 , Node 2) running Service Guard etc..., and in this cluster, we wish to change a network interface card from one to another (LAN card 5 to LAN card 1 actually). Without causing an outage, i've proposed the following:

a) Update the files in /etc/cmcluster on Both nodes
b) Delete the cluster
c) Re-create the cluster with the correct provisioning
d) Alter the /etc/rc.config.d/netconf file to reflect the changes of the new configuration.

Do i need to do anything else??

Thanks
6 REPLIES 6
Arunvijai_4
Honored Contributor
Solution

Re: LAN Reconfiguration on a Cluster

http://docs.hp.com/en/B5158-90019/ch08s01.html
[Testing Cluster Halt and Reconfiguration]

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Rita C Workman
Honored Contributor

Re: LAN Reconfiguration on a Cluster

Is LAN1 already configured as a failover interface ? If it is, then fail it over.

If it's not, then any networking changes within a cluster require downtime.
And you don't need to delete your cluster, (whch by the way....would cause an outage !)just halt the cluster, modify it, check it, and then apply it.

But based on what your mentioning, I'm guessing your looking to change the subnet (reference item d) of the cluster. So again, networking changes require downtime.

Rgrds,
Rita


Vassilios
Frequent Advisor

Re: LAN Reconfiguration on a Cluster

Thanks all:

LAN Card 1 is not in service. LAN Card 5 is in service, and working. We wish to make LAN card 1 a Heart-beat LAN (with LAN card 2 which is heart-beat).

In the above documentation, this is what it mentions:

If you have a LAN card failure, which requires the lan card to be replaced, then you can replace it using the following steps. It is not necessary to bring the cluster down to do this.

Halt the node by using the cmhaltnode command.

Shut down the node using /etc/shutdown, then power down the system.

Remove the defective LAN card.

Install the new LAN card. The new card must be exactly the same card type, and it must be installed in the same slot as the card you removed.

Power up the system.

Add the node back into the cluster by using the cmrunnode command.

Now, MC/LockManager will detect that the MAC address (LLA) of the card has changed from the value stored in the cluster binary configuration file, and it will notify the other nodes in the cluster of the new MAC address. The cluster will operate normally after this.

------------------------------------

Now, my question is this:

If it mentions that do the changes on one node, then that means that there will be or should be no outage (if the other node is the active node?). In fact the procedure given in the above manual (thanks anyway) does exactly do what I want. I require to change LAN cards whilst keeping the same IP addresses. I.e. configure LAN-1 with the IP address of LAN-5.

How would you do this. My process would be as follows:

a) Change config files /etc/cmcluster
b) delete cluster
c) Re-create cluster with new config files
d) Re-configure /etc/.../netconf file with new values (net stop/net start)

Is there anything else missing?? Can someone confirm??

Thanks
Vassilios
Frequent Advisor

Re: LAN Reconfiguration on a Cluster

Rita, Thanks, but i'm not looking at changing the subnet, we just want to configure LAN-Card-1 with the IP address of LAN-card-5, and make LAN-Card-5 unused.
That's all.

In a cluster with two nodes, how would you do this?

THanks.
Vassilios
Frequent Advisor

Re: LAN Reconfiguration on a Cluster

I'm prepared right now to give someone 10 points if they can provide a straight-forward answer to this issue. All i need is someone to confirm my procedure on how to decommission one LAN-card and activate another?

LAN-Card 5 to be unused.
LAN-Card 1 to be reconfigured with the IP address that LAN-card 5 had.
Vassilios
Frequent Advisor

Re: LAN Reconfiguration on a Cluster

I just want to say thanks to everyone. I think this forum is great. If you feel i havent been generous with handing out points, please let me know.