例 1 – インストールと構成と 例 2 – 管理コマンドは、Sun Cluster HA for BroadVision One-To-One Enterprise のインストール、構成、および管理の方法について示しています。 次の表は、クラスタと BroadVision One-To-One Enterprise 構成の情報を一覧で示しています。この情報は、両方の例に適用されます。
表 1–5 例 – クラスタの情報
ノード名 |
phys-schost-1 、phys-schost-2 |
論理ホスト名 |
schost-1 、schost-2 |
リソースグループ |
root-host-resource-group (ルートホストリソースの場合)、 back-end-resource-group (バックエンドリソースの場合)、 im-resource-group (Interaction Manager リソースの場合) |
リソース |
root-host-resource (BroadVision ルートホストリソース), back-end-resource (BroadVision バックエンドリソース)、im-resource (BroadVision Interaction Manager リソース) |
表 1–6 例 – BroadVision 構成の情報
BV ユーザー |
BVUSER (すべてのクラスタノードで使用) |
BV1TO1_VAR ディレクトリ |
/global/broadvision/bvuser/bv1to1_var |
ルートホスト |
schost-1 |
バックエンドホスト |
schost-2 |
Interaction Manager 1 |
phys-schost-1 |
Interaction Manager 2 |
phys-schost-2 |
この例は、データサービスのインストールと構成の方法を示しています。
(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 |
この例は、管理者に便利な一般的な管理コマンドを示しています。
(リソースグループの状態を調べる) 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 上で実行される Interaction 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 |