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
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.
• 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.
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/
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)
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)
Aggregate
aggr status -r : It shows all disks and array LUNs available in your storage system.
aggr status -r Aggregate aggr_02 (online, raid4) (block checksums) Plex /aggr_02/plex0 (online, normal, active, pool0) RAID group /aggr_02/plex0/rg0 (normal, block checksums) RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks) --------- ------ ------------- ---- ---- ---- ----- -------------- -------------- parity v5.32 v5 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 data v5.29 v5 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 data v5.28 v5 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 data v5.27 v5 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 data v5.26 v5 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 data v5.25 v5 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 RAID group /aggr_02/plex0/rg1 (normal, block checksums) RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks) --------- ------ ------------- ---- ---- ---- ----- -------------- -------------- parity v5.24 v5 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 data v5.22 v5 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 data v5.21 v5 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 data v5.20 v5 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 data v5.19 v5 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 data v4.32 v4 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 Aggregate aggr0 (online, raid_dp) (block checksums) Plex /aggr0/plex0 (online, normal, active, pool0) RAID group /aggr0/plex0/rg0 (normal, block checksums) RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks) --------- ------ ------------- ---- ---- ---- ----- -------------- -------------- dparity v5.16 v5 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 parity v5.17 v5 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 data v5.18 v5 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 Pool1 spare disks (empty) Pool0 spare disks RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks) --------- ------ ------------- ---- ---- ---- ----- -------------- -------------- Spare disks for block checksum spare v4.16 v4 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 (not zeroed) spare v4.17 v4 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 (not zeroed) spare v4.18 v4 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 (not zeroed) spare v4.19 v4 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 (not zeroed) spare v4.20 v4 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 (not zeroed) spare v4.21 v4 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 (not zeroed) spare v4.22 v4 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 spare v4.24 v4 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 spare v4.25 v4 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 spare v4.26 v4 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 spare v4.27 v4 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 spare v4.28 v4 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448 spare v4.29 v4 ? ? FC:B 0 FCAL 15000 1020/2089984 1027/2104448
Keine Kommentare:
Kommentar veröffentlichen