PRIMECLUSTER Global Link Services Configuration and Administration Guide: Redundant Line Control Function 4.1 (for Linux)
Contents Index PreviousNext

Chapter 4 Operation> 4.5 Active maintenance (addition/removal/swapping)> 4.5.1 Active maintenance by PCI Hot Plug

4.5.1.2 Removal procedure

This section describes the procedure for removing NICs whose virtual interface makes them redundant.

image

[Figure 4.2 Removing NICs whose virtual interface makes them redundant (ethX, ethY)]

For a Fast switching mode

1. Confirm that the PCI Hot Plug driver is installed.

If the PCI Hot Plug driver is not installed, install it according to "B.2.2 Installation of a PCI Hot Plug driver" of the "PRIMEQUEST 480/440 Operation Manual".

Confirmation procedure

# lsmod | grep shpchp
shpchp                203816  0

Installation procedure

# modprobe shpchp

2. Prepare for removing a card.

1) Deactivate the virtual interface.

# /opt/FJSVhanet/usr/sbin/stphanet -n shaX

2) Delete the virtual interface configuration information.

# /opt/FJSVhanet/usr/sbin/hanetconfig delete -n shaX

3) If necessary, delete the subnet mask information about the virtual interface.

# /opt/FJSVhanet/usr/sbin/hanetmask delete -i network_address

4) Deactivate the target NIC.

# /sbin/ifdown ethX
# /sbin/ifdown ethY

3. Turn off power to the target PCI slot.

The interface (ethX) is deleted when power is turned off. For details, see "B.2.3.2 Power-on and power-off procedures" of the "PRIMEQUEST 480/440 Operation Manual".

# echo 0 > /sys/bus/pci/slots/"<slot-number>"/power

4. Remove the NIC from the PCI slot.

To remove more NICs, repeat steps 2 to 4.

5. Perform post-removal processing.

1) Delete each interface setting file (/etc/sysconfig/network-scripts/ifcfg-eth<x>).

# /bin/rm /etc/sysconfig/network-scripts/ifcfg-ethX
# /bin/rm /etc/sysconfig/network-scripts/ifcfg-ethY

For a NIC switching mode

1. Confirm that the PCI Hot Plug driver is installed.

If the PCI Hot Plug driver is not installed, install it according to "B.2.2 Installation of a PCI Hot Plug driver" of the "PRIMEQUEST 480/440 Operation Manual".

Confirmation procedure

# lsmod | grep shpchp
shpchp                203816  0

Installation procedure

# modprobe shpchp

2. Prepare for removing a card.

1) Deactivate the virtual interface.

# /opt/FJSVhanet/usr/sbin/stphanet -n shaX

2) Stop interface status monitoring.

# /bin/touch /var/opt/FJSVhanet/tmp/disable_watchif

3) Stop hub monitoring.

# /opt/FJSVhanet/usr/sbin/hanetpoll off

4) Delete the hub monitoring destination information.

# /opt/FJSVhanet/usr/sbin/hanetpoll delete -n shaX

5) Delete the standby patrol function. If the standby patrol function is not used, skip this step.

# /opt/FJSVhanet/usr/sbin/hanetconfig delete -n shaY

6) Delete the virtual interface configuration information.

# /opt/FJSVhanet/usr/sbin/hanetconfig delete -n shaX

7) If necessary, delete the subnet mask information about the virtual interface.

# /opt/FJSVhanet/usr/sbin/hanetmask delete -i network_address

8) Deactivate the target NIC.

# /sbin/ifdown ethX
# /sbin/ifdown ethY

3. Turn off power to the target PCI slot.

The interface (ethX) is deleted when power is turned off. For details, see "B.2.3.2 Power-on and power-off procedures" of the "PRIMEQUEST 480/440 Operation Manual".

# echo 0 > /sys/bus/pci/slots/"<slot-number>"/power

4. Remove the NIC from the PCI slot.

To remove more NICs, repeat steps 2 to 4.

5. Perform post-removal processing.

1) Delete each interface setting file (/etc/sysconfig/network-scripts/ifcfg-eth<x>).

# /bin/rm /etc/sysconfig/network-scripts/ifcfg-ethX
# /bin/rm /etc/sysconfig/network-scripts/ifcfg-ethY

2) Restart GLS to enable the changed settings.

# /opt/FJSVhanet/usr/sbin/resethanet -s



Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005