Table of ContentsLibraryView in Frames

Creating FCP igroups on UNIX hosts using the sanlun command

If you have a UNIX host, you can use the sanlun command to create FCP igroups. The command obtains the host's WWPNs and prints out the igroup create command with the correct arguments. Then you can copy and paste this command into the storage system command line.

Steps

  1. Ensure that you are logged in as root on the host.
  2. Change to the /opt/netapp/santools/bin directory.
  3. Enter the following command to print a command to be run on the storage system that creates an igroup containing all the HBAs on your host: ./sanlun fcp show adapter -c

    -c prints the full igroup create command on the screen.

    The relevant igroup create command displays:

    Enter this filer command to create an initiator group for this system: 
    igroup create -f -t aix "hostA" 10000000AA11BB22 10000000AA11EE33

    In this example, the name of the host is hostA, so the name of the igroup with the two WWPNs is hostA.

  4. Create a new session on the host and use the telnet command to access the storage system.
  5. Copy the igroup create command from Step 3, paste the command on the storage system’s command line, and press Enter to run the igroup command on the storage system.

    An igroup is created on the storage system.

  6. On the storage system’s command line, enter the following command to verify the newly created igroup: igroup show

    Example

    systemX> igroup show 
        hostA (FCP) (ostype: aix): 
            10:00:00:00:AA:11:BB:22 
            10:00:00:00:AA:11:EE:33 

    The newly created igroup with the host’s WWPNs is displayed.