Description
This command exports IPMI information about the registered server from CMDB. IPMI information is output in specified file or standard output.
You can update and add IPMI information by editing IPMI information that was exported by swrba_ipmiexport and importing IPMI information by using swrba_ipmiimport.
The default value is output about the password among IPMI information that can be acquired by this command. Describe a new password and import the file when you change the password. As for the password of IPMI information whose password is a default value, the change is not done.
Synopsis
swrba_ipmiexport [-f output file] [-e Character code of output file] |
Options
Specify the file name for output.
When you omit this option, the information is displayed in a standard output.
The output form is CSV.
For more information about CSV file format, Refer to 1.4.12 swrba_ipmiimport (IPMI Information Import Command).
Specify the character code of the inputted file. The following character-codes can be specified.
UTF-8
SJIS
EUC
If this option is omitted, the character code of the input file will be as follows:
[Windows]
SJIS
[Linux]
The character code specified in the LANG environment variable
If the LANG environment variable has not been set, or character code cannot be recognized, then UTF-8 will be used.
Return Values
Normal termination
Warning termination
User information doesn't exist.
Parameter error
Errors other than 1 and 2
Command Location
[Windows]
<Systemwalker Runbook Automation installation directory>\bin |
[Linux]
/opt/FJSVswrbam/bin |
Privilege Required/Execution Environment
[Windows]
This command requires administrator privileges. When using Windows Server 2008 or later operating system, run as an administrator.
This command can be executed on a Management Server.
[Linux]
This can only be executed by a system administrator (superuser).
This command can be executed on a Management Server.
Note
swrba_ipmiexport and swrba_ipmiimport cannot run at the same time. For this reason, an error will occur if one command is executed while the other command is already under execution.
Execute this command when Systemwalker Runbook Automation is running.
If this command is used before the setup (swrba_setup) is complete, it will fail because of the following error:
Error: An internal error occurred. Detail=com.fujitsu.cmdb.CMDBUncheckedException: Property file not found. |
If this command is used before Systemwalker Runbook Automation has started up, it will fail because of the following error:
Error: Failed to register the IPMI information. Detail=com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers at [row,col {unknown-source}]: [1,50] |
When IPMI information is not registered, information is not output.