rmdef - Use this command to remove xCAT data object definitions.
rmdef [-h|--help] [-t object-types]
rmdef [-V|--verbose] [-a|--all] [-t object-types] [-o object-names] [-f|--force] [noderange]
This command is used to remove xCAT object definitions that are stored in the xCAT database.
Clear the whole xCAT database. A backup of the xCAT definitions should be saved before using this option. Once all the data is removed the xCAT daemon will no longer work and you will have to switch to bypass mode in order to restore your data. You can switch to bypass mode by setting the XCATBYPASS environmant variable. (ex. ``export XCATBYPASS=yes'')
Use this with the all option as an extra indicator that ALL definitions are to be removed.
Display a usage message.
A set of comma delimited node names and/or group names. See the ``noderange'' man page for details on supported formats.
A set of comma delimited object names.
A set of comma delimited object types.
Verbose mode.
0 The command completed successfully.
1 An error has occurred.
rmdef -t node node1-node4
rmdef -t node,group
rmdef -t node -o bpcnodes
rmdef -t group -o bpcnodes
(This will also update the values of the ``groups'' attribute of the member nodes.)
$XCATROOT/bin/rmdef
(The XCATROOT environment variable is set when xCAT is installed. The default value is ``/opt/xcat''.)
This command is part of the xCAT software product.