Showing posts with label NetApp. Show all posts
Showing posts with label NetApp. Show all posts

Friday, 11 December 2015

Fractional reserve & space reserve

Fractional reserve:
Fractional reserve is the volume options which reserve the space inside the volume for the snapshot
overwrites. By default it is 100%, but by autodelete functionality NetApp recommend to keep the
fractional reserve to =0, as soon as the first snapshot copy is created the NetApp automatically
creates the fractional reserve and start using it only when whole volume space gets filled. This
reserved space is used only when the volume is 100% full.
The amount of reserve space can be seen by –r options in df cmd.

Snap reserve:
Snap reserve is the space reserved for storing the snap shot copies as the snapshot copies also
required space to get stored so they use the snap reserve space, by default it is20% of the volume
space. As the snap reserve space gets filled it automatically start using the space from the volume. So
we can say snap reserve is actually the logical separation space from the volume.

Space reclamation:
Space reclamation is the process of reclaiming back the space of the lun on storage side. For exp
suppose we have filled the 100 gb lun with 50 gb of the data so the storage usage of lun in host side
can be seen as 50% utilized and in storage side also it will show 50% utilized , but when we delete the
data from the lun for exp we deleted all the 50 gb of data from the lun , the storage utilization on host
side will be shown as 0% utilized but from storage end it will show 50% utilized , so we use the space
reclamation to reclaim back the free space on storage side. Snapdrive work good on reclaiming back
the data from storage end.

Lun reservation:
LUN reservation (not to be confused with SCSI2 or 3 logical unit locking reservations) determines
when space for the LUN is reserved or allocated from the volume. With reservations enabled (default)
the space is subtracted from the volume total when the LUN is created. For example, if a 20GB LUN is
created in a volume having 80GB of free space, the free space will go to 60GB free space at the time
the LUN is created even though no writes have been performed to the LUN. If reservations are
disabled, space is first taken out of the volume as writes to the LUN are performed. If the 20GB LUN
was created without LUN space reservation enabled, the free space in the volume would remain at
80GB and would only go down as data was written to the LUN.

NetApp 1 Q&A

Where the cluster configuration saved and how to check
      Cluster configuration ll be get saved in mail box disk. You can view the output of console screen during failover or failback about accessing the mailbox disk

Diff bet SAN and NAS
      SAN - Collections of Storage, network and servers are called storage area network. Here the data transfer will be block level.
      NAS - Storage machine will be directly attached network (LAN) for access. The data transfer here is file level.

What is wafl and difference between the regular and wafl?
      WAFL used two memory bank called NVRAM which provides write cache. The data will be written first in NVRAM and then to disk.
      Write Anywhere File Layout is the filesystem using in NetApp. In regular filesystem inodes are limited bt in wafl inodes are dynamic, also regular fs is dependent on underlying RAID layout bt wafl doed not depend on it, finally in regular fs need to run fsck bt wafl does'n need.

How do you access the filer and what you do if you are unable to ssh to a filer?
      Filer can be accessed through RLM or Serial Console.

Snapvault and step by step procedure
1.       Install snapvault primary license on primary node and snapvault secondary license on secondary node
2.        Allow the trust on source and allow in destination if required.
3.        create volume on desination
4.        Start the baseline transfer using
5.       snapvault start -S node1:/vol/vol1 node2:/vol/vol1/qtree

How do you set the synchronous SM?
1.       Add License
2.       Configure in /etc/snapmirror.conf and /etc/snapmirro.allow files
node1:/vol/vol1 node2:/vol/vol2 – sync

Snapmirror and step by step procedure


How do you monitor a filer? Did you ever install DFM?
      Filer can be monitored through DFM (Operations Manager) and also using SNMP. But installing DFM is simple just like windows software by clicks.

What is snapdrive?
      It is an utility which is used to connect and disconnect the disks, create and delete the disks and create snapshots and delete snapshots from server side.

Nfs exports fields in /etc/exports

What is fractional reserve?
      Reserving disk space in advance to avoid write failure for lun file.

What is NVRAM?
      Non Volatile Random Access memory, which is used for providing write cache (Jourlialing)
What if you remove 2 power cables to a filer? Would the network transactions still be availed? And how long would it retain?
      Yes, It will be in NVRAM

You have 20 disks and you are creating a raidgroup size 5 so how many raid groups can you create?
      4

You have 20 disks and you are creating a single aggregate and you have 20 disks and you are creating an aggregate with raidgroup size of 5. Which would you advice?
      We should advice to have more disk in raid group, it is better to give default raid group size.

What happens if a single disk fails in a filer in raid-dp environment?
      If spare disk is available then it will get replaced. Else the aggregate will run in degraded mode.
      If the spare disk is not added within 24hour (default), then filer will be shut down automatically to avoid further disk failure and data loss.
“options raid.timeout 24” can be used to change the timeout value

What happens if 2 disks failed in a filer and there are no disks in spares?
      The aggregate will run in double degraded mode for RAID_DP. Data Loss will be there for RAID4.
      If the spare disk is not added within 24hour (default), then filer will be shut down automatically to avoid further disk failure and data loss.
