Examples – HP Insight Cluster Management Utility User Manual

Page 205

Advertising
background image

-E|--serial-port-speed serial_port_speed

node serial port speed

-V|--vendor-args vendor_args

node vendor args

-D|--cloning-block-device cloning_block_device

node cloning block device

-C|--cartridge num

(ILOCM only) cartridge number within chassis

-N|--node-number num

(ILOCM only) node number within the cartridge

EXAMPLES

Command line mode:

# /opt/cmu/bin/cmu_mod_node -H cn0006 -I 16.16.184.116 -M 255.255.254.0

-A 00-02-A5-52-EB-F8 -L default -G 192.168.0.1 -R x86_64 -P generic

processing 1 node ...

Interactive mode:

In interactive mode, you are prompted for node parameters:

# /opt/cmu/bin/cmu_mod_node -i

Required fields are hostname, mac address, architecture and platform. Press 'Enter' on empty,
non-required fields to retain the field's current value. Press 'Enter' on fields showing [value] to apply
that value to the field.

hostname> n10
ip address> 16.16.184.116
netmask> 255.255.248.0
mac address> 00-1C-C4-79-35-83
architecture> x86_64
platform> generic
serial port [default]>
serial port speed [default]>
vendor args [default]>
cloning block device [default]>
mgtcard> ILO
mgtcard ip address> 16.16.188.116

processing 1 node ...

Modifying multiple nodes using a file:

The input file must have one line per node. If the value of a field is NULL, then that field will not
be modified. For example:

cn0001 16.16.184.17 255.255.254.0 00-02-A5-52-EB-F8 192.168.0.1 x86_64 NULL NULL generic

#1 is the hostname
#2 is the IP address
#3 is the netmask
#4 is the ethernet mac address
#5 is the management IP address or 0.0.0.0 if None
#6 is the architecture (ex. x86_64)
#7 is the cartridge number/metadata number (ILOCM and user-provided BMCs only, otherwise -1)
#8 is the node number (ILOCM and user-provided BMCs only, otherwise -1)
#9 is the platform (ex. generic)

# cat nodes.txt

cn0001 16.16.184.116 255.255.254.0 00-02-A5-52-EB-F8 192.168.0.1 ILO x86_64 NULL NULL generic
cn0002 16.16.184.117 255.255.254.0 00-02-A5-52-EB-F9 192.168.0.2 ILO x86_64 NULL NULL generic
cn0003 16.16.184.118 255.255.254.0 00-02-A5-52-EB-FA 192.168.0.3 ILO x86_64 NULL NULL generic
cn0004 16.16.184.119 255.255.254.0 00-02-A5-52-EB-FB 192.168.0.4 ILO x86_64 NULL NULL generic

# /opt/cmu/bin/cmu_mod_node -f nodes.txt

205

Advertising