If you have a LAN card failure, which requires the LAN card
to be replaced, you can replace it on-line or off-line depending
on the type of hardware and operating system you are running. It
is not necessary to bring the cluster down to do this.
Off-Line
Replacement |
 |
The following steps show how to replace a LAN card off-line.
These steps apply to both HP-UX 11.0 and 11i:
Halt the node by using the cmhaltnode command.
Shut down the system 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.
If necessary, add the node back into the cluster
by using the cmrunnode command. (You can omit this step if the node is configured
to join the cluster automatically.)
On-Line
Replacement |
 |
If your system hardware supports hotswap I/O cards, and if
the system is running HP-UX 11i (B.11.11 or later), you have the
option of replacing the defective LAN card on-line. This will significantly
improve the overall availability of the system. To do this, follow
the steps provided in the section “How to On-line Replace
(OLR) a PCI Card Using SAM” in the document Configuring
HP-UX for Peripherals. The OLR procedure also requires
that the new card must be exactly the same card type as the card
you removed to avoid improper operation of the network driver. Serviceguard
will automatically recover the LAN card once it has been replaced
and reconnected to the network.
After
Replacing the Card |
 |
After the on-line or off-line replacement of LAN cards has
been done, Serviceguard 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.
It is also recommended that you update the new MAC address
in the cluster binary configuration file by re-applying the cluster
configuration. Use the following steps for on-line reconfiguration:
Use the cmgetconf command to obtain a fresh ASCII configuration file, as
follows:
Use the cmapplyconf command to apply the configuration and copy the new binary
file to all cluster nodes:
# cmapplyconf -C config.ascii |
This procedure updates the binary file with the new MAC address
and thus avoids data inconsistency between the outputs of the cmviewconcl and lanscan commands.