Top
Systemwalker Runbook Automation Reference Guide
Systemwalker

1.5.2 swrba_post_chghostinf (Host Name/IP Address Postprocess Command)

Description

Use this command when changing the host name/IP address of the server that is running the Management Server.

Execute this command after changing the host data of the server running the Management Server. Before changing host data, use the host name/IP address preprocess command.


Synopsis

If changing IP address

swrba_post_chghostinf -i <IP address>

If changing host name

swrba_post_chghostinf -h <host name>

If changing both host name and IP address

swrba_post_chghostinf -h <host name> -i <IP address>


Options

-h host name

Specifies the host name after the change.

-i IP address

Specifies the IP address after the change.


Return Values

0:

Normal termination

Other than 0:

Abnormal termination


Command Location

[Windows]

<Systemwalker Runbook Automation Management Server installation directory>\bin

Note: The default location is C:\Fujitsu\Systemwalker\SWRBAM

[Linux]

/opt/FJSVswrbam/bin

Privilege Required/Execution Environment

[Windows]

[Linux]

Example

Change host name to SWRBA and IP address to "192.0.2.10":

swrba_post_chghostinf -h SWRBA -i 192.0.2.10