Fujitsu PRIMEQUEST 2000 Series Administration Manual page 274

Hide thumbs Also See for PRIMEQUEST 2000 Series:
Table of Contents

Advertisement

CHAPTER 7 PCI Card Hot Maintenance in SUSE Linux Enterprise Server 12
7.4 Hot replacement of IOU
Interface name
eth0
eth1
eth2
...
3. Execute the higher-level application processing required before NIC replacement.
Stop all access to the interface as follows. Stop the application that was confirmed in step 2 as using the
interface, or exclude the interface from the target of use by the application.
4. Deactivate the NIC.
Execute the following command to deactivate all the interfaces that you confirmed in step 2. The
applicable command depends on whether the target interface is a single NIC interface or the SLAVE
interface of a bonding device.
For a single NIC interface:
# /sbin/ifdown ethX
If the single NIC interface has a VLAN device, you also need to remove the VLAN interface. Perform the
following operations (before deactivating the real interface).
# /sbin/ifdown ethX.Y
# /sbin/vconfig rem ethX.Y
For the SLAVE interface of a bonding device:
If the bonding device is operating in mode 1, use the following steps to exclude SLAVE interface to be
replaced from the bonding configuration. In any other mode, removing it immediately should not cause
any problems.
Confirm that the SLAVE interface to be replaced is the interface currently being used for communication.
First, confirm the interface currently being used for communication by executing the following command.
# cat /sys/class/net/bondY/bonding/active_slave
If the displayed interface matches the SLAVE interface being replaced, execute the following command to
switch the current communication interface to another SLAVE interface.
# /sbin/ifenslave -c bondY ethZ
(ethZ: Interface that composes bondY and does not perform hot replacement)
Finally, remove the SLAVE interface being replaced, from the bonding configuration. Immediately after
being removed, the interface is automatically no longer used.
# /sbin/ifenslave -d bondY ethX
5. Save all the interface configuration files that you checked in step 2 by executing the following command.
Configuration scripts may reference the contents of files in /etc/sysconfig/network. For this reason, create
a save directory and save these files to the directory so that the configuration scripts will not reference
them.
# cd /etc/sysconfig/network
# mkdir temp
# mv ifcfg-ethX temp
(following also executed for bonding configuration)
# mv ifcfg-bondX temp
iSCSI (NIC) on the IOU
If replace iSCSI (NIC) on the IOU, you have to take not only the same steps of 'NIC on the IOU (including
Onboard NIC)' but also takes steps below in step 3 of that.
1. Perform the work for suppressing access to the iSCSI connection interface.
a. Confirm the state of multiple path by DM-MP (*1) or EMPD (*2).
b. Use the iscsiadm command to log out from the path (iqn) through which the iSCSI card to be replaced
is routed, and disconnect the session.
Example which confirms the state of session before disconnecting:
# /sbin/iscsiadm -m session
tcp: [1] 192.168.1.64:3260,1 iqn.2000-
09.com.fujitsu:storage-system.eternus-
Hardware address
2c:d4:44:f1:44:f0
2c:d4:44:f1:44:f1
00:19:99:d7:36:5f
248
Bus address
0000:89:01.0
0000:89:01.1
0000:8c:00.0
...
Location
Onboard 0
Onboard 1
PCI#0
...
CA92344-0537-08

Advertisement

Table of Contents
loading

Table of Contents