“options raid.timeout 24” can be used to change the timeout value

Raid.timeout default is 24 hrs why?
      If the spare disk is not added within 24hour (default), then filer will be shut down automatically to avoid further disk failure and data loss.
“options raid.timeout 24” can be used to change the timeout value

 What is raidgroup?
      Collections of disk to form Raid Layout

What is the disk ownership?
      In clustered environment, ownership defines which filer can for RAID groups.

Disk assignment?
      Assigning Ownership Manually


How do you check if a new disk shelf is added?
      fcadmin config

How do you check a failed disk?
      Vol status –f

Give me one critical situation that you handled recently?
      Will update after I prepare

Explain the environment? Do they have internal customers or any clients?
      VMWARE ESX servers with Fibre channel Connection – Windows Guest OS
      Solaris, Windows servers with FC and iSCSI connection
      Unix/Linux server for NFS access
Windows severs for User shares
      If you are supporting for your company then say internal support. If you are supporting for customer, then say the customer. But it is not advised to say the customer information outside. It is against the company policy

What are the filers that you have?

      Say the location where you have filers

Netapp Q&A

1.How to configure filer?
   A.Using setup command we shall configure filer. And using cifs setup command we shall configure cifs.

2.What are all the filers currently using in your company and how many filers are there.Whether all are in clustered or standalone?
  A.FAS 3070,FAS 2050,FAS 6080..Say some around 15-20 filers(according to environment it ll change).
      FAS 3070 and FAS 2050 are in clustered.

3.How many controllers are in standalone mode?
   A.One

4.What is snapshot.And how many snapshots can be created in a volume.And why you are going for snapshot?
  A.Point-in time copy of active filesystem. 255 snapshots can be created in a volume.Since snapshot is going to take only the copy of inodes
     not a files & its contents so that backup & restore will be speedy also consume less space.

5.How will you create and restore a snapshot?
  A. snap create <snapname> <volname>
      snap restore -t vol -s <snapname> <volname> (volume level restore)
      snap restore -t file -r <restore location> <restore from path> (file level restore)

6.Before restoring,whether we want to check the snapshot which we going to restore is available or not in that volume?
   A. Yes, we want to check before restoring.

7.What are the schedules available in snapshot?Explain it?
   A.weekly,nightly & hourly. Weekly means every week nit 12'o clk. Nightly means every night 12'o clk. Hourly means every hour.

8.How much space will be reserved for snapshot in volume.Is it possible to change it?
   A.20 % reserve for snapshot in a volume. Yes we can change using the cmd: snap reserve <volname> <how much in %>.

9.How will you access to filer in console login?
  A.Have to connect the serial cable (filer end RJ45 and  Laptop end 9 pin cable) and then try login thro' hyper terminal.

10.What is aggregate and why you are creating that?
   A.Pool of disk is called aggregate. To form a raid groups for disk striping and redundancy purpose.

11.What are all the RAID levels will support ONTAP?
   A.RAID_DP and RAID-4.



12.Differnce between RAID_DP and RAID-4?
   A.RAID_DP can withstand double disk failure but RAID-4 can withstand only single disk failure.

13.What is volume.What are the different types of volumes?
    A.Volume is a logical partition of aggregates.There are two volume Traditional volume and flexible volume.

14.Difference between two volumes?
   A. Traditional is tightly coupled with h/w i.e.,its purely depend on h/w. But flexible is loosely coupled with h/w, it wont depend on h/w.

15.What is qtree?And how will you create it?
   A.Qtree is a logical partition of volume. qtree create <qtreepath>

16.What are the fields in quotas?
   A. 1.filepath,2.type (qtree/user/group),3.quota size.

17.How will you share a qtree to unix users?
   A.Using NFS sharing. (make entry in /etc/exports)

18.What are all the things you will enter while sharing using NFS?
   A.Client address,filepath which we going to share,access path(ro,rw,root),Security type(sys,none)

19.What is the difference between rw & root in NFS?
   A."root" means giving full control for client side rooot user.
      "rw" means even the client root user cant able to rw operations, only the user who is having the same uid no(both client & server uid must be same) can able to perform rw operations.

20.How will you share a file to a particular user in client side using NFS?
   A. Want to make entry in /etc/netgroup. (exactly dont know,if any one know the answer for this kindly send me).

21.What is CIFS?
    A.Common internet file system used to share a files for windows users.

22.If the qtree which is shared in cifs is in UNIX security then is it possible to access that share by windows user?
    A.Yes win users can able to access the shared qtree.Since security option is only to indicate which OS(unix/NTFS) can set file permission no who can access the file.

23.What is the operarion performing in cluster mode?
  A.If any node goes down means then the partner node will take over the services handled by the failed node.After issue get fixed partner will give back the services again back to the same node.

24.How node-B will know that node-A goes down how the node-B take over node-A.What is the connection between node-A&B.Is there want to make any entry in files?
   A.Yes, want to make entry in /etc/rc for IP failover.

25.What is snapmirror?
   A.Snapmirror is a replication technology which replicates the data from source to destination using snapshot copies.

26.Is the source volume level and destination volume level will be same or destination should be greater than source in SM?
  A.May be equal in size or des_vol mus be greater than so_vol.

28.How will you initialize SM?
  A.snapmirror initialize -S node1:sou_vol des_vol (initiate baseline transfer)

29.If the base snapshot copy is deleted then how will initialize the SM?
        (If any one know the answer for this kindly send me).

30.Now you want to migrate one volume data's to another aggregate within the same filer how will you perform it?
  A. Using ndmp copy.
       1.Create one volume in that aggregate (same vol size as sou_vol)
       2.now perform ndmp copy
           ndmpcopy sou_vol des_vol

31.If one disk failure in RAID_DP environment means what will happen?
    A.Then disk will get replaced from spare disk and data will automatically transfered to spare disk.

32.When data transfereing(from failed to spare disk) is going on at that time itself there is one more data disk failed now will there any data loss will occur in RAID_DP environment?
  A.No,there wont be any data loss if it is RAID-4 then there will be data loss.

33.What will be status in SM when baseline xfr is going on?
  A. uninitialized. After "update" status will changed to snapmirrored.

34.In what suituation you will call NetApp engineers?
  A.If filer is down due to h/w failures then we will call engineers and for any problem which requires their help.

Questions Related to FC Port

Questions Related to FC Port

Question 1: To Connect Disk Shelf to Controller, how do we configure the FC Port in the filer? Is it target port or initiator port?

Answer: The FC Port should be configured as initiator.

FilerA> fcadmin config
                  Local
Adapter Type      State                  Status
---------------------------------------------------
  0a   initiator  CONFIGURED.            online
  0b   initiator  CONFIGURED.            online
  0c   initiator  CONFIGURED.            online
  0d   initiator  CONFIGURED             online

FilerA> sysconfig
        NetApp Release 7.3.2: Tue Apr 27 18:52:33 PDT 2010
        System ID: 013545545 (FilerA)
        System Serial Number: 2012012 (FilerA)
        System Rev: B0
        System Storage Configuration: Multi-Path
        System ACP Connectivity: No Connectivity
        slot 0: System Board
                Processors:         4
                Processor type:     Intel Xeon
                Memory Size:        3072 MB
        slot 0: Dual 10/100/1000 Ethernet Controller VI
                e0a MAC Address:    00:a0:98:06:a1:ca (auto-1000t-fd-up)
                e0b MAC Address:    00:a0:98:06:a1:cb (auto-1000t-fd-cfg_down)
                e0c MAC Address:    00:a0:98:06:a1:c8 (auto-1000t-fd-up)
                e0d MAC Address:    00:a0:98:06:a1:c9 (auto-1000t-fd-up)
        slot 0: FC Host Adapter 0a
                22 Disks:            17770.6GB
                3 shelves with AT-FCX
        slot 0: FC Host Adapter 0b
                26 Disks:            27103.0GB
                4 shelves with AT-FCX
        slot 0: FC Host Adapter 0c
                22 Disks:            17770.6GB
                3 shelves with AT-FCX
        slot 0: FC Host Adapter 0d
                26 Disks:            27103.0GB
                4 shelves with AT-FCX
        slot 0: SCSI Host Adapter 0e
        slot 0: ATA/IDE Adapter 0f (0x000001f0)
                0f.0                 977MB
        slot 1: NVRAM
                Memory Size:        512 MB
        slot 4: FC Host Adapter 4a
                11 Tapes:           Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
        slot 4: FC Host Adapter 4b
FilerA>


Explanation: From the above output, 0a, 0b, 0c and 0d ports are configured as initiator and this is very clear in sysconfig output where Disk shelves are attached to the corresponding ports.



Question 2: How do I Configure the FC Port in Filer if I wanted to connect Tape Drive?

Answer: The FC Port should be configured as initiator.

FilerA> fcadmin config

                  Local
Adapter Type      State                  Status
---------------------------------------------------
  0a   target     CONFIGURED             offline
  0b   initiator  CONFIGURED.            offline
  0c   initiator  CONFIGURED.            offline
  0d   target     CONFIGURED             online
  0e   initiator  CONFIGURED.            online
  0f   initiator  CONFIGURED.            offline
  0g   initiator  CONFIGURED.            offline
  0h   target     CONFIGURED             online

