
3. Execute the
utm-host-net
command to set the configuration in place.
Following are some examples of using the
utm-host-net
command.
Help information of the
utm-host-net
is shown below:
# utm-host-net --help
Urika Tenant Management (UTM) network checker
Usage: utm-host-net [argument]
Where
STATUS CHECKING
-c, --check
Reports the UTM network configuration and network device status on host nodes.
Returns success if devices needed by UTM are present and active.
--mgmt-check
Reports the management UTM network configuration and network device status on host nodes.
Returns success if devices needed by UTM are present and active.
--opns-check
Reports the operational UTM network configuration and network device status on host nodes.
Returns success if devices needed by UTM are present and active.
CONFIGURATION DETECTION
-m, --mgmt-intf
Prints the name of the management ethernet interface found on this system.
Does not detect if the device is active.
-o, --opns-intf
Prints the name of the operations ethernet interface found on this system.
Does not detect if the device is active.
-b, --br-intf
Prints the name(s) of all UTM bridge interface(s) found configured on this system.
Does not detect if device(s) are active.
--br0-intf
Detects if the UTM br0 interface is configured on this system.
Does not detect if the device is active.
--br1-intf
Detects if the UTM br1 interface is configured on this system.
Does not detect if the device is active.
MAKING CHANGES TO THE NETWORK CONFIGURATION
--mgmt-enable NETINFO
Enables the management network for use with UTM. Attempts to detect and only make
changes where needed.
--mgmt-enable-dryrun NETINFO
Show changes that would be made by --mgmt-enable but don't actually make changes
--opns-enable NETINFO
Enables the operations network for use with UTM. Attempts to detect and only make
changes where needed.
--opns-enable-force NETINFO
Enables the operations network for use with UTM. Will overwrite an existing UTM network configuration.
--opns-enable-dryrun NETINFO
Show changes that would be made by --opns-enable but don't actually make changes
For the above options NETINFO is of the format: 'ip,hwaddr,mask,gw,dns1,dns2,domain'
Where
ip - the IP address of the network
hwaddr - the device hardware MAC address
mask - the netmask for the network
gw - the network gateway
dns1 - dns 1 host/ip address
dns2 - dns 2 host/ip address
domain - the network domain name
HELP
-h, --help
Prints this usage message
NOTE: Comma separated arguments should be passed to the
utm-host-net
command in exactly
the same order as shown in the help information.
Execution of the
utm-host-net
command with the
--opns-enable-dryrun
option is shown below:
$
utm-host-net --opns-enable-dryrun \
172.30.51.152,xx,255.255.240.0,172.30.48.1,172.30.84.40,172.30.84.40,us.cray.com
Urika Tenant Management network configuration
dryrun mode: no changes will be made to the system
---- Status of Operations network ----
Missing bridge: br1
Found operation network ethernet device: enp7s0f1 state=[br1 NO_IP_LINK,enp7s0f1 UP(using bridge: NO)
(IP: 172.30.51.152/20)]
---- Action ----
The Operations network on this host will need to be be updated for UTM
Security
S3016
187