Usage Notes
If you do not specify a
WHERE
clause, then this command lists all the machines defined
in the
es.xml
file.
3.3.3.12 NETWORK
You can add, alter, delete, or list the networks defined in the XML configuration file.
•
(page 3-62)
•
(page 3-63)
•
(page 3-65)
•
3.3.3.12.1 ADD NETWORK
This command adds a network record to a machine in the existing configuration.
Syntax
ADD NETWORK
NETWORKTYPE=network_type HOSTNAME=hostname IP=ip_addr
NETMASK=netmask DOMAINNAME=domain_name MASTER=master
[ GATEWAY=gateway] [ SSHENABLED=ssh_enabled ] [ MAC=mac_addr ]
[ NICSPEED=nic_speed [ SLAVE='slave'] [ PKEY=pkey ]
[ PKEYNAME=pkey_name ] [ STATUS = status ] [ LACP=lacp ]
[ VLANID=vlan_id ] [ NATHOSTNAME=nat_host_name ] [ NATIP=nat_ip_addr ]
[ NATDOMAINNAME=nat_domain_name ] [ NATNETMASK=nat_mask ]
WHERE {
HOSTNAME = hostname |
CLUSTERNAME = cluster_name COMPUTENUMBER=compute_number |
CLUSTERNAME = cluster_name STORAGENUMBER=storage_number |
CLUSTERNUMBER = cluster_number COMPUTENUMBER=compute_number |
CLUSTERNUMBER = cluster_number STORAGENUMBER=storage_number }
Arguments
You can specify the following attributes when adding a network:
•
NETWORKTYPE
: (Mandatory) Specifies the type of network, which can be
ADMIN
,
CLIENT
,
BACKUP
,
PRIVATE
,
OTHER
,
INGESTVIP
,
REPLICATIONVIP
, or
ILOM
.
•
HOSTNAME
: (Mandatory) Specifies the short host name for the network
•
IP
: (Mandatory) Specifies the IP address of the network
•
NETMASK
: (Mandatory) Specifies the netmask of the network
•
DOMAINNAME
: (Mandatory) Specifies the domain name of the network
•
MASTER
: (Mandatory) Specifies the master adapter name
•
GATEWAY
: Specifies the network subnet gateway
•
SSHENABLED
: A Boolean variable where
TRUE
indicates SSH should be enabled for
this adapter
•
MAC
: Specifies the MAC address
•
NICSPEED
: (Only for X7 2 socket compute nodes), either 10000 or 25000
Chapter 3
OEDA Command Line Interface
3-62