Sun Java System Calendar Server 6.3 管理指南

Procedure為第二個實例執行最終配置步驟

  1. 使用 Sun Cluster 指令行介面,執行到第一個節點的容錯移轉。

    例如:

    # /usr/cluster/bin/scswitch -z -g CAL-CS2-RG -h Node1
  2. 編輯配置檔 ics.conf,增加以下範例中所顯示的參數。


    備註 –

    所顯示的值僅是範例而已。您必須以自己的資訊替代範例中的值。

    在開始這個步驟之前,請先備份 ics.conf 檔案。


    ! The following changes were made to configure Calendar Server
    ! Highly Available
    !
    local.server.ha.enabled="yes"
    local.server.ha.agent="SUNWscics"
    service.http.listenaddr="IPAddressCS2"
    local.hostname="LOG-HOST-CS2-RS"
    local.servername="LOG-HOST-CS2-RS"
    service.ens.host="LOG-HOST-CS2-RS"
    service.http.calendarhostname="LOG-HOST-CS2-RS-Domain.com"
    local.autorestart="yes"
    service.listenaddr = "IPAddressCS2"

    備註 –

    service.http.calendarhostname 的值必須是完全合格的主機名稱。


  3. 使用 Sun Cluster 指令行介面,建立 Calendar Server 資源群組。

    建立 Calendar Server 資源群組並啟用它。

    例如:

    ./scrgadm -a -j CAL-SVR-CS2-RS -g CAL-CS2-RG
          -t SUNW.scics -x ICS_serverroot=/cal-svr-baseCS2
          -y Resource_dependencies=CAL-HASP-CS2-RS,LOG-HOST-CS2-RS
    
    ./scrgadm -e -j CAL-SVR-CS2-RS
  4. 使用 Sun Cluster 指令行介面來測試資源群組是否順利建立,對第二個節點 (Calendar Server 實例的主要節點) 執行容錯移轉。

    例如:

    ./scswitch -z -g CAL-CS2-RG -h Node2

    現在您已完成對稱 HA Calendar Server 的安裝和配置。