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

例 - Sun Cluster HA for Netscape Directory Server の登録と構成

次に、Sun Cluster HA for Netscape Directory Server を登録する例を示します。


Cluster Information
Node names: phys-schost-1, phys-schost-2
Logical hostname: schost-1
Resource group: lh-schost-1 (すべてのリソースに適用),Resources: schost-1 (論理ホスト名),	nsldap-1 (LDAP アプリケーションリソース) 
 
(フェイルオーバーリソースグループを作成する)
# scrgadm -a -g lh-schost-1 -h phys-schost-1,phys-schost-2
 
(論理ホスト名リソースをリソースグループに追加する)
# scrgadm -a -L -g lh-schost-1 -l schost-1
 
(リソースグループをオンラインにする)
# scswitch -Z -g lh-schost-1
 
(Netscape Directory Server のインストールと構成を行う)
 
(LDAP サーバーを停止する)
 
(SUNW.nsldap リソースタイプを登録する)
# scrgadm -a -t SUNW.nsldap
 
(SUNW.nsldap リソースを作成し、それをリソースグループに追加する)
# scrgadm -a -j nsldap -g lh-schost-1 ¥
-t SUNW.nsldap -y Network_resources_used=schost-1 ¥
-y Port_list=389/tcp ¥
-x Confdir_list=/global/nsldap/slapd-schost-1
 
(アプリケーションリソースを有効にする)
# scswitch -e -j nsldap