[[netapp]]
 

SNMP

snmpget hostname public .1.3.6.1.4.1.789.1.2.2.1.0 |perl -pe ‘s/ = ([-]*\d*)//;$a = $1; if ($a lt 0) {$a += 4294967296;};print “$a\n$a\n0\n”‘;

Swap disks

To swap disks:

disk swap
Remove the failed disk
Wait 30 seconds
Insert new disk
Wait and then:
sysconfig -d
and check for the new disk.

Netapp Password Recovery

  • reboot
  • ctrl-c on bootup
  • at the Ok prompt enter: setenv floppy-boot? true
  • boot and answer yes to the boot from floppy question

Note that you’ll get the boot menu every time you reboot from then on until you:

  • setenv floppy-boot? false

Zeroing spare disks

If you’ve taken a data disk and made it a hot spare disk, it won’t be zeroed. To do this:

priv set advanced
disk zero spares
priv set
sysconfig -r should now show the spare disks being zeroed.

Alternatively:

priv set diag
spares_zero
vol status -s 

Turning disk LEDs on

priv set advanced
led_on 3a.74
led_off 3a.74
priv set

If the disk doesn’t light up the LEDs as it’s broken, you can turn on the LEDs of the disks around it, ie 3a.73 and 3a.75.

Configuring interfaces

ifconfig e0a -addr=filer_addr -mask=netmask -gw=gateway -dns=dns_addr -domain=dns_domain 
In this example, the hostname is toaster1

Make sure on /vol/vol0/etc/hosts you have entries:

192.168.1.10 toaster1 toaster1-e9

Then make sure /vol/vol0/etc/rc looks something like:

hostname toaster1
vif create multi e9 -b ip e0a e0b
ifconfig e9 `hostname`-e9 mediatype auto
route add default 193.62.196.1 1
routed on
options dns.enable on
options nis.domainname ebi
options nis.enable on
savecore

The same commands can be used on boot on the CLI. If you swap/move NICs and the filer doesn’t come up:

ifconfig -a
ifconfig e9 192.168.1.10
nfs on
exportfs /vol/vol0

Then mount vol0 and edit the relevant files as above.

 
netapp.txt · Last modified: 2009/05/27 15:48 by gavin
 
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki