Netapp

01. Create Aggregates. Need the following details for the creating Aggragates

    aggregate name
    -B [32|64]  # 32bit or 64bit aggragates
    -r raid_group_size   # Number of disks in a raid group
    -t [raid4|raid6]   # Underlying raid type for the Aggragates
    -T {ATA | BSAS | FCAL | LUN | SAS | SATA | SSD | XATA | XSAS} # Type of disks

To create a aggragage named aggr01, with 64bit, 5 disks/raid group, using raid4 and 10 disks with FCAL disk types

 aggr create aggr01 -B 64 -r 5 -t raid4 -T FCAL 10

02. Create Flex volumes on aggragates

03. Create LUNS/Qtrees inside volumes

04. Create initiator group. Add the fibre WWWN and iscsi initiator address of hosts to Initiator group

05. Add the LUNS to the initiator group

Portsets:
How to make LUNs available on specific FC target ports

  • When you map a LUN to a FC igroup, the LUN is available on all of the storage system's FC target ports if the igroup is not bound to a port set.
  • A port set consists of a group of FC target ports.
  • By binding a port set to an igroup, you can make the LUN available on a subset of the system’s target ports.
  • Any host in the igroup can access the LUNs only by connecting to the target ports in the port set.
  • You can define port sets for FC target ports only
    portset create -f portset_name [port...]
    portset create -f portset01 v1 v0

port is the target FCP port. You can specify a list of ports. If you do not specify any ports, then you create an empty port set. You can add as many as 18 target FCP ports. You should specify a port by using the following formats:
• slotletter is the slot and letter of the port—for example, 4b. If you use the slotletter format and the system is in an HA pair, the port from both the local and partner storage system is added to the port set.
• filername:slotletter adds only a specific port on a storage system—for example, SystemA:4b.

Binding igroups to port sets
After you create a port set, you must bind the port set to an igroup so the host knows which FC ports to access.

 igroup bind igroup_name portset_name

Adding ports to port sets

 portset add portset_name [port...]

Displaying the ports in a port set

 portset show portset_name

http://hd.kvsconsulting.us/netappdoc/801docs/html/ontap/smg/index.html
http://mtellin.com/2011/01/03/getting-started-with-the-netapp-ontap-8-0-1-simulator/

disk assign all
Thu Feb 16 00:35:32 GMT [diskown.changingOwner:info]: changing ownership for disk v4.16 (S/N 11650900) from unowned (ID 4294967295) to OntapSIM03 (ID 79679393)
Thu Feb 16 00:35:32 GMT [diskown.changingOwner:info]: changing ownership for disk v4.17 (S/N 11650901) from unowned (ID 4294967295) to OntapSIM03 (ID 79679393)
Thu Feb 16 00:35:32 GMT [diskown.changingOwner:info]: changing ownership for disk v4.18 (S/N 11650902) from unowned (ID 4294967295) to OntapSIM03 (ID 79679393)