![]() |
|||
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
| ||||||||||||||||||||||
Chapter 12Replacing Ethernet CardsThis chapter describes how to replace Ethernet cards on a peer node. To replace Ethernet cards with cards of a different type, you must reinstall the node. To replace the Ethernet cards on diskless nodes, select the procedure according to the boot policy of the diskless node. This chapter contains the following sections: Replacing Ethernet Cards on the Vice-Master Node or a Dataless NodeTo replace the Ethernet cards on the vice-master node or a dataless node, perform the following procedure.
|
# nhadm check |
To replace the Ethernet cards on diskless nodes with the DHCP dynamic boot policy or the DHCP client ID boot policy, perform the procedure in Replacing Ethernet Cards on the Vice-Master Node or a Dataless Node. To replace the Ethernet cards on diskless nodes with the DHCP static boot policy, perform the following procedure.
Verify that the new Ethernet cards are of the same type as the old Ethernet cards.
Identify the IP address - Ethernet address couplet for the network interface cards that are to be replaced.
Replace the Ethernet cards by using the hardware documentation on http://www.sun.com/products-n-solutions/hardware/docs/.
Record the Ethernet addresses of the network cards on the new node.
To find the Ethernet addresses of the network cards, perform the following step:
Log in to the diskless node.
Identify the Ethernet address of NIC0:
ok> banner |
The Ethernet address of NIC0 is provided in the output.
The Ethernet address of NIC1 is derived as follows:
NIC0 + 0x1 |
For example, if the output of the banner command is this:
Ethernet address 8:0:20:fa:2a:6e, Host ID: 80fa2a6e |
The Ethernet address of NIC0 is 8:0:20:fa:2a:6e, and the Ethernet address of NIC1 is 8:0:20:fa:2a:6f.
In the DHCP configuration files, the Ethernet addresses of NIC0 and NIC1 are given as 01080020FA2A6E and 01080020FA2A6F, respectively.
For another example, the output of the banner command is this:
Ethernet address 8:0:20:f9:b3:60, Host ID: 80f9b360 |
In the DHCP configuration files in the /SUNWcgha/remote/var/dhcp/ directory, the Ethernet addresses of NIC0 and NIC1 are given as 01080020F9B360 and 01080020F9B361, respectively.
Log in to the master node as superuser.
Modify the DHCP configuration for NIC0:
# pntadm -M NIC01IP-address -i newEthernet-address \ -f 'PERMANENT+MANUAL' -m NIC0IP-address subnet1 |
The parameters of this command are as follows:
NIC0IP-address | The IP address of the NIC0 interface |
newEthernet-address | The Ethernet address of the NIC0 interface in DHCP configuration format |
subnet1 | The subnet connecting the NIC0 interfaces |
Modify the DHCP configuration for NIC1:
# pntadm -M NIC1IP-address -i newEthernet-address \ -f 'PERMANENT+MANUAL' -m NIC1IP-address subnet2 |
The parameters of this command are as follows:
NIC1IP-address | The IP address of the NIC1 interface |
newEthernet-address | The Ethernet address of the NIC1 interface in DHCP configuration format |
subnet2 | The subnet connecting the NIC1 interfaces |
Refresh the DHCP configuration on the master node:
# pkill -1 in.dhcpd |
Reboot the diskless node:
ok> boot |
Verify that the node is configured correctly:
# nhadm check |
![]() ![]() |