本節提供重新配置叢集交互連接,例如 cluster transport adapter 與 cluster transport cable 的程序。這些程序要求安裝 Sun Cluster 軟體。
在大部份時間,您可以使用 scsetup 公用程式來管理叢集交互連接的叢集傳輸。請參閱 scsetup(1M) 線上援助頁,以取得詳細資訊。
如需叢集軟體安裝程序說明,請參閱 Sun Cluster 3.0 U1 安裝手冊。如需服務叢集硬體元件程序,請參閱 Sun Cluster 3.0 U1 Hardware Guide。
表 5-1 作業清單:管理叢集交互連接
作業 |
有關資訊,請至 ... |
---|---|
管理叢集傳輸 - 使用 scsetup | |
檢查叢集交互連接的狀態 - 使用 scstat | |
新增叢集傳輸電纜、傳輸配接卡或傳輸接點 - 使用 scsetup | |
移除叢集傳輸電纜、傳輸配接卡或傳輸接點 - 使用 scsetup | |
啟動叢集傳輸電纜 - 使用 scsetup | |
停用叢集傳輸電纜 - 使用 scsetup |
您也可使用 SunPlex Manager GUI 來完成此程序。請參閱 SunPlex Manager 線上說明,以取得詳細資訊。
您不必登入成超級使用者便可執行此程序。
檢查叢集交互連接的狀態。
# scstat -W |
請參閱下述項目,以取得一般狀態訊息。
狀態訊息 |
說明與可能的動作 |
---|---|
Path online |
路徑目前正常作業。不必採取任何動作。 |
Path waiting |
路徑目前正在起始設定。不必採取任何動作。 |
Path faulted |
路徑未作業。這可能是路徑處於等待及連線狀況之間時暫時產生的狀態。如果在傳回 scstat -W 時此訊息仍持續出現,請採取修正措施。 |
下列範例顯示作用中叢集交互連接的狀態。
# scstat -W -- Cluster Transport Paths -- Endpoint Endpoint S tatus -------- -------- ------ 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 U1 Hardware Guide。
成為叢集中任何節點的超級使用者。
輸入 scsetup 公用程式。
# scsetup |
顯示 Main Menu。
輸入 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。
輸入 3 (叢集交互連接) 來存取「叢集交互連接功能表」。
輸入 4 (移除傳輸電纜) 來移除電纜。
請依指示進行並輸入所要求的資訊。
如果您移除實體電纜,請切斷電纜與通訊埠以及目標裝置之間的連接。
輸入 5 (從節點移除傳輸配接卡) 來移除配接卡。
請依指示進行並輸入所要求的資訊。
如果您要從節點移除實體配接卡,請參閱 Sun Cluster 3.0 U1 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 scsetup utility:] # 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 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。
輸入 3 (叢集交互連接) 來存取「叢集交互連接功能表」。
輸入 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 |