HP XC System Software Administration Guide Version 3.2

IMPORTANT: Be sure that the output represents the results you want before proceeding to the
next task, Otherwise, repeat the procedure in this section until the output accurately represents
the results you want.
22.6.3 Using the device_config Command
The device_config command allows you to update the command and management database
(CMDB) to incorporate one or more new external Ethernet ports, external1, external2, and
so on. The cluster_config utility configures the first external Ethernet port, external.
For incorporating external NICs, use the following device_config command format:
/opt/hptc/config/sbin/device_config [--dryrun] [--type E] [--host nodename]
[--extnetwork externalx] [--ip IP_address] [--name external_hostname]
[--netmask netmask] [--gateway gateway] [--iftype Ethernet] [MAC_address]
Where:
nodename Is the name of the HP XC system node. For example, n19.
externalx
Identifies the external Ethernet port.
The first physical external Ethernet port is external, the second
port is external1, the next port is external2, and so on.
NOTE: Do not specify the first physical external Ethernet port,
external, with --extnetwork option.
This port is the default selection when you do not specify the
--extnetwork option.
IP_address
Is the Internet Protocol address for the external connection for the
node.
external_hostname
Is the external host name for the node. External systems can access
this node directly with this external host name.
netmask
Is the IP network mask for this interface.
gateway
Identifies the system that acts a gateway to external communications.
MAC_address
Is the machine address for the NIC.
NOTE: If you are using IPv6 or MTU, there are additional options that you should specify. Enter
the following command for more information:
# /opt/hptc/config/sbin/device_config --help
22.6.4 Updating the Database for the External Network Card
You need to use the device_config command to update the database for an added external
NIC.
22.6 Incorporating External Network Interface Cards 283