FilerA> sysconfig
        NetApp Release 7.2.6.1: Wed Dec 10 21:10:08 PST 2008
        System ID: 0225533415 (FilerA); partner ID: 0112233554 (FilerAa)
        System Serial Number: 20003001 (FilerA)
        System Rev: D1
        slot 0: System Board
                Processors:         8
                Memory Size:        32768 MB
                Memory Attributes:  Node Interleaving
                                    Bank Interleaving
                                    Hoisting
                                    Chipkill ECC
        Remote LAN Module           Status: Online
        slot 0: BGE 10/100/1000 Ethernet Controller
                e0a MAC Address:    00:a0:98:08:8d:3a (auto-1000t-fd-up)
                e0b MAC Address:    00:a0:98:08:8d:3b (auto-1000t-fd-up)
                e0c MAC Address:    00:a0:98:08:8d:3c (auto-1000t-fd-up)
                e0d MAC Address:    00:a0:98:08:8d:3d (auto-1000t-fd-up)
                e0e MAC Address:    00:a0:98:08:8d:3e (auto-1000t-fd-up)
                e0f MAC Address:    00:a0:98:08:8d:3f (auto-1000t-fd-up)
        slot 0: Fibre Channel Target Host Adapter 0a
        slot 0: FC Host Adapter 0b
        slot 0: FC Host Adapter 0c
        slot 0: Fibre Channel Target Host Adapter 0d
        slot 0: FC Host Adapter 0e
                6 Tapes:            Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
        slot 0: FC Host Adapter 0f
        slot 0: FC Host Adapter 0g
        slot 0: Fibre Channel Target Host Adapter 0h
        slot 0: NetApp ATA/IDE Adapter 0i (0x00000000000001f0)
                0i.0                 977MB
        slot 1: NVRAM
                Memory Size:        2048 MB
        slot 2: Quad TOE-1G Ethernet Controller (T204E)
                e2a MAC Address:    02:a0:98:08:8d:3d (auto-1000t-fd-up)
                e2b MAC Address:    00:07:43:01:2e:fb (auto-unknown-cfg_down)
                e2c MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
                e2d MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
        slot 3: Quad TOE-1G Ethernet Controller (T204V)
                e3a MAC Address:    02:a0:98:08:8d:3d (auto-1000t-fd-up)
                e3b MAC Address:    00:07:43:01:5d:f8 (auto-unknown-cfg_down)
                e3c MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
                e3d MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
        slot 5: FC Host Adapter 5a
                84 Disks:            22848.0GB
                6 shelves with ESH4
        slot 5: FC Host Adapter 5b
                84 Disks:            11424.0GB
                6 shelves with ESH2
        slot 5: FC Host Adapter 5c
                28 Disks:            3808.0GB
                2 shelves with ESH2
        slot 5: FC Host Adapter 5d
                84 Disks:            49204.0GB
                6 shelves with AT-FCX
        slot 6: FC Host Adapter 6a
                84 Disks:            22848.0GB
                6 shelves with ESH4
        slot 6: FC Host Adapter 6b
                84 Disks:            11424.0GB
                6 shelves with ESH2
        slot 6: FC Host Adapter 6c
                28 Disks:            3808.0GB
                2 shelves with ESH2
        slot 6: FC Host Adapter 6d
                84 Disks:            49204.0GB
                6 shelves with AT-FCX
        slot 7: FC Host Adapter 7a
                14 Disks:            3808.0GB
                1 shelf with ESH4
        slot 7: FC Host Adapter 7b
                84 Disks:            13328.0GB
                5 shelves with ESH2, 1 shelf with ESH4
        slot 7: FC Host Adapter 7c
                56 Disks:            15232.0GB
                4 shelves with ESH4
        slot 7: FC Host Adapter 7d
                14 Disks:            11865.7GB
                1 shelf with AT-FCX
        slot 8: FC Host Adapter 8a
                14 Disks:            3808.0GB
                1 shelf with ESH4
        slot 8: FC Host Adapter 8b
                84 Disks:            13328.0GB
                5 shelves with ESH2, 1 shelf with ESH4
        slot 8: FC Host Adapter 8c
                56 Disks:            15232.0GB
                4 shelves with ESH4
        slot 8: FC Host Adapter 8d
        slot 9: Quad TOE-1G Ethernet Controller (T204V)
                e9a MAC Address:    00:07:43:01:30:66 (auto-unknown-cfg_down)
                e9b MAC Address:    00:07:43:01:30:67 (auto-unknown-cfg_down)
                e9c MAC Address:    00:07:43:01:30:68 (auto-unknown-cfg_down)
                e9d MAC Address:    00:07:43:01:30:69 (auto-unknown-cfg_down)
FilerA>

Explanation: From the above output Tape Drive is connected to 0e and configured as initiator.



Question 3: How do I configure the FC Port If I wanted to Connect the Host for Fibre Channel Access?

Answer: The FC Port should be configured as target and this can be seen from the line which is highlighted in Pink Color.

FilerA> fcadmin config

                  Local
Adapter Type      State                  Status
---------------------------------------------------
  0a   target     CONFIGURED             offline
  0b   initiator  CONFIGURED.            offline
  0c   initiator  CONFIGURED.            offline
  0d   target     CONFIGURED             online
  0e   initiator  CONFIGURED.            online
  0f   initiator  CONFIGURED.            offline
  0g   initiator  CONFIGURED.            offline
  0h   target     CONFIGURED             online

