Hitachi Command Suite CLI リファレンスガイド

[目次][索引][前へ][次へ]


4.1.55 GetStorageArray (subtarget=LogSettings)

GetStorageArray (subtarget=LogSettings)コマンドは,ストレージシステムに設定されている,監査ログのSyslog設定・FTP設定に関する情報,およびアラートのSNMP設定に関する情報を取得します。

重要
このコマンドは,VSP 5000シリーズ,VSP G1000,G1500,VSP F1500の場合だけ情報を取得できます。

パラメーター

表4-58 GetStorageArray (subtarget=LogSettings)コマンドのパラメーター

パラメーター名 指定のレベル 説明
subtarget 必須 LogSettingsを指定します。
serialnum 任意 ストレージシステムのシリアル番号
省略した場合,すべてのストレージシステムが対象となります。
model 任意 ストレージシステムのモデル
省略した場合,すべてのストレージシステムが対象となります。

事前に取得するパラメーター値

serialnumおよびmodel
GetStorageArrayコマンドの実行結果から取得してください。実行結果のarrayType値またはdisplayArrayType値をパラメーターmodelに指定してください。serialNumber値をパラメーターserialnumに指定してください。

コマンド実行例

この例では,ストレージシステム(シリアル番号:10139,モデル:VSP G1000)の監査ログおよびSNMP設定に関する情報を,GetStorageArray (subtarget=LogSettings)コマンドで取得します。

HiCommandCLI GetStorageArray 
-o "D:\logs\GetStorageArray_LogSettings.log" 
"subtarget=LogSettings" "model=VSP G1000" "serialnum=10139"

コマンド実行結果

RESPONSE:
An instance of StorageArray
  .
  . (Attributes of StorageArray are omitted here)
  .
  List of 2 LogSettings elements:
    An instance of LogSettings
      logType=auditLog
      List of 1 SyslogSettings elements:
        An instance of SyslogSettings
          transportType=2
          primaryServerAvailable=enable
          primaryServerIpType=IPv4
          primaryServerIpAddress=172.25.21.102
          primaryServerPortNumber=514
          secondaryServerAvailable=disable
          location=R800#6
          timeout=120
          retryInterval=60
          retryCount=50
          detailOutput=enable
      List of 1 FTPSettings elements:
        An instance of FTPSettings
          primaryServerAvailable=enable
          primaryServerIpType=IPv6
          primaryServerIpAddress=3ffe:0501:4819:2000:5254:00ff:fedc:50d2
          primaryServerLoginUserName=root
          primaryServerOutputDirectory=/Data/AuditLog
          secondaryServerAvailable=disable
    An instance of LogSettings
      logType=alert
      List of 1 SNMPSettings elements:
        An instance of SNMPSettings
          snmpAgent=enable
          version=v3
          systemName=R800#6
          systemContact=xxxxx
          systemLocation=Yokohama
          engineID=0x80001f8880091b0000198c625500000000
          List of 2 SNMPTrapSecuritySettings elements:
            An instance of SNMPTrapSecuritySettings
              settingType=SendingTrapSettings
              ipType=IPv4
              ipAddress=172.25.21.101
              securityName=xxxxx
              authentication=enable
              authenticationProtocol=SHA
              encryption=enable
              encryptionProtocol=AES
            An instance of SNMPTrapSecuritySettings
              settingType=RequestAuthenticationSettings
              securityName=xxxx
              authentication=enable
              authenticationProtocol=MD5
              encryption=enable
              encryptionProtocol=DES

[目次] [前へ] [次へ]


[マニュアル発行元]

All Rights Reserved. Copyright© 2014, 2020, Hitachi, Ltd.