Fujitsu PRIMEQUEST 2000 Series Administration Manual page 186

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

Advertisement

CHAPTER 5 Hot Maintenance in Red Hat Enterprise Linux 7
5.4 Hot replacement of IOU
-
Not to change the interface name of upper driver or network script and so on, you must do setting that
interface name is assigned by the form of ethX after install. For details, see Red Hat, Inc's networking
guide.
2. Edit the saved interface configuration file.
Write a new hardware address to replace the old one. In "HWADDR," set the hardware address of the
replaced NIC in
after NIC
replacement. If the interface name is changed, change also the interface name. (in this case,
you must change file name itself.) Also, for SLAVE under bonding, the file contents are partly different,
but the lines to be set are the same.
Example:
DEVICE=eth0
NM_CONTROLLED=no
BOOTPROTO=static
HWADDR=2c:d4:44:f1:44:d2
BROADCAST=192.168.16.255
IPADDR=192.168.16.1
NETMASK=255.255.255.0
NETWORK=192.168.16.0
ONBOOT=yes
TYPE=Ethernet
Do this editing for all the saved interfaces except for the interface with no change of hardware address
and interface name.
3. Restore the saved interface configuration file to the original file.
Restore the interface configuration file saved to the save directory to the original file by executing the
following command.
# cd /etc/sysconfig/network-scripts/temp
# mv ifcfg-ethX
(following also executed for bonding configuration)
# mv ifcfg-bondX
4. Activate the replaced interface.
The method for activating a single NIC interface differs from that for activating the SLAVE interfaces
under bonding.
For a single NIC interface:
Execute the following command to activate the interface. Activate all the necessary interfaces.
# /sbin/ifup ethX
Also, if the single NIC interface has a VLAN device and the VLAN interface was temporarily removed,
restore the VLAN interface. If the priority option has changed, set it again.
# /sbin/vconfig add ethX Y
# /sbin/ifup ethX.Y
(enter command to set VLAN option as needed)
For SLAVE under bonding
Execute the following command to incorporate the SLAVE interface into the existing bonding
configuration. Incorporate all the necessary interfaces.
# /sbin/ifenslave bondY ethX
The VLAN-related operation is normally not required because a VLAN is created on the bonding device.
5. Mount all cables connected to the particular PCIC.
This step is performed by the field engineer in charge of your system.
Note
In GLS configuration with NIC switching way, you do not need to perform this step.
6. Remove the directory to which the interface configuration file was saved.
After all the interfaces to be replaced have been replaced, remove the save directory created in step 5 in
5.4.1 Preparation for IOU hot replacement
# rmdir /etc/sysconfig/network-scripts/temp
7. Execute the higher-level application processing required after NIC replacement.
Perform the necessary post processing (such as starting applications or restoring changed settings) for
TABLE 5.9 Example of entered values corresponding to the interface names before and
..
..
by executing the following command.
160
CA92344-0537-08

Advertisement

Table of Contents
loading

Table of Contents