Top
ETERNUS SF AdvancedCopy Manager V15.1 Operation Guide
ETERNUS

8.3.4 stgxfwcmmodsrv (Server information change command)

NAME

stgxfwcmmodsrv - changes the following server information


SYNOPSIS

/opt/FJSVswstf/bin/stgxfwcmmodsrv -n Server-Name [-s New-Server-Name] [-i New-IP-Address] [-p New-port-Number] | [-f server-information-change-instruction-filename [-y]]

DESCRIPTION

This command changes the following server information managed by AdvancedCopy Manager. It is necessary to execute this command on the Management Server.

Server information can also be changed as a batch while maintaining the consistency of multiple items of information between multiple servers in the managed system by specifying the server information change instruction file.

The following server information can be changed:

OPTIONS

-n Server-Name

Specify a server name that is currently being managed.
Specify a server name displayed by stgxfwcmdispsrv (Server information display command) exactly as displayed, including the case.

-s New-Server-Name

Specify a new server name in less than 255 bytes. The usable characters are: 1-byte alphanumeric characters, minus sign (-), underscore (_), number sign (#), and period (.), with the first character being a 1-byte alphanumeric character. (A 2-byte character causes an error.)
Note that the new server name is case-sensitive. When specifying the server name in other commands or Web Console, enter the server name exactly as entered in this command, including the case.
Specify at the same time as the -n option.

-i New-IP-Address

Specify the IP address of the Managed Server to be added by IPv4 format.
Specify a physical IP address if the Managed Server is managed as a physical server. Specify a logical IP address if the IP address is made redundant and managed (as a logical server), as in a cluster environment.
Specify at the same time as the -n option.

-p New-port-Number

Specify a port number required for post-change communication. The values are from 1024 to 65535)
Under the cluster environment, specify the port number that is allocated to service name stgxfws_? (Logical node name of AdvancedCopy Manager specified during cluster setup)
For non-cluster operations, specify the port number assigned to service name stgxfws.
Specify at the same time as the -n option.

-f server-information-change-instruction-filename

Specify the absolute path of the server information change instruction filename.
This option can only be specified at the same time as than the -y option.
Format for the server information change instruction file

  • In the first line, enter the server name of a currently managed server, the information class to be changed, and the new value, delimited by spaces or tabs.

  • The information classes to be changed are as follows:
    S: Server name
    I: IP address
    P: Port number

  • If multiple information classes, such as the IP address and the port number, need to be changed at the same server, enter the IP address change instruction, then enter the port number change instruction on the second line.

    Manager     I  10.10.20.10
    Server1     I  10.10.20.20
    Server1     P  9888
    Server2     S  DstServer
-y

Specify this option to continue processing if the management system contains multiple servers and an error occurs at a specific server.
Remove the cause of the error at the server where the error occurred, and perform the required change procedure separately for that server.
Specify at the same time as the -f option.


EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally


EXAMPLES

NOTES