執行此程序,在現有叢集中加入新節點。
在新叢集節點上安裝硬體。
在新節點上安裝主機配接卡,並確認任何現有叢集交互連接均可支援此新節點。
請參閱Sun Cluster Hardware Administration Manual for Solaris OS。
安裝任何附加儲存體。
請參閱「Sun Cluster 3.x Hardware Administration Collection」中的適當手冊。
確定已安裝 Solaris 作業環境,以支援 Sun Cluster 軟體。
如果節點上已安裝了 Solaris 軟體,那麼您必須確定 Solaris 的安裝符合 Sun Cluster 軟體以及您要安裝到叢集上的任何其他軟體的需求。 請參閱如何安裝 Solaris 軟體 ,以取得有關安裝 Solaris 軟體的詳細資訊以滿足 Sun Cluster 軟體需求。
請確定 Sun Cluster 軟體套件已安裝在節點上。
完成下列配置工作表。
表 2–9 新增的節點配置工作表
請參閱 規劃 Solaris 作業環境 和 規劃 Sun Cluster 環境,以取得規劃準則。
您是否要將此節點加入至包含單一節點的叢集?
從現有叢集節點,確定兩個叢集互連是否已存在。
您必須至少配置了兩條電纜或兩個配接卡。
# scconf -p | grep cable # scconf -p | grep adapter |
配置新的叢集互連。
在現有叢集節點上,啟動 scsetup(1M) 公用程式。
# scsetup |
選取 Cluster interconnect。
選取 Add a transport cable。
依照指示指定要加入至叢集的節點名稱、傳輸配接卡名稱以及是否使用傳輸接點。
如有必要,重複執行步驟 c,來配置第二個叢集互連。
完成後,退出 scsetup 公用程式。
確認此叢集現在已配置了兩個叢集互連。
# scconf -p | grep cable # scconf -p | grep adapter |
指令輸出應該至少顯示兩個叢集互連的配置資訊。
將新節點加入至叢集已授權節點清單。
在任一個作用中的叢集成員上,啟動 scsetup(1M) 公用程式。
# scsetup |
顯示 Main Menu。
選取 New nodes。
選取 Specify the name of a machine which may add itself。
依照提示,將節點名稱加入至已辨識機器的清單。
驗證作業成功。
如果作業完成且無錯誤,scsetup 公用程式將列印訊息 Command completed successfully。
結束 scsetup 公用程式。
成為要配置之叢集節點的超級使用者。
啟動 scinstall 公用程式。
# /usr/cluster/bin/scinstall |
請依照以下準則來使用互動式 scinstall 公用程式︰
互動式 scinstall 可讓您繼續鍵入。 因此,如果下一個功能表畫面沒有立即出現,請不要多次按 Return 鍵。
除非另有說明,否則可按下 Control-D 返回一系列相關問題的起始位置或 Main Menu。
先前階段作業的預設回覆顯示在問題結尾處的括號 ([ ]) 中。 按 Return 鍵可輸入括號中的回應,無需鍵入它。
從 Main Menu 中,選擇 Install a cluster or cluster node。
*** Main Menu *** Please select from one of the following (*) options: * 1) Install a cluster or cluster node 2) Configure a cluster to be JumpStarted from this install server 3) Add support for new data services to this cluster node * 4) Print release information for this cluster node * ?) Help with menu options * q) Quit Option: 1 |
從 Install Menu 中,選擇 Add this machine as a node in an existing cluster。
依照功能表提示來提供您的回覆至 表 2–9 (您在步驟 4 中完成)。
scinstall 公用程式配置節點並將節點啟動到叢集中。
在要加入至叢集中的任何其他節點上重複執行此程序,直到完全配置所有其他節點。
# /usr/cluster/bin/scconf -a -T node=. |
新增
指定認證選項
指定要加入至認證清單中的點 (.) 節點名稱,以阻止任何其他節點自動加入至叢集
此外,您可以使用 scsetup(1M) 公用程式。 請參閱Sun Cluster 系統管理指南 (適用於 Solaris 作業系統)的「新增與移除叢集節點」中的「如何新增叢集節點至已授權的節點清單」,以取得相關程序。
SPARC: 您是否要安裝 VERITAS File System?
如果否,請設定名稱服務尋找順序。 移至如何配置名稱服務切換 。
以下範例顯示執行的指令 scinstall 以及 scinstall 在節點 phys-schost-3 上完成配置作業時公用程式所記錄的訊息。 贊助節點為 phys-schost-1。
>>> Confirmation <<< Your responses indicate the following options to scinstall: scinstall -ik \ -C sc-cluster \ -N phys-schost-1 \ -A trtype=dlpi,name=hme1 -A trtype=dlpi,name=hme3 \ -m endpoint=:hme1,endpoint=switch1 \ -m endpoint=:hme3,endpoint=switch2 Are these the options you want to use (yes/no) [yes]? Do you want to continue with the install (yes/no) [yes]? Checking device to use for global devices file system ... done Adding node "phys-schost-3" to the cluster configuration ... done Adding adapter "hme1" to the cluster configuration ... done Adding adapter "hme3" to the cluster configuration ... done Adding cable to the cluster configuration ... done Adding cable to the cluster configuration ... done Copying the config from "phys-schost-1" ... done Setting the node ID for "phys-schost-3" ... done (id=3) Verifying the major number for the "did" driver with "phys-schost-1" ...done Checking for global devices global file system ... done Updating vfstab ... done Verifying that NTP is configured ... done Installing a default NTP configuration ... done Please complete the NTP configuration after scinstall has finished. Verifying that "cluster" is set for "hosts" in nsswitch.conf ... done Adding the "cluster" switch to "hosts" in nsswitch.conf ... done Verifying that "cluster" is set for "netmasks" in nsswitch.conf ... done Adding the "cluster" switch to "netmasks" in nsswitch.conf ... done Verifying that power management is NOT configured ... done Unconfiguring power management ... done /etc/power.conf has been renamed to /etc/power.conf.61501001054 Power management is incompatible with the HA goals of the cluster. Please do not attempt to re-configure power management. Ensure that the EEPROM parameter "local-mac-address?" is set to "true" ...done Ensure network routing is disabled ... done Network routing has been disabled on this node by creating /etc/notrouter. Having a cluster node act as a router is not supported by Sun Cluster. Please do not re-enable network routing. Log file - /var/cluster/logs/install/scinstall.log.9853 Rebooting ... |