Top
Systemwalker Software Configuration Manager Reference Guide
FUJITSU Software

1.4.13 swcfmg_param_startsetting (Parameter Setting Command)

Description

This command sets software parameters.

Synopsis

[Windows]

swcfmg_param_startsetting.exe
-userid <user ID> -ip <IP address> -softid <software ID>,... -predefid <parm settings definition ID>,... <parm info ID>,...-predefid <parameter information ID>,... [-prescript <script to run before execution>] [-postscript <script to run after execution>] [-reboot]

[Linux]

swcfmg_param_startsetting
-userid <user ID> -ip <IP address> -softid <software ID>,... -predefid <parm settings definition ID>,... <parm info ID>,...-predefid <parameter information ID>,... [-prescript <script to run before execution>] [-postscript <script to run after execution>] [-reboot]

Options

-userid <user ID> -ip <IP address> -softid <software ID>,... -predefid <parameter information ID>,...

Set parameters as the user specified by the user ID. For the IP address, specify the server for which parameters are to be set. For the software ID, specify the software for which parameters are to be set. In addition, for the parameter information ID, specify the predefined parameters to be used for setting parameters.

Multiple software IDs and parameter information IDs can be specified by delimiting them with ',' (comma). If specifying multiple IDs, set the parameters for multiple software products on the same server in the order in which you specified the IDs. Therefore, follow the same order when defining software products to be specified for the software IDs and predefined parameters to be specified for the parameter information IDs.

For example, if setting parameters for software in the following order, specify the software and predefined parameters as shown below.

Setting order

Software

Predefined parameter

1

Software A

Predefined parameter A

2

Software B

Predefined parameter B

3

Software C

Predefined parameter C

Example

-softid <software A>,<software B>,<software C> -predefid <predefined parameter A>,<predefined parameter B>,<predefined parameter C>

Use the Job Management window or the Job Information Management command to check the execution status.


You can specify the execution method by specifying the options below:

[-prescript <script to run before execution>]

Specify the script to be run before parameters are set. If this option is omitted, no script is executed before parameters are set.

[-postscript <script to run after execution>]

Specify the script to be run after parameters are set. If this option is omitted, no script is executed after parameters are set.

[-reboot]

This option restarts the server after parameter setting. If this option is omitted, the server is not restarted.


After this command completes, parameter setting is executed as a job. The job ID of the job to be executed is output to the standard output.

Output format for standard output:

[Job ID]

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.

50

The file description is incorrect.

70

The specified ID does not exist.

71

The specified user ID does not exist.

72

The package has not been registered.

73

The specified IP address does not exist.

81

You do not have the privileges required to set parameters.

100

Systemwalker Software Configuration Manager is not running.

103

Connection to the directory service failed.

104

The operation is not permitted for the admin server.

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

Example

[Windows]

swcfmg_param_startsetting.exe -userid user001 -ip 192.168.1.1 -softid UDP00001 -predefid PM00000001

[Linux]

swcfmg_param_startsetting -userid user001 -ip 192.168.1.1 -softid UDP00001 -predefid PM00000001