Sun Java System Calendar Server 6.3 管理指南

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

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

    例如:

    # /usr/cluster/bin/scswitch -z -g CAL-CS1-RG -h Node2
  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="IPAddressCS1"
    local.hostname="LOG-HOST-CS1-RS"
    local.servername="LOG-HOST-CS1-RS"
    service.ens.host="LOG-HOST-CS1-RS"
    service.http.calendarhostname="LOG-HOST-CS1-RS-Domain.com"
    local.autorestart="yes"
    service.listenaddr = "IPAddressCS1"

    備註 –

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


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

    建立行事曆資源群組並啟用它。

    例如:

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

    例如:

    ./scswitch -z -g CAL-CS1-RG -h Node1