Name
[Windows Manager]
Installation_folder\RCXCFMG\bin\cfmg_addsoft - Registering Software Information
[Linux Manager]
/opt/FJSVcfmg/bin/cfmg_addsoft - Registering Software Information
Synopsis
cfmg_addsoft [-name software name] -xml software information file path
Functional Description
This command registers software information.
The software ID that has been allocated is output using the following XML format.
<?xml version="1.0" encoding="UTF-8"?> <result> <id>[software ID]</id> </result> |
Options
This option specifies the name of the software to be registered in the software information file, using a string of up to 85 printable ASCII characters.
If the software name includes spaces, enclose the name in double quotes.
If this option is specified, it takes priority over information in the software information file.
If this option is omitted, the software name in the software information is enabled.
If this option is omitted and there is no software name written in the software information, an error will occur.
This option specifies the absolute or relative path to the software information file, using a string of printable ASCII characters.
If the path includes spaces, enclose the path in double quotes.
Requirements
Infrastructure administrator with OS administrator privilege
Admin server
Example
> cfmg_addsoft -xml software.xml <?xml version="1.0" encoding="Windows-31J"?> <result> <id>SW00000112</id> </result>
Remarks: Encoding will be "UTF-8" with the Linux Manager.
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.