NAME

opsaddbmnode - It adds xCAT baremetal nodes to an OpenStack cloud.

SYNOPSIS

opsaddbmnode noderange -s service_host [-V|--verbose]

opsaddbmnode [-h|--help]

opsaddbmnode [-v|--version]

DESCRIPTION

The opsaddbmnode command registers xCAT nodes to an OpenStack cloud. An OpenStack nova baremetal node registration command takes several node attributes:

BMC ip addresss, user id and password
Name of nova compute host which will control this baremetal node
Number of CPUs in the node
Memory in the node (MB)
Local hard disk in the node (GB)
MAC address to provision the node

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.

ipmi (for BMC ip addresss, user id and password)
mac (for MAC address)
hwinv (for CPU, memory and disk info.)

Parameters

noderage is a comma separated node or node group names.

OPTIONS

-s The node name of the OpenStack compute host that hosts the baremetal nodes.
-h|--help Display usage message.
-v|--version The Command Version.
-V|--verbose Verbose output.

RETURN VALUE

0 The command completed successfully.

1 An error has occurred.

EXAMPLES

  1. To register node1, node2 and node3 to OpenStack, sv1 is the compute host.

       opsassbmnode node1,node2,node3 -s sv1

FILES

/opt/xcat/bin/opadddbmnode

SEE ALSO

opsaddimage(1)