nodediscoverdef - Define the undefined discovery request to a predefined xCAT node, or clean up the discovery entries from the discoverydata table (which can be displayed by nodediscoverls command)
nodediscoverdef -u uuid -n node
nodediscoverdef -r -u uuid
nodediscoverdef -r -t {seq|profile|switch|blade|manual|undef|all}
nodediscoverdef [-h|--help|-v|--version]
The nodediscoverdef command defines the discovery entry from the discoverydata table to a predefined xCAT node. The discovery entry can be displayed by nodediscoverls command.
The options -u and -n have to be used together to define a discovery request to a node.
The nodediscoverdef command also can be used to clean up the discovery entries from the discoverydata table.
The option -r is used to remove discovery entries. If working with -u, the specific entry which uuid specified by -u will be removed.
You also can use the -r -t option to limit that only remove the nodes that were discovered in a particular method of discovery.
Specify the nodes that have been discovered by the specified discovery method:
The xCAT node that the discovery entry will be defined to.
Remove the discovery entries from discoverydata table.
The uuid of the discovered entry.
Display usage message.
Command version.
0 The command completed successfully.
1 An error has occurred.
nodediscoverdef -u 51E5F2D7-0D59-11E2-A7BC-3440B5BEDBB4 -n node1
Output is similar to:
Defined [51E5F2D7-0D59-11E2-A7BC-3440B5BEDBB4] to node node1.
nodediscoverdef -r -u 51E5F2D7-0D59-11E2-A7BC-3440B5BEDBB4
Output is similar to:
Removing discovery entries finished.
nodediscoverdef -r -t seq
Output is similar to:
Removing discovery entries finished.
nodediscoverstart(1), nodediscoverstatus(1), nodediscoverstop(1), nodediscoverls(1)