Академический Документы
Профессиональный Документы
Культура Документы
HTTP, FTP
Administration Services
rsh, telnet, ssh, snmp, RIP, KERPEROS, LDAP, RMT, NDMP, SMTP, SNTP, WINS, NIS, DNS
Networking Services VLAN, RIP
Directory lookup services DNS, NIS, WINS
Remote administration services RSH, Telnet, ssh, SNMP, RMT, SNTP, SMTP
Security services Kerberos, LDAP
Basic Administration
NetApp>options telnet.enable [on | off]
NetApp>options telnet.access [legacy | * | - | [host=hostname | IP]]
NetApp>options autologout.telnet.enable [on | off]
NetApp>options autologout.telnet.timeout [60 | value]
NetApp>options rsh.enable [on | off]
NetApp>options rsh.access [legacy | * | - | [host=hostname | IP]]
User Access:
useradmin useradd login_name
useradmin userdel login_name
useradmin userlist
passwd
Syntax: options trusted.hosts [hostnames | * | -]
NFS
The host name must be entered in the /etc/hosts.equiv file. The setup procedure
automatically populates this file.
CIFS
The user must be a member of the Domain Administrators or Administrators W2K
groups.
Autosupport
options autosupport.support.enable [on | off]
options autosupport.mailhost [host1, …, host5]
options autosupport.to [address1, ..., address5]
options autosupport.from
options autosupport.content
options autosupport.noteto
options autosupport.doit [message]
options autosupport.enable [on | off]
sysconfig
sysconfig –d -r -t -v -c
vol status -r -v -d -f -s -b
df
df -i
sysstat
http://filername/na_admin
Disk Commands
Disk remove disk_name
Disk swap
Disk unswap
Disk replace [start | stop]
Disk zero spares
Disk scrub [start | stop]
Disk sanitize
Disk ID - sysconfig -r
aggr Command
aggr create <aggrname> [options] <disklist>
aggr add <aggrname> [options] <disklist>
aggr status <aggrname>
aggr rename <aggrname> <new-aggrname> <aggrname>
aggr options <aggr-name> <option-name> <option-val>
aggr offline {<atv-name> | <plex-name>}
aggr online {<atv-name> | <plex-name>}
aggr destroy {<atv-name> | <plex-name>}
vol Command
vol create <vol-name> [options] <disk-list>
vol status <vol-name>
vol rename < vol-name> <new-name>
vol options <vol-name> <option-name> <option-val>
vol offline {<vol-name> | <plex-name>}
vol online {<vol-name> | <plex-name>}
vol restrict <vol-name>
vol destroy {<vol-name> | <plex-name>} [options]
vol add <vol-name> [options] <disk-list>
vol create <flexiblevolname> <aggrname> size
vol size <flexvolname> [[+|-] size]
df -A
df
vol size vol0 10g
NetApp> aggr create aggr1 –t raid4 2
NetApp> vol create vol1 aggr1 2g
vol status -r
vol status vol1 -v
nosnap
maxirsize
NetApp> aggr add aggr1 –n l
NetApp> vol rename vol1 vol2
Hostname Resolution
NetApp1> rdfile /etc/hosts
DNS Commands
Configuration Commands
options dns.domainname domainname
options dns.enable [on | off]
Information Command
dns info
routed status
VLAN commands
vlan create –g on <ifname> <vlanid vlanid…>
vlan delete [-q] <ifname> <vlanid>
vlan add <ifname> <vlanid vlanid…>
vlan stat <ifname> <vlanid>
vlan modify –g [on|off] <ifname>
vlan create –g on e4 2 3 4
vlan delete –q e8 2
vlan add e8 3
vlan stat e4 10
vlan modify –g off e8
NetApp> ifcong –a
ifconfig [ -a ] [<interface> [ [alias | -alias ] <address> ] [ up | down ]
[ netmask <mask> ] [ broadcast <address> ][ mtusize <size> ][ mediatype { tp | tp-
df | 100tx | 100tx-fd 1000fx | auto }]
[ flowcontrol {none | receive | send | full } ] [ trusted | untrusted ] [ wins |
-wins ]
[ [ partner { <address> | <interface> } ] | [ -partner ] ] ] ]
filer> ifconfig e0
NetApp> netdiag
NetApp> netdiag -v
NetApp> netdiag -sap
/etc/exportfs
/vol/vol0/pubs –rw = host1:host2,root=host1
/vol/vol1 –rw = host2
/vol/vol0/home
/etc/exports
/vol/vol0 –rw=adminshosts:host1
/vol/vol1 –rw=adminshosts:host1:host2
/vol/vol2 –rw=adminshosts:host2
/etc/hosts
192.168.12.10 adminhost
192.168.14.20 host1
192.168.15.30 host2
Exporting Subnets
-rw= subnet_address1/leading bits in netmask
-ro= subnet_address1/leading bits in netmask
-root= subnet_address1/leading bits in netmask
-rw=netgroup
-ro=netgroup
-root=netgroup
NetApp>rdfile /etc/exports
NetApp>wrfile /etc/exports
NetApp>exportfs –a
# mkdir /mnt/filer_name/nfs_tree1
# IP_address:/vol/vol0/nfs_trees1 /mnt/filer_name/nfs_tree1
# cd mnt/filer_name/nfs_tree1
cifs sessions -d
cifs sessions growe_NT
cifs sessions 192.168.33.3
cifs sessions growe
cifs sessions –s
cifs sessions –s growe_NT
# rm hosts.bak
# cd /mnt/filer_name/vol0/.snapshot/mysnap/etc
quota on vol1
quota resize vol1
qtree create /vol/vol2/ teachpubs
quota report -u
quota report –a /vol/vol1/techpubs
arp, setup, config, snmp, ifconfig, software, lun, source, man, vif
cifs, nfsstat, config, nis, httpstat, ypcat, ipsec, ypgroup, nbstat, ypmatch, nfs
date, passwd, download, ping, dump, priv, echo, rdate, ems, reboot, environment,
restore, fcp, route, help, routed, hostname, savecore, ifstat, secureadmin,
igroup, snap, ipsec, source
rdfile /etc/exports
wrfile /etc/exports
mv /etc/exports /etc/exports/old
statit
statit –b -r -n
statit –e <flag>