NAME
stgenvdisp - displays the values of the environment settings
SYNOPSIS
/opt/FJSVswstf/bin/stgenvdisp [-n serverName]
DESCRIPTION
This command displays the environmental information set in AdvancedCopy Manager in the server where the command is executed. The contents of the displayed information are described below.
Title | Description |
---|---|
Server type | The server type is displayed as follows: Management server : Management Server or Management Server transaction |
Cluster system | The type of clustered system is displayed as follows: MSCS : Clustered system on Windows enviroment |
Node type | The node type is displayed as follows: Primary : Primary node |
Node name | The logical node name is displayed. |
Service name | The transaction name is displayed. |
Cluster name | The cluster name is displayed. |
Mount point | The mount point for AdvancedCopy Manager shared data is displayed. |
Disk resource | The name of the shared disk resource used for AdvancedCopy Manager shared data is displayed. |
Drive | The drive letter used for AdvancedCopy Manager shared data is displayed. |
Network name | The network name used for AdvancedCopy Manager is displayed. |
External connection | The external connection network name is displayed. |
Subnet mask | The subnet mask is displayed. |
IP address resource | IP address resource information is displayed. |
IP by cluster setup | The IPv4 format logical IP address specified in the cluster setting command is displayed. |
IPv6 by cluster setup | The IPv6 format logical IP address specified in the cluster setting command is displayed. |
Manager IP address | The IP address of the Management Server is displayed.
IPv6 address is expressed in abbreviated notation. |
Communication | The communication service port number (the service name in the services file: stgxfws) is displayed. |
Program install directory | Displays the "Program directory" specified during installation. |
Fixed configuration directory | Displays the "Environment directory" specified during installation. |
Modifying configuration directory | Displays the "Work directory" specified during installation. |
Version | Displays the version and level of AdvancedCopy Manager. |
Language | Displays the AdvancedCopy Manager language type. JAPANESE : Japanese version |
OPTIONS
Specifies the logical node name (logical node name specified in the cluster setup command) of the transaction.
If this option is specified, information on only the specified transactions is output. Otherwise, information on all transactions is output.
This option cannot be specified. If the option is specified, then message swstf6002 is output and processing ends.
Otherwise, information is output.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Information in a non-clustered system is displayed:
[For Management Server using IPv4 address]
# /opt/FJSVswstf/bin/stgenvdisp Server type : Management server Manager IP address : 192.0.2.10 Communication : 1226 ------------------------------------------------------------------------- Version : V16.8 Language : ENGLISH Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
[For Management Server using IPv4 address and IPv6 address]
# /opt/FJSVswstf/bin/stgenvdisp Server type : Management server Manager IP address : 192.0.2.10 Manager IP address : 2001:db8::1234:0:0:1 Communication : 1226 ------------------------------------------------------------------------- Version : V16.8 Language : ENGLISH Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
[For Managed Server using IPv4 address]
# /opt/FJSVswstf/bin/stgenvdisp Server type : Server Manager IP address : 192.0.2.10 Communication : 1226 ------------------------------------------------------------------------- Version : V16.8 Language : ENGLISH Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
[For Managed Server using IPv6 address]
# /opt/FJSVswstf/bin/stgenvdisp Server type : Server Manager IP address : 2001:db8::1234:0:0:1 Communication : 1226 ------------------------------------------------------------------------- Version : V16.8 Language : ENGLISH Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
Information on all transactions in a cluster environment is displayed.
[For Managed Server using IPv4 address]
# /opt/FJSVswstf/bin/stgenvdisp Server type : Management server Cluster system : GENERAL Node type : Primary Node name : nodemgr Service name : manager_service Mount point : /acmmgrdisk IP by cluster setup : 192.0.2.10 Manager IP address : 192.0.2.10 Communication : 11000 ------------------------------------------------------------------------- Server type : Server Node name : Local-Service Manager IP address : 192.0.2.10 Communication : 1226 ------------------------------------------------------------------------- Version : V16.8 Language : ENGLISH Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
[For Management Server using IPv4 address and IPv6 address]
# /opt/FJSVswstf/bin/stgenvdisp Server type : Management server Cluster system : GENERAL Node type : Primary Node name : nodemgr Service name : manager_service Mount point : /acmmgrdisk IP by cluster setup : 192.0.2.10 IPv6 by cluster setup : 2001:db8::1234:0:0:1 Manager IP address : 192.0.2.10 Manager IP address : 2001:db8::1234:0:0:1 Communication : 11000 ------------------------------------------------------------------------- Server type : Server Node name : Local-Service Manager IP address : 192.0.2.10 Communication : 1226 ------------------------------------------------------------------------- Version : V16.8 Language : ENGLISH Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
[For Managed Server using IPv4 address]
# /opt/FJSVswstf/bin/stgenvdisp Server type : Server Cluster system : GENERAL Node type : Primary Node name : nodeagt1 Service name : agent_service1 Mount point : /acmagt1disk Manager IP address : 192.0.2.10 Communication : 11000 ------------------------------------------------------------------------- Server type : Server Cluster system : GENERAL Node type : Secondary Node name : nodeagt2 Service name : agent_service2 Mount point : /acmagt2disk Manager IP address : 192.0.2.10 Communication : 12000 ------------------------------------------------------------------------- Server type : Server Node name : Local-Service Manager IP address : 192.0.2.10 Communication : 1226 ------------------------------------------------------------------------- Version : V16.8 Language : ENGLISH Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
[For Managed Server using IPv6 address]
# /opt/FJSVswstf/bin/stgenvdisp Server type : Server Cluster system : GENERAL Node type : Primary Node name : nodeagt1 Service name : agent_service1 Mount point : /acmagt1disk Manager IP address : 2001:db8::1234:0:0:1 Communication : 11000 ------------------------------------------------------------------------- Server type : Server Cluster system : GENERAL Node type : Secondary Node name : nodeagt2 Service name : agent_service2 Mount point : /acmagt2disk Manager IP address : 2001:db8::1234:0:0:1 Communication : 12000 ------------------------------------------------------------------------- Server type : Server Node name : Local-Service Manager IP address : 2001:db8::1234:0:0:1 Communication : 1226 ------------------------------------------------------------------------- Version : V16.8 Language : ENGLISH Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
NOTES
To output cluster operation information, execute the command from an active node. Executing the command from a standby node displays only partial information. To output cluster operation information while a transaction is stopped, either set the shared disk containing the AdvancedCopy Manager shared data of the transaction to the online state, or mount the shared disk and then execute the command.
When this command is executed in a clustered system, the environment variable SWSTGNODE need not be set.
This command can be executed only by root users.
"????" is displayed for any information that cannot be displayed because of an error.
Some items may not be output, depending on the server type (whether Management Server or Managed Server) or cluster type.