Home > Articles > Operating Systems, Server > Solaris

  • Print
  • + Share This
Like this article? We recommend

Fabric Configuration

This section contains an example topology and an example set of nodes. The example configuration (FIGURE 5) contains four nodes and a switch. The key step is the creation of the .xml file. The example file uses password for the string you should use to substitute a password. The following example has two compute nodes and four switches. The names of the compute nodes are: sc1 and sc2. The switch nodes are greatsandy, greatbasin, dryvalley, and saltflats. This section contains the steps and configuration file to create a single partition called part1.

To Configure the Fabric

The following example configures a fabric using the FM command-line tools.

  1. Type the following command to switch to the fmadmin role.

  2. If you are not using RBAC, skip this step.

    # su fmadmin
  3. Type the following command to configure the fabric:

  4. # create_fabric sfl

    NOTE

    Fabric sfl was created when you followed the configure fabric procedures in "Building Secure Sun Fire Link Interconnect Networks Using Midframe Servers."

    FIGURE 5 shows the fabric cabling.

    Figure 5FIGURE 5 Fabric Cabling Diagram.

    CODE EXAMPLE 1 shows the contents of the .xc_sfl.xml file for this topology.

CODE EXAMPLE 1 Filexc_sfl.xml

<?xml version= "1.0" encoding="UTF-8"?>
<!DOCTYPE fabric SYSTEM "fabric.dtd">
<fabric>
    <fname>sfl</fname>
    <config_file>
    </config_file>
    <members>
        <switch_node>
            <node>
                <sc_name>greatsandy</sc_name>
                <sc_user_name>sfluser</sc_user_name>
                <sc_password>password<sc_password>
                <chassis_type>WCIX_SWITCH</chassis_type>
            </node>
        </switch_node>
        <switch_node>
            <node>
                <sc_name>greatbasin</sc_name>
                <sc_user_name>sfluser</sc_user_name>
                <sc_password>password<sc_password>
                <chassis_type>WCIX_SWITCH</chassis_type>
            </node>
        </switch_node>
        <switch_node>
            <node>
                <sc_name>dryvalley</sc_name>
                <sc_user_name>sfluser</sc_user_name>
                <sc_password>password<sc_password>
                <chassis_type>WCIX_SWITCH</chassis_type>
            </node>
        </switch_node>
        <switch_node>
            <node>
                <sc_name>saltflats</sc_name>
                <sc_user_name>sfluser</sc_user_name>
                <sc_password>password<sc_password>
                <chassis_type>WCIX_SWITCH</chassis_type>
            </node>
        </switch_node>
        <rsm_node>
            <node>
                <sc_name>sc1</sc_name>
                <sc_user_name>sfluser</sc_user_name>
                <sc_password>password<sc_password>
                <chassis_type>S72</chassis_type>
            </node>
            <domain_name>a</domain_name>
            <hostname>sc1-a</hostname>
            <host_user>sfluser</host_user>
            <host_password>password<host_password>
        </rsm_node>
        <rsm_node>
            <node>
                <sc_name>sc2</sc_name>
                <sc_user_name>sfluser</sc_user_name>
                <sc_password>password<sc_password>
                <chassis_type>S72</chassis_type>
            </node>
            <domain_name>a</domain_name>
            <hostname>sc1-a</hostname>
            <host_user>sfluser</host_user>
            <host_password>password<host_password>
        </rsm_node>
    </members>
    <partitions>
        <partition type="RSM" topology="WcixSwitch">
            <pname>part1</pname>
            <stripping_level>4 </stripping_level>
            <partition_members>
                <node_partition_member>
                    <sc_name>sc1</sc_name>
                    <domain_name>a</domain_name>
                </node_partition_member>
                <node_partition_member>
                    <sc_name>sc2</sc_name>
                    <domain_name>a</domain_name>
                </node_partition_member>
                <switch_partition_member>
                    <sc_name>greatsandy</sc_name>
                </switch_partition_member>
                <switch_partition_member>
                    <sc_name>greatbasin</sc_name>
                </switch_partition_member>
                <switch_partition_member>
                    <sc_name>dryvalley</sc_name>
                </switch_partition_member>
                <switch_partition_member>
                    <sc_name>saltflats</sc_name>
                </switch_partition_member>
            </partition_members>
        </partition>
    </partitions>
</fabric>

Note that the .xml file contains password strings and should only be placed in a secure directory. You must be very careful with this file.

  • + Share This
  • 🔖 Save To Your Account