The following detailed instructions describe how to import preconfigured XML files using the Manage XML Configurations option. These instructions were omitted from Appendix B.
The Sun Management Center console's Fabric Details window includes the Manage XML Configurations menu option. You can use this option to open an XML file for editing or to apply any configuration information that the file contains to an unconfigured fabric.
The term unconfigured fabric refers to a fabric that has been created and started, but does not yet contain any member data, such as descriptions of compute nodes.
An XML file can be opened for editing without being associated with an unconfigured fabric. However, if the file is used to configure a fabric, that fabric must first be created and started.
The following steps explain how to use the Manage XML Configurations option:
Before using the Manage XML Configuration option, you must create and start a fabric using the Fabric Manager (FM) CLI commands, createfabric and startfabric.
You must be superuser to execute the following FM commands.
# cd /opt/SUNWwcfm/bin |
# ./createfabric fabric-name |
# ./startfabric fabric-name |
Use the Sun Management Center console to load a FM agent module for the fabric. The “Loading FM Agent Modules” section provides detailed instructions for this step.
In the Fabric Details window, press mouse button 3 on the fabric icon. Select the Manage XML Configurations option from the pop-up menu that is displayed, or choose Manage XML Configurations from the Fabric menu.
At this point, the following invalid error message is displayed:
Getting FM Info Values |
This error message can be safely ignored.
Press the OK button in the Error dialog window.
The XML Configuration dialog box is now the active window.
In the Look In field of the Configuration dialog box, type the full path of the directory that contains the XML configuration file that you want to import. Press Return.
A scrolling list of the files that are contained in the specified directory is displayed.
Select the XML configuration file that you want to import.
The name of the file is displayed in the File Name field.
You must press Return in Step 5 and then select the XML file of interest as described in Step 6. Do not bypass these steps and type the file name in the File Name field. The file does not open if you type the file name.
Click Open to open the selected file.
The XML configuration file appears in the text area of the window.
Choose one of the following options:
If you want to edit the XML file, see Appendices B and C of the Sun Fire Link Fabric Administrator's Guide for specific information about XML file configurations and the Document Type Definition (DTD).
If you want to apply the XML information to configure a fabric, proceed to the next step.
If you want to save your changes as a new XML file, click the Save As button. Provide a new filename.
Click Configure to apply the XML file contents to the fabric.
For more information, see Manage Extensible Markup Language (XML) Configurations Option Produces an Invalid Error Message When Applying an XML File to a New Fabric (4855354).