beautypg.com

HP Insight Cluster Management Utility User Manual

Page 176

background image

# /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

processing 1 node ...

Interactive mode:

In interactive mode, you are prompted for node parameters:

# /opt/cmu/bin/cmu_mod_node -i
hostname> n10
ip address> 16.16.184.116
netmask> 255.255.248.0
mac address> 00-1C-C4-79-35-83
architecture> x86_64
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
cn0064 16.16.221.11 255.255.0.0 00-22-A5-58-CB-EA 192.168.20.11 x86_64 5 1

#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)
#8 is the node number (ILOCM and user-provided BMCs only)

# 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
cn0002 16.16.184.117 255.255.254.0 00-02-A5-52-EB-F9 192.168.0.2 ILO x86_64
cn0003 16.16.184.118 255.255.254.0 00-02-A5-52-EB-FA 192.168.0.3 ILO x86_64
cn0004 16.16.184.119 255.255.254.0 00-02-A5-52-EB-FB 192.168.0.4 ILO x86_64

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

processing 4 nodes...

176