opsaddbmnode - It adds xCAT baremetal nodes to an OpenStack cloud.
opsaddbmnode noderange -s service_host [-V|--verbose]
opsaddbmnode [-h|--help]
opsaddbmnode [-v|--version]
The opsaddbmnode command registers xCAT nodes to an OpenStack cloud. An OpenStack nova baremetal node registration command takes several node attributes:
The opsaddbmnode command pulls the above baremetal node information from xCAT tables and calls "nova baremetal-node-create" to register the baremetal node with the OpenStack cloud.
Please make sure the following xCAT tables are filled with correct information for the given nodes before calling this command.
noderage is a comma separated node or node group names.
0 The command completed successfully.
1 An error has occurred.
To register node1, node2 and node3 to OpenStack, sv1 is the compute host.
opsassbmnode node1,node2,node3 -s sv1
/opt/xcat/bin/opadddbmnode