Configuring Fibre Channel portsets

You can use either the management GUI or the command-line interface to create Fibre Channel portsets.

Before you create a Fibre Channel portset, you must have fulfilled the requirements.

Requirements for Fibre Channel portsets

The Fibre Channel portsets have the following requirements:

  • Many host objects can be mapped to a single Fibre Channel portset.
  • If you do not map a host object to a portset, host object is automatically mapped to the default portset to ensure operational continuity. The default portset for Fibre Channel portsets is portset64. You can create additional portsets based on the configurations and workload.
  • Host objects can access volumes only through the Fibre Channel ports that are associated the respective portset.
  • The Port Type field value defines if the portset is Fibre Channel. If you are using the command-line interface, specify fc in the port_type parameter of the mkportset command.
  • The Fibre Channel I/O Ports are added to the portset using Fibre Channel I/O Port ID. It is applicable for all the nodes in the system.
  • A Fibre Channel port can be associated with more than one portset.
To create Fibre Channel portsets, complete the following tasks:
  1. Remove Fibre Channel port from the Fibre Channel default portset. At the time of upgrade or during a new system installation, all Fibre Channel IO Ports in the system are added to the default Fibre Channel portset (portset64). When the system detects a new Fibre Channel IO Port, the Fibre Channel IO Ports in the system are added to the default Fibre Channel portset. You can define or change a Fibre Channel IO port from the default portset to another portset. In the management GUI, select Settings > Network > Fibre Channel Ports. Right click the Fibre Channel port and select Unassign Portset. You can also use the rmfcportsetmember command.
  2. Create a Fibre Channel portset.
  3. Assign a Fibre Channel port to the Fibre Channel portset.
  4. Create host and assign it to the Fibre Channel portset.

Using the management GUI

To create a Fibre Channel portset, complete the following steps:
  1. Select Settings > Network > Portsets.
  2. Select Create Portset.
  3. On the Create Portset page, enter a name of the portset, and select the Host attachment option for the portset type. The Host attachment indicates that the assigned Fibre Channel I/O ports can be used only for host attachment.
  4. Select Port Type as Fibre Channel.
  5. Click Create.
After you create the Fibre Channel portset, you can assign the Fibre Channel ports to that portset.
  1. Select Settings > Network > Fibre Channel Ports.
  2. Right-click the port and select Assign Portset.
  3. On Assign Portset page, select Portsets that you want to map with the Fibre Channel port. Multiple selections are allowed.
  4. Select Assign Portset to save your changes.

After you create Fibre Channel portsets and Fibre Channel ports, you can assign hosts and host clusters to the portset for those traffic types.

Using the command-line interface

To create a Fibre Channel portset, complete the following steps in the command-line interface:
  1. If you want to change any Fibre Channel IO Ports that were added automatically to default Fibre Channel portset (portset64), you need to remove these Fibre Channel IO Ports from the default portset first. To remove Fibre Channel IO Ports from the default portset, enter the following command:
    rmfcportsetmember -portset 64 -fcioportid 2
  2. To create a Fibre Channel portset, enter the following command:
    mkportset <name> -porttype fc
    Where <name> is the name of the portset.
  3. To associate a Fibre Channel IO port ID with portset, enter the following command:
    addfcportsetmember -portset <portset_name | portset_id> -fcioportid <fc_io_port_id>
    where <portset_name | portset_id> is the name or ID of the portset and <fc_io_port_id> is the ID for the Fibre Channel IO port that you want to assign the portset to.
  4. To verify that the mapping between the Fibre Channel IO port ID and the associated portset, enter the following command:
    lsfcportsetmember
    In the results that display, verify that the portset is assigned to the correct Fibre Channel IO port ID. In the following example, the Fibre Channel IO port ID 1 was assigned to portset4:
    
    id   fc_io_port_id portset_id portset_name owner_id owner_name
     4    1             4          portset4     0        ownershipgroup0