EXAMPLES

Command-line mode:

#/opt/cmu/bin/cmu_add_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 -T ILO -R x86_64

processing 1 node ...

Interactive mode:In interactive mode, you are prompted for node parameters:#/opt/cmu/bin/cmu_add_node -i hostname> n10ip address> 16.16.184.116 netmask> 255.255.248.0mac address> 00-1C-C4-79-35-83 architecture> x86_64 mgtcard> ILOmgtcard ip address> 16.16.188.116

processing 1 node ...

Adding multiple nodes using a file:The input file must have one line per node. Where one each line:

#1 is the hostname #2 is the IP address #3 is the netmask

#4 is the ethernet mac address

#5 is the active logical group (usually "default") #6 is the management IP address or 0.0.0.0 if None

#7 is the management card type (e.g. ILO, lo100i, ILOCM, or None) #8 is the architecture (ex. x86_64)

#9 is the cartridge number/metadata number (ILOCM and user-defined BMCs only) #10 is the node number (ILOCM and user-defined 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_add_node -f nodes.txtprocessing 4 nodes...

147