FilerA> sysconfig
        NetApp Release 7.2.6.1: Wed Dec 10 21:10:08 PST 2008
        System ID: 0225533415 (FilerA); partner ID: 0112233554 (FilerAa)
        System Serial Number: 20003001 (FilerA)
        System Rev: D1
        slot 0: System Board
                Processors:         8
                Memory Size:        32768 MB
                Memory Attributes:  Node Interleaving
                                    Bank Interleaving
                                    Hoisting
                                    Chipkill ECC
        Remote LAN Module           Status: Online
        slot 0: BGE 10/100/1000 Ethernet Controller
                e0a MAC Address:    00:a0:98:08:8d:3a (auto-1000t-fd-up)
                e0b MAC Address:    00:a0:98:08:8d:3b (auto-1000t-fd-up)
                e0c MAC Address:    00:a0:98:08:8d:3c (auto-1000t-fd-up)
                e0d MAC Address:    00:a0:98:08:8d:3d (auto-1000t-fd-up)
                e0e MAC Address:    00:a0:98:08:8d:3e (auto-1000t-fd-up)
                e0f MAC Address:    00:a0:98:08:8d:3f (auto-1000t-fd-up)
        slot 0: Fibre Channel Target Host Adapter 0a
        slot 0: FC Host Adapter 0b
        slot 0: FC Host Adapter 0c
        slot 0: Fibre Channel Target Host Adapter 0d
        slot 0: FC Host Adapter 0e
                6 Tapes:            Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
        slot 0: FC Host Adapter 0f
        slot 0: FC Host Adapter 0g
        slot 0: Fibre Channel Target Host Adapter 0h
        slot 0: NetApp ATA/IDE Adapter 0i (0x00000000000001f0)
                0i.0                 977MB
        slot 1: NVRAM
                Memory Size:        2048 MB
        slot 2: Quad TOE-1G Ethernet Controller (T204E)
                e2a MAC Address:    02:a0:98:08:8d:3d (auto-1000t-fd-up)
                e2b MAC Address:    00:07:43:01:2e:fb (auto-unknown-cfg_down)
                e2c MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
                e2d MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
        slot 3: Quad TOE-1G Ethernet Controller (T204V)
                e3a MAC Address:    02:a0:98:08:8d:3d (auto-1000t-fd-up)
                e3b MAC Address:    00:07:43:01:5d:f8 (auto-unknown-cfg_down)
                e3c MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
                e3d MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
        slot 5: FC Host Adapter 5a
                84 Disks:            22848.0GB
                6 shelves with ESH4
        slot 5: FC Host Adapter 5b
                84 Disks:            11424.0GB
                6 shelves with ESH2
        slot 5: FC Host Adapter 5c
                28 Disks:            3808.0GB
                2 shelves with ESH2
        slot 5: FC Host Adapter 5d
                84 Disks:            49204.0GB
                6 shelves with AT-FCX
        slot 6: FC Host Adapter 6a
                84 Disks:            22848.0GB
                6 shelves with ESH4
        slot 6: FC Host Adapter 6b
                84 Disks:            11424.0GB
                6 shelves with ESH2
        slot 6: FC Host Adapter 6c
                28 Disks:            3808.0GB
                2 shelves with ESH2
        slot 6: FC Host Adapter 6d
                84 Disks:            49204.0GB
                6 shelves with AT-FCX
        slot 7: FC Host Adapter 7a
                14 Disks:            3808.0GB
                1 shelf with ESH4
        slot 7: FC Host Adapter 7b
                84 Disks:            13328.0GB
                5 shelves with ESH2, 1 shelf with ESH4
        slot 7: FC Host Adapter 7c
                56 Disks:            15232.0GB
                4 shelves with ESH4
        slot 7: FC Host Adapter 7d
                14 Disks:            11865.7GB
                1 shelf with AT-FCX
        slot 8: FC Host Adapter 8a
                14 Disks:            3808.0GB
                1 shelf with ESH4
        slot 8: FC Host Adapter 8b
                84 Disks:            13328.0GB
                5 shelves with ESH2, 1 shelf with ESH4
        slot 8: FC Host Adapter 8c
                56 Disks:            15232.0GB
                4 shelves with ESH4
        slot 8: FC Host Adapter 8d
        slot 9: Quad TOE-1G Ethernet Controller (T204V)
                e9a MAC Address:    00:07:43:01:30:66 (auto-unknown-cfg_down)
                e9b MAC Address:    00:07:43:01:30:67 (auto-unknown-cfg_down)
                e9c MAC Address:    00:07:43:01:30:68 (auto-unknown-cfg_down)
                e9d MAC Address:    00:07:43:01:30:69 (auto-unknown-cfg_down)
FilerA>



Question 4: ConfQuestions Related to FC Port

Question 1: To Connect Disk Shelf to Controller, how do we configure the FC Port in the filer? Is it target port or initiator port?

Answer: The FC Port should be configured as initiator.

FilerA> fcadmin config
                  Local
Adapter Type      State                  Status
---------------------------------------------------
  0a   initiator  CONFIGURED.            online
  0b   initiator  CONFIGURED.            online
  0c   initiator  CONFIGURED.            online
  0d   initiator  CONFIGURED             online

