Sun Cluster Data Service for BroadVision One-To-One Enterprise ガイド (Solaris OS 版)

例 2 – 管理コマンド

この例は、管理者に便利な一般的な管理コマンドを示しています。


(リソースグループの状態を調べる)
phys-schost-1:> scstat -g

(注: BroadVision Interaction Manager 1、ルートホスト、バックエンドのすべての 
プロセスは phys-schost-1 上で実行される。Interaction Manager 2 プロセスは 
phys-schost-2 で実行されなければならない)

(フェイルオーバーをテストする。ルートホストリソースグループ と
バックエンドリソースグループを別のノードに切り替える)
phys-schost-1:> scswitch -z -g root-host-resource-group -h phys-schost-2
phys-schost-1:> scswitch -z -g back-end-resource-group -h phys-schost-2

(注: BroadVision ルートホストとバックエンドのすべてのプロセスが
phys-schost-2 上で実行されている)

(最大および希望のプライマリ数は 2 に設定されているため、Interaction Manager  
は、2 ノードクラスタで実行される。phys-schost-2 で実行される Iteraction Manager 2 を停止する 
)
phys-schost-1:> scswitch -z -g im-resource-group -h phys-schost-1

(すべてのリソースグループを停止する)
phys-schost-1:> scswitch -F -g root-host-resource-group
phys-schost-1:> scswitch -F -g back-end-resource-group
phys-schost-1:> scswitch -F -g im-resource-group

(すべてのBroadVision リソースとリソースグループを削除して無効にする)
phys-schost-1:> scswitch -n -j root-host-resource
phys-schost-1:> scswitch -n -j back-end-resource
phys-schost-1:> scswitch -n -j im-resource
phys-schost-1:> scswitch -n -j schost-1
phys-schost-1:> scswitch -n -j schost-2
phys-schost-1:> scrgadm -r -j root-host-resource
phys-schost-1:> scrgadm -r -j back-end-resource
phys-schost-1:> scrgadm -r -j im-resource
phys-schost-1:> scrgadm -r -j schost-1
phys-schost-1:> scrgadm -r -j schost-2
phys-schost-1:> scrgadm -r -j root-host-resource-group
phys-schost-1:> scrgadm -r -j back-end-resource-group
phys-schost-1:> scrgadm -r -j im-resource-group

(リソースタイプを削除する)
phys-schost-1:> scrgadm -r -t SUNW.bv