11-17-2011 05:54 AM
Solved! Go to Solution.
11-18-2011 02:42 AM
There is no command to change llt MAC addresses - you need to edit llttab file. This file is only read when llt is configured (started), normally only at boot time. To do this without rebooting:
Stop VCS (optioning with "-force" flag to leave applications runnings)
hastop -all [-force] (run on one node)
Stop GAB and LLT on BOTH nodes:
gabconfig -U
lltconfig -U
If you haven't edited llttab file, then do this now, then start LLT and GAB on both nodes
lltconfig -c
. /etc/gabtab (this should run gabconfig -c - n 2)
Check output of "lltstat -nvv" to see new MAC addresses and that both links are UP
Start VCS
hastart (on both nodes)
There should be nothing to change in VCS (main.cf) as its reference "bond0" is not changing.
Mike
11-17-2011 10:17 AM
Vincenzo,
Let me see if I am understanding correctly, your current NIC configuration is being effected by a bug and you are required to replace the physical devices themselves?
Can you post the output from the following:
/etc/llttab
#>lltstat -nvv
that is -n v v not w :o)
If you must, you can install new nics, add them as LLT links then remove the original LLT links and finally remove the original NICS.
Joe D
11-17-2011 03:31 PM
11-17-2011 06:43 PM
Excellent point. Best bet is to shutdown the system and replace the NIC's in the same PCI slots. You should then retain the same Interface number.
11-18-2011 02:15 AM
Hi Guys,
Thanks for your response.
>Let me see if I am understanding correctly,
>your current NIC configuration is being effected by a bug and you are required to replace the physical devices themselves?
No exactly. Really the physical Nics are affected by bugs, no their configuration.
I have attached the output of "lltstat -nvv" and the llttab.
Below I try to better define as to proceed:
a) So, as you explain me if the nics are replaced I'll have to only change the heartbeat's Mac in the llttab on both nodes. Is it enough ?
b) Instead, if the new NICs are added to servers ( it' s a possibility because the olds nics are "Integrated" Quad Port Multifunction Gigabit )
I think to proceed in this way:
Current Nics --> eth2, eth3 as heartbeat nic; eth0 and eth1 as bond0
1) add two new eth ( ethx and ethy for example) as heartbeat nic in the cluster ( so, I'll have four heartbeat (eth2, eth3, ethx, ethy ) ).
2) add two new eth ( ethz and ethj for example) in the bond0 ( so, the bond0 will involve four eth ( eth0, eth1, ethz, ethj )).
Finally I'll remove the olds eth from heartbeat and from bond0, so, the cluster will be migrated on the new NIC.
What do you think about that ? Is it possible to add ( and hence remove ) in the cluster new heartbeat eth ? What is the vcs command to do that ?
Thanks in advance,
Vincenzo
11-18-2011 02:42 AM
There is no command to change llt MAC addresses - you need to edit llttab file. This file is only read when llt is configured (started), normally only at boot time. To do this without rebooting:
Stop VCS (optioning with "-force" flag to leave applications runnings)
hastop -all [-force] (run on one node)
Stop GAB and LLT on BOTH nodes:
gabconfig -U
lltconfig -U
If you haven't edited llttab file, then do this now, then start LLT and GAB on both nodes
lltconfig -c
. /etc/gabtab (this should run gabconfig -c - n 2)
Check output of "lltstat -nvv" to see new MAC addresses and that both links are UP
Start VCS
hastart (on both nodes)
There should be nothing to change in VCS (main.cf) as its reference "bond0" is not changing.
Mike
11-18-2011 03:25 AM
Hi Mike,
the your response resolve in details the procedure I'll have to do about the a) point ( Nics are replaced so the eth ids of news Nic stay the same of old ones ).
Remain for me to understand what I'll have to do when news Nic are added and olds ones ( with bugs ) aren't removed ( point (b of previous my entry describe what I thought to do with blue language ), so I would like to have your help about this facet.
Thanks a lot,
Vincenzo
11-18-2011 04:01 AM
I don't see any text in blue colour, but I think you are referring to can you add 2 NICs to bond when old 2 are still there. The NIC agent in VCS will probably be not be aware you are adding and removing NICs to the bond. If you look at Bundled Agents guide then this explains what the NIC agent does: