Top
Systemwalker Software Configuration Manager Reference Guide
FUJITSU Software

1.2.6 swcfmg_server (Server Information Management Command)

Description

This command registers, updates, deletes, and lists server information managed by Systemwalker Software Configuration Manager.

It cannot register, update, or delete servers managed by ServerView Resource Orchestrator.

Synopsis

[Windows]

swcfmg_server.exe
{ -add -file <server info file> [-e <char encoding>] [-t] |
-update -file <server info file> [-e <char encoding>] [-t] |
-delete -ip <IP address>,... |
-list [ -file <output file>] [-e<char encoding>] [-sort lplatform-id] [-all] }

[Linux]

swcfmg_server
{ -add -file <server info file> [-e <char encoding>] [-t] |
-update -file <server info file> [-e <char encoding>] [-t] |
-delete -ip <IP address>,... |
-list [ -file <output file>] [-e<char encoding>] [-sort lplatform-id] [-all] }

Options

-add -file <server info file>

Registers server information using the data entered in the specified server information file.

The server information file is in CSV format (refer to "2.2.5 Server Information File" for details).

-update -file <server info file>

Updates server information using the data entered in the specified server information file.

The server information file is in CSV format (refer to "2.2.5 Server Information File" for details).

-delete -ip <IP address>,...

Specify an IP address for deleting a registered server. Multiple IP addresses can be specified by delimiting them with ',' (comma).

-list [-file <output file>]

Outputs, in CSV format, the server information registered using this command and 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.5 Server 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.

-t

Performs the connection test. If this option is specified, the connection test will be performed after server information is registered or updated. If this option is omitted, the connection test will not be performed (refer to "1.2.8 swcfmg_connectiontest (Connection Test Command)" for details).

-all

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

-sort lplatform-id

If this option is specified, server information is displayed in ascending "L-Platform ID" 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 IP address does not exist.

80

The connection test failed.

81

The L-Platform or server 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 deletion
Notes on list display
Notes on registration and update errors

Example

Execution results/output format