Managing initiator groups
Tasks to manage initiator groups
You can use the command-line interface or FilerView to
Creating an initiator group
To create an initiator group, complete the following step.
Step
|
Action
|
|
1 |
Enter the following command:
igroup create -f -i [-t ostype] igroup [unique identifier...]
-f indicates that it is an FCP initiator group.
-i indicates that it is an iSCSI initiator.
ostype indicates the operating system of the host (Windows or Solaris).
igroup is the name of the initiator group you specify.
unique identifier is either an iSCSI node name or an FCP WWPN.
Example
igroup create -f -t solaris solaris-group0 10:00:00:00:c9:2b:6b:3c
Result
You created an initiator group called solaris-group0 that contains the WWPN of the Solaris host associated with that WWPN.
|
Destroying an initiator group
To destroy one or more existing initiator groups, complete the following step.
Note
An initiator group cannot be destroyed if any LUNs are mapped to it, unless you use the -f parameter.
Step
|
Action
|
|
1 |
If you want to...
|
Then enter this command...
|
Remove LUNs mapped to an initiator group before deleting the initiator group
|
lun unmap lun-path igroup
Example
lun unmap /vol/vol2/qtree/LUN10 solaris-group5
|
Delete one or more initiator groups
|
igroup destroy igroup [igroup,...]
Example
igroup destroy solaris-group5
|
Remove all LUN maps for an initiator group and delete the initiator group with one command
|
igroup destroy -f igroup [igroup ...]
Example
igroup destroy -f solaris-group5
|
Adding an initiator
To add an initiator to an initiator group, complete the following step.
Step
|
Action
|
|
1 |
Enter the following command:
igroup add igroup WWPN
Caution When adding initiators to an initiator group, ensure that each initiator sees, at most, one LUN at a given LUN ID.
Example
igroup add solaris-group2 10:00:00:00:c9:2b:02:1f
Result
You added the second port of Host2 to the initiator group solaris-group2.
|
Removing an initiator
To remove an initiator from an initiator group, complete the following step.
Step
|
Action
|
|
1 |
Enter the following command:
igroup remove igroup WWPN
Example
igroup remove solaris-group1 10:00:00:00:c9:2b:7c:0f
|
Displaying initiators
To display all the initiators in the specified initiator group, complete the following step.
Step
|
Action
|
|
1 |
Enter the following command:
igroup show [igroup]
Example
igroup show solaris-group3
|
Setting the ostype
To set the operating system type (ostype) for an initiator group to Solaris or Windows, complete the following step.
Step
|
Action
|
|
1 |
Enter the following command.
igroup set igroup ostype
Example
igroup set solaris-group3 solaris
|
Getting command- line syntax help
To get command-line syntax help, complete the following step.
Step
|
Action
|
|
1 |
Enter the following command:
igroup help subcommand
|
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00338
File: c4ig3.htm
Last updated: 01/17/03 17:40:35