Library Table of Contents Index Previous Next Comments

Managing initiator groups

Tasks to manage initiator groups  Top

You can use the command-line interface or FilerView to

Creating an initiator group  Top

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  Top

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  Top

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  Top

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  Top

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  Top

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  Top

To get command-line syntax help, complete the following step.

Step

Action

1

Enter the following command:

igroup help subcommand 

Library Table of Contents Index Previous Next Comments