在第 1 章中標題為「Sun Fire Link Administration Overview」的小節結尾處省略了以下小節:「Guidelines for Configuring Clusters With Sun Fire Link 1.1 Software」。 此額外資訊對於理解和考量何時用 Sun Fire Link (SFL) 1.1 軟體配置叢集是很重要的。
Guidelines for Configuring Clusters With Sun Fire Link 1.1 Software
Managing Cluster Configurations
Use a consistent method for managing cluster configurations. If you use the Sun Management Center 3.5 graphical user interface (GUI) to configure a cluster, you should continue using the GUI for any subsequent changes that you make to the cluster's configuration. Do not use the Fabric Manager command-line interface (CLI) to change the configuration data for a cluster that was created using the GUI.
Likewise, use the Fabric Manager CLI to change the contents of a cluster that was originally configured using the same interface. This consistency ensures that link mapping remains consistent over the life of the cluster.
You can monitor a cluster's state by using either the Sun Management Center 3.5 GUI or the Fabric Manager CLI, regardless of which method was used to configure the cluster.
Using an Extensible Markup Language (XML) File to Apply Multiple Changes to a Fabric Might Result in Out-of-Sync Configuration Data
If you use an XML file to apply multiple configuration changes to an existing fabric, any error in the XML file causes the reconfiguration to fail. One or more nodes might have data that are out of sync with the new configuration. This failure also happens if a hardware component that is required by the new configuration is faulty at the time the reconfiguration is attempted.
There are two ways to restore configuration consistency on the nodes:
If there was an error in the XML file, edit the file to correct the error. Reconfigure the fabric using the corrected file. If a hardware component was faulty, replace the component. Reconfigure the fabric using the XML file.
Remove the section of the XML file that produces the error and reconfigure the fabric using the modified XML file.
In either case, a reconfiguration using a valid XML file and functioning hardware corrects any data inconsistencies that might have been introduced by the previous reconfiguration failure.
Mixed Clusters Require That Sun Fire Link 1.1 Software Be Installed on the Fabric Manager Server and on All Nodes
If you want to configure a cluster that contains a combination of Sun Fire 6800 and Sun Fire High-End systems, you must have Sun Fire Link 1.1 software installed on the FM server, as well as on all nodes in the cluster. Clusters containing both Sun Fire 6800 and Sun Fire High-End nodes were not supported by Sun Fire Link 1.0 software.
以下詳細說明描述了如何使用 [管理 XML 配置] 選項匯入預先配置的 XML 檔案。 附錄 B 中遺漏了這些說明。
Sun Management Center 主控台的 [結構詳細資訊] 視窗包含 [管理 XML 配置] 功能表選項。 可以使用此選項開啟 XML 檔案進行編輯,或將該檔案包含的任何配置資訊套用至未配置的結構。
專有名詞未配置的結構是指已經建立並啟動,但尚未包含任何成員資料 (如計算節點的說明) 的結構。
可開啟 XML 檔案進行編輯,而無需與未配置的結構關聯。 但是,如果使用該檔案配置結構,則必須先建立並啟動該結構。
以下步驟說明如何使用「管理 XML 配置」選項:
在使用 [管理 XML 配置] 選項前,必須先用結構管理程式 (FM) CLI 指令 createfabric 和 startfabric 建立並啟動結構。
只有超級使用者才能執行以下 FM 指令。
# cd /opt/SUNWwcfm/bin |
# ./createfabric fabric-name |
# ./startfabric fabric-name |
使用 Sun Management Center 主控台為該結構載入 FM 代理程式模組。 「Loading FM Agent Modules」一節提供了此步驟的詳細說明。
在 [結構詳細資訊] 視窗中,於結構圖示上按下滑鼠按鈕 3。 從顯示的快顯式功能表中選取 [管理 XML 配置] 選項,或從 [結構] 功能表中選擇 [管理 XML 配置]。
此時,會顯示以下無效錯誤訊息:
Getting FM Info Values |
可不必理會此錯誤訊息。
在 [錯誤] 對話方塊視窗中,按下 [確定] 按鈕。
此時,「XML 配置」對話方塊處於作用中。
在 [配置] 對話方塊的 [查找] 欄位中,鍵入包含所要匯入的 XML 配置檔案的目錄之完整路徑。 按 Return。
將顯示指定目錄中所包含檔案的捲動清單。
選取要匯入的 XML 配置檔。
該檔案的名稱將顯示在 [檔案名稱] 欄位中。
在步驟 5 中必須按下 Return,然後選取感興趣的 XML 檔案,如步驟 6 中所述。請不要繞過這些步驟,並在 [檔案名稱] 欄位中鍵入檔案名稱。 如果您鍵入了檔案名稱,該檔案不會開啟。
按一下 [開啟] 以開啟選取的檔案。
XML 配置檔案顯示在視窗的文字區中。
選擇下列其中一個選項:
如果要編輯 XML 檔案,請參閱「Sun Fire Link Fabric Administrator's Guide 」中的附錄 B 和附錄 C,以取得有關 XML 檔案配置和文件類型定義 (DTD) 的特定資訊。
如果要套用該 XML 資訊來配置結構,請繼續下一步驟。
如果要將變更另存為新的 XML 檔案,請按一下 [另存新檔] 按鈕。 提供新檔案名稱。
按一下 [配置],將 XML 檔案內容套用至該結構。
如需詳細資訊,請參閱 當您將 XML 檔案套用至新結構時,管理可延伸標記語言 (XML) 配置選項將產生無效的錯誤訊息 (4855354) 。