名前
stgenvdisp - 環境情報の表示
形式
/opt/FJSVswstf/bin/stgenvdisp [-n 業務の論理ノード名]
機能説明
AdvancedCopy Managerに設定されている環境の各値を表示します。
表示される情報は以下のとおりです。
タイトル | 説明 |
---|---|
Server type | サーバ種別を表示します。 Management server:運用管理サーバ(Storage管理サーバ)または運用管理サーバ業務(Storage管理サーバ業務) |
Cluster system | クラスタシステムの種類を表示します。 VERITAS Cluster Server:VERITAS Cluster Server |
Node type | ノード種別を表示します。 Primary:プライマリノード |
Node name | 論理ノード名を表示します。 |
Service name | 業務名を表示します。 |
Cluster name | クラスタ名を表示します。 |
Mount point | AdvancedCopy Manager共有データ用のマウントポイントを表示します。 |
Disk resource | AdvancedCopy Manager共有データ用に使用した共有ディスクのリソース名を表示します。 |
Drive | AdvancedCopy Manager共有データ用に使用したドライブレターを表示します。 |
Network name | AdvancedCopy Managerで使用したネットワーク名を表示します。 |
External connection | 外部接続用ネットワーク名を表示します。 |
Subnet mask | サブネットマスクを表示します。 |
IP address resource | IPアドレスリソースを表示します。 |
IP by cluster setup | クラスタセットアップコマンドで指定したIPv4形式の論理IPアドレスを表示します。 |
IPv6 by cluster setup | クラスタセットアップコマンドで指定したIPv6形式の論理IPアドレスを表示します。 |
Manager IP address | 運用管理サーバのIPアドレスを表示します。
IPv6アドレスは、省略表記で表示されます。 |
Repository user | リポジトリアクセスユーザーを表示します。 |
DB log file |
|
DB dictionary file |
|
Repository database |
|
DB file |
|
RDB dictionary |
|
RDB log file |
|
Database space |
|
Database size |
|
Communication | 通信サービス/デーモンのポート番号(servicesファイル内のサービス名:stgxfws)を表示します。 |
Remote access | リモートアクセスサービス/デーモンのポート番号(servicesファイル内のサービス名:rmiswstf)を表示します。 |
Exclusive control | 排他制御サービス/デーモンのポート番号(servicesファイル内のサービス名:semswstf)を表示します。 |
Repository |
|
Program install directory | インストール時に指定したプログラムディレクトリを表示します。 |
Fixed configuration directory | インストール時に指定した環境設定ディレクトリを表示します。 |
Modifying configuration directory | インストール時に指定した作業用ディレクトリを表示します。 |
Version | AdvancedCopy Managerのバージョンレベルを表示します。 |
Language | AdvancedCopy Managerの言語種別を表示します。 JAPANESE:国内版 |
Code |
|
オプション
業務の論理ノード名(クラスタセットアップコマンドで指定した論理ノード名)を指定します。
本オプションが指定された場合、指定された業務の情報だけ出力します。
本オプションが指定されていない場合、全業務の情報を出力します。
本オプションは指定できません。指定された場合は、swstf6002のメッセージを出力して処理を終了します。
本オプションが指定されていない場合、情報を出力します。
終了ステータス
=0 : 正常終了
>0 : 異常終了
使用例
非クラスタ環境において情報を表示します。
[IPv4アドレスを使用する運用管理サーバの場合]
# /opt/FJSVswstf/bin/stgenvdisp Server type : Management server Manager IP address : 10.10.10.10 Repository user : acm DB file : /acmdb/dbfile RDB dictionary : /acmdb/rdbdic RDB log file : /acmdb/rdblog Database space : /acmdb/dbsp Database size : 65MB Communication : 1226 Remote access : 9851 Exclusive control : 9852 ------------------------------------------------------------------------- Version : V15.3 Language : JAPANESE Code : UNICODE Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
[IPv4アドレスおよびIPv6アドレスを使用する運用管理サーバの場合]
# /opt/FJSVswstf/bin/stgenvdisp Server type : Management server Manager IP address : 10.10.10.10 Manager IP address : 2001:db8::1234:0:0:1 Repository user : acm DB file : /acmdb/dbfile RDB dictionary : /acmdb/rdbdic RDB log file : /acmdb/rdblog Database space : /acmdb/dbsp Database size : 65MB Communication : 1226 Remote access : 9851 Exclusive control : 9852 ------------------------------------------------------------------------- Version : V15.3 Language : JAPANESE Code : UNICODE Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
[IPv4アドレスを使用する管理対象サーバの場合]
# /opt/FJSVswstf/bin/stgenvdisp Server type : Server Manager IP address : 10.10.10.10 Communication : 1226 ------------------------------------------------------------------------- Version : V15.3 Language : JAPANESE Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
[IPv6アドレスを使用する管理対象サーバの場合]
# /opt/FJSVswstf/bin/stgenvdisp Server type : Server Manager IP address : 2001:db8::1234:0:0:1 Communication : 1226 ------------------------------------------------------------------------- Version : V15.3 Language : JAPANESE Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
クラスタ環境において全業務の情報を表示します。
[IPv4アドレスを使用する運用管理サーバの場合]
# /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 : 10.10.10.10 Manager IP address : 10.10.10.10 Repository user : acm DB file : /acmmgrdisk/acmdb RDB dictionary : /acmmgrdisk/acmdb RDB log file : /acmmgrdisk/acmdb Database space : /acmmgrdisk/acmdb Database size : 65MB Communication : 11000 Remote access : 9851 Exclusive control : 9852 ------------------------------------------------------------------------- Server type : Server Node name : Local-Service Manager IP address : 10.10.10.10 Communication : 1226 ------------------------------------------------------------------------- Version : V15.3 Language : JAPANESE Code : UNICODE Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
[IPv4アドレスおよびIPv6アドレスを使用する運用管理サーバの場合]
# /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 : 10.10.10.10 IPv6 by cluster setup : 2001:db8::1234:0:0:1 Manager IP address : 10.10.10.10 Manager IP address : 2001:db8::1234:0:0:1 Repository user : acm DB file : /acmmgrdisk/acmdb RDB dictionary : /acmmgrdisk/acmdb RDB log file : /acmmgrdisk/acmdb Database space : /acmmgrdisk/acmdb Database size : 65MB Communication : 11000 Remote access : 9851 Exclusive control : 9852 ------------------------------------------------------------------------- Server type : Server Node name : Local-Service Manager IP address : 10.10.10.10 Communication : 1226 ------------------------------------------------------------------------- Version : V15.3 Language : JAPANESE Code : UNICODE Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
[IPv4アドレスを使用する管理対象サーバの場合]
# /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 : 10.10.10.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 : 10.10.10.10 Communication : 12000 ------------------------------------------------------------------------- Server type : Server Node name : Local-Service Manager IP address : 10.10.10.10 Communication : 1226 ------------------------------------------------------------------------- Version : V15.3 Language : JAPANESE Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
[IPv6アドレスを使用する管理対象サーバの場合]
# /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 : V15.3 Language : JAPANESE Program install directory : /opt Fixed configuration directory : /etc/opt Modifying configuration directory : /var/opt #
注意事項
クラスタ運用の情報を出力する場合、運用中のノードでコマンドを実行してください。待機ノードでは、一部の情報が表示されません。また、業務停止中にクラスタ運用の情報を出力する場合、業務用のAdvancedCopy Manager共有データ用共有ディスクをマウントしてからコマンドを実行してください。
本コマンドをクラスタ環境で実行する場合、環境変数(SWSTGNODE)の設定は不要です。
本コマンドはrootユーザーだけ実行可能です。
何らかのエラーが発生し、情報を表示できない場合は、値に“????”が表示されます。
出力項目は、サーバ種別(運用管理サーバ/管理対象サーバ)やクラスタ種別により出力されない場合もあります。