FilerA> sysconfig
        NetApp Release 7.3.2: Tue Apr 27 18:52:33 PDT 2010
        System ID: 013545545 (FilerA)
        System Serial Number: 2012012 (FilerA)
        System Rev: B0
        System Storage Configuration: Multi-Path
        System ACP Connectivity: No Connectivity
        slot 0: System Board
                Processors:         4
                Processor type:     Intel Xeon
                Memory Size:        3072 MB
        slot 0: Dual 10/100/1000 Ethernet Controller VI
                e0a MAC Address:    00:a0:98:06:a1:ca (auto-1000t-fd-up)
                e0b MAC Address:    00:a0:98:06:a1:cb (auto-1000t-fd-cfg_down)
                e0c MAC Address:    00:a0:98:06:a1:c8 (auto-1000t-fd-up)
                e0d MAC Address:    00:a0:98:06:a1:c9 (auto-1000t-fd-up)
        slot 0: FC Host Adapter 0a
                22 Disks:            17770.6GB
                3 shelves with AT-FCX
        slot 0: FC Host Adapter 0b
                26 Disks:            27103.0GB
                4 shelves with AT-FCX
        slot 0: FC Host Adapter 0c
                22 Disks:            17770.6GB
                3 shelves with AT-FCX
        slot 0: FC Host Adapter 0d
                26 Disks:            27103.0GB
                4 shelves with AT-FCX
        slot 0: SCSI Host Adapter 0e
        slot 0: ATA/IDE Adapter 0f (0x000001f0)
                0f.0                 977MB
        slot 1: NVRAM
                Memory Size:        512 MB
        slot 4: FC Host Adapter 4a
                11 Tapes:           Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
        slot 4: FC Host Adapter 4b
FilerA>


Explanation: From the above output, 0a, 0b, 0c and 0d ports are configured as initiator and this is very clear in sysconfig output where Disk shelves are attached to the corresponding ports.



Question 2: How do I Configure the FC Port in Filer if I wanted to connect Tape Drive?

Answer: The FC Port should be configured as initiator.

FilerA> fcadmin config

                  Local
Adapter Type      State                  Status
---------------------------------------------------
  0a   target     CONFIGURED             offline
  0b   initiator  CONFIGURED.            offline
  0c   initiator  CONFIGURED.            offline
  0d   target     CONFIGURED             online
  0e   initiator  CONFIGURED.            online
  0f   initiator  CONFIGURED.            offline
  0g   initiator  CONFIGURED.            offline
  0h   target     CONFIGURED             online

FilerA> sysconfig
        NetApp Release 7.2.6.1: Wed Dec 10 21:10:08 PST 2008
        System ID: 0225533415 (FilerA); partner ID: 0112233554 (FilerAa)
        System Serial Number: 20003001 (FilerA)
        System Rev: D1
        slot 0: System Board
                Processors:         8
                Memory Size:        32768 MB
                Memory Attributes:  Node Interleaving
                                    Bank Interleaving
                                    Hoisting
                                    Chipkill ECC
        Remote LAN Module           Status: Online
        slot 0: BGE 10/100/1000 Ethernet Controller
                e0a MAC Address:    00:a0:98:08:8d:3a (auto-1000t-fd-up)
                e0b MAC Address:    00:a0:98:08:8d:3b (auto-1000t-fd-up)
                e0c MAC Address:    00:a0:98:08:8d:3c (auto-1000t-fd-up)
                e0d MAC Address:    00:a0:98:08:8d:3d (auto-1000t-fd-up)
                e0e MAC Address:    00:a0:98:08:8d:3e (auto-1000t-fd-up)
                e0f MAC Address:    00:a0:98:08:8d:3f (auto-1000t-fd-up)
        slot 0: Fibre Channel Target Host Adapter 0a
        slot 0: FC Host Adapter 0b
        slot 0: FC Host Adapter 0c
        slot 0: Fibre Channel Target Host Adapter 0d
        slot 0: FC Host Adapter 0e
                6 Tapes:            Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
        slot 0: FC Host Adapter 0f
        slot 0: FC Host Adapter 0g
        slot 0: Fibre Channel Target Host Adapter 0h
        slot 0: NetApp ATA/IDE Adapter 0i (0x00000000000001f0)
                0i.0                 977MB
        slot 1: NVRAM
                Memory Size:        2048 MB
        slot 2: Quad TOE-1G Ethernet Controller (T204E)
                e2a MAC Address:    02:a0:98:08:8d:3d (auto-1000t-fd-up)
                e2b MAC Address:    00:07:43:01:2e:fb (auto-unknown-cfg_down)
                e2c MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
                e2d MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
        slot 3: Quad TOE-1G Ethernet Controller (T204V)
                e3a MAC Address:    02:a0:98:08:8d:3d (auto-1000t-fd-up)
                e3b MAC Address:    00:07:43:01:5d:f8 (auto-unknown-cfg_down)
                e3c MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
                e3d MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
        slot 5: FC Host Adapter 5a
                84 Disks:            22848.0GB
                6 shelves with ESH4
        slot 5: FC Host Adapter 5b
                84 Disks:            11424.0GB
                6 shelves with ESH2
        slot 5: FC Host Adapter 5c
                28 Disks:            3808.0GB
                2 shelves with ESH2
        slot 5: FC Host Adapter 5d
                84 Disks:            49204.0GB
                6 shelves with AT-FCX
        slot 6: FC Host Adapter 6a
                84 Disks:            22848.0GB
                6 shelves with ESH4
        slot 6: FC Host Adapter 6b
                84 Disks:            11424.0GB
                6 shelves with ESH2
        slot 6: FC Host Adapter 6c
                28 Disks:            3808.0GB
                2 shelves with ESH2
        slot 6: FC Host Adapter 6d
                84 Disks:            49204.0GB
                6 shelves with AT-FCX
        slot 7: FC Host Adapter 7a
                14 Disks:            3808.0GB
                1 shelf with ESH4
        slot 7: FC Host Adapter 7b
                84 Disks:            13328.0GB
                5 shelves with ESH2, 1 shelf with ESH4
        slot 7: FC Host Adapter 7c
                56 Disks:            15232.0GB
                4 shelves with ESH4
        slot 7: FC Host Adapter 7d
                14 Disks:            11865.7GB
                1 shelf with AT-FCX
        slot 8: FC Host Adapter 8a
                14 Disks:            3808.0GB
                1 shelf with ESH4
        slot 8: FC Host Adapter 8b
                84 Disks:            13328.0GB
                5 shelves with ESH2, 1 shelf with ESH4
        slot 8: FC Host Adapter 8c
                56 Disks:            15232.0GB
                4 shelves with ESH4
        slot 8: FC Host Adapter 8d
        slot 9: Quad TOE-1G Ethernet Controller (T204V)
                e9a MAC Address:    00:07:43:01:30:66 (auto-unknown-cfg_down)
                e9b MAC Address:    00:07:43:01:30:67 (auto-unknown-cfg_down)
                e9c MAC Address:    00:07:43:01:30:68 (auto-unknown-cfg_down)
                e9d MAC Address:    00:07:43:01:30:69 (auto-unknown-cfg_down)
