執行此程序,在現有叢集中增加新節點。
確定新節點上已安裝主機配接卡。
請參閱「Sun Cluster Hardware Administration Manual for Solaris OS」。
驗證所有現有的叢集互連均支援新節點。
參閱「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–8 增加的節點配置工作表
請參閱 規劃 Solaris 作業系統 和 規劃 Sun Cluster 環境,以取得規劃準則。
如果您將此節點增加至單節點叢集,請確定是否存在兩個叢集互連。
增加節點前,必須配置至少兩條電纜或兩個配接卡。
# scconf -p | grep cable # scconf -p | grep adapter |
如果輸出結果顯示關於兩條電纜或兩個配接卡的配置資訊,請移至步驟 6。
如果輸出結果未顯示關於任何電纜或配接卡的配置資訊,或僅顯示一條電纜或一個配接卡的配置資訊,請配置新的叢集互連。
在現有叢集節點上,啟動 scsetup(1M) 公用程式。
# scsetup |
選擇功能表項目 [叢集互連]。
選擇功能表項目 [增加傳輸電纜]。
依照指示指定要加入至叢集的節點名稱、傳輸配接卡名稱以及是否使用傳輸接點。
如有必要,重複執行步驟 c,來配置第二個叢集互連。
完成後,退出 scsetup 公用程式。
確認此叢集現在已配置了兩個叢集互連。
# scconf -p | grep cable # scconf -p | grep adapter |
指令輸出應該至少顯示兩個叢集互連的配置資訊。
如果您將此節點增加至現有叢集,請將新節點增加至叢集的授權節點的清單。
在任一個作用中的叢集成員上,啟動 scsetup(1M) 公用程式。
# scsetup |
顯示 Main Menu。
選擇功能表項目,新增節點。
選擇功能表項目,指定可能增加自身的機器之名稱。
依照提示,將節點名稱加入至已辨識機器的清單。
如果作業完成且無錯誤,scsetup 公用程式將列印訊息 Command completed successfully。
結束 scsetup 公用程式。
成為要配置之叢集節點的超級使用者。
安裝 Sun Web Console 套裝軟體。
即使您不使用 Sun Web Console,Sun Cluster 軟體也需要這些套裝軟體。
如果您計劃使用下列功能中的任何一項,請安裝附加套裝軟體。
遠端共用記憶體應用程式設計介面 (RSMAPI)
用於互連傳輸的 SCI-PCI 配接卡
RSMRDT 驅動程式
RSMRDT 驅動程式僅用於執行已啟用 RSM 的 Oracle9i release 2 SCI 配置之叢集。請參照 Oracle9i release 2 使用者文件,以取得有關安裝和配置的詳細說明。
確定必須安裝的套裝軟體。
下表列示了每種功能需要的 Sun Cluster 3.1 9/04 套裝軟體,以及安裝每個套裝軟體群組必須遵循的順序。scinstall 程式無法自動安裝這些套裝軟體。
功能 |
要安裝的其他 Sun Cluster 3.1 9/04 套件 |
---|---|
RSMAPI |
SUNWscrif |
SCI-PCI 配接卡 |
SUNWsci SUNWscid SUNWscidx |
RSMRDT 驅動程式 |
SUNWscrdt |
確定已安裝所有 Solaris 附屬套裝軟體。
請參閱如何安裝 Solaris 軟體中的步驟 8。
在 Sun Cluster 3.1 9/04 CD-ROM 上,更至 Solaris_arch/Product/sun_cluster/Solaris_ver/Packages/ 目錄,其中 arch 是 sparc 或 x86,而 ver 是 8 (對於 Solaris 8) 或 9 (對於 Solaris 9) 。
# cd /cdrom/cdrom0/Solaris_arch/Product/sun_cluster/Solaris_ver/Packages/ |
安裝附加套裝軟體。
# pkgadd -d . packages |
如果您將節點增加至單節點叢集,請重複這些步驟,將相同套裝軟體增加至原有叢集節點。
在 Sun Cluster 3.1 9/04 CD-ROM 上,變更到 Solaris_arch/Product/sun_cluster/Solaris_ver/Tools/ 目錄,其中 arch 是 sparc 或 x86,而 ver 是 8 (對於 Solaris 8) 或 9 (對於 Solaris 9) 。
# cd /cdrom/cdrom0/Solaris_arch/Product/sun_cluster/Solaris_ver/Tools/ |
啟動 scinstall 公用程式。
# /usr/cluster/bin/scinstall |
請依照以下準則來使用互動式 scinstall 公用程式︰
互動式 scinstall 可讓您預先鍵入。因此,如果下一個功能表螢幕沒有立即顯示,請勿多次按下 Return 鍵。
除非另有說明,否則可按下 Control-D 返回一系列相關問題的起始位置或 Main Menu。
先前階段作業的預設回覆顯示在問題結尾處的括號 ([ ]) 中。按 Return 鍵可輸入括號中的回應,無需鍵入它。
從 [主功能表] 選擇功能表項目 [安裝叢集或叢集節點]。
*** 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 4) Upgrade this cluster node * 5) Print release information for this cluster node * ?) Help with menu options * q) Quit Option: 1 |
從 [安裝功能表] 中選擇功能表項目 [將此機器增加為現有叢集中的節點]。
依照功能表提示提供的答覆 您在步驟 4 中完成的工作表。
scinstall 公用程式配置節點並將節點啟動到叢集中。
變更至不是 CD-ROM 上的目錄,然後彈出 CD-ROM。
# eject cdrom |
在要加入至叢集中的任何其他節點上重複執行此程序,直到完全配置所有其他節點。
# /usr/cluster/bin/scconf -a -T node=. |
新增
指定認證選項
指定要加入至認證清單中的點 (.) 節點名稱,以阻止任何其他節點自動加入至叢集
或者,您也可使用 scsetup(1M) 公用程式。請參閱「Sun Cluster 系統管理 指南(適用於 Solaris 作業系統)」之「新增 與移除叢集節點」中的「如何新增節點至已授權的節點清單」,以取得相關程序。
更新法定票數。
當您增加或減少法定裝置的節點附件數目時,叢集節點不會自動重新計算法定票數。此步驟重新建立正確的法定票數。
使用 scsetup 公用程式移除每個法定裝置,然後將其重新增加至配置中。每次在一個法定裝置上執行此步驟。
如果叢集僅有一個法定裝置,請在移除和重新增加原有法定裝置前配置第二個法定裝置。然後移除第二個法定裝置,以將叢集返回至其原有配置。
安裝 Sun StorEdge QFS 檔案系統軟體。
依照「Sun StorEdge QFS and Sun StorEdge SAM-FS Software Installation and Configuration Guide」中的初始安裝程序操作。
(選擇性的) SPARC:若要安裝 VERITAS File System,請移至SPARC: 如何安裝 VERITAS File System 軟體。
設定名稱服務尋找順序。
請移至如何配置名稱服務切換。
>>> 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 Copying the security keys 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 ... |