Top
Systemwalker Runbook Automation Reference Guide
Systemwalker

1.5.1 swrba_pre_chghostinf (Host Name/IP Address Preprocess Command)

Description

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

Execute this command before changing the host data of the server running the Management Server. Afterwards, use the host name/IP address postprocess command to complete the process.


Synopsis

swrba_pre_chghostinf -i <IP address> -d <work area>


Options

-i <IP address>

Specify the IP address that is to be changed.


-d <work area>

The empty directory which used as work area is specified by the absolute path within 25 alphanumeric characters.
You can not delete work area until swrba_post_chghostinf (Host Name/IP Address Postprocess Command) has been completed.

The rough amount of space for work area is as follows.

The requisite amount of work area =

Total amount of under install directory of Interstage Application Server (*1) x 1.2

(*1) The install directory of Interstage Application Server is as below.

[Windows]

  • It is any of the following directory.

  • If standard install
    C:\Fujitsu\Systemwalker\IAPS

  • If custom istall
    [The directory specified as install direction]\IAPS

[Linux]

It is total amount of the following directory

/var/opt/FJSVejb

/var/opt/FJSVena

/var/opt/FJSVes

/var/opt/FJSVextp

/var/opt/FJSVihs

/var/opt/FJSVisas

/var/opt/FJSVisgui

/var/opt/FJSVisjee

/var/opt/FJSVisjmx

/var/opt/FJSVisscs

/var/opt/FJSVj2ee

/var/opt/FJSVjms

/var/opt/FJSVjs2su

/var/opt/FJSVjs5

/var/opt/FJSVod

/var/opt/FJSVots

/var/opt/FJSVporb

/var/opt/FJSVshs

/var/opt/FJSVssoac

/var/opt/FJSVssoaz

/var/opt/FJSVssocm

/var/opt/FJSVssofs

/var/opt/FJSVssosv

/var/opt/FJSVtd

/etc/opt/FJSVejb

/etc/opt/FJSVes

/etc/opt/FJSVextp

/etc/opt/FJSVihs

/etc/opt/FJSVisas

/etc/opt/FJSVisgui

/etc/opt/FJSVisjee

/etc/opt/FJSVisjmx

/etc/opt/FJSVisscs

/etc/opt/FJSVj2ee

/etc/opt/FJSVjms

/etc/opt/FJSVjs2su

/etc/opt/FJSVjs5

/etc/opt/FJSVod

/etc/opt/FJSVots

/etc/opt/FJSVporb

/etc/opt/FJSVsclr

/etc/opt/FJSVshs

/etc/opt/FJSVssoac

/etc/opt/FJSVssoaz

/etc/opt/FJSVssofs

/etc/opt/FJSVssosv

/etc/opt/FJSVtd


Return Values

0:

Normal termination

Value 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

[Windows]

swrba_pre_chghostinf -i 192.0.2.1 -d D:\Work

[Linux]

swrba_pre_chghostinf -i 192.0.2.1 -d /Work