Top
Systemwalker Software Configuration Manager Reference Guide
FUJITSU Software

1.2.4 swcfmg_lplatform (L-Platform Information Management Command)

Description

This command registers, updates, moves, changes the owner of, deletes, and lists L-Platform information managed by Systemwalker Software Configuration Manager.

It cannot register, update, move, change the owner of, or delete L-Platforms managed by ServerView Resource Orchestrator.

Synopsis

[Windows]

swcfmg_lplatform.exe
{ -add -file <L-Platform info file> [-e <char encoding>] |
-update -file <L-Platform info file> [-e <char encoding>] |
-move -file <L-Platform info file> [-e <char encoding>] |
-delete -id <L-Platform ID>,... |
-list [ -file <output file>] [-e<char encoding>] [-sort tenant-name] [-all] }

[Linux]

swcfmg_lplatform
{ -add -file <L-Platform info file> [-e <char encoding>] |
-update -file <L-Platform info file> [-e <char encoding>] |
-move -file <L-Platform info file> [-e <char encoding>] |
-delete -id <L-Platform ID>,... |
-list [ -file <output file>] [-e<char encoding>] [-sort tenant-name] [-all] }

Options

-add -file <L-Platform info file>

Registers L-Platform information using the data entered in the specified L-Platform information file.

The L-Platform information file is in CSV format (refer to "2.2.3 L-Platform Information File" for details).

-update -file <L-Platform info file>

Updates L-Platform information using the data entered in the specified L-Platform information file.

The L-Platform information file is in CSV format (refer to "2.2.3 L-Platform Information File" for details).

-move -file <L-Platform info file>

Moves or changes the owner of an L-Platform using the data entered in the specified L-Platform information file.

The L-Platform information file is in CSV format (refer to "2.2.3 L-Platform Information File" for details).

-delete -id <L-Platform ID>,...

Specify an L-Platform ID for deleting a registered L-Platform. Multiple L-Platform ID can be specified by delimiting them with ',' (comma).

-list [-file <output file>]

Outputs, in CSV format, the L-Platform information registered using this command and L-Platform information created using swcfmg_define_serverinfo (Managed Server Information Definition command).

If -file <output file> is omitted, the information is output to the standard output for this command.

If the specified file does not exist, a new file will be created. If the file exists, the existing file will be overwritten.

If the file cannot be output because of an error, either a new file will not be created or, if an existing file was to be overwritten, the existing file will be kept as it is, without being overwritten.

Refer to "2.2.3 L-Platform Information File" for information on the output file.

-e <char encoding>

Specify the character encoding for the file.

The character encodings below can be specified (single-byte uppercase characters must be used):

  • UTF-8

If this option is omitted, the character encoding of the execution environment of this command will be used.

-all

Outputs L-Platform information managed by ServerView Resource Orchestrator in addition to L-Platform information registered using this command and L-Platform information created using swcfmg_define_serverinfo (Managed Server Information Definition command).

-sort tenant-name

If this option is specified, L-Platform information is displayed in ascending "tenant-name" order.

Return value

Return value

Meaning

0

The command has terminated normally.

10

A parameter error has occurred.

20

The specified I/O path is incorrect.

30

The specified character encoding is incorrect.

50

The file description is incorrect.

70

The specified L-Platform ID does not exist.

80

The L-Platform cannot be deleted because there is a server belonging to the L-Platform.

81

The L-Platform managed by ServerView Resource Orchestrator cannot be operated.

100

Systemwalker Software Configuration Manager is not running.

101

A command that cannot be executed at the same time as this command is already running.

102

You do not have the privileges required to execute this command.

103

Connection to the directory service failed.

110

A write error has occurred.

200

Setup has not been performed.

255

A system error has occurred.

Command location

Admin server

[Windows]

<Systemwalker Software Configuration Manager installation directory>\SWCFMGM\bin

[Linux]

/opt/FJSVcfmgm/bin

Privilege required/execution environment

[Windows]

[Linux]

Notes

Common notes
Notes on registration
Notes on update
Notes on moving, or changing the owner
Notes on deletion
Notes on list display
Notes on update, moving, and owner change errors

Example

Execution results/output format