Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Managing igroups

Tasks to manage igroups  Top

You can use the command-line interface or FilerView to

Creating an igroup  Top

To create an igroup, complete the following step.

Step

Action

1

Enter the following command:

igroup create -f -i [-t ostype] initiator_group [node_name...]

-f indicates that it is an FCP igroup.

-i indicates that it is an iSCSI initiator.

-t ostype indicates the operating system of the host. The values are default, solaris, windows, hpux, aix, or linux. Use default if you are using another operating system.

initiator_group is the name of the igroup you specify.

node_name is an FCP WWPN.

Example

igroup create -f -t solaris solaris-group0 10:00:00:00:c9:2b:6b:3c

Result

You created an igroup called solaris-group0 that contains the WWPN of the Solaris host associated with that WWPN.

Destroying an igroup  Top

To destroy one or more existing igroups, complete the following step.

Step

Action

1

If you want to...

Then enter this command...

Remove LUNs mapped to an igroup before deleting the igroup

lun unmap lun-path igroup

Example

lun unmap /vol/vol2/qtree/LUN10 solaris-group5

Delete one or more igroups

igroup destroy igroup [igroup,...]

Example

igroup destroy solaris-group5

Remove all LUN maps for an igroup and delete the igroup with one command

igroup destroy -f igroup [igroup ...]

Example

igroup destroy -f solaris-group5

Adding an initiator  Top

To add an initiator to an igroup, complete the following step.

Step

Action

1

Enter the following command:

igroup add igroup WWPN

Caution
When adding initiators to an igroup, 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 igroup solaris-group2.

Removing an initiator  Top

To remove an initiator from an igroup, 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 igroup, 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 igroup, complete the following step.

Step

Action

1

Enter the following command.

igroup set igroup ostype

Example

igroup set solaris-group3 solaris

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments