fix 545451

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13314 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-07-18 17:07:55 +00:00
parent 38b6ef1f6c
commit 8acf0432cb

View File

@ -22,8 +22,11 @@ This command is used to remove xCAT object definitions that are stored in the xC
=item B<-a|--all>
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")
Another option is to run xcatconfig -d, this will restore the initial setup of the database as when xCAT is initially installed. The site table and policy table will be setup with minimal data and defaults.
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. Most xCAT commands will fail.
In order to use xCAT commands again, you have two options. You can restore your database from your backup by switching to bypass mode, and running the restorexCATdb command.
You switch to bypass mode by setting the XCATBYPASS environmant variable. (ex. "export XCATBYPASS=yes")
A second option is to run xcatconfig -d. This will restore the initial setup of the database as when xCAT was initially installed.
You can then restart xcatd and run xCAT commands.
=item B<-f|--force>