本節提供重新配置叢集交互連接,例如 cluster transport adapter 與 cluster transport cable 的程序。這些程序要求安裝 Sun Cluster 軟體。
在大部份時間,您可以使用 scsetup 公用程式來管理叢集交互連接的叢集傳輸。請參閱 scsetup(1M) 線上援助頁,以取得詳細資訊。
如需叢集軟體安裝程序說明,請參閱 Sun Cluster 3.0 12/01 軟體安裝手冊。 如需維修叢集硬體元件程序,請參閱 Sun Cluster 3.0 12/01 Hardware Guide。
在叢集交互連接程序期間,您可以選擇適當的預設埠名稱。預設埠名稱與主控電纜配接卡末端節點的內部節點 ID 號碼相同。 然而,對某些配接卡類型而言 (例如 SCI) 不可使用預設埠名稱。
作業 |
如需相關說明,請參閱... |
---|---|
管理叢集傳輸 - 使用 scsetup | |
檢查叢集交互連接的狀態 - 使用 scstat | |
新增叢集傳輸電纜、傳輸配接卡或傳輸接點 - 使用 scsetup | |
移除叢集傳輸電纜、傳輸配接卡或傳輸接點 - 使用 scsetup | |
啟動叢集傳輸電纜 - 使用 scsetup | |
停用叢集傳輸電纜 - 使用 scsetup |
在叢集交互連接上完成動態重新配置 (DR) 作業時,必須考慮一些事項。
Solaris 8 DR 功能的所有需求、程序和限制也適用於 Sun Cluster DR 支援 (不包含作業環境的靜態作業)。因此,在使用搭配 Sun Cluster 軟體的 DR 功能之前,請先參閱 Solaris 8 DR 功能的文件。您應該特別留意在 DR 分開作業中影響非網路 IO 裝置的事項。
DR 移除作業不能 在私有交互連接上執行。
如果 DR 移除作業可能會影響到作用中的私有交互連接介面,系統會拒絕該作業,並指出可能會被該作業所影響的介面。
如果在私有交互連接上更換介面,介面的狀態仍然相同,而不需進行其它的 Sun Cluster 重新配置步驟。
Sun Cluster 要求每個叢集節點和其它所有叢集節點至少要有一個作業路徑。請勿停用私有交互連接介面支援任何叢集節點的最後路徑。
在公用網路介面上執行 DR 作業時,請依下列順序完成下述程序。
表 5-2 對應作業:動態重新配置搭配公用網路介面。
作業 |
如需相關說明,請參閱... |
---|---|
1. 停用並移除作用中交互連接的介面 | |
2. 在公用網路介面上執行 DR 作業。 |
Sun Enterprise 10000 動態重新配置使用手冊 和 Sun Enterprise 10000 動態重新配置參照手冊 (從 Sun 硬體 Solaris 8 系列) |
您也可使用 SunPlex Manager GUI 來完成此程序。 請參閱 SunPlex Manager 線上說明,以取得詳細資訊。
您不必登入成為超級使用者,便可執行此程序。
檢查叢集交互連接的狀態。
# scstat -W |
請參閱下述項目,以取得一般狀態訊息。
狀態訊息 |
說明與可能的動作 |
---|---|
Path online |
路徑目前正常作業。 不需要任何動作。 |
Path waiting |
目前正在起始設定路徑。 不需要任何動作。 |
Path faulted |
路徑未運作。 這可能是路徑處於等待及連線狀況之間時暫時產生的狀態。 如果重新執行 scstat -W 時此訊息仍持續出現,請採取修正措施。 |
下列範例顯示作用中叢集交互連接的狀態。
# scstat -W -- Cluster Transport Paths -- Endpoint Endpoint Status -------- -------- ------ Transport path: phys-schost-1:qfe1 phys-schost-2:qfe1 Path online Transport path: phys-schost-1:qfe0 phys-schost-2:qfe0 Path online Transport path: phys-schost-1:qfe1 phys-schost-3:qfe1 Path online Transport path: phys-schost-1:qfe0 phys-schost-3:qfe0 Path online Transport path: phys-schost-2:qfe1 phys-schost-3:qfe1 Path online Transport path: phys-schost-2:qfe0 phys-schost-3:qfe0 Path online |
您也可使用 SunPlex Manager GUI 來完成此程序。 請參閱 SunPlex Manager 線上說明,以取得詳細資訊。
請確定已經安裝實體 cluster transport cable。
有關如何安裝 cluster transport cable 的程序,請參閱 Sun Cluster 3.0 12/01 Hardware Guide。
成為叢集中任何節點的超級使用者。
輸入 scsetup 公用程式。
# scsetup |
顯示 Main Menu。
輸入 2(叢集交互連接) 來存取「叢集交互連接功能表」。
如果您的配置使用 SCI 配接卡,當系統在此程序的 "新增" 部份提示您配接卡連接 (埠號) 時,請勿接受預設值。而將 Dolphin 交換器上的埠號 (0、1、2 或 3) 提供給以電纜實體連接的節點。
輸入 1 (新增傳輸電纜) 來新增電纜。
請依指示進行並輸入所要求的資訊。
輸入 2 (新增傳輸配接卡至節點) 來新增傳輸配接卡。
請依指示進行並輸入所要求的資訊。
輸入 3 (新增傳輸接點) 來新增傳輸接點。
請依指示進行並輸入所要求的資訊。
驗證 cluster transport cable、傳輸配接卡或傳輸接點新增成功。
# scconf -p | grep cable # scconf -p | grep adapter # scconf -p | grep junction |
以下範例顯示如何使用 scsetup 指令,將傳輸電纜、傳輸配接卡或傳輸接點新增至節點。
[Ensure the physical cable is installed.] Become superuser on any node and place the node to be removed in maintenance state. # scsetup Select Cluster interconnect. Select either Add a transport cable, Add a transport adapter to a node, or Add a transport junction. Answer the questions when prompted. You Will Need: Example: node names phys-schost-1 adapter names qfe2 junction names hub2 transport type dlpi [Verify that the scconf command completed successfully:] Command completed successfully. Quit the scsetup Cluster Interconnect Menu and Main Menu. [Verify that the cable, adapter, and junction are added:] # scconf -p | grep cable Transport cable: phys-schost-2:qfe0@1 ethernet-1@2 Enabled Transport cable: phys-schost-3:qfe0@1 ethernet-1@3 Enabled Transport cable: phys-schost-1:qfe0@0 ethernet-1@1 Enabled # scconf -p | grep adapter Node transport adapters: qfe2 hme1 qfe0 Node transport adapter: qfe0 Node transport adapters: qfe0 qfe2 hme1 Node transport adapter: qfe0 Node transport adapters: qfe0 qfe2 hme1 Node transport adapter: qfe0 # scconf -p | grep junction Cluster transport junctions: hub0 hub1 hub2 Cluster transport junction: hub0 Cluster transport junction: hub1 Cluster transport junction: hub2 |
您也可以使用 SunPlex Manager GUI 來完成此程序。 請參閱 SunPlex Manager 線上說明,以取得詳細資訊。
請使用下列程序,從節點配置移除叢集傳輸電纜、傳輸配接卡與傳輸接點。 當電纜停用後,電纜的二個端點仍保持為配置狀態。 如果配接卡仍當作傳輸電纜的端點使用,則無法移除。
每個叢集節點和叢集中其它節點之間至少要有一條作業傳輸路徑。不應該有節點彼此孤立。所以請務必要先確認節點的叢集交互連接狀態,再停用電纜。 請在驗證後發現某電纜為多餘,才停用電纜;亦即有另一個連線可用時,才停用該電纜連接。停用節點最後一條繼續運轉中的電纜會使該節點失去叢集成員的資格。
成為叢集中任何節點的超級使用者。
檢查其餘叢集傳輸路徑的狀態。
# scstat -W |
您試圖移除兩個節點叢集中的任一個節點而收到 "路徑失效" 的錯誤訊息時,請先解決問題再繼續執行本程序。這類問題可能指出節點路徑無法使用。 移除其餘好的路徑會使節點失去叢集成員資格,而導致必須重新配置。
輸入 scsetup 公用程式。
# scsetup |
顯示 Main Menu。
輸入 2(叢集交互連接) 來存取「叢集交互連接功能表」。
輸入 4 (移除傳輸電纜) 來移除電纜。
請依指示進行並輸入所要求的資訊。 您必須知道可用的節點名稱、配接卡名稱和接點名稱。
如果您移除實體電纜,請切斷電纜與通訊埠以及目標裝置之間的連接。
輸入 5 (從節點移除傳輸配接卡) 來移除配接卡。
請依指示進行並輸入所要求的資訊。 您必須知道可用的節點名稱、配接卡名稱和接點名稱。
如果您要從節點移除實體配接卡,請參閱 Sun Cluster 3.0 12/01 Hardware Guide,以取得硬體服務程序。
輸入 6 (移除傳輸接點) 來移除接點。
請依指示進行並輸入所要求的資訊。 您必須知道可用的節點名稱、配接卡名稱和接點名稱。
當任何通訊埠仍被當作任何傳輸電纜的端點時,將無法移除接點。
確認電纜或配接卡移除成功。
# scconf -p | grep cable # scconf -p | grep adapter # scconf -p | grep junction |
從指定節點移除傳輸電纜或配接卡,應該不會出現在這個指令的輸出中。
以下範例顯示如何使用 scsetup 指令,來移除傳輸電纜、傳輸配接卡或傳輸接點。
[Become superuser on any node in the cluster.] [Enter the utility:] # scsetup Type 3 (Cluster interconnect). Select either Add a transport cable, Add a transport adapter to a node, or Add a transport junction. Answer the questions when prompted. You Will Need: Example: node names phys-schost-1 adapter names qfe1 junction names hub1 [Verify that the scconf command completed successfully:] "Command completed successfully." Quit the scsetup Cluster Interconnect Menu and Main Menu. [Verify that the cable, adapter, or junction is removed:] # scconf -p | grep cable Transport cable: phys-schost-2:qfe0@1 ethernet-1@2 Enabled Transport cable: phys-schost-3:qfe0@1 ethernet-1@3 Enabled Transport cable: phys-schost-1:qfe0@0 ethernet-1@1 Enabled # scconf -p | grep adapter Node transport adapters: qfe2 hme1 qfe0 Node transport adapter: qfe0 Node transport adapters: qfe0 qfe2 hme1 Node transport adapter: qfe0 Node transport adapters: qfe0 qfe2 hme1 Node transport adapter: qfe0 # scconf -p | grep junction Cluster transport junctions: hub0 hub2 Cluster transport junction: hub0 Cluster transport junction: hub2 |
您也可以使用 SunPlex Manager GUI 來完成此程序。 請參閱 SunPlex Manager 線上說明,以取得詳細資訊。
這個選項用來啟動已經存在的叢集傳輸電纜。
成為叢集中任何節點的超級使用者。
輸入 scsetup 公用程式。
# scsetup |
顯示 Main Menu。
輸入 2 (叢集交互連接) 來存取「叢集交互連接功能表」。
輸入 7 (啟動傳輸電纜) 來啟動傳輸電纜。
請依出現的提示及指示進行。 您必須同時輸入節點名稱以及您要識別之電纜某個端點的配接卡名稱。
確認電纜啟動成功。
# scconf -p | grep cable |
這個範例顯示如何啟動位於節點 phys-schost-2 上之配接卡 qfe-1 的叢集傳輸電纜。
[Become superuser on any node.] [Enter the scsetup utility:] # scsetup Select Cluster interconnect>Enable a transport cable. Answer the questions when prompted. You will need the following information. You Will Need: Example: node names phys-schost-2 adapter names qfe1 junction names hub1 [Verify that the scconf command completed successfully:] scconf -c -m endpoint=phys-schost-2:qfe1,state=enabled Command completed successfully. Quit the scsetup Cluster Interconnect Menu and Main Menu. [Verify that the cable is enabled:] # scconf -p | grep cable Transport cable: phys-schost-2:qfe1@0 ethernet-1@2 Enabled Transport cable: phys-schost-3:qfe0@1 ethernet-1@3 Enabled Transport cable: phys-schost-1:qfe0@0 ethernet-1@1 Enabled |
您也可以使用 SunPlex Manager GUI 來完成此程序。 請參閱 SunPlex Manager 線上說明,以取得詳細資訊。
您可能必須停用叢集傳輸電纜,來暫時關閉叢集交互連接路徑。 這在解決叢集交互連接的問題或更換叢集交互連接硬體時,非常有用。
當電纜停用後,電纜的二個端點仍保持為配置狀態。 如果配接卡仍當作傳輸電纜的端點使用,則無法移除。
每個叢集節點和叢集中的其它節點間至少要有一條作業傳輸路徑。不應該有節點彼此孤立。請務必要先確認節點的叢集交互連接狀態,後再停用電纜。 請在驗證後發現某電纜為多餘;亦即有另一個連線可用時,才停用該電纜連接。停用節點最後一條繼續運轉中的電纜,會使該節點失去叢集成員的資格。
成為叢集中任何節點的超級使用者。
先檢查叢集交互連接的狀態再停用電纜。
# scstat -W |
您試圖移除兩個節點叢集中的任一個節點而收到"路徑失效" 的錯誤訊息時,請先解決問題再繼續執行本程序。這種問題可能指示節點路徑無法使用。 移除其餘好的路徑會使節點失去叢集成員資格,而導致必須重新配置。
輸入 scsetup 公用程式。
# scsetup |
顯示 Main Menu。
輸入 2 (叢集交互連接) 來存取「叢集交互連接功能表」。
輸入 8 (停用傳輸電纜) 來停用電纜。
請依指示進行並輸入所要求的資訊。 這個叢集交互連接上的所有元件都會被停用。 您必須同時輸入節點名稱以及您要識別之電纜某個端點的配接卡名稱。
確認電纜停用成功。
# scconf -p | grep cable |
這個範例顯示如何停用位於節點 phys-schost-2 之配接卡 qfe-1 上的叢集傳輸電纜。
[Become superuser on any node.] [Enter the scsetup utility:] # scsetup Select Cluster interconnect>Disable a transport cable. Answer the questions when prompted. You will need the following information. You Will Need: Example: node names phys-schost-2 adapter names qfe1 junction names hub1 [Verify that the scconf command completed successfully:] scconf -c -m endpoint=phys-schost-2:qfe1,state=disabled Command completed successfully. Quit the scsetup Cluster Interconnect Menu and Main Menu. [Verify that the cable is disabled:] # scconf -p | grep cable Transport cable: phys-schost-2:qfe1@0 ethernet-1@2 Disabled Transport cable: phys-schost-3:qfe0@1 ethernet-1@3 Enabled Transport cable: phys-schost-1:qfe0@0 ethernet-1@1 Enabled |