3.
Determine if the MAC address is present in the
ifcfg
files. If not, obtain the MAC address
and append it to each eth port:
a.
Execute the
ip ad
command to obtain the MAC address of all eth ports.
b.
Add the MAC address to the
ifcfg-ethx
file of each slave eth port. The following is
an example of the MAC address:
HWADDR=68:B5:99:B3:11:88
c.
Ensure that the
ONBOOT
parameter is set to “no” (
ONBOOT=no
) in the
ifcfg-ethx
file
of each eth port.
4.
Add the bond alias to the end of the contents of the
modprobe.conf
file, located at
/etc/
modprobe.conf
, by entering the following commands:
alias bond0 bonding
alias bond1 bonding
5.
Set the host name and modify the
/etc/hosts
file:
a.
Run the following command to set the host name:
hostname r150b16
In this instance,
r150b16
is the host name.
b.
Edit the
HOSTNAME
parameter in the
/etc/sysconfig/network
file with the host
name value (required for persistence):
HOSTNAME="r150s16"
c.
Add the host name to the
/etc/hosts
file:
172.16.3.16 r150b16
In this instance,
r150b16
is the host name.
6.
Start the bonding by running the service network
restart
command.
7.
To verify that the bonds are up, execute the
ifconfig
command. The bond0 and bond1
interfaces should be listed.
166 Recovering the X9720/9730 Storage