Top
ServerView Resource Orchestrator Cloud Edition V3.1.1 Reference Guide (Command/XML)
ServerView

9.3 cfmg_addsoft (Registering Software Information)

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

-name (optional)

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.

-xml

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

Permissions

Infrastructure administrator with OS administrator privilege

Location

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:

0

The command executed successfully.

non-zero

An error has occurred.