Top
ETERNUS SF AdvancedCopy Manager V15.3 Operation Guide
ETERNUS

12.3.4 stgxfwcmmodsrv (Server information change command)

NAME

stgxfwcmmodsrv - changes the following server information


SYNOPSIS

<program-directory>\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

Specifies changed IP addresses.
IPv4 address or IPv6 address can be specified.

  • IPv4 address
    Format that separates decimal digits with periods ".". (Values according to the IPv4 rules)

  • IPv6 address
    Format that separates hexadecimal digits with colons ":".

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

  • For IP address, specify the following values according to the server type:

    For Management Server

    Specify either one or both of IPv4 address and IPv6 address.
    When specifiying both IP addresses, separate them with commas "," (IPv4 and IPv6 in that order).
    If both IP addresses are set but either of the IP addresses is to be changed, both IP addresses should be written as follows. Any IP address that is not written is deleted:

    Manager     I  10.10.20.10, 2001:db8::1234:0:0:1
    For Managed Server

    Specify either one of IPv4 address and IPv6 address.

  • 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