Incorporating External NICs HowTo

4.5 Reconfiguring the Nodes
After editing the platform_vars.ini file and updating the database, you need to reconfigure
the nodes with the new NICs. Use the following procedure:
1. Log in as superuser (root) on the head node.
2. Copy the following files, and any other files that you may have changed:
# pdcp -a -x `hostname` /opt/hptc/config/platform_vars.ini /opt/hptc/config/platform_vars.ini
# pdcp -a -x `hostname` /etc/sysconfig/iptables.proto /etc/sysconfig/iptables.proto
NOTE: If you are using IPv6, remember to copy the ip6tables.proto file also.
# pdcp -a -x `hostname` /etc/sysconfig/ip6tables.proto /etc/sysconfig/ip6tables.proto
3. Run the per-node configuration scripts on the node or nodes that you updated in the CMDB:
# pdsh -w node "/sbin/service nconfig nconfigure"
# pdsh -w node "/sbin/service nconfig nrestart"
Where:
node
Identifies the node or nodes that were updated.
Alternatively, you can reimage the nodes.
See Chapter 10 of the HP XC System Software Administration Guide for information on imaging
nodes and distributing software throughout the system and for information on the per-node
configuration.
5 Verifying Success
In addition to the verification steps you took after you edited the platform_vars.ini file and
after you updated the CMDB, you can verify the success of this HowTo by verifying the Ethernet
Port settings and the Ethernet device, then connecting to the external network.
5.1 Verifying the Ethernet Port
Use the ifconfig command to verify that the Ethernet port for the NIC that you incorporated
into the HP XC system is functioning correctly:
# ifconfig eth2
eth2 Link encap:Ethernet HWaddr 00:00:00:00:00:02
inet addr:192.0.2.2 Bcast:192.0.2.100 Mask:255.255.248.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10178703 errors:0 dropped:0 overruns:0 frame:0
TX packets:7442851 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1666416200 (1.5 GiB) TX bytes:951516823 (907.4 MiB)
Base address:0x2200 Memory:90300000-90320000
For information on the ifconfig command, see ifconfig(8).
5.2 Verifying the Ethernet Device
Use the ethtool command to verify that the Ethernet device for the NIC is operating correctly:
# ethtool eth2
Settings for eth2:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
20