FilerA>

Explanation: From the above output Tape Drive is connected to 0e and configured as initiator.



Question 3: How do I configure the FC Port If I wanted to Connect the Host for Fibre Channel Access?

Answer: The FC Port should be configured as target and this can be seen from the line which is highlighted in Pink Color.

FilerA> fcadmin config

                  Local
Adapter Type      State                  Status
---------------------------------------------------
  0a   target     CONFIGURED             offline
  0b   initiator  CONFIGURED.            offline
  0c   initiator  CONFIGURED.            offline
  0d   target     CONFIGURED             online
  0e   initiator  CONFIGURED.            online
  0f   initiator  CONFIGURED.            offline
  0g   initiator  CONFIGURED.            offline
  0h   target     CONFIGURED             online

FilerA> sysconfig
        NetApp Release 7.2.6.1: Wed Dec 10 21:10:08 PST 2008
        System ID: 0225533415 (FilerA); partner ID: 0112233554 (FilerAa)
        System Serial Number: 20003001 (FilerA)
        System Rev: D1
        slot 0: System Board
                Processors:         8
                Memory Size:        32768 MB
                Memory Attributes:  Node Interleaving
                                    Bank Interleaving
                                    Hoisting
                                    Chipkill ECC
        Remote LAN Module           Status: Online
        slot 0: BGE 10/100/1000 Ethernet Controller
                e0a MAC Address:    00:a0:98:08:8d:3a (auto-1000t-fd-up)
                e0b MAC Address:    00:a0:98:08:8d:3b (auto-1000t-fd-up)
                e0c MAC Address:    00:a0:98:08:8d:3c (auto-1000t-fd-up)
                e0d MAC Address:    00:a0:98:08:8d:3d (auto-1000t-fd-up)
                e0e MAC Address:    00:a0:98:08:8d:3e (auto-1000t-fd-up)
                e0f MAC Address:    00:a0:98:08:8d:3f (auto-1000t-fd-up)
        slot 0: Fibre Channel Target Host Adapter 0a
        slot 0: FC Host Adapter 0b
        slot 0: FC Host Adapter 0c
        slot 0: Fibre Channel Target Host Adapter 0d
        slot 0: FC Host Adapter 0e
                6 Tapes:            Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
                                    Ultrium 4-SCSI
        slot 0: FC Host Adapter 0f
        slot 0: FC Host Adapter 0g
        slot 0: Fibre Channel Target Host Adapter 0h
        slot 0: NetApp ATA/IDE Adapter 0i (0x00000000000001f0)
                0i.0                 977MB
        slot 1: NVRAM
                Memory Size:        2048 MB
        slot 2: Quad TOE-1G Ethernet Controller (T204E)
                e2a MAC Address:    02:a0:98:08:8d:3d (auto-1000t-fd-up)
                e2b MAC Address:    00:07:43:01:2e:fb (auto-unknown-cfg_down)
                e2c MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
                e2d MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
        slot 3: Quad TOE-1G Ethernet Controller (T204V)
                e3a MAC Address:    02:a0:98:08:8d:3d (auto-1000t-fd-up)
                e3b MAC Address:    00:07:43:01:5d:f8 (auto-unknown-cfg_down)
                e3c MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
                e3d MAC Address:    02:a0:98:08:8d:3e (auto-1000t-fd-up)
        slot 5: FC Host Adapter 5a
                84 Disks:            22848.0GB
                6 shelves with ESH4
        slot 5: FC Host Adapter 5b
                84 Disks:            11424.0GB
                6 shelves with ESH2
        slot 5: FC Host Adapter 5c
                28 Disks:            3808.0GB
                2 shelves with ESH2
        slot 5: FC Host Adapter 5d
                84 Disks:            49204.0GB
                6 shelves with AT-FCX
        slot 6: FC Host Adapter 6a
                84 Disks:            22848.0GB
                6 shelves with ESH4
        slot 6: FC Host Adapter 6b
                84 Disks:            11424.0GB
                6 shelves with ESH2
        slot 6: FC Host Adapter 6c
                28 Disks:            3808.0GB
                2 shelves with ESH2
        slot 6: FC Host Adapter 6d
                84 Disks:            49204.0GB
                6 shelves with AT-FCX
        slot 7: FC Host Adapter 7a
                14 Disks:            3808.0GB
                1 shelf with ESH4
        slot 7: FC Host Adapter 7b
                84 Disks:            13328.0GB
                5 shelves with ESH2, 1 shelf with ESH4
        slot 7: FC Host Adapter 7c
                56 Disks:            15232.0GB
                4 shelves with ESH4
        slot 7: FC Host Adapter 7d
                14 Disks:            11865.7GB
                1 shelf with AT-FCX
        slot 8: FC Host Adapter 8a
                14 Disks:            3808.0GB
                1 shelf with ESH4
        slot 8: FC Host Adapter 8b
                84 Disks:            13328.0GB
                5 shelves with ESH2, 1 shelf with ESH4
        slot 8: FC Host Adapter 8c
                56 Disks:            15232.0GB
                4 shelves with ESH4
        slot 8: FC Host Adapter 8d
        slot 9: Quad TOE-1G Ethernet Controller (T204V)
                e9a MAC Address:    00:07:43:01:30:66 (auto-unknown-cfg_down)
                e9b MAC Address:    00:07:43:01:30:67 (auto-unknown-cfg_down)
                e9c MAC Address:    00:07:43:01:30:68 (auto-unknown-cfg_down)
                e9d MAC Address:    00:07:43:01:30:69 (auto-unknown-cfg_down)
FilerA>



Question 4: Configuring onboard adapters for initiator mode
Configure the onboard adapters for initiator mode to connect the adapters to back-end disk shelves.
Steps
  1. If you have already connected the port to a switch or fabric, take it offline by entering the following command: fcp config adapter down
adapter is the port number. You can specify more than one port.
Example
fcp config 0c 0d down
Ports 0c and 0d are taken offline.
Note: If the adapter does not go offline, you can also remove the cable from the appropriate adapter port on the system.
  1. Set the onboard ports to operate in initiator mode by entering the following command: fcadmin config -t initiator adapter
adapter is the port number. You can specify more than one port.
Example
fcadmin config -t initiator 0c 0d
Ports 0c and 0d are set to initiator mode.
  1. Reboot each system in the HA pair by entering the following command: reboot
  2. Verify that the FC ports are online and configured in the correct state for your configuration by entering the following command: fcadmin config
Example
fcadmin config
                  Local
Adapter Type      State                  Status
---------------------------------------------------
  0a   initiator  CONFIGURED             online
  0b   initiator  CONFIGURED             online
  0c   target     CONFIGURED             online
  0d   target     CONFIGURED             online
Note: The available Local State values are CONFIGURED, PENDING, and UNCONFIGURED. Refer to the fcadmin MAN page for detailed descriptions of each value.
The preceding output displays for a four-port SAN configuration.iguring onboard adapters for initiator mode
Configure the onboard adapters for initiator mode to connect the adapters to back-end disk shelves.
Steps
  1. If you have already connected the port to a switch or fabric, take it offline by entering the following command: fcp config adapter down
adapter is the port number. You can specify more than one port.
Example
fcp config 0c 0d down
Ports 0c and 0d are taken offline.
Note: If the adapter does not go offline, you can also remove the cable from the appropriate adapter port on the system.
  1. Set the onboard ports to operate in initiator mode by entering the following command: fcadmin config -t initiator adapter
adapter is the port number. You can specify more than one port.
Example
fcadmin config -t initiator 0c 0d
Ports 0c and 0d are set to initiator mode.
  1. Reboot each system in the HA pair by entering the following command: reboot
  2. Verify that the FC ports are online and configured in the correct state for your configuration by entering the following command: fcadmin config
Example
fcadmin config
                  Local
Adapter Type      State                  Status
---------------------------------------------------
  0a   initiator  CONFIGURED             online
  0b   initiator  CONFIGURED             online
  0c   target     CONFIGURED             online
  0d   target     CONFIGURED             online
Note: The available Local State values are CONFIGURED, PENDING, and UNCONFIGURED. Refer to the fcadmin MAN page for detailed descriptions of each value.

The preceding output displays for a four-port SAN configuration.