Top
Systemwalker Software Configuration Manager Reference Guide
FUJITSU Software

1.2.4 swcfmg_tenant (Tenant Information Management Command)

Description

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

It cannot be used during linkage to ServerView Resource Orchestrator.

Synopsis

[Windows]

swcfmg_tenant.exe
{ -add -file <Tenant info file path> [-e <Character encoding>] |
-update -file <Tenant info file path> [-e <Character encoding>] |
-delete { -id | -name } <Tenant ID>,... |
-list [ -file <Output file path>] [-e <Character encoding>] }

[Linux]

swcfmg_tenant
{ -add -file <Tenant info file path> [-e <Character encoding>] |
-update -file <Tenant info file path> [-e <Character encoding>] |
-delete { -id | -name } <Tenant ID>,... |
-list [ -file <Output file path>] [-e <Character encoding>] }

Options

-add -file <tenant info file>

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

The tenant information file is in CSV format (refer to "2.2.2 Tenant Information File" for details).

-update -file <tenant info file>

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

The tenant information file is in CSV format (refer to "2.2.2 Tenant Information File" for details).

-delete -name <Tenant ID>,...

Specify a tenant ID for deleting a registered tenant. Multiple tenant IDs can be specified by delimiting them with ',' (comma).

You can confirm a tenant ID by executing this command with the "-list" option specified and checking the tenant information that is output. "-name" is the former option. For new operations, use "-id".

-list [-file <output file>]

Outputs, in CSV format, the tenant information registered using this 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.2 Tenant 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.

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 tenant ID does not exist.

80

The tenant cannot be deleted because there is a user or server group belonging to the tenant.

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