unsubscribe_agents
特定の管理エージェント・ゴールド・イメージにサブスクライブされている指定した管理エージェントをサブスクライブ解除します。
書式
emcli unsubscribe_agents -image_name="Image Name" [-agents="Full Agent Name"] [-groups="List of group names"] [-closure_related="true/false"] [-closure_nfs="true/false"] [ ] indicates that the parameter is optional.
オプション
-
image_name
管理エージェントをサブスクライブ解除するイメージ名。
-
agents
指定した管理エージェント・ゴールド・イメージからサブスクライブ解除する管理エージェントの名前パターン。
-
groups
指定した管理エージェント・ゴールド・イメージからサブスクライブ解除する管理エージェント・グループ。
-
closure_related
関連する管理エージェントをサブスクライブ解除するかどうか。
false
に設定されている場合、関連する管理エージェントはサブスクライブ解除されません。 -
closure_shared
関連する管理エージェントをサブスクライブ解除するかどうか。
false
に設定されている場合、関連する共有管理エージェントはサブスクライブ解除されません。
例
例1
次の例では、管理エージェント・ゴールド・イメージOPC_AGT_ADC_POD
にサブスクライブされているxyz.example.com:1243
およびその関連するすべての共有エージェントをサブスクライブ解除します。
emcli unsubscribe_agents -image_name="OPC_AGT_ADC_POD" -agents="xyz.example.com:1243" -closure_shared="true"
例2
次の例では、管理エージェント・ゴールド・イメージOPC_AGT_ADC_POD
にサブスクライブされているxyz.example.com:1243
およびその関連するすべての管理エージェントをサブスクライブ解除します。
emcli unsubscribe_agents -image_name="OPC_AGT_ADC_POD" -agents="xyz.example.com:1243" -closure_related="true"