get_siteguard_scripts

指定されたシステムに関連付けられたSite Guardスクリプトを取得します。

書式

emcli get_siteguard_scripts
      -system_name=<system_name>
      -operation=<operation_name>
      [-script_type=<type_of_script>]
      [-role=<role_of_system>]

パラメータ

  • system_name

    システムの名前。

  • operation

    スイッチオーバー、フェイルオーバー、起動または停止などの操作の名前。

  • script_type

    スクリプトのタイプ。たとえば: mount、unmount、pre-script、post-script、failoverまたはswitchover。

  • role

    システムに関連付けられたロールに基づいてスクリプトをフィルタ処理します。たとえば: PrimaryまたはStandby。

出力列

スクリプト、ID、タイプ、操作、パス、ロール

例1

emcli get_siteguard_scripts
      -system_name="BISystem1"
      -operation="Switchover"
      -script_type="Pre-Script"

例2

emcli get_siteguard_scripts
      -system_name="austin-system"
      -operation="Switchover"
      -script_type="Pre-Script"
      -role="Primary"