Sun Cluster 3.1 データサービスのインストールと構成

例 1 – インストールと構成

この例は、データサービスのインストールと構成の方法を示しています。


(BroadVision リソースタイプを登録する)
phys-schost-1:> scrgadm -a -t SUNW.bv 
 
(バックエンドプロセスおよびルートホストリソースのためのフェイルオーバーリソースグループを作成する)
phys-schost-1:> scrgadm -a -g root-host-resource-group
phys-schost-1:> scrgadm -a -g back-end-resource-group
 
(Interaction Manager プロセスのためのスケーラブルリソースグループを作成する)
phys-schost-1:> scrgadm -a -g im-resource-group -y Maximum_primaries=2 /
-y Desired_primaries=2

(フェイルオーバーリソースグループに論理ホスト名を追加する)
phys-schost-1:> scrgadm -a -L -g root-host-resource-group -l schost-1
phys-schost-1:> scrgadm -a -L -g back-end-resource-group -l schost-2

(ルートホストリソース、バックエンドリソース、およびInteraction Manager リソースを作成する)
phys-schost-1:> scrgadm -a -j root-host-resource -g root-host-resource-group / 
-t SUNW.bv -x BVUSER=bvuser -x BV1TO1_VAR=/global/broadvision/bvuser/bt1to1_var
phys-schost-1:> scrgadm -a -j back-end-resource -g back-end-resource-group / 
-t SUNW.bv -x BVUSER=bvuser -x BV1TO1_VAR=/global/broadvision/bvuser/bt1to1_var
phys-schost-1:> scrgadm -a -j im-resource -g im-resource-group -t SUNW.bv / 
-x BVUSER=bvuser -x BV1TO1_VAR=/global/broadvision/bvuser/bt1to1_var

(すべてのリソースグループをオンラインにする)
phys-schost-1:> scswitch -Z -g root-host-resource-group
phys-schost-1:> scswitch -Z -g back-end-resource-group
phys-schost-1:> scswitch -Z -g im-resource-group