You can use the command-line interface or FilerView to
To create an igroup, complete the following step.
| 1 |
igroup create -f [-t ostype] initiator_group [node_name...] [-a portset] -f indicates that it is an FCP igroup. -t ostype indicates the operating system of the host. The values are solaris, windows, hpux, aix, linux, netware or vmware. initiator_group is the name of the igroup you specify. node_name is an FCP WWPN. You can specify more than one WWPN. -a portset binds the igroup to a portset. A portset is a group of target FCP ports. When you bind an igroup to a portset, any host in the igroup can access the LUNs only by connecting to the target ports in the portset. For details about portsets, see Making LUNs available on specific FCP target ports. Exampleigroup create -f -t aix aix-group5 50:06:0b:00:00:10:a7:00 50:06:0b:00:00:10:a6:06 |
If you have a UNIX host, you can run the sanlun command on the host to create an igroup. The command obtains the host's WWPNs and prints out the igroup create command with the correct arguments. You can then copy and paste this command into the storage system's command line.
To create an igroup by using the sanlun command, complete the following steps.
| 1 | ||
| 2 | ||
| 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. ResultAn igroup create command with the host's WWPNs appears on the screen. The igroup's name matches the name of the host. ExampleEnter 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 |
On the host in a different session, 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. ResultAn 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 ResultThe newly created igroup with the host's WWPNs is displayed. ExamplefilerX> igroup show hostA (FCP) (ostype: aix): 10:00:00:00:AA:11:BB:22 10:00:00:00:AA:11:EE:33 |
|
To destroy one or more existing igroups, complete the following step.
| 1 | ||
lun unmap lun_path igroup Example | ||
igroup destroy igroup [igroup,...] Example | ||
|
Remove all LUN maps for an igroup and delete the igroup with one command |
igroup destroy -f igroup [igroup ...] Example | |
To add an initiator to an igroup, complete the following step.
To remove an initiator from an igroup, complete the following step.
| 1 |
igroup remove igroup WWPN Example |
To display all the initiators in the specified igroup, complete the following step.
| 1 |
igroup show [igroup] Example |
To set the operating system type (ostype) for an igroup, complete the following step.
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01094_B0
File: c7ig-f2.htm
Last updated: 08-Dec-2005 13:25:30