サポート対象のライフサイクルステージ(LCS)
条件名 | 範囲 | 説明 |
LCS::PRE_DEPLOY |
展開 |
展開の VM を展開する直前に発生します。 |
LCS::POST_DEPLOY_ALIVE |
展開 |
展開がアクティブになった直後に発生します。 |
LCS::DEPLOY_ERR |
展開 |
展開が失敗した直後に発生します。 |
LCS::POST_DEPLOY:: VM_RECOVERY_ERR |
展開 |
1 つの VM のリカバリが失敗した直後に発生します (これは展開レベルで指定され、すべての VM グループに適用されます)。 |
LCS::POST_DEPLOY:: VM_RECOVERY _REDEPLOY_ERR |
展開 |
1 つの VM の再展開が失敗した直後に発生します (これは展開レベルで指定され、すべての VM グループに適用されます)。 |
LCS::DEPLOY_UPDATE::VM_ PRE_VOLUME_DETACH |
展開 |
ESC がボリュームをデタッチする直前にトリガーされます (これは個々の VM のグループに対して指定され、展開全体ではなく <vm_group> の下で指定されます)。 |
LCS::DEPLOY_UPDATE:: VM_VOLUME_ATTACHED |
展開 |
ESC が新しいボリュームをアタッチした直後にトリガーされます (これは個々の VM のグループに対して指定され、展開全体ではなく <vm_group> の下で指定されます)。 |
LCS::DEPLOY_UPDATE:: VM_SOFTWARE_VERSION_UPDATED |
展開 |
ESC が VM のソフトウェアバージョンを更新した直後にトリガーされます (これは個々の VM のグループに対して指定され、展開全体ではなく <vm_group> の下で指定されます)。 |
LCS アクションを使用したリモートサーバからのファイルの取得
ESC リリース 4.0 より前では、外部設定ファイルを取得するためにファイルロケータを LCS アクションスクリプトに追加していました。ファイルロケータには、ファイルサーバへの参照と、ダウンロードするファイルへの相対パスが含まれています。ESC リリース 4.0 以降、ファイルロケータ属性は展開レベルで定義されます。つまり、ポリシーアクションやデイゼロ設定セクションではなく、展開コンテナの直下で定義されます。
<esc_datamodel xmlns="http://www.cisco.com/esc/esc">
<tenants>
<tenant>
<name>test-tenant</name>
<deployments>
<deployment>
<name>test-deployment</name>
<file_locators>
<file_locator>
<name>custom_bool_action</name>
<remote_file>
<file_server_id>http-my-server</file_server_id>
<remote_path>share/qatest/custom_bool_action.sh</remote_path>
</remote_file>
</file_locator>
<file_locator>
<name>custom_bool_metric</name>
<remote_file>
<file_server_id>http-my-server</file_server_id>
<remote_path>/share/qatest/custom_bool_metric.sh</remote_path>
</remote_file>
</file_locator>
</file_locators>
<!-- truncated for brevity -->
<vm_group>
<name>ASA-group</name>
<!-- truncated for brevity -->
<kpi_data>
<kpi>
<event_name>MY_CUSTOM_BOOL_ACTION</event_name>
<metric_value>5</metric_value>
<metric_cond>LT</metric_cond>
<metric_type>UINT32</metric_type>
<metric_occurrences_true>1</metric_occurrences_true>
<metric_occurrences_false>1</metric_occurrences_false>
<metric_collector>
<type>MY_CUSTOM_BOOL_METRIC</type>
<nicid>0</nicid>
<poll_frequency>3</poll_frequency>
<polling_unit>seconds</polling_unit>
<continuous_alarm>false</continuous_alarm>
<properties>
<!-- Add file locator reference here -->
<property>
<name>file_locator_name</name>
<value>custom_bool_action</value>
</property>
</properties>
</metric_collector>
</kpi>
</kpi_data>
<rules>
<admin_rules>
<rule>
<event_name>MY_CUSTOM_BOOL_ACTION</event_name>
<action>ALWAYS log</action>
<action>TRUE my_custom_bool_action</action>
<properties>
<!-- Add file locator reference here -->
<property>
<name>file_locator_name</name>
<value>custom_bool_action</value>
</property>
</properties>
</rule>
</admin_rules>
</rules>
</vm_group>
</deployment>
</deployments>
</tenant>
</tenants>
</esc_datamodel>
詳細については、「リモートサーバからのファイルの取得」を参照してください。
ファイルを暗号化するには、「データ暗号化の設定」を参照してください。
さまざまなステージで定義されているライフサイクルステージ(LCS)ポリシーの条件
次の表に、データモデルで定義されているすべてのポリシー条件を示します。
条件名 |
範囲 |
---|---|
LCS :: VM :: PRE_VM_DEPLOY |
VM |
LCS::VM::POST_VM_DEPLOYED |
VM |
LCS::VM::POST_VM_ALIVE |
VM |
展開のライフサイクルステージ |
|
LCS::PRE_DEPLOY |
VM/展開 |
LCS::DEPLOY:: POST_VM_DEPLOYED |
VM |
LCS::POST_DEPLOY_ALIVE |
展開 |
LCS::DEPLOY_ERR |
展開 |
展開アップデートのライフサイクルステージ |
|
LCS::DEPLOY_UPDATE::POST_VM_ALIVE |
VM |
LCS::DEPLOY_UPDATE:: |
VM |
LCS::DEPLOY_UPDATE:: POST_VM_VOLUME_DETACHED |
VM |
LCS::DEPLOY_UPDATE:: POST_VM_VOLUME_ATTACHED |
VM |
LCS::DEPLOY_UPDATE:: PRE_VM_SOFTWARE_VERSION_UPDATED |
VM |
リカバリのライフサイクルステージ |
|
LCS::POST_DEPLOY:: POST_VM_RECOVERY_COMPLETE |
VM |
LCS::POST_DEPLOY:: VM_RECOVERY_ERR |
VM |
リカバリと再展開のライフサイクルステージ |
|
LCS::POST_DEPLOY:: VM_RECOVERY_REDEPLOY_ERR |
VM |