Sunday, August 26, 2012

NetApp Troubleshooting tools

HA Configuration Checker (ha-config-check.cgi)

The HA Configuration Checker is a Perl script that detects errors in the configuration of a pair of NetApp HA (active-active) storage controllers. It will run as a command from a Unix shell or Windows prompt, but also doubles as a CGI script that can be executed by a Unix web server. The script uses rsh or ssh to communicate with the storage controllers you're checking, so you'll need to have the appropriate permissions for rsh to run on both storage controllers in the HA pair.

 If no /etc/hosts.equiv entry exists for the host where you tring to run, then the username and password must be provided to the script.

D:\>ha-config-check.exe -l filer1 filer2
filer1 rsh login: bali
Password: ********
filer2 rsh login: bali
Password: ********

Output would be..

== NetApp HA Configuration Checker v2.0.0 ==

Checking rsh logins. rsh filer1 -l bali:******** version

Checking rsh logins. rsh filer2 -l bali:******** version
OK
Checking Data ONTAP versions...
OK
Checking licenses...
OK
Checking HA configuration identity...
OK
Checking cf status...
OK
Checking fcp cfmode settings...
fcp: FCP is not licensed.
N/A
Checking options...
Option timed.sched                  1h
 on filer2 has no match on filer1
Option timed.sched                  hourly
 on filer1 has no match on filer2
HA configuration issue(s) found above. Please correct them and rerun this script
.
Done.

Download the tool from below NOW link

http://support.netapp.com/NOW/download/tools/cf_config_check

Thursday, July 12, 2012

100 useful commands ...(11 to 20)

11. How do I determine the firmware version my drives and shelves are running? How do I determine which version they should be running?
a. Use sysconfig –v command

        NetApp Release 8.0.2P3 7-Mode: Thu Oct 13 15:56:25 PDT 2011
        System ID: 1574658697 (WHMN23905); partner ID: 1574658663 (WHMN23906)
System Serial Number: 700000838568 (WHMN23905)
       
        ....
00.8 : NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.9 : NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.10: NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.11: NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.12: NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.13: NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.14: NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.15: NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.16: NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.17: NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.18: NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.19: NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.20: NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.21: NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.22: NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                00.23: NETAPP   X412_S15K7560A15 NA00 560.0GB (1147307688 520B/sect)
                Shelf   0: IOM3 Firmware rev. IOM3 A: 0131 IOM3 B: 0131
        slot 0: SAS Host Adapter 0b (PMC-Sierra PM8001 rev. C, SAS, <UP>)
                Firmware rev:       01.11.00.00
                Base WWN:           5:00a098:00085fa:0c


Where             NA00 è is Disk FW version
                        Shelf   0: IOM3 Firmware rev. IOM3 A: 0131 IOM3 B: 0131 è 0130 is Shelf FW version its SAS disk shelf with IOM 3 module

Once you identified your disk and shelf firmware version of your environment, you can cross check with http://support.netapp.com/NOW/download/tools/diskfw/ site for latest disk-fw availability, if you don't have latest FW version you can upgrade your FW version.
For this case the disk model is "X412_S15K7560A15", so you need to compare by using this model from above web link.

For my case I already running latest disk FW so its require to upgrade FW until I get the new one.


SP-412A-R5/
X412A-R5
Seagate 15k7 600 GB 15k RPM SAS (520 BPS)
NETAPP X412_S15K7560A15
Active
DS4243
7.3.2
Yes

Initial FW release
08-JAN-10


For shelf FW go to http://support.netapp.com/NOW/download/tools/diskshelf/ weblink you can compare with current FW version, my case i have shelf FW version is IOM3 A/B: 0131. But from the weblink comparison there is a latest FW available to upgrade which is IOM3 rev 0132, so I require upgrading my shelf FW. For All SAS disk-shelf with IOM module FW upgrades is non-disruptive one.


SP-5712A-R6
IOM3, SAS, 3Gb, R6 for DS4243 Shelf
FAS2XXX systems
FAS3XXX systems
FAS6XXX systems
IOM3 Firmware rev: 0132
This release of IOM3 firmware increases reliability, availability and supportability.
16-DEC-11


12. NetApp Storage system automation using ssh and rsh commands

SSH is very much a secured protocol and a simple following statement states the need of SSH, rsh is a remote shell program that gives you a login connection on a remote machine. The protocol it uses passes your password in cleartext! Anyone sniffing the network between the two machins can capture your password.
ssh uses black-magic encryption to encode your datastreams so that only the two machines can understand each other. This is a great scheme provided you can trust both machines!

To make ssh/rsh to work for scripting the following steps should be followed/configured. Normally i use to run these type of scripts from DFM server
rsh.access host=xx.xx.xx.xx
rsh.enable on
trusted.hosts *

e.g.  rsh <filername/IP> <command> >> C:\log.txt
# rsh filer12 storage show disk -T
DISK                  SHELF BAY SERIAL           VENDOR   MODEL      REV TYPE
--------------------- --------- ---------------- -------- ---------- ---- ------
0d.16                   1    0  xxxxxxxxxxxxxxxx NETAPP   X276 NA07 FCAL
0d.17                   1    1  xxxxxxxxxxxxxxxx NETAPP   X276 NA07 FCAL
0d.18                   1    2  xxxxxxxxxxxxxxxx NETAPP   X276 NA07 FCAL
0d.19                   1    3  xxxxxxxxxxxxxxxx NETAPP   X276 NA07 FCAL
0d.20                   1    4  xxxxxxxxxxxxxxxx NETAPP   X276 NA07 FCAL
0d.21                   1    5  xxxxxxxxxxxxxxxx NETAPP   X276 NA07 FCAL
0d.22                   1    6  xxxxxxxxxxxxxxxx NETAPP   X276 NA07 FCAL



Wednesday, July 11, 2012

RAID group size recommendation

There has been lot of things need to be consider while configuring an Aggregate, whenever I build a new filer I use to follow the below best practices for creating the aggregates. Ref: TR3838. This is the official NetApp position on RG sizing.
It’s not necessary to use the default RAID group size (14+2=16) in all the cases, because everything is depends on your current infrastructure configuration.

64-Bit Aggregate
64-Bit Aggregate Recommendations for FAS2040
Data ONTAP 8.0.x Maximum Aggregate Capacity 30TB
Capacity
Type
Data Drives
RG Size
Number of RGs
Drive Def.
Data + Parity
100GB
SSD
86
(84)
24
(23)
4
(4)
2
(0)
94
(92)
300GB
FC
115
(112)
15
(18)
9
(7)
2
(0)
133
(126)
450GB
75
(75)
17
(17)
5
(5)
0
(0)
85
(85)
600GB
56
(54)
16
(20)
4
(3)
0
(0)
64
(60)
300GB
SAS
115
(112)
15
(18)
9
(7)
2
(0)
133
(126)
450GB
75
(75)
17
(17)
5
(5)
0
(0)
85
(85)
600GB
56
(54)
16
(20)
4
(3)
0
(0)
64
(60)
500GB
SATA
74
(72)
17
(20)
5
(4)
1
(0)
84
(80)
1TB
37
(36)
15
(20)
3
(2)
2
(0)
43
(40)
2TB
18
(18)
20
(20)
1
(1)
0
(0)
20
(20)



64-Bit Aggregate Recommendations for FAS/V3040, 3140, 3070, 3160, 3210, and 3240
Data ONTAP 8.0.x Maximum Aggregate Capacity 50TB
Capacity
Type
Data Drives
RG Size
Number of RGs
Drive Def.
Data + Parity
100GB
SSD
86
(84)
24
(23)
4
(4)
2
(0)
94
(92)
300GB
FC
192
(192)
18
(18)
12
(12)
0
(0)
216
(216)
450GB
125
(119)
20
(19)
7
(7)
1
(0)
139
(133)
600GB
93
(90)
18
(20)
6
(5)
3
(0)
105
(100)
300GB
SAS
192
(192)
18
(18)
12
(12)
0
(0)
216
(216)
450GB
125
(119)
20
(19)
7
(7)
1
(0)
139
(133)
600GB
93
(90)
18
(20)
6
(5)
3
(0)
105
(100)
500GB
SATA
123
(119)
20
(19)
7
(7)
3
(0)
137
(133)
1TB
61
(60)
18
(17)
4
(4)
3
(0)
69
(68)
2TB
30
(30)
17
(17)
2
(2)
0
(0)
34
(34)



64-Bit Aggregate Recommendations for FAS/V3170, 3270, 6030, 6040, and 6210
Data ONTAP 8.0.x Maximum Aggregate Capacity 70TB
Capacity
Type
Data Drives
RG Size
Number of RGs
Drive Def.
Data + Parity
100GB
SSD
86
(84)
24
(23)
4
(4)
2
(0)
94
(92)
300GB
FC
269
(255)
20
(19)
15
(15)
1
(0)
299
(285)
450GB
175
(170)
18
(19)
11
(10)
1
(0)
197
(190)
600GB
131
(126)
14
(20)
11
(7)
1
(0)
153
(140)
300GB
SAS
269
(255)
20
(19)
15
(15)
1
(0)
299
(285)
450GB
175
(170)
18
(19)
11
(10)
1
(0)
197
(190)
600GB
131
(126)
14
(20)
11
(7)
1
(0)
153
(140)
500GB
SATA
173
(170)
18
(19)
11
(10)
3
(0)
195
(190)
1TB
86
(85)
20
(19)
5
(5)
4
(0)
96
(95)
2TB
43
(36)
13
(20)
4
(2)
1
(0)
51
(40)



64-Bit Aggregate Recommendations for FAS/V6070, 6080, 6240, and 6280
Data ONTAP 8.0.x Maximum Aggregate Capacity 100TB
Capacity
Type
Data Drives
RG Size
Number of RGs
Drive Def.
Data + Parity
100GB
SSD
86
(84)
24
(23)
4
(4)
2
(0)
94
(92)
300GB
FC
385
(384)
13
(18)
35
(24)
0
(0)
455
(432)
450GB
250
(240)
12
(18)
25
(15)
0
(0)
300
(270)
600GB
187
(180)
19
(20)
11
(10)
0
(0)
209
(200)
300GB
SAS
385
(384)
13
(18)
35
(24)
0
(0)
455
(432)
450GB
250
(240)
12
(18)
25
(15)
0
(0)
300
(270)
600GB
187
(180)
19
(20)
11
(10)
0
(0)
209
(200)
500GB
SATA
247
(240)
15
(18)
19
(15)
0
(0)
285
(270)
1TB
123
(119)
20
(19)
7
(7)
3
(0)
137
(133)
2TB
61
(60)
18
(17)
4
(4)
3
(0)
69
(68)

32-Bit AggregateIn Data ONTAP 7.2.x and earlier, parity drives and physical drive size are included in the 16TB limit for 32-bit aggregates.
In Data ONTAP 7.3.x and 8.0.x, only data drives and usable drive capacity are included in the 16TB limit for 32-bit aggregates.


32-Bit Aggregate Recommendations for All Platforms
Data ONTAP 7.3.x and 8.0.x
Capacity
Type
Data Drives
RG Size
Number of RGs
Drive Def.
Data + Parity
100GB
SSD
86
(84)
24
(23)
4
(4)
2
(0)
94
(92)
300GB
FC
61
(60)
18
(17)
4
(4)
3
(0)
69
(68)
450GB
40
(40)
12
(12)
4
(4)
0
(0)
48
(48)
600GB
29
(28)
17
(16)
2
(2)
1
(0)
33
(32)
300GB
SAS
61
(60)
18
(17)
4
(4)
3
(0)
69
(68)
450GB
40
(40)
12
(12)
4
(4)
0
(0)
48
(48)
600GB
29
(28)
17
(16)
2
(2)
1
(0)
33
(32)
500GB
SATA
39
(39)
15
(15)
3
(3)
0
(0)
45
(45)
1TB
19
(18)
12
(20)
2
(1)
1
(0)
23
(20)
2TB
9
(9)
11
(11)
1
(1)
0
(0)
11
(11)

Hello

Hello