m02-basicadmin

58
Basic Administration Module 2 Data ONTAP 7-Mode Administration

Upload: timothy-sage

Post on 17-Aug-2015

214 views

Category:

Documents


0 download

DESCRIPTION

na

TRANSCRIPT

Basic AdministrationModule 2Data ONTAP 7-Mode Administration 2011 NetApp, Inc.All ri!ts reser"ed.Module Objectives#$ t!e end o% t!is module, $ou s!ould &e a&le to'(onnect remotel$ to a )A* s$stem usin t!e console and a remote !ostAccess NetApp+ *$stem Manaer to administer a storae s$stem,-ecute commands usin t!e console, a remote !ost, and *$stem ManaerDemonstrate !o. to use commands to anal$/e a )A* s$stem(on%iure and manae t!e Auto*upport ser"ice %or a )A* s$stem2 2011 NetApp, Inc.All ri!ts reser"ed.AdministrativeInterfaces3 2011 NetApp, Inc.All ri!ts reser"ed.Administration OptionsA storae s$stem ma$ &e manaed %rom'0T!e command-line inter%ace 1(2I3Access directl$ 1serial connection to t!e console3Access remotel$ 1**4, Telnet30A rap!ical user inter%ace 156I3Access remotel$ 1usin a "ariet$ o% protocols37!at are t!e ad"antaes or disad"antaes o% eac! met!od84 2011 NetApp, Inc.All ri!ts reser"ed.Command-Line Interface5 2011 NetApp, Inc.All ri!ts reser"ed.Command-Line Interface(2I is accessed t!rou! t!e console or t!rou! a s!ellsystem> Wed Apr7 20:53:01 ...logged in from consolesystem>#$ de%ault, a storae s$stem allo.s'0One session0One user at a time (reatin additional sessions enerates an error'Too many users logged in!lease try again later.!onnection closed.6se t!e options command 1discussed later3 to allo. t.o separate sessionssystem> options telnet.distinct.enable true

2011 NetApp, Inc.All ri!ts reser"ed.Console Connections T!e console allo.s a p!$sical connection t!rou! t!e'0*erial port*erial Port*torae s$stems !a"e an 9:;< port mar=ed IOIOI on t!e rear panel (onnect t!e D#> end to a serial port on a !ost computer Properties'0 *peed'>?00 &its per second0 Data &its' @0 *top &its' 10 Parit$' None0 )lo. (ontrol' 4ard.are or none! 2011 NetApp, Inc.All ri!ts reser"ed.T!e console allo.s a p!$sical connection t!rou! t!e'0*erial port092M 92M PortConsole Connections "Cont#$9emote access to $our storae s$stem reardless o% t!e s$stem state(ontinuous po.er and secure access6se rlm commands to con%iure6se naroot to loin as root% 2011 NetApp, Inc.All ri!ts reser"ed.Console Connections "Cont#$T!e console allo.s p!$sical connection t!rou! t!e'0*erial port092M 0#M( 1on )A*2000 series3#M( Port9emote access to $our storae s$stem reardless o% t!e s$stem state(ontinuous po.er and secure access6se "mc commands to con%iure& 2011 NetApp, Inc.All ri!ts reser"ed.Data ONTAP @.0'(ell Access#esides direct console access, administrators ma$ access a storae s$stem t!rou! t!e'0e0M 1i% a"aila&le3Manaement 2AN92Me0M e0a e0&Data2AN)* 2011 NetApp, Inc.All ri!ts reser"ed.'(ell Access "Cont#$#esides direct console access, administrators ma$ access a storae s$stem t!rou!'0e0M 1i% a"aila&le30,t!ernet #$ de%ault, usin secured protocol'0**4Ot!er insecure protocols 1not recommended3'09*40Telnet)) 2011 NetApp, Inc.All ri!ts reser"ed.'ecure '(ell*ecure s!ell 1**43'0Allo.s %or secure administrati"e access to t!e storae s$stem09eAuires no licenseB set on &$ de%ault in ne. installs0Data ONTAP 7.C.-and @.0.- supports **4 2.0 To con%iure **4 2.0'system> secureadmin setup ssh,nter a !ost =e$ o% 7?@ &its7ait %or s$slo messae t!at **4 is set upsystem> secureadmin enable ssh24ost =e$s are %ound !ere'09*A =e$' #etc#ss$d#ss$%$ost%rsa%&ey0D*A =e$' #etc#ss$d#ss$%$ost%dsa%&ey)2 2011 NetApp, Inc.All ri!ts reser"ed.'ecure 'oc+ets La,er*ecure *oc=ets 2a$er 1**23'0 6ses a certi%icate to pro"ide a secure connection &et.een t!e storae s$stem and a 7e& &ro.ser0 (erti%ications can &e eit!er'*el%-sined certi%icate(erti%icate-aut!orit$-sined certi%icateTo con%iure a sel%-sined certi%icate **2'system> secureadmin setup ssl,nter countr$, state, localit$, orani/ation, unit, common, e-mail, da$s until e-piration, and =e$ lent!(erti%icate created in t!e /etc/keymgr director$A sel%-sined certi%icate is called secureadmin.der)3 2011 NetApp, Inc.All ri!ts reser"ed.'ecure 'oc+ets La,er "Cont#$To con%iure a certi%icate-aut!orit$-sined certi%icate **2'system> secureadmin addcert ssl directory_path directory_path is t!e %ull pat!'DetcDtempdirDsecureadmin.pem (erti%icate created in t!e /etc/keymgr director$A certi%icate-aut!orit$-sined certi%icate is called secureadmin.pemTo ena&le **2'system> secureadmin enable ssl )4 2011 NetApp, Inc.All ri!ts reser"ed.-or+in. /it( t(e CLITo mo"e t!e cursor ri!t one positionTo mo"e t!e cursor le%t one positionTo mo"e t!e cursor to t!e &einnin o% t!e lineDelete all c!aracters %rom t!e cursor to t!e endDelete t!e c!aracter to t!e le%t o% t!e cursorDelete t!e lineDelete a .ord9eprint t!e line(trl-) or t!e 9i!t arro. =e$(trl-# or t!e 2e%t arro. =e$(trl-A(trl-E(trl-4(trl-6(trl-7(trl-9)5 2011 NetApp, Inc.All ri!ts reser"ed.Command-Line 0rivile.es(2I !as t.o modes'0Administrationpri' set orpri' set admin9epresented &$ system>0Ad"ancedpri' set ad'anced9epresented &$ system(>6se ad"anced commands onl$ under t!e direction o% NetApp personnelsystem>priv set advancedWarning: T$ese ad'anced commands are potentially dangerous) use t$em only *$en directed to do so "y +etApp personnel.system(>) 2011 NetApp, Inc.All ri!ts reser"ed.Basic Administration Commandssystem> ?? haltnfs snapvaultaggrhelpnfsstat snmpbackuphostnamenis softwarecfhttpstatoptions sourcecifsifconfigorouted storageconfigifstatpartner sysconfigdafsigrouppasswdsysstatdateipsec pingtimezonedfipspace privtraceroutediskiscsi qtree upsdisk_fw_updateiswtquota uptimedns license rdate useradmindownloadlockrebootversiondumploggerrestore vfilerechologoutrmc vifems lun route vlanenvironment man routedvolexportfsmaxfilesrsm vscanfcp mtsavecorewccfcstatnbtstat secureadmin ypcatfilendmpcopysetup ypgroupfilestats ndmpd shelfchkypmatchfpolicy netdiag snapypwhichftp netstat snapmirrorsystem>)! 2011 NetApp, Inc.All ri!ts reser"ed.system>dfled_onquota sysstatdiskled_on_allrdate test_lcddiskled_on_offrdfiletimezonedisk_fw_updateled_testreboottoedisk_list led_test_oneregistrytraceroutedisk_stat license remoteupsdns lmem_stat restore uptimedownloadlockresultuseradmindumplog revert_to versionechologgerrmvfilerems logoutrmc vifenviron lsrmt vlanenvironment lun rod volexitman route vscanexportfsmaxfilesroutedwaflfcadmin mbstatrsm wafl_suspfcp mem_scrub_stats rtagwccfcstatmtsavecorewrfilefilemvscsiypcatfpolicynbtstat secureadmin ypgroupftp ndmpcopysetup ypmatchget!!by"" ndmpd shypwhichAdvanced 0rivile.e Commands)% 2011 NetApp, Inc.All ri!ts reser"ed.1rap(ical Interfaces)& 2011 NetApp, Inc.All ri!ts reser"ed.1rap(ical InterfacesA storae s$stem can &e manaed t!rou!multiple rap!ical inter%aces'0*$stem Manaer0Operations Manaer 1%ormerl$ Data)a&ric+ Manaer30Microso%t+ 7indo.s+ inter%aces suc! as (omputer Manaement %or certain (I)* %unctionalit$2* 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er )#)*$stem Manaer 1.1 ena&les'0Fuic= setup 0,as$ manaement o% NetApp storae*$stem Manaer reAuires'07indo.s GP, Hista, *er"er 200C or 200@0Microso%t Manaement (onsole C.0 0Microso%t .N,T )rame.or= 2.0*$stem Manaer supports'0Data ONTAP 7.2.C or later0)A*2000, )A*C000, and )A*C100 seriesB more soon2) 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er 2eatures*$stem Manaer includes'07indo.s interation0Disco"er$ and setup o% storae s$stems0NA* pro"isionin026N pro"isionin0(I)* and N)* con%iuration0I*(*I and )( con%iuration0Manaement o% storae s$stems0*treamlined 4A pair con%iuration07indo.s s$stem tra$ noti%ication 22 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er3 Assi.nin. a ',stemA%ter installation, administrators ma$ eit!er disco"er or manuall$ assin storae s$stems to manae Disco"er$ reAuires D4(PAdd !ost name or IPand clic= !ere23 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er3 'tora.e ',stems,dit allo.s !ost name c!anes*et upallo.s con%iurationo% t!e selected storae i%properl$ aut!enticated 24 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er3 'etup -i4ardI% pre"ious con%iured, c!ec= OEand t!en clic= Ne-t25 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er3 'etup -i4ard "Cont#$2 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er3 'etup -i4ard "Cont#$2! 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er3 'etup -i4ard "Cont#$2% 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er3 Confi.uration 2& 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er3 ',stem 5as(board*elect a storaes$stem to "ie. details 3* 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er3 'ecurit,(on%iure **4 and **23) 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er3 'ecurit, "Cont#$32 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er3 'ecurit, "Cont#$33 2011 NetApp, Inc.All ri!ts reser"ed.Operations Mana.erDisco"ers, monitors, and manaes NetApp storae Pro"ides ma-imum a"aila&ilit$, reduced T(O, and ensures &usiness polic$ compliance34 2011 NetApp, Inc.All ri!ts reser"ed.Alternative 16Is Alternati"e 56Is, include'0 Microso%t Manaement (onsole 1MM(3 and its snap-ins0 (omputer Manaement0 *er"er Manaer 1in 7indo.s *er"er 200@ and later3 35 2011 NetApp, Inc.All ri!ts reser"ed.Confi.urin. 7our ',stem3 2011 NetApp, Inc.All ri!ts reser"ed.Confi.urin. 7our ',stemTo c!ane t!e con%iuration o% a storae s$stem, use one o% t!e %ollo.in met!ods'0(2I0(on%iuration %iles 0*$stem Manaer*teps in settin up a ne. storae s$stem, include'0Heri%$ t!e date, time, and time /one con%iuration0*et up an$ *NMP "aria&les to monitor09e"ie. t!e *$stem 2o 1*$slo30(on%iure Auto*upportHeri%$ con%iuration0Auto*upport to report con%iurations3! 2011 NetApp, Inc.All ri!ts reser"ed.CLI Commands*$stem options'options [feature.option_name] [value],-ample'options rs$.ena"le on NOT,' I% no "alue is entered, t!e current "alue is displa$edHolume options''ol options volname ,option_name- ,value-Areate options'aggr options aggrname ,option_name- ,value-3% 2011 NetApp, Inc.All ri!ts reser"ed.8e.istr, 2iles9eistr$ %iles contain man$ persistent con%iurationsNOT,' T!e reistr$ s!ould ne"er &e edited directl$)ile6sae#etc#registry(urrent reistr$#etc#registry.lastgood(op$ o% reistr$ a%ter last success%ul &oot#etc#registry."c&)irst-le"el &ac=up#etc#registry.defaultDe%ault reistr$3& 2011 NetApp, Inc.All ri!ts reser"ed.9ditin. files usin. CLI*ome %iles can &e edited %rom t!e (2I.To edit a %ile'1. Ma=e a &ac=up cop$ o% t!e %ile.2. 9ead t!e %ile usin rdfile.C. 7rite t!e %ile usin *rfile or use *rfile .a to append to a %ile .it!out deletin. 7!en t!e *rfile command is issued, t!e oriinal %ile is al.a$s deleted 1unless t!e .a option is applied3#etter $et... use *$stem Manaer4* 2011 NetApp, Inc.All ri!ts reser"ed.CLI3 5ate: ;ime: and ;ime date 2#$##%#2#&2'*ets t!e date %or April 2, 2010 at 7'2@ a.m. To con%iure t!e time /one'system> time0one ,name-0T!e name arument speci%ies t!e time /one to use 0,ac! time /one is descri&ed &$ a %ile in t!e storae s$stemIs DetcD/onein%o director$0)or e-ample'system> timezone (merica)*hicago*ets t!e time /one to (*T4) 2011 NetApp, Inc.All ri!ts reser"ed.CLI3 5ate: ;ime: and ;ime options timed.enable onIn an Acti"e Director$+ en"ironment, set t!is to s$nc .it! t!e ser"ers Acti"e Director$ s$ncs .it!42 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er3 5ate: ;ime: = ;ime options autosupport.support.ena"le ,off1on-2. *peci%$ .!et!er to send noti%ications to Tec!nical *upport o"er *MTP or 4TTPD4TTP*'system> options autosupport.support.transport0 I% smtp, t!en sent to autosupport.support.to0 I% $ttpD$ttps, t!en sent to autosupport.support.url9ead-onl$5* 2011 NetApp, Inc.All ri!ts reser"ed.CLI3 Confi.urin. Auto'upport "Cont#$ options autosupport.minimal.su"2ect.id,$ostname1systemid-7. *peci%$ up to %i"e mail!ost ser"ers'system> options autosupport.mail$ost host1,3...-@. *peci%$ t!e senderIs e-mail'system> options autosupport.from address>. *peci%$ up to %i"e e-mails to send noti%ications'system> options autosupport.to address,3...-5) 2011 NetApp, Inc.All ri!ts reser"ed.CLI3 Confi.urin. Auto'upport "Cont#$@. *peci%$ up to %i"e e-mails to send notes'system> options autosupport.noteto address,3...-0 Notes are desined to send s!ort e-mails to de"ices suc! as cell p!one or ot!er te-t de"ices>. ,na&le Auto*upport'system> options autosupport.ena"le ,on1off-NOT,'Auto*upport los are stored !ere' #etc#log#autosupport52 2011 NetApp, Inc.All ri!ts reser"ed.;estin. Auto'upportTo send an Auto*upport manual messae, complete t!e %ollo.in steps' 09un t!e %ollo.in command on t!e storae s$stem console' options autosupport.doit ,message-0T!e messae can &e a sinle .ord or a strin enclosed in sinle Auotes O I0NetApp recommends t!at i% $ou are testin $our Auto*upport con%iuration, use t!e messae'T45T or T45T6+753 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er3 Auto'upportTo con%iureAuto*upport54 2011 NetApp, Inc.All ri!ts reser"ed.',stem Mana.er3 Auto'upport "Cont#$55 2011 NetApp, Inc.All ri!ts reser"ed.Module 'ummar,In t!is module, $ou s!ould !a"e learned to' (onnect remotel$ to a )A* s$stem usin t!e console and a remote !ostAccess NetApp *$stem Manaer to administer a storae s$stem,-ecute commands usin t!e console, a remote !ost, and *$stem ManaerDemonstrate !o. to use commands to anal$/e a )A* s$stem(on%iure and manae t!e Auto*upport ser"ice %or a )A* s$stem59>erciseModule 2' #asic Administration,stimated Time' ?0 minutes 2011 NetApp, Inc.All ri!ts reser"ed.C(ec+ 7our 6nderstandin.3 Ans/ers2ist t!e met!ods to access a storae s$stemIs command-line inter%ace.0(onsole, Telnet, 92M, 9*4, and **44o. can $ou con%iure a )A* s$stem %rom a remote !ost80)or 6NIG, set up N)* and mount an e-port o% t!e root director$0)or 7indo.s, set up (I)* and access t!e 88system8!9 s!are7!en are Auto*upport messaes enerated80,"ents occur on t!e storae s$stem t!at reAuire correcti"e action 0T!e storae s$stem re&oots 0Kou initiate a test messae 0Once a .ee=, usuall$ a%ter 12 a.m. on *unda$s*