Sun Cluster データサービス開発ガイド (Solaris OS 版)

ProcedureSun Cluster 管理コマンドを使って GDS ベースの高可用性サービスを作成する方法

手順
  1. スーパーユーザーになるか、同等の役割になります。

  2. リソースタイプ SUNW.gds を登録します。


    # scrgadm -a -t SUNW.gds
    
  3. LogicalHostname リソースとフェイルオーバーサービス自体を含むリソースグループを作成します。


    # scrgadm -a -g haapp_rg
    
  4. LogicalHostname リソースのリソースを作成します。


    # scrgadm -a -L -g haapp_rs -l hhead
    
  5. フェイルオーバーサービス自体のリソースを作成します。


    # scrgadm -a -j haapp_rs -g haapp_rg -t SUNW.gds \
             -y Scalable=false -y Start_timeout=120 \
             -y Stop_timeout=120 -x Probe_timeout=120 \
             -y Port_list="2222/tcp" \
             -x Start_command="/export/ha/appctl/start" \
             -x Stop_command="/export/ha/appctl/stop" \    
             -x Probe_command="/export/app/bin/probe" \
             -x Child_mon_level=0 -y Network_resources_used=hhead \
             -x Failover_enabled=TRUE -x Stop_signal=9
    
  6. リソースグループ haapp_rg をオンラインにします。


    # scswitch -Z -g haapp_rg