Arhivă

Posts Tagged 'om'

NetApp Man Pagini

07 iulie 2009

NetApp au amabil mi-a dat permisiunea de a republica paginile lor de om aici. Ei au nevoie de încă un pic dereticare, dar cantitatea pură înseamnă că mă va lua ceva timp să-i toate sortate şi cu referire în mod corespunzător, vă rugăm să scuzaţi eventualele probleme vizuale pentru moment. Am scris un instrument de parsare rapida pentru a obtine toate informatiile de aici, deci nu pot fi câteva probleme care rezultă din faptul că încă.

Mi-a placut mereu modul în care PHP, pagini de funcţia lor oferindu-le utilizatorilor posibilitatea de a comenta direct pe ele. Acest lucru permite oamenilor să lase feedback cu privire la funcţiile şi instrumente, şi, de asemenea, urmărirea cu unele utilizări suplimentare sau de sintaxă pentru comenzi care nu sunt neapărat în mod clar publicate. Sperăm că acest lucru se poate alimenta din nou în NetApp a îmbunătăţi documentaţia acestora.

Aş dori cu siguranta pentru a încuraja oamenii să comenteze pe paginile de manual, cu ceva care poate fi util, şi de a construi speram ca acest lucru într-o secţiune utilă de referinţă mic. Multe mulţumiri pentru nou popular NetApp pentru a ma ajuta cu asta.

VN: F [1.9.11_1134]
Evalua acest mesaj:
Evaluare: 8.8 / 10 (19 voturi exprimate)

Generale , paginile de manual , , , ,

aggr

07 iulie 2009

Cuprins

NUME

aggr - comenzi pentru gestionarea agregate, afişează starea globală, şi agregate de copiere

REZUMAT

aggr comanda argument ...

DESCRIERE

Familia comanda aggr gestionează agregate. Comenzile de aggr poate crea noi agregate, distruge pe cele existente, undestroy distrus anterior agregat, plexes gestiona într-un agregat oglindă, modifica starea agregat, se aplică opţiunile de un agregat, o copie agregat la alta, şi să afişeze statutul lor. Comenzi cumulate afectează de multe ori volumul (e) conţinute în agregate.

Familia comanda aggr este nou in Data ONTAP 7.0. Familia comanda vol, cu condiţia controlul asupra tradiţional vol_ u MES că topit un singur utilizator, vizibil sistem de fişiere şi un singur nivel de RAID-container de depozitare (total) într-o unitate indivizibilă, şi încă nu. Pentru a permite utilizarea mai flexibilă de stocare, agregate acum susţine, de asemenea, abilitatea de a conţine mai multe, independente de utilizator la nivel de sisteme de fişiere numite volume flexibile.

De date ONTAP 7.0 sprijină pe deplin ambele volume tradiţionale şi flexibil. Familia comanda aggr este metoda preferată de gestionare a agregatelor un filtru, inclusiv cele care sunt încorporate în volume tradiţionale.

Reţineţi că de cele mai multe comenzi aggr se aplică în mod egal atât de tipul de agregat care conţine volume flexibile şi de tip, care este strâns legat pentru a forma un volum tradiţional. Astfel, agregat termen este adesea folosit aici cu referire la ambele clase de stocare. În aceste cazuri, se prevede o prescurtare pentru mai lungi şi mai greoaie fraza "agregate şi volumele tradiţionale".

Agregatele pot fi oglinda sau unmirrored. Un Plex este o copie fizică de stocare WAFL în total. Un agregat oglindă format din două plexes; agregate unmirrored conţine un singur Plex. În scopul de a crea un agregat oglindă, trebuie să aveţi o configuraţie filer care acceptă RAID-nivel de oglindire. Când oglindire este activat pe sită, discurile de schimb sunt împărţite în două bazine de disc. Atunci când un agregat este creat, toate discurile într-un complex unic trebuie să vină de la piscina acelaşi disc, şi cele două plexes de un agregat oglindă trebuie să cuprindă de discuri din bazine separate, deoarece acest lucru maximizează izolarea vina. Această politică poate fi anulat cu optiunea-f la aggr crea, adăuga aggr si oglinda aggr, dar nu este recomandat.

Un nume agregat poate conţine litere, numere, şi caracterul de subliniere (_), dar primul caracter trebuie să fie o literă sau underscore. Un total combinat de până la 200 de agregate (inclusiv cele incluse în volumele tradiţionale), pot fi create pe fiecare filtru.

Un complex poate fi online sau offline. Dacă este conectat, acesta nu este disponibil pentru a citi sau a scrie de acces. Plexes poate fi, în combinaţii de următoarele state:

normale Toate grupurile RAID din Plex sunt funcţionale.

nu a reuşit cel puţin unul dintre grupurile de RAID din Plex nu a reuşit.

gol Plex este parte a unui agregat, care este creat, şi unul sau mai multe dintre discurile vizate de agregate trebuie să fie adus la zero înainte de a fi adăugat la Plex.

activ Plex este disponibil pentru utilizare.

inactiv
Plex nu este disponibil pentru utilizare.

resyncing
Conţinutul Plex sunt în prezent depăşite şi sunt în proces de a fi resincronizat cu conţinutul Plex alte agregate (agregate se aplică numai în oglindă).

adăugarea de discuri
Discuri sunt adăugate la Plex de grup RAID (e).

învechit
Acest stat are loc numai în agregatele oglindă în care una dintre plexes nu a reusit. Plex non-eşuată va fi în această stare, dacă este necesar să fie resincronizat la momentul Plex cealaltă nu a reuşit.

Un complex este numit cu numele de agregat, un delimitator caracter slash, şi numele de Plex. Sistemul selectează automat nume Plex la momentul creării. De exemplu, Plex creat pentru prima dată în aggr0 agregat ar fi aggr0/plex0.

Un agregat poate fi on-line, restrânsă, sau offline. Atunci când un agregat este conectat, nu citi sau a scrie accesul este permis. Atunci când un agregat este restricţionat, anumite operaţiuni sunt permise (cum ar fi copie agregat, recalcularea paritate sau reconstrucţie RAID), dar de acces la date nu este permis. Agregate care nu sunt parte dintr-un volum tradiţional poate fi restrâns numai offlined sau în cazul în care nu conţin nici volume flexibile.

Agregatele pot fi, în combinaţii de următoarele state:

aggr agregat este un agregat modern de-zi, este capabil de a conţine zero sau mai multe volume flexibile.

copiere
Agregat este în prezent agregat ţintă a unei operaţiuni de activ copie aggr.

degradat
Total conţine cel puţin un grup RAID degradate, care nu este reconstruit.

străin
Discurile care conţine total au fost mutate la sită curent de la un alt filtru.

în creştere
Discuri sunt în proces de a fi adăugate la total.

iniţializare
Agregat este în proces de a fi initializat.

invalid
Agregat nu conţine volume şi nimeni nu poate fi adăugată. De obicei acest lucru se întâmplă numai după o operaţie avortat copie agregat.

călcat
O verificare a consistenţei WAFL se efectuează pe acest agregat.

degradate oglindă
Agregat este un agregat oglindă, şi unul dintre plexes sale este offline sau resyncing.

oglindă
Agregat este în oglindă şi toate grupurile sale de RAID sunt funcţionale.

nevoile verifica
O verificare a consistenţei WAFL trebuie să fie efectuate pe agregate.

parţial
Cel puţin un disc a fost gasit pentru agregat, dar două sau mai multe discuri lipsesc.

RAID0 totală constă în RAID-0 (nu paritate) grupuri de RAID (V-Series şi NetCache numai).

raid4 agregat format din RAID-4 grupuri de RAID.

raid_dp
Agregat format din RAID-DP (paritatea dublu), grupuri de RAID.

reconstrui
Cel puţin un grup RAID în agregat este reconstruit.

redirecţiona
Realocare agregat sau realocarea fişier cu optiunea-p a fost demarat pe agregat. Citeşte performanţă a volumelor în total poate fi degradat.

resyncing
Unul dintre plexes de un agregat în oglindă se resincronizat.

snapmirrored
Agregat este o replică snapmirrored de un alt agregat. Această stare poate apărea numai dacă suma este parte a unui volum tradiţional.

trad agregat este fuzionat cu un singur volum. Acest lucru este, de asemenea, menţionată ca un volum traditional si este exact echivalentă cu volumele care au existat înainte de date OnTAP 7.0. Volume flexibile, nu poate fi creat în interiorul a acestui agregat.

verificarea
O oglinda RAID operaţiunea de verificare este în curs de a rula pe agregat.

wafl inconsistente
Agregat a fost marcat corupt. Vă rugăm să contactaţi Customer Support dacă aţi vedea un agregat în acest stat.

UTILIZARE

Următoarele comenzi sunt disponibile în suita aggr:

  adăuga oglinda limita undestroy copia frecarea conectat verifica on-line a crea show_space distruge opţiuni defalcate media_scrub statutul de redenumire 

aggr Adauga aggrname
[-F]
[N-]
[-G {raidgroup | nou | toate}]
{Ndisks [@ size]
|
D-disk1 [disk2 ... ] [-D diskn [diskn un ... ]]}

Adaugă discuri a aggrname agregat numit. Specificaţi discuri în acelaşi mod ca pentru comanda aggr Creare. Dacă global este în oglindă, apoi d-argument trebuie să fie utilizat de două ori (în cazul în care la toate).

Dacă-g opţiune nu este folosit, discurile sunt adăugate la cel mai recent creat RAID grup de util este plin, iar apoi unul sau mai multe grupuri noi de RAID sunt create, iar discurile rămase se adaugă la noi grupuri. Orice alte grupuri existente, RAID, care nu sunt pe deplin rămân parţial umplut.

-G optiune permite specificarea unui grup RAID (de exemplu, rg0), la care discurile indicate trebuie să fie adăugată, sau o metoda prin care discuri sunt adăugate la grupuri de RAID noi sau existente.

Dacă-g opţiune este utilizată pentru a specifica un grup RAID, că grupul RAID trebuie să existe deja. Discurile se adaugă faptul că util grup RAID este plin. Toate discurile rămase sunt ignorate.

Dacă G-opţiune este urmată de noi, de date ONTAP creează unul sau mai multe grupuri noi, RAID şi adaugă discuri pentru a le, chiar dacă discurile s-ar potrivi într-un grup RAID existent. Orice grupurile existente RAID care nu sunt pe deplin rămân parţial umplut. Numele de grupuri de RAID noi sunt selectate în mod automat. Nu este posibil să specificaţi numele pentru grupuri de RAID noi.

Dacă G-opţiune este urmată de toate, de date ONTAP adaugă discurile specificate pentru grupuri de RAID existente primele. După ce toate grupurile existente RAID sunt pline, se creează unul sau mai multe grupuri noi, RAID şi adaugă discurilor specificate de noi grupuri.

-N opţiune poate fi utilizată pentru a afişa comanda pe care sistemul va executa, fără a face de fapt nici o schimbare. Acest lucru este util pentru afişarea discuri selectate în mod automat, de exemplu.

În mod implicit, filtru umple un grup RAID cu discuri înainte de a începe un alt grup RAID. Să presupunem că un agregat are în prezent un grup de 12 discuri RAID şi dimensiunea de grup RAID este de 14. Dacă adăugaţi 5 discuri în acest agregat, aceasta va avea un grup RAID cu 14 discuri şi un alt grup RAID cu 3 discuri. Filtru nu se distribuie în mod egal între grupurile discuri RAID.

Nu puteţi adăuga discuri la un agregat în oglindă, dacă unul dintre plexes este offline.

Discurile în plex nu li se permite să se răsucească piscine disc. Acest comportament poate fi anulat cu f-pavilion atunci când este utilizat împreună cu d-argument la lista de discuri pentru a adăuga. -F pavilion, în combinaţie cu-d, pot fi de asemenea folosite pentru a forţa adăugând discuri care au o viteză de rotaţie, care nu se potriveşte cu cea a majorităţii de discuri existente în total.

aggr copie abandona [-h] operation_number | toate

Încetează operaţiunile de agregate de copiere. Opera_ parametrul T ion_number specifică, care să pună capăt operaţiunii. Dacă specificaţi toate, toate operaţiunile de agregate active de copiere sunt terminate.

aggr copie de pornire
[-S |-s instantaneu] [-C]
sursa de destinaţie

Copiază toate datele, inclusiv a fotografiilor şi volume flexibile, de la un agregat la alta. Dacă S-pavilion este folosit, comanda copiază toate instantaneele din sursa totală de agregate de destinaţie. Pentru a specifica un instantaneu special pentru a copia, folosi-s de pavilion, urmat de numele instantaneu. Dacă utilizaţi nici-S şi nici nu-s de pavilion, în comanda, filtru creează un instantaneu în momentul în care aggr început comanda de copiere este executat şi doar exemplarele care instantaneu de agregate de destinaţie.

C-pavilion este necesară în cazul în care sursa de agregate a avut liber-spaţiu defragmentare efectuat pe el, sau dacă suma de destinaţie va fi liber-spaţiu defragmentate. Free-spaţiu defragmentare poate fi efectuat pe un agregat utilizând comanda realoca.

Copii agregate pot fi efectuate numai între agregatele care gazduiesc volume flexibile. Agregate care sunt încorporate în volume tradiţionale nu pot participa.

Agregatele sursă şi destinaţie poate fi pe aceeaşi sită sau filers diferite. În cazul în care sursa sau agregat destinaţie este pe un filtru, altul decât cel de pe care se introduce la începutul aggr copie comanda, specificaţi numele de agregate filer_name: aggre_ g format ate_name.

Cele filers implicate într-o copie total trebuie să îndeplinească următoarele cerinţe pentru comanda de copiere de pornire aggr să fie finalizat cu succes:

Agregat sursă trebuie să fie on-line şi agregate de destinaţie trebuie să fie limitat.

În cazul în care copia este între două filers, fiecare filtru trebuie să fie definit ca o gazdă de încredere de filer alta. Aceasta este, numele de filtru trebuie să fie în / etc / hosts.equiv fişier filer altă parte.

În cazul în care copia este pe aceeaşi sită, localhost trebuie să fie incluse în sită de / etc / hosts.equiv fişier. De asemenea, adresa de loopback trebuie să fie în sită de / etc / hosts. În caz contrar, filtru nu se poate trimite pachete de la sine prin adresa de loopback atunci când încearcă să copieze date.

Spatiu pe disc utilizabil de agregat destinaţie trebuie să fie mai mare sau egală cu spaţiul utilizabil de agregate sursei. Utilizaţi DF-o comanda calea pentru a vedea cantitatea de spaţiu pe disc utilizabil de un agregat special.

Fiecare comanda aggr Start copiere generează două operaţiuni de agregate de copiere: unul pentru citirea datelor de la sursa de agregate şi unul pentru scrierea datelor agregate de destinaţie. Fiecare filtru acceptă până la patru operaţii simultane de copiere agregate.

aggr copie statut [operation_number]

Afişează progresul unuia sau a tuturor operaţiunilor de aggr de copiere. Operaţiunile sunt numerotate de la 0 la 3.

Reporniţi informaţii punct de control pentru toate transferurile este, de asemenea, afişată.

aggr copie de acceleraţie [operation_number] valoare

Controlează performanţa de operaţie de copiere aggr. Valoarea variază de la 10 (viteza maxima) la 1 (o zecime din viteza maximă). Valoarea implicită este menţinută în opţiunea sită de aggr.copy.throttle şi este setat 10 (viteza maximă) la fabrica. Puteţi aplica o valoare de performanţă la o operaţiune specificată de parametrul operation_number. Dacă nu se specifică un număr de operaţiune în copie comanda acceleratia aggr, comanda se aplică pentru toate operaţiunile de copiere aggr.

Utilizaţi această comandă pentru a limita viteza de operaţie de copiere aggr dacă bănuiţi că operaţie de copiere aggr cauzează probleme de performanţă pe filer dumneavoastră. În special, acceleratia este proiectat pentru a ajuta la limita utilizarea procesorului de operaţie de copiere aggr. Ea nu poate fi folosit pentru a ajusta modelele de consum banda de reţea.

Comanda aggr acceleratie copie numai vă permite să setaţi viteza de o operaţie de copiere aggr, care este în curs de desfăşurare. Pentru a seta viteza de copiere implicit aggr pentru a fi utilizate de către operaţiunile de copiere viitoare, utilizaţi opţiunile de comanda pentru a seta opţiunea aggr.copy.throttle.

aggr Creare aggrname
[-F]
[-M]
[N-]
[-T raidtype]
[-R raidsize]
[T-disc-tip]
[-R rpm]
[-L [respectarea | intreprinderi]]
[-V]
[-L de limbă cod]
{Ndisks [@ size]

|
D-disk1 [disk2 ... ] [-D diskn [diskn un ... ]]}

Creează un aggrname nou agregat numit. Numele agregat poate conţine litere, numere, şi caracterul de subliniere (_), dar primul caracter trebuie să fie o literă sau underscore. Până la 200 de agregate poate fi creat pe fiecare filtru. Acest număr include acele agregate care sunt încorporate în volume tradiţionale.

Un agregat încorporat poate fi creat ca parte a unui volum tradiţional folosind optiunea-v. Ea nu poate conţine volume flexibile.

Un agregat regulat, fără a creat optiunea-v, poate să conţină numai volume flexibile. Acesta nu poate fi încorporată într-un volum tradiţional, şi nu conţine volume imediat după creaţie. Volume noi flexibile pot fi create folosind comanda vol. Creare.

T-argument raidtype specifică tipul de RAID de grup (e) să fie folosite pentru a crea agregat. Tipurile posibile de grup RAID sunt raid4 pentru RAID-4, raid_dp pentru RAID-DP (paritatea Double), şi RAID0 pentru micşioare simplu, fără protecţie de paritate. Raidtype implicit pentru agregate şi a volumelor tradiţionale pe filers este raid_dp. Setarea raidtype nu este permisă pe V-Series sisteme; implicit de RAID0 este întotdeauna utilizat.

-R argument raidsize specifică numărul maxim de discuri în fiecare grup RAID, în total. Valorile maxime şi implicit de raidsize sunt dependente de platforma, bazată pe considerente de performanţă şi fiabilitate. Vedeţi opţiunile aggr raidsize pentru mai multe detalii.

T-disc de tip argument specifică tipul de discuri de a utiliza la crearea unui agregat nou. Este nevoie doar pe sistemele conectate la discuri de diferite tipuri. Tipurile posibile de disc sunt: ​​ATA, FCAL, LUN, SAS, SATA, şi SCSI. Discuri de amestec de diferite tipuri într-un agregat nu este permis-T. Nu poate fi utilizat împreună cu d-.

Tipul de disc identifică tehnologie disc şi tipul de conectivitate ATA identifică discuri ATA, fie cu interfaţă IDE sau Serial ATA, în rafturi, conectate în FCAL (Fibre Channel arbitrat Loop). FCAL identifică discuri FC rafturi conectate la FC-AL. LUN identifică discuri virtuale exportate din. Matricele de stocare externe. Tehnologia de tip disc de bază şi RAID depinde de punerea în aplicare a unor astfel de matrice de stocare externe SAS identifică discuri Serial Attached SCSI în rafturi potrivite.. SATA identifică discuri serial ATA în rafturile SAS. SCSI este o interfaţă Small Computer System, si este inclus pentru compatibilitatea cu versiunile anterioare cu tehnologiile anterioare de disc.

-R argument rpm specifică tipul de discuri de a utiliza în funcţie de viteza lor de rotaţie în rotaţii pe minut (rpm). Este nevoie doar pe sistemele cu discuri cu diferite viteze de rotaţie. Valorile tipice pentru viteza de rotaţie sunt 5400, 7200, 10000, şi 15000.-R nu poate fi utilizat împreună cu d-.

ndisks este numărul de discuri în total, inclusiv discurile de paritate. Discurile în acest agregat nou create provin de la piscina de discuri de schimb. Cele mai mici discuri din acest bazin se alăture totală în primul rând, dacă nu specificaţi dimensiunea argumentul @. Dimensiune este dimensiunea discului in Marea Britanie, şi discuri, care sunt în termen de 10% din dimensiunea specificată vor fi selectate pentru a fi utilizate în total.

-M opţiune poate fi utilizată pentru a specifica faptul că noul agregat să fie în oglindă (avea două plexes) la crearea. Dacă această opţiune este dat, atunci discurile indicate vor fi împărţite în cele două plexes. În mod implicit, agregat nou nu va fi în oglindă.

-N opţiune poate fi utilizată pentru a afişa comanda pe care sistemul va executa, fără a face de fapt nici o schimbare. Acest lucru este util pentru afişarea discuri selectate în mod automat, de exemplu.

Dacă utilizaţi d-disk1 [disk2 ... ] Argument, filtru creează agregate cu discuri specificate de schimb disk1, disk2, şi aşa mai departe. Aveţi posibilitatea să specificaţi o listă separată cu spaţiu de nume de disc. Două liste separate trebuie să fie specificat dacă suma este reflectat noua. În cazul în care noul agregat este oglindită, discurile indicate trebuie să conducă la un număr egal de discuri pe fiecare Plex nou.

Discurile în plex nu li se permite să se răsucească bazine de schimb. Acest comportament poate fi anulat cu optiunea-f. Aceeaşi opţiune poate fi de asemenea folosite pentru a forţa cu discuri care nu au de potrivire a vitezei de rotaţie. -F opţiune are efect numai atunci când este utilizat cu optiunea-d precizând discuri de a utiliza.

Pentru a crea un agregat SnapLock, specificaţi-L de pavilion cu aggr crea comanda. Acest drapel este acceptată numai în cazul în care, fie SnapLock conformitate sau Enterprise SnapLock este licenţiată. Tipul de agregat SnapLock creat, fie de Conformitate sau Enterprise, este determinat de licenţă SnapLock instalat. Dacă atât SnapLock Respectarea şi Enterprise SnapLock sunt licenţiate, utilizarea-L de conformitate sau întreprindere-L pentru a specifica tipul de dorit agregat.

L-language_code argument poate fi utilizat numai atunci când crearea unui volum tradiţional folosind optiunea-v. Filer creează volumul tradiţional cu limba specificată de cod de limbă. Implicită este limbajul folosit de volum rădăcină de filer. A se vedea vol. pagina de manual pentru o listă de coduri de limbi.

aggr distruge {aggrname | plexname} [-f]

Distruge aggrname agregat numit, sau plexname Plex numit. Reţineţi că, dacă suma specificată este legat de un volum tradiţional, apoi volumul tradiţional în sine este distrus, de asemenea.

Dacă un agregat este specificat, toate plexes în total sunt distruse. Agregat numit, nu trebuie să conţină, de asemenea, orice volume flexibile, indiferent de starea lor de montare (on-line, restrânsă, sau offline). Dacă un plex este specificat, Plex este distrus, lăsând un volum total unmirrored sau tradiţionale care conţin Plex restul. Înainte de a distruge volumul total, traditionala sau plex, utilizatorul este solicitat pentru a confirma operaţiunea. -F pavilion poate fi folosit pentru a distruge un volum agregat, tradiţional sau complex fără a solicita utilizatorul.

Discurile iniţial în obiectul distrus deveni discuri de schimb. Numai agregate offline, volumele tradiţionale şi plexes pot fi distruse.

aggr media_scrub statutul [aggrname | plexname | GROUPNAME]
[-V]

Imprimă statutul spălarea mass-media a numit agregat, plex, sau de grup. Dacă nu este numele dat, atunci starea este imprimat pentru toate grupurile de RAID care rulează în prezent un exfoliant mass-media. Statutul include o sută-complet şi dacă acesta este suspendat.

-V pavilion afişează data şi ora la care mass-media ultimele complete spele finalizate, data şi ora la care instanţa curentă a mass-media a început de frecat, şi starea actuală a numit agregat, plex, sau de grup. Dacă nu este numele dat, acest statut este mai verbose imprimat pentru toate grupurile de RAID cu Scrubs active de mass-media.

aggr oglindă aggrname
[-F]
[N-]
[-V victim_aggrname]
[-D disk1 [disk2 ... ]]

Se aprinde un agregat unmirrored într-un agregat oglindă prin adăugarea unui complex de ea. Plex este fie nou-format de discuri alese dintr-un bazin de rezervă, sau, în cazul în care v-opţiune este specificat, este luat de la un alt agregat existent unmirrored. Aggrname agregat trebuie să fie în prezent unmirrored. Utilizaţi aggr crea pentru a face un nou, care se reflectă agregat de la zero.

Discuri pot fi specificate în mod explicit cu ajutorul d-în acelaşi mod ca şi Creare aggr şi comenzi add aggr. Numărul de discuri indicate trebuie să se potrivească cu numărul de prezenta pe total existent. Discurile specificate nu sunt permise pentru a întinde piscine disc. Acest comportament poate fi anulat cu optiunea-f. Optiunea-f, în combinaţie cu-d, pot fi de asemenea folosite pentru a forţa folosind discuri care au o viteză de rotaţie, care nu se potrivesc cu cea a majorităţii de discuri existente în total.

În cazul în care discurile nu sunt specificate în mod explicit, atunci discurile sunt selectate automat pentru a se potrivi celor în plex total existent.

The -v option can be used to join victim_aggrname back into aggrname to form a mirrored aggregate. The result is a mirrored aggregate named aggrname which is otherwise identical to aggrname before the operation. Victim_aggrname is effectively destroyed. Victim_aggrname must have been previously mirrored with aggrname , then separated via the aggr split command. Victim_aggrname must be offline. Combined with the -v option, the -f option can be used to join aggrname and vic_ t im_aggrname without prompting the user.

The -n option can be used to display the command that the system will execute without actually making any changes. This is useful for displaying the automatically selected disks, for example.

aggr offline { aggrname | plexname }
[ -t cifsdelaytime ]

Takes the aggregate named aggrname (or the plex named plexname ) offline. The command takes effect before returning. If the aggregate is already in restricted state, then it is already unavailable for data access, and much of the following description does not apply.

If the aggregate contains any flexible volumes, then the operation is aborted unless the filer is in maintenance mode.

Except in maintenance mode, the aggregate containing the current root volume may not be taken offline. An aggregate containing a volume that has been marked to become root (using vol options vol_ n ame root ) also cannot be taken offline.

If the aggregate is embedded in a traditional volume that has CIFS shares, users should be warned before taking the aggregate (and hence the entire traditional volume) offline. Use the -t switch for this. The cifsdelaytime argument specifies the number of minutes to delay before taking the embedded aggregate offline, during which time CIFS users of the traditional volume are warned of the pending loss of service. A time of 0 means take the aggregate offline immediately with no warnings given. CIFS users can lose data if they are not given a chance to terminate applications gracefully.

If a plexname is specified, the plex must be part of a mirrored aggregate and both plexes must be online. Prior to offlining a plex, the system will flush all internally-buffered data associated with the plex and create a snapshot that is written out to both plexes. The snapshot allows for efficient resynchronization when the plex is subsequently brought back online.

A number of operations being performed on the aggregate's traditional volume can prevent aggr offline from succeeding, for various lengths of time. If such operations are found, there will be a one-second wait for such operations to finish. If they do not, the command is aborted.

Un control este, de asemenea, face pentru fişierele în total de volum tradiţional asociate deschis de procese de ONTAP interne. Comanda este anulată dacă sunt găsite.

aggr on-line {aggrname | plexname}
[-F]

Aduce aggrname agregat numit (sau Plex numit plexname) on-line. Această comandă intră în vigoare imediat. Dacă totalul specificat este încorporat într-un volum tradiţional, volumul este, de asemenea, de asemenea, a adus on-line.

Dacă o aggrname este specificat, trebuie să fie deconectat în prezent, limitat, sau străin. Dacă global este străin, acesta va fi făcută maternă înainte de a fi adus on-line. Un "străin" agregat este un agregat care constă din discuri mutat de la un alt filtru şi că nu a fost niciodată adus on-line pe filer curent. Agregate care nu sunt străine sunt considerate "nativ".

Dacă totalul este în contradicţie, dar nu a pierdut de date, utilizatorul va fi avertizat şi a determinat înainte de a aduce online de agregate. -F pavilion poate fi folosit pentru a trece peste acest comportament. Este recomandabil să ruleze WAFL_check (sau a face un Initialize SnapMirror în cazul unui agregat încorporat într-un volum tradiţional), înainte de a aduce online un total inconsistente. Aducerea online un agregat inconsecventă creste riscul de corupţie în continuare sistem de fişiere. Dacă global este inconsecventă şi a experimentat posibilă pierdere de date, nu poate fi adus on-line cu excepţia cazului în WAFL_check (sau Initialize SnapMirror în cazul încorporat) a fost rula pe agregat.

Dacă un plexname este specificat, Plex trebuie să fie parte a unui agregat online de oglindă. Sistemul va iniţia resincronizare a Plex, ca parte a prelucrării on-line.

aggr opţiuni aggrname [optname optval]

Afişează opţiunile care au fost stabilite pentru aggrname agregat, sau stabileşte opţiunea de a numit optname aggrname agregat numit la optval valoarea. Comanda rămâne în vigoare după sită este repornit, astfel încât nu este nevoie să adăugaţi opţiuni aggr comenzi la fişierul / etc / rc. Unele opţiuni au valori care sunt numere. Unele opţiuni au valori care pot fi pe (care poate fi de asemenea exprimat ca da, adevărat, sau 1) sau off (care poate fi de asemenea exprimat ca nu, false, sau 0). Un amestec de caractere mari şi mici poate fi utilizat atunci când tastaţi o valoare a unei opţiuni. Comanda Starea aggr afişează opţiunile care sunt stabilite pe agregat.

Următor descrie opţiunile şi valorile lor posibile:

fs_size_fixed pe | off

Această opţiune se aplică numai pentru a agregatelor care sunt încorporate în volume tradiţionale. Ea determină sistemul de fişiere să rămână aceeaşi dimensiune şi nu creşte sau micşora atunci când o relaţie de volum SnapMirrored este rupt, sau un program de completare aggr se realizează pe ea. Această opţiune este setat automat sa fie pe cand un volum tradiţional devine un volum SnapMirrored. Acesta va rămâne pe după pauză comanda SnapMirror este emis pentru volumul tradiţional. Acest lucru permite un volum tradiţional a fi SnapMirrored înapoi la sursă, fără a fi nevoie să adăugaţi discuri pentru volumul de sursă tradiţională. Dacă mărimea volumului tradiţional este mai mare decât dimensiunea sistemului de fişiere, oprirea această opţiune va determina sistemul de fişiere pentru a ajunge la dimensiunea de volumul tradiţional. Setarea implicită este oprit.

ignore_inconsistent pe | off

Această comandă poate fi utilizat numai în modul de întreţinere. Dacă această opţiune este setată, ea permite agregat care conţine volumul de rădăcină să fie introdusă online pe porni, chiar dacă acesta este incompatibil. Utilizatorul este avertizat că aducerea online, înainte de rulare sau WAFL_check wafliron poate duce la inconsistenţă în continuare sistemul de fişiere.

nosnap pe | off

Dacă această opţiune este, se dezactivează automat instantanee pe agregat. Setarea implicită este oprit.

raidsize numărul de

Valoarea acestei opţiuni este dimensiunea maximă a unui grup RAID, care pot fi create în total. Schimbarea valoarea de această opţiune nu va determina grupurile existente RAID, să crească sau micşora, aceasta va afecta doar dacă mai multe discuri vor fi adăugate la ultimul grup RAID existente şi modul în care mari grupuri noi vor fi RAID.

Valorile legale pentru această opţiune depinde de raidtype. De exemplu, raid_dp permite grupuri mai mari decât RAID raid4. Limite şi valorile implicite sunt, de asemenea, diferite pentru diferite tipuri de aparate filer şi diferite tipuri de discuri. Tabelele de mai jos definesc limitele şi valorile implicite pentru raidsize.

   -------------- Raid4 raidsize min implicit max -------------- R100 R150 2 8 8 2 6 6 2 7 FAS250 alte 14 (discuri FCAL) 2 8 14 (alte discuri ATA) 2 7 7 ---------------------------- raidsize raid_dp min implicit max ------ R100 R150 3 12 12 3 12 16 (alte discuri FCAL) 3 16 28 (alte discuri ATA) 3 14 16 ---------- -------- ---- 

Aceste valori se pot schimba în versiunile viitoare ale ONTAP de date.

raidtype raid4 | raid_dp | RAID0

Setează tipul de RAID folosit pentru a proteja împotriva deficienţelor de disc. Utilizarea raid4 oferă un singur disc de paritate pe grup RAID, în timp ce raid_dp oferă două. Schimbarea această opţiune modifică imediat tipul de RAID RAID toate grupurile din cadrul agregat. Când actualizaţi de grupuri de RAID, de la raid4 la raid_dp, fiecare grup RAID începe o reconstrucţie pe un disc de rezervă alocat pentru cea de a doua `disc de paritate dparity".

Changing this option also changes raidsize to a more suitable value for new raidtype . When upgrading from raid4 to raid_dp , raidsize will be increased to the default value for raid_dp . When downgrading from raid_dp to raid4 , raidsize will be decreased to the size of the largest existing RAID group if it is between the default value and the limit for raid4 . If the largest RAID group is above the limit for raid4 , the new raidsize will be that limit. If the largest RAID group is below the default value for raid4 , the new raidsize will be that default value. If raidsize is already below the default value for raid4 , it will be reduced by 1.

resyncsnaptime number

This option is used to set the mirror resynchronization snapshot frequency (in minutes). The default value is 60 minutes.

root

If this option is set on a traditional volume, then the effect is identical as that defined in vol man page. Otherwise, if this option is set on an aggregate capable of containing flexible volumes, then that aggregate is marked as being the one that will also contains the root flexible volume on the next reboot. This option can be used on only one aggregate or traditional volume at any given time. The existing root aggregate or traditional volume will become a non-root entity after the reboot.

Until the system is rebooted, the original aggregate and/or traditional volume will continue to show root as one of its options, and the new root aggregate or traditional volume will show diskroot as an option. In general, the aggregate that has the diskroot option is the one that will contain the root flexible volume following the next reboot.

The only way to remove the root status of an aggregate or traditional volume is to set the root option on another aggregate or traditional volume.

snaplock_compliance

Această opţiune citit indică doar faptul că este un agregat de Conformitate agregat SnapLock. Agregatele pot fi desemnate numai SnapLock agregate de conformitate la momentul creării.

snaplock_enterprise

Această opţiune citit indică doar faptul că agregat este un agregat Enterprise SnapLock. Agregatele pot fi desemnate numai SnapLock agregate de vizitare la momentul creării.

snapmirrored off

SnapMirror dacă este activat pentru un volum tradiţional (SnapMirror nu este acceptată pentru agregatele care conţin volume flexibile), filtru setează automat pe această opţiune pentru a. Setaţi această opţiune pentru a off SnapMirror dacă nu mai este pentru a fi utilizate pentru a actualiza oglinda volumul tradiţional. După setarea această opţiune pentru a off, oglinda devine un volum regulat scriere tradiţionale. Această opţiune poate fi dezactivată, doar sită se poate modifica valoarea de această opţiune de la off la pe.

snapshot_autodelete pe | off

This option is used to set whether snapshot are automatically deleted in the aggr. If set to on then snapshots may be deleted in the aggr to recover storage as necessary. If set to off then snapshots in the aggr are not automatically deleted to recover storage. Note that snapshots may still be deleted for other reasons, such as maintaining the snapshot schedule for the aggr, or deleting snapshots that are associated with specific operations that no longer need the snapshot. To allow snapshots to be deleted in a timely manner the number of aggr snapshots is limited when snapshot_autodelete is enabled. Because of this, if there are too many snapshots in an aggr then some snapshots must be deleted before the snapshot_autodelete option can be enabled.

aggr rename aggrname newname

Renames the aggregate named aggrname to newname . If this aggregate is embedded in a traditional volume, then that volume's name is also changed.

aggr restrict aggrname
[ -t cifsdelaytime ]

Put the aggregate named aggrname in restricted state, starting from either online or offline state. The command takes effect before returning.

If the aggregate contains any flexible volumes, the operation is aborted unless the filer is in maintenance mode.

If the aggregate is embedded in a traditional volume that has CIFS shares, users should be warned before restricting the aggregate (and hence the entire traditional volume). Use the -t switch for this. The cifsdelaytime argument specifies the number of minutes to delay before taking the embedded aggregate offline, during which time CIFS users of the traditional volume are warned of the pending loss of service. A time of 0 means take the aggregate offline immediately with no warnings given. CIFS users can lose data if they are not given a chance to terminate applications gracefully.

aggr scrub resume [ aggrname | plexname | groupname ]

Resumes parity scrubbing on the named aggregate, plex, or group. If no name is given, resume all RAID groups currently undergoing a parity scrubbing that has been suspended.

aggr scrub start [ aggrname | plexname | groupname ]

Starts parity scrubbing on the named online aggregate. Parity scrubbing compares the data disks to the parity disk(s) in their RAID group, correcting the parity disk's contents as necessary. If no name is given, parity scrubbing is started on all online aggregates. If an aggregate name is given, scrubbing is started on all RAID groups contained in the aggregate. If a plex name is given, scrubbing is started on all RAID groups contained in the plex.

aggr scrub status [ aggrname | plexname | groupname ] [ -v ]

Prints the status of parity scrubbing on the named aggregate, plex, or group; all RAID groups currently undergoing parity scrubbing if no name is given. The status includes a percent-complete, and the scrub's suspended status.

-V pavilion afişează data şi ora la care frecarea ultimul complet finalizat, împreună cu starea actuală de pe agregat numit, plex, sau de grup, toate grupurile de RAID, dacă nu este numele dat.

aggr scrub de oprire [aggrname | plexname | GROUPNAME]

Opreşte spălarea paritatea pe agregat numit, plex, sau de grup, în cazul în care nu este numele dat, în toate grupurile de RAID trece în prezent o paritate de spalare.

scrub aggr suspenda [aggrname | plexname | GROUPNAME]

Suspendă spălarea paritatea pe agregat numit, plex, sau de grup, în cazul în care nu este numele dat, în toate grupurile de RAID în prezent în curs de spalare de paritate.

aggr show_space [-h |-k |-m |-g |-T |-b] <aggrname>

Afişează utilizarea spaţiului într-un agregat. Spre deosebire de df, aceasta comanda arata utilizarea spaţiului pentru fiecare volum flexibilă într-un agregat aggrname Dacă este specificat, aggr show_space rulează numai pe agregat corespunzător, altfel se raportează utilizarea spaţiului pe toate agregatele.

Toate dimensiunile sunt raportate în blocuri de 1024 biti, cu excepţia cazului în solicitat de unul dintre H, K-,-m, g-, sau-t opţiuni. K-,-m,-G, şi-t opţiunile de scară pentru fiecare domeniu legate de dimensiunea de ieşire pentru a fi exprimată în kiloocteţi, megaocteţi, gigaocteţi, sau teraocteţi respectiv.

Terminologia următorul text este folosit de comanda de raportare în spaţiu.

      Total space This is the amount of total disk space that the aggregate has. WAFL reserve WAFL reserves a percentage of the total total disk space for aggregate level metadata. The space used for maintaining the volumes in the aggregate comes out of the WAFL reserve. Snap reserve Snap reserve is the amount of space reserved for aggregate snapshots. Usable space This is the total amount of space that is available to the aggregate for provisioning. This is computed as Usable space = Total space – WAFL reserve – Snap reserve df displays this as the 'total' space. BSR NVLOG This is valid for Synchronous SnapMirror destinations only. This is the amount of space used in the aggregate on the destination filer to store data sent from the source filer(s) before sending it to disk. Allocated This is the sum of the space reserved for the volume and the space used by non reserved data. For volume guaranteed volumes, this is at least the size of the volume since no data is unreserved. For volumes with space guarantee of none, this value is the same as the 'Used' space (explained below) since no unused space is reserved. The Allocated space value shows the amount of space that the volume is taking from the aggregate. This value can be greater than the size of the volume because it also includes the metadata required to maintain the volume. Used This is the amount of space that is taking up disk blocks. This value is not the same as the 'used' space displayed by the df command. The Used space in this case includes the metadata required to maintain the flexible volume. Avail Total amount of free space in the aggregate. This is the same as the avail space reported by df. 

aggr divizat plexname aggrname
[-R oldvol newvol] [-r ...]
[-S sufix]

Removes plexname from a mirrored aggregate and creates a new unmirrored aggregate named aggrname that contains the plex. The original mirrored aggregate becomes unmirrored. The plex to be split from the original aggregate must be functional (not partial), but it could be inactive, resyncing, or outof-date. Aggr split can therefore be used to gain access to a plex that is not up to date with respect to its partner plex, if its partner plex is currently failed.

If the aggregate in which plexname resides is embedded in a traditional volume, aggr split behaves identically to vol split . The new aggregate is embedded in a new traditional volume of the same name.

If the aggregate in which plexname resides contains exactly one flexible volume, aggr split will by default rename the flexible volume image in the split-off plex to be the same as the new aggregate.

If the aggregate in which plexname resides contains more than one flexible volume, it is necessary to specify how to name the volumes in the new aggregate resulting from the split. The -r option can be used repeatedly to give each flexible volume in the resulting aggregate a new name. In addition, the -s option can be used to specify a suffix that is added to the end of all flexible volume names not covered by a -r .

If the original aggregate is restricted at the time of the split, the resulting aggregate will also be restricted. If the restricted aggregate is hosting flexible volumes, they are not renamed at the time of the split. Flexible volumes will be renamed later, when the name conflict is detected while bringing an aggregate online. Flexible volumes in the aggregate that is brought online first keep their names. That aggregate can be either the original aggregate, or the aggregate resulting from the split. When the other aggregate is brought online later, flexible volumes in that aggregate will be renamed.

If the plex of an aggregate embedded within a traditional volume is offline at the time of the split, the resulting aggregate will be offline. When splitting a plex from an aggregate that hosts flexible volumes, if that plex is offline, but the aggregate is online, the resulting aggregate will come online, and its flexible volumes will be renamed. It is not allowed to split a plex from an offline aggregate.

A split mirror can be joined back together via the -v option to aggr mirror .

aggr statutul [aggrname]
[ -r | -v | -d | -c | -b | -s | -f | -i ]

Displays the status of one or all aggregates on the filer. If aggrname is used, the status of the specified aggregate is printed; otherwise the status of all aggregates in the filer are printed. By default, it prints a one-line synopsis of the aggregate which includes the aggregate name, whether it contains a single traditional volume or some number of flexible volumes , if it is online or offline, other states (for example, partial , degraded , wafl inconsistent , and so on) and peraggregate options. Per-aggregate options are displayed only if the options have been changed from the system default values by using the aggr options command, or by the vol options command if the aggregate is embedded in a traditional volume. If the wafl inconsistent state is displayed, please contact Customer Support.

The -v flag shows the on/off state of all peraggregate options and displays information about each volume, plex and RAID group contained in the aggregate.

The -r flag displays a list of the RAID information for that aggregate. If no aggrname is specified, it prints RAID information about all aggregates, information about file system disks, spare disks, and failed disks. For more information about failed disks, see the -f switch description below.

The -d flag displays information about the disks in the specified aggregate. The types of disk information are the same as those from the sysconfig -d command.

The -c flag displays the upgrade status of the Block Checksums data integrity protection feature.

The -b is used to get the size of source and destination aggregates for use with aggr copy . The output contains the storage in the aggregate and the possibly smaller size of the aggregate. The aggregate copy command uses these numbers to determine if the source and destination aggregate sizes are compatible. The size of the source aggregate must be equal or smaller than the size of the destination aggregate.

The -s flag displays a listing of the spare disks on the filer.

The -f flag displays a list of the failed disks on the filer. The command output includes the disk failure reason which can be any of following:

The -i flag displays a list of the flexible volumes contained in an aggregate.

       Eşecul necunoscut motiv necunoscut.  nu a reuşit de date ONTAP nu disc din cauza unei erori de disc fatală.  Ghid de admin nu a emis comanda un "disc de respingere" pentru acest disc.  Disk etichetate rupt nu a fost atins în conformitate cu date ONTAP 6.1.X sau o versiune anterioară.  de iniţializare a eşuat secventa de initializare disc nu a reuşit.  Ghid de admin eliminat a emis un "disc de eliminare", comanda pentru acest disc.  nu răspunde disc nu răspunde la solicitări.  disc fizic a fost tras tras, sau nu există cale de date pe care a accesa disc.  Disk ocolit a fost ocolit de ESH. 

aggr undestroy [-n] <aggrname>

Undestroy un volum parţial intact sau anterior, distruse total sau tradiţionale. Comanda imprimă o listă de agregate candidate şi a volumelor tradiţionale de potrivire a dat numele, care pot fi potenţial undestroyed.

Optiunea-n afiseaza lista de discuri conţinute de agregate sau de volum tradiţional, care pot fi potenţial undestroyed. Această opţiune poate fi folosită pentru a afişa rezultatul executării comenzii, fără a face de fapt nici o schimbare.

aggr verifica CV-ul [aggrname]

CV-uri RAID verificare oglinda pe agregat numit, în cazul în care nici un nume globală este dat, pe toate agregatele supuse în prezent o verificare oglinda RAID, care a fost suspendată.

aggr verify start [ aggrname ] [ -f plexnumber ]

Starts RAID mirror verification on the named online mirrored aggregate. If no name is given, then RAID mirror verification is started on all online mirrored aggregates. Verification compares the data in both plexes of a mirrored aggregate. In the default case, all blocks that differ are logged, but no changes are made. If the -f flag is given, the plex specified is fixed to match the other plex when mismatches are found. A name must be specified with the -f plexnumber option.

aggr verify stop [ aggrname ]

Stops RAID mirror verification on the named aggregate; if no aggregate name is given, on all aggregates currently undergoing a RAID mirror verification.

aggr verify status [ aggrname ]

Prints the status of RAID mirror verification on the named aggregate; on all aggregates currently undergoing RAID mirror verification if no aggregate name is given. The status includes a percent-complete, and the verification's suspended status.

aggr verify suspend [ aggrname ]

Suspends RAID mirror verification on the named aggregate; if no aggregate name is given, on all aggregates currently undergoing RAID mirror verification.

CLUSTER CONSIDERATIONS

Aggregates on different filers in a cluster can have the same name. For example, both filers in a cluster can have an aggregate named aggr0 .

However, having unique aggregate names in a cluster makes it easier to migrate aggregates between the filers in the cluster.

EXAMPLES

aggr create aggr1 -r 10 20

Creates an aggregate named aggr1 with 20 disks. The RAID groups in this aggregate can contain up to 10 disks, so this new aggregate has two RAID groups. The filer adds the current spare disks to the new aggregate, starting with the smallest disk.

aggr create aggr1 20@9

Creates an aggregate named aggr1 with 20 9-GB disks. Because no RAID group size is specified, the default size (8 disks) is used. The newly-created aggregate contains two RAID groups with 8 disks and a third group with four disks.

aggr create aggr1 -d 8a.1 8a.2 8a.3

Creates an aggregate named aggr1 with the specified three disks.

aggr create aggr1 10
aggr options aggr1 raidsize 5

The first command creates an aggregate named aggr1 with 10 disks which belong to one RAID group. The second command specifies that if any disks are subsequently added to this aggregate, they will not cause any current RAID group to have more than five disks. Each existing RAID group will continue to have 10 disks and no more disks will be added to that RAID group. When new RAID groups are created, they will have a maximum size of five disks.

aggr show_space -h ag1

Displays the space usage of the aggregate `ag1′ and scales the unit of space according to the size.

 Aggregate 'ag1′ Total space WAFL reserve Snap reserve Usable space BSR NVLOG 66GB 6797MB 611MB 59GB 65KB Space allocated to volumes in the aggregate Volume Allocated Used Guarantee vol1 14GB 11GB volume vol2 8861MB 8871MB file vol3 6161MB 6169MB none vol4 26GB 25GB volume vol1_clone 1028MB 1028MB (offline) Aggregate Allocated Used Avail Total space 55GB 51GB 3494MB Snap reserve 611MB 21MB 590MB WAFL reserve 6797MB 5480KB 6792MB 

aggr status aggr1 -r

Afişează informaţii despre RAID aggr1 agregat. In the following example, we see that aggr1 is a RAID-DP aggregate protected by block checksums. It is online, and all disks are operating normally. The aggregate contains four disks -two data disks, one parity disk, and one doubleparity disk. Two disks are located on adapter 0b, and two on adapter 1b. The disk shelf and bay numbers for each disk are indicated. All four disks are 10, 000 RPM FibreChannel disks attached via disk channel A. The disk "Pool" attribute is displayed only if SyncMirror is licensed, which is not the case here (if SyncMirror were licensed, Pool would be either 0 or 1). The amount of disk space that is used by Data ONTAP (“Used”) and is available on the disk (“Phys”) is displayed in the rightmost columns.

  Aggr aggr1 (online, raid_dp) (block checksums) Plex /aggr1/plex0 (online, normal, active) RAID group /aggr1/plex0/rg0 (normal) RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks) ——— —— ————- —- —- —- —– ————– ————– dparity 0b.16 0b 1 0 FC:A – FCAL 10000 136000/278528000 137104/280790184 parity 1b.96 1b 6 0 FC:A – FCAL 10000 136000/278528000 139072/284820800 data 0b.17 0b 1 1 FC:A – FCAL 10000 136000/278528000 139072/284820800 data 1b.97 1b 6 1 FC:A – FCAL 10000 136000/278528000 139072/284820800 

SEE ALSO

vol , partner , snapmirror , sysconfig .


Table of Contents






















































Manual Pages , , , ,

cf

July 7th, 2009

Cuprins

NAME

cf – controls the takeover and giveback operations of the filers in a cluster

SYNOPSIS

cf [ disable | enable | forcegiveback | forcetakeover [ -df ] | giveback [ -f ] | hw_assist [ status | test stats [ clear ] ] | monitor | partner | status [ -t ] takeover [ -f ] | [ -n ]]

cf nfo [ enable | disable ] disk_shelf

cf nfo status

DESCRIPTION

The cf command controls the cluster failover monitor, which determine when takeover and giveback operations take place within a cluster.

The cf command is available only if your filer has the cluster license.

OPŢIUNI

disable
Disables the takeover capability of both filers in the cluster.

enable
Enables the takeover capability of both filers in the cluster.

forcegiveback
forcegiveback is dangerous and can lead to data corruption; in almost all cases, use cf giveback -f instead.

Forces the live filer to give back the resources of the failed filer even though the live filer determines that doing so might result in data corruption or cause other severe problems. giveback will refuse to giveback under these conditions. Using the forcegiveback option forces a giveback. When the failed filer reboots as a result of a forced giveback, it displays the following message:

partner giveback incomplete, some data may be lost

forcetakeover [-f] forcetakeover is dangerous and can lead to data corruption; in almost all cases, use cf takeover instead.

Forces one filer to take over its partner even though the filer detects an error that would otherwise prevent a takeover. For example, normally, if a detached or faulty ServerNet cable between the filers causes the filers' NVRAM contents to be unsynchronized, takeover is disabled. However, if you enter the cf forcetakeover command, the filer takes over its partner despite the unsynchronized NVRAM contents. This command might cause the filer being taken over to lose client data. If you use the -f option, the cf command allows such a forcetakeover to proceed without requiring confirmation by the operator.

forcetakeover -d[f] Forces a filer to take over its partner in all cases where a forcetakeover would fail. In addition it will force a takeover even if some partner mailbox disks are inaccessible. It can only be used when cluster_remote is licensed.

forcetakeover -d is very dangerous. Not only can it cause data corruption, if not used carefully, it can also lead to a situation where both the filer and it's partner are operational (split brain). As such, it should only be used as a means of last resort when the takeover and forcetakeover commands are unsuccessful in achieving a takeover. The operator must ensure that the partner filer does not become operational at any time while a filer is in a takeover mode initiated by the use of this command. In conjunction with RAID mirroring, it can allow recovery from a disaster when the two filers in the cluster are located at two distant sites. The use of -f option allows this command to proceed without requiring confirmation by the operator.

giveback [ -f ]
Initiates a giveback of partner resources. Once the giveback is complete, the automatic takeover capability is disabled until the partner is rebooted. A giveback fails if outstanding CIFS sessions, active system dump processes, or other filer operations makes a giveback dangerous or disruptive. If you use the -f option, the cf command allows such a giveback to proceed as long as it would not result in data corruption or filer error.

hw_assist [ status | test | stats [ clear ] ] Displays information related to the hardware-assisted takeover functionality. Use the cf hw_assist status command to display the hardware-assisted functionality status of the local as well as the partner filer. If hardware-assisted status is inactive, the command displays the reason and if possible, a corrective action. Use the cf hw_assist test command to validate the hardware-assisted takeover configuration. An error message is printed if hardware-assisted takeover configuration can not be validated. Use the cf hw_assist stats command to display the statistics for all hw_assist alerts received by the filer. Use cf hw_assist stats clear to clear hardware-assisted functionality statistics.

monitor
Displays the time, the state of the local filer and the time spent in this state, the host name of the partner and the state of cluster failover monitor (whether enabled or disabled). If the partner has not been taken over currently, the status of the partner and that of the interconnect are displayed and any ongoing giveback or scheduled takeover operations are reported.

partner
Displays the host name of the partner. If the name is unknown, the cf command displays “ partner .”

Starea
Displays the current status of the local filer and the cluster. If you use the -t option, displays the status of the node as time master or slave.

takeover [ -f ] | [ -n ]
Initiates a takeover of the partner. If you use the -f option, the cf command allows such a takeover to proceed even if it will abort a coredump on the other filer.

If you use the -n option, the cf command allows a takeover to proceed even if the partner node was running an incompatible version of Data ONTAP. The partner node must be cleanly halted in order for this option to succeed. This is used as part of a nondisruptive upgrade process.

nfo [ enable | disable ] disk_shelf
Enables or disables negotiated failover on disk shelf count mismatch.

This command is obsolete. Option cf.takeover.on_disk_shelf_miscompare replaces it.

Negotiated failover is a general facility which supports negotiated failover on the basis of decisions made by various modules. disk_shelf is the only negotiated failover module currently implemented. When communication is first established over the interconnect between the local filer and its partner, a list of disk shelves seen by each node on its A and B loops is exchanged. If a filer sees that the count of shelves that the partner sees on its B loops is greater than the filer's count of shelves on its A loops, the filer concludes that it is “impaired” (as it sees fewer of its shelves than its partner does) and asks the partner to take it over. If the partner is not itself impaired, it will accept the takeover request and, in turn, ask the requesting filer to shut down gracefully. The partner takes over after the requesting node shuts down, or after a time-out period of approximately 3 minutes expires. The comparison of disk shelves is only done when communication between the filers is established or re-established (for example, after a node reboots).

nfo status
Displays the current negotiated failover status.

This command is obsolete. Use cf status instead.

SEE ALSO

partener


Table of Contents



Manual Pages , , , ,

bootfs

July 7th, 2009

Cuprins

NAME

bootfs – boot file system accessor command (ADVANCED)

SYNOPSIS

bootfs chkdsk disk

bootfs core [ -v ] disk

bootfs dir [ -r ] path

bootfs dump { disk | drive } { sector | cluster }

bootfs fdisk disk partition1sizeMB [ partition2sizeMB ] [ partition3sizeMB ] [ partition4sizeMB ]

bootfs format drive [ label ]

bootfs info disk

bootfs sync [ -f ] { disk | drive }

bootfs test [ -v ] disk

DESCRIPTION

The bootfs command allows content viewing and format manipulation of the the boot device.

Using the bootfs command, you may perform four important functions. You may check the integrity of the boot device via the chkdsk subcommand. You may view the contents of your boot device via the dir , dump , and info subcommands. You may alter the partition sizes and format types present on the boot device via the fdisk subcommand. You may reformat the partitions present on the boot device via the format command. You may sync all in memory contents to the physical media via the sync subcommand. Lastly, you may diagnose the health of your boot device via the test subcommand.

OPŢIUNI

-v
Turns on verbose output.

-r
Recursively lists directories and files.

path
A path consists of a drive, optional directories, and an optional file name. Directories are separated by a /. To discover your boot drive's name, use " bootfs help subcommand ".

disk
A disk is a physical object, probably a compact flash in this case. A disk name is generally of the form [PCI slot number]a.0, eg 0a.0. To discover your boot disk's name, use " bootfs help subcommand ".

drive
A drive is a formatted partition on the disk. A disk may contain up to four drives. A drive name is generally of the form [PCI slot number]a.0:[partition
number]:,
eg 0a.0:1:. To discover your boot drive's name, use " bootfs help sub_ c ommand ".

sector
Disks are divided into sectors. Sectors are based at 0.

cluster
Drives are divided into clusters. Clusters are based at 2, though the root directory can be thought to reside at cluster 0.

partitionNsizeMB
The size of partition N in megabytes. There can be at most four partitions per disk.

label
An 11-character or less string which names the drive.

CLUSTER CONSIDERATIONS

The bootfs command cannot be used on a clustered system's partner.

EXAMPLES

The dir subcommand lists all files and subdirectories contained in the path provided. The information presented for each file and subdirectory is (in this column order) name, size, date, time, and cluster.

bootfs dir 0a.0:1:/x86/kernel/

 Volume Label in Drive 0a.0:1: is KERNEL Volume Serial Number is 716C-E9F8 Directory of 0a.0:1:/x86/kernel/ . DIR 02-07-2003 2:37a 2 .. DIR 02-07-2003 2:37a 3 PRIMARY.KRN 9318400 04-07-2003 6:53p 4 2187264 bytes free 

The dump subcommand lists either a sector on a disk or a cluster on a drive, depending on the command line arguments provided. The sector or cluster is listed in both hexadecimal and ASCII form.

bootfs dump 0a.0 110

  sector 110 absolute byte 0xdc00 on disk 0a.0 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 0123456789abcdef —-++————————————————++—————- 0000 00 90 ba 5e b4 01 00 80 7b 0c 00 7d 05 ba 51 b4 …^….{..}..Q. 0010 01 00 83 7b 04 00 74 0a 8b 47 24 a3 dc ce 01 00 …{..t..G$….. 0020 eb 0a c7 05 dc ce 01 00 00 00 e0 fe 83 c4 fc ff ……………. 0030 35 dc ce 01 00 52 68 80 b4 01 00 e8 26 b0 ff ff 5….Rh…..&… 0040 a1 dc ce 01 00 8b 90 f0 00 00 00 80 ce 01 89 90 ……………. [etc.] bootfs dump 0a.0:1: 5 cluster 5 absolute byte 0x25a00 on drive 0a.0:1: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 0123456789abcdef —-++————————————————++—————- 0000 0a 19 12 00 19 0f 00 01 00 64 00 00 00 00 00 00 ………d…… 0010 a1 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ……………. 0020 00 00 00 00 5a 44 5a 44 00 10 00 00 00 00 01 b0 ….ZDZD…….. 0030 20 04 00 10 20 05 00 01 20 06 00 02 20 07 00 13 … … … … 0040 fc ef 00 00 fc b1 20 80 fc d0 20 80 4a 63 c0 55 …… … .Jc.U [etc.] 

The fdisk subcommand creates drives within a disk. A maximum of four drives may be created per disk. The sum of the drives must be less than the size of the disk. Note that most disk manufacturers define a megabyte as 1000*1000 bytes, resulting in a disk being smaller than the size advertised (for example, a 32 MB disk is really 30.5 MB). Performing an fdisk destroys all data on the disk.

bootfs fdisk 0a.0 30

The format subcommand formats a drive to the FAT file system standard. A drive must be formatted before it can store files.

bootfs format 0a.0:1: NETAPP

The info subcommand prints information about a disk. The location of various elements and sizes of sections is displayed.

bootfs info 0a.0

  ——————————————————————– partition: 1 2 3 4 ——————————————————————– file system: 0×01 0×01 0×01 0×01 bytes per cluster: 4096 4096 4096 4096 number of clusters: 2809 2809 2042 251 total bytes: 11534336 11534336 8388608 1048576 usable bytes: 11501568 11501568 8359936 1024000 free bytes: 11505664 11505664 8364032 1028096 FAT location: 512 512 512 512 root location: 9728 9728 6656 1536 data location: 26112 26112 23040 17920 

The test subcommand read and writes to/from every byte on the disk. The test subcommand can be used if you suspect your disk is faulty. A faulty disk would, for example, result in a download command failure.

bootfs test -v 0a.0

 [.................................] disk 0a.0 passed I/O test 

SEE ALSO

descărca


Table of Contents

Manual Pages , , , ,

boot

07 iulie 2009

Cuprins

NUME

boot – directory of Data ONTAP executables

SYNOPSIS

/etc/boot

DESCRIPTION

The boot directory contains copies of the executable files required to boot the filer. The download command (see download ) copies these files from /etc/boot into the filer's boot block, from which the system boots.

FILES

/etc/boot
directory of Data ONTAP executables. Files are place in /etc/boot after the tar or setup.exe has decompressed them. These files vary from release to release.

SEE ALSO

descărca


Table of Contents

Copyright © 1994-2008 NetApp, Inc. Legal Information

VN: F [1.9.11_1134]
Rate this post:
Rating: 0.0/ 10 (0 votes cast)

Manual Pages , , , ,

bmc

07 iulie 2009

Cuprins

NAME

bmc – commmands for use with a Baseboard Management Controller (BMC)

SYNOPSIS

bmc help

bmc reboot

bmc setup

bmc status

bmc test autosupport

DESCRIPTION

The bmc command is used to manage and test a Baseboard Management Controller (BMC), if one is present.

OPŢIUNI

help
Display a list of Baseboard Management Controller (BMC) commands.

reboot
The reboot command forces the BMC to reboot itself and perform a self-test. If your console connection is through the BMC it will be dropped.

setup
Interactively configure the BMC local-area network (LAN) setttings.

Starea
Display the current status of the BMC.

test autosupport
Test the BMC autosupport by commanding the BMC to send a test autosupport to all autosupport email addresses in the option lists autosupport.to , autosupport.noteto , and autosupport.support.to .

CLUSTER CONSIDERATIONS

This command only acts upon the Baseboard Management Controller (BMC) that is local to the system.

EXAMPLES

bmc status

might produce:

              Baseboard Management Controller: Firmware Version: 1.0 IPMI version: 2.0 DHCP: on BMC MAC address: 00:a0:98:05:2b:4a IP address: 10.98.144.170 IP mask: 255.255.255.0 Gateway IP address: 10.98.144.1 BMC ARP interval: 10 seconds BMC has user: naroot ASUP enabled: on ASUP mailhost: mailhost@netapp.com ASUP from: postmaster@netapp.com ASUP recipients: dl-qa-autosupport@netapp.com 

SEE ALSO

setup , options

NOTES

Some of these commands might pause before completing while the Baseboard Management Controller (BMC) is queried. This is normal behavior.


Table of Contents

Copyright © 1994-2008 NetApp, Inc. Legal Information

VN: F [1.9.11_1134]
Rate this post:
Rating: 0.0/ 10 (0 votes cast)

Manual Pages , , , ,

backuplog

07 iulie 2009

Cuprins

NAME

backuplog – captures significant events during file system backup/recovery activities.

SYNOPSIS

/etc/log/backup

DESCRIPTION

Filer captures significant dump/restore-related events and the respective times at which they occur. All events are recorded in one-line messages in /etc/log/backup.

The following are the events filer monitors:

Start
Dump/restore starts.

Restart
Restart of a dump/restore.

End
Dump/restore completes successfully.

Abort
The operation aborts.

Error
Dump/restore hits an unexpected event.

Opţiuni
Logs the options as users specify.

Tape_open
Output device is opened successfully.

Tape_close
Output device is closed successfully.

Phase_change
As dump/restore completes a stage.

Dump specific events:

Snapshot
When the snapshot is created or located.

Base_dump
When a valid base dump entry is located.

Logging events:

Start_logging Logging begins.

Stop_logging
Logging ends.

Each event record is in the following format:

TYPE TIME_STAMP IDENTIFIER EVENT (EVENT_INFO)

TYPE
Either dmp(dump), rst(restore) or log events.

TIME_STAMP
Shows date and time at which event occurs.

IDENTIFIER
Unique ID for the dump/restore.

EVENT
The event name.

EVENT_INFO
Event specific information.

A typical event record message looks like:

dmp Thu Apr 5 18:54:56 PDT 2001 /vol/vol0/ home(5) Start (level 0, NDMP)

In the particular example:

TYPE
= dmp

TIME_STAMP
= Thu Apr 5 18:54:56 PDT 2001

IDENTIFER
= /vol/vol0/ home(5)

EVENT
= Start

EVENT_INFO
= level 0, NDMP

All event messages go to /etc/log/backup. On every Sunday at 00:00, backup is roated to backup.0 and backup.0 is moved to backup.1 and so on. Up to 6 log files(spanning up to 6 weeks) are kept.

The registry option backup.log.enable controls the enabling and disabling of the logging with values on and off respectively. The functionality is enabled by default. (See options for how to set options.)

FILES

/etc/log/backup
backup log file for current week. /etc/log/backup.[0-5] backup log files for previous weeks

SEE ALSO

dump , restore , options


Table of Contents

Manual Pages , , , ,

backup

07 iulie 2009

Cuprins

NAME

backup – manages backups

SYNOPSIS

backup status [ <ID> ]

backup terminate <ID>

DESCRIPTION

The backup commands provide facilities to list and manipulate backups on a filer.

A backup job runs on a filer as a process that copies a file system or a subset of it to secondary media, usually tapes. Data can be restored from the secondary media in case the original copy is lost. There are several types of backup processes that run on the filers:

dump
runs natively on the filer.

NDMP
driven by a 3rd party client through NDMP protocol.

RESTARTABLE A failed dump that can be restarted.

USAGE

backup status [ <ID> ]
displays all active instances of backup jobs on the filer. For each backup, the backup status command lists the following information:

ID
The unique ID that is assigned to the backup and persists across reboots until the backup completes successfully or is terminated. After that, the ID can be recycled for another backup.

De stat
The state can either be ACTIVE or RESTARTABLE. ACTIVE state indicates that the process is currently running; RESTARTABLE means the process is suspended and can be resumed.

Tip
Either dump or NDMP.

Device
The current device. It is left blank for RESTARTABLE dumps since they are not running and thus do not have a current device.

Start Date The time and date that the backup first started.

Nivel
The level of the backup.

Path
Points to the tree that is being backed up.

An example of the backup status command output:

  ID State Type Device Start Date Level Path — ———– —- —— ———— —– ————— 0 ACTIVE NDMP urst0a Nov 28 00:22 0 /vol/vol0/ 1 RESTARTABLE dump Nov 29 00:22 1 /vol/vol1/ 

If a specific ID is provided, the backup status command displays more detailed information for the corresponding backup.

backup terminate <ID>
A RESTARTABLE dump, though not actively running, retains a snapshot and other file system resources. To release the resources, user can explicitly terminate a RESTARTABLE dump. Once terminated, it cannot be restarted again.

SEE ALSO

descarcă


Table of Contents



Manual Pages , , , ,

autosupport

07 iulie 2009

Cuprins

NAME

autosupport – notification daemon

SYNOPSIS

Data ONTAP is capable of sending automated notification to Customer Support at Network Appliance and/or to other designated addressees in certain situations. The notification contains useful information to help them solve or recognize problems quickly and proactively. The system can also be configured to send a short alert notification containing only the reason for the alert to a separate list of recipients. This notification is sent only for critical events that might require some corrective action and can be useful for Administrators with alphanumeric pagers that can accept short email messages.

DESCRIPTION

The autosupport mechanism will use SMTP if there are any (user configured) destination email addresses set in the autosupport.to option. If autosupport.support.enable is on then autosupports will also be sent to Network Appliance. Autosupports sent to Network Appliance may be transmitted by SMTP or by HTTP as specified in the autosupport.support.transport option.

If SMTP is used then the autosupport mechanism contacts a mail host that is listening on the SMTP port (25) to send email. A list of up to 5 mailhosts can be specified by using the autosupport.mailhosts option, and they will be accessed in the order specified until one of them answers as a mailhost. It will then send email through the successful mailhost connection to the destination email address specified in the autosupport.to option. Note that the autosupport.to option only allows 5 email address. To send to more than 5 recipients, create a local alias, or distribution list, and add that as the recipient.

If autosupport.support.enable is on then a copy of the autosupport message is also sent to Network Appliance as follows:

If autosupport.support.transport is smtp then the copy of the autosupport is emailed to the destination specified in autosupport.support.to and the same mailhost picking algorithm is used as above.

If autosupport.support.transport is http then a direct connection to the location specified in autosupport.support.url is made and the autosupport is transmitted to Network Appliance via HTTP POST.

The autosupport mechanism is triggered automatically once a week by the kernel to send information before backing up the messages file. It can also be invoked to send the information through the options command. Autosupport mail will also be sent on events that require corrective action from the System Administrator. And finally, the autosupport mechanism will send notification upon system reboot from disk.

To accommodate multiple delivery methods and destinations and to preserve time dependent values, the outgoing autosupport messages are now spooled in /etc/log/autosupport . Autosupport processing will attempt to deliver all (currently undelivered) messages until the autosupport.retry.count has been reached or until subsequent autosupport messages "fill the spool" such that the oldest (undelivered) messages are forced to be dropped. The spool size is currently 40 messages.

The subject line of the mail sent by the autosupport mechanism contains a text string to identify the reason for the notification. The subject also contains a relative prioritization of the message, using syslog severity levels from DEBUG to EMERGENCY (see syslog.conf ). The messages and other information in the notification should be used to check on the problem being reported.

The setup command tries to configure autosupport as follows:

If a mailhost is specified, it adds an entry for mailhost to the /etc/hosts file.

Setup also queries for autosupport.from information.

OPŢIUNI

Autosupport features are manipulated through the options command (see options ). The available options are as follows:

autosupport.cifs.verbose
If on , includes CIFS session and share information in autosupport messages. If off , those sections are omitted. The default is off .

autosupport.content
The type of content that the autosupport notification should contain. Allowable values are complete and minimal . The default value is complete . The minimal option allows the delivery of a "sanitized" and smaller version of the autosupport, at the cost of reduced support from Network Appliance. Please contact Network Appliance if you feel you need to use the minimal option. The complete option is the traditional (and default) form of autosupport. If this option is changed from complete to minimal then all previous and pending autosupport messages will be deleted under the assumption that complete messages should not be transmitted.

autosupport.doit
Triggers the autosupport daemon to send an autosupport notification immediately. A text word entered as the option is sent in the notification subject line and should be used to explain the reason for the notification.

autosupport.enable
Enables/disables the autosupport notification features (see autosupport ). The default is on to cause autosupport notifications to be sent. This option will override the autosupport.support.enable option.

autosupport.from
Defines the user to be designated as the sender of the notification. The default is postmaster@your.domain . Email replies from Network Appliance will be sent to this address.

autosupport.local.nht_data.enable
Enables/disables the NHT data autosupport to be sent to the recipients listed in the autosupport.to option. NHT data is the binary, internal log data from each disk drive, and in general, is not parsable by other than Network Appliance. There is no customer data in the NHT autosupport. The default for this option is off .

autosupport.local.performance_data.enable
Enables/disables performance data autosupport to be sent to the recipients listed in autosupport.to . The performance autosupport contains hourly samples of system performance counters, and in general is only useful to Network Appliance. The default is off .

autosupport.mailhost
Defines the list of up to 5 mailhost names. Enter the host names as a comma-separated list with no spaces in between. The default is an empty list.

autosupport.minimal.subject.id
Defines the type of string that is used in the identification portion of the subject line when autosupport.content is set to minimal . Allowable values are systemid and hostname . The default is systemid .

autosupport.noteto
Defines the list of recipients for the autosupport short note email. Up to 5 mail addresses are allowed. Enter the addresses as a comma-separated list with no spaces in between. The default is an empty list to disable short note emails.

autosupport.nht_data.enable
Enables/disables the generation of the Health Trigger (NHT) data autosupport. Default is off

autosupport.performance_data.enable
Enables/disables hourly sampling of system performance data, and weekly creation of a performance data autosupport. The default is on .

autosupport.retry.count
Number of times to try resending the mail before giving up and dropping the mail. Minimum is 5; maximum is 4294967295 ; The default is 15 .

autosupport.retry.interval
Time in minutes to delay before trying to send the autosupport again. Minimum is 30 seconds, maximum is 1 day. Values may end with `s', `m' or `h' to indicate seconds, minutes or hours respectively, if no units are specified than input is
assumed to be in seconds. The default value is 4m .

autosupport.support.enable
Enables/disables the autosupport notification to Network Appliance The default is on to cause autosupport notifications to be sent directly to Network Appliance as described by the autosupport.support.transport option. This option is superceded (overridden) by the value of autosupport.enable .

autosupport.support.proxy
Allows the setting of an http based proxy if autosupport.support.transport is https or http . The default
for this option is the empty string, implying no proxy is necessary.

autosupport.support.to
This option is read only; it shows where autosupport notifications to Network Appliance are sent if autosupport.support.transport is smtp .

autosupport.support.transport
Allows setting the type of delivery desired for autosupport notifications that are destined for Network Appliance. Allowed values are https , http (for direct web based posting) or smtp (for traditional email). The default value is https . Note that http and https may (depending on local network configuration) require that the autosupport.support.proxy option be set correctly. Also smtp requires that autosupport.mailhosts be configured correctly before autosupport delivery can be successful.

autosupport.support.url
This option is read only; it shows where autosupport notifications to Network Appliance are sent if autosupport.support.transport is https or http .

autosupport.throttle
Enables autosupport throttling (see autosupport ). When too many autosupports are sent in too short a time, additional messages of the same type will be dropped. Valid values for this option are on or off . The default value for this option is on .

autosupport.to
Defines the list of recipients for the autosupport email notification. Up to 5 mail addresses are allowed. Enter the addresses as a comma-separated list with no spaces in between. The default is an empty list. Note that it is no longer necessary to use the standard Network Appliance autosupport email address in this field to direct autosupport messages to Network Appliance. Please use autosupport.support.enable instead.

CONTENTS

A complete autosupport will contain the following information. Note that some sections are configurable, and/or available depending on what features are licensed. The order given is the general order of appearance in the autosupport message itself.

Generation date and timestamp

Versiunea software-ului

System ID

Hostname

SNMP contact name (if specified)

SNMP location (if specified)

Partner System ID (if clustered)

Partner Hostname (if clustered)

Cluster Node Status (if clustered)

Console language type

sysconfig -a output

sysconfig -c output

sysconfig -d output

System Serial Number

Software Licenses (scrambled prior to transmission)

Option settings

availtime output

cf monitor all output (if clustered)

ic stats performance output (if clustered with VIA)

ic stats error -v output (if clustered with VIA)

snet stats -v output (if clustered with SNET)

ifconfig -a output

ifstat -a output

vlan stat output

vif status output

nis info output

nfsstat -c output (if licensed)

cifs stat output (if licensed)

cifs sessions summary (if licensed)

cifs sessions output (if licensed and enabled)

cifs shares summary (if licensed)

cifs shares output (if licensed and enabled)

vol status -l (if cifs is licensed)

httpstat output

vfiler status -a output (if licensed)

df output

df -i output

snap sched output

vol status -v output

vol status output

vol status -c output

vol scrub status -v output

sysconfig -r output

fcstat fcal_stats output

fcstat device_map output

fcstat link_stats output

ECC Memory Scrubber Statistics

ems event status output

ems log status output

registry values

perf report -t output

storage show adapter -a output

storage show hub -a output

storage show disk -a output

storage show fabric output

storage show switch output

storage show port output

EMS log file (if enabled)

/etc/messages content

Parity Inconsistancy information

WAFL_check logs

TYPES

The following types of autosupport messages, with their associated severity, can be generated automatically. The autosupport message text is in bold, and the LOG_XXX value is the syslog severity level. Note that text inside of square brackets ([]) is descriptive and is not static for any given autosupport message of that type.

BATTERY_LOW!!!
LOG_ALERT

BMC_EVENT: BUS ERROR
LOG_ERR

BMC_EVENT: POST ERROR
LOG_ERR

CLUSTER DOWNREV BOOT FIRMWARE
LOG_CRIT

CLUSTER ERROR: DISK/SHELF COUNT MISMATCH LOG_EMERG

CLUSTER GIVEBACK COMPLETE
LOG_INFO

CLUSTER TAKEOVER COMPLETE AUTOMATIC
LOG_ALERT

CLUSTER TAKEOVER COMPLETE MANUAL
LOG_INFO

CLUSTER TAKEOVER FAILED
LOG_INFO

CONFIGURATION_ERROR!!!
LOG_ALERT

CPU FAN WARNING - [fan]
LOG_WARNING

DEVICE_QUALIFICATION_FAILED
LOG_CRIT

DISK CONFIGURATION ERROR
LOG_ALERT

DISK RECONSTRUCTION FAILED!!
LOG_ALERT

DISK_FAIL!!! - Bypassed by ESH
LOG_ALERT

DISK_FAIL!!!
LOG_ALERT

DISK_FAILURE_PREDICTED!!!
LOG_ALERT

DISK_FIRMWARE_NEEDED_UPDATE!!!
LOG_EMERG

DISK_IO_DEGRADED
LOG_WARNING

DISK_LOW_THRUPUT
LOG_NOTICE

DISK_RECOVERED_ERRORS
LOG_WARNING

DISK_SCRUB!!!
LOG_EMERG

FC-AL LINK_FAILURE!!!
LOG_ERR

FC-AL RECOVERABLE ERRORS
LOG_WARNING

OVER_TEMPERATURE_SHUTDOWN!!!
LOG_EMERG

OVER_TEMPERATURE_WARNING!!!
LOG_EMERG

PARTNER DOWN, TAKEOVER IMPOSSIBLE
LOG_ALERT

POSSIBLE BAD RAM
LOG_ERR

POSSIBLE UNLINKED INODE
LOG_ERR

REBOOT (CLUSTER TAKEOVER)
LOG_ALERT

REBOOT (after WAFL_check)
LOG_INFO

REBOOT (after entering firmware)
LOG_INFO

REBOOT (after giveback)
LOG_INFO

REBOOT (halt command)
LOG_INFO

REBOOT (internal halt)
LOG_INFO

REBOOT (internal reboot)
LOG_INFO

REBOOT (panic)
LOG_CRIT

REBOOT (power glitch)
LOG_INFO

REBOOT (power on)
LOG_INFO

REBOOT (reboot command)
LOG_INFO

REBOOT (watchdog reset)
LOG_CRIT

REBOOT
LOG_INFO

SHELF COOLING UNIT FAILED
LOG_EMERG

SHELF COOLING UNIT FAILED
LOG_WARNING

SHELF_FAULT!!!
LOG_ALERT

SNMP USER DEFINED TRAP
LOG_INFO

SPARE_FAIL!!!
LOG_ALERT

SYSTEM_CONFIGURATION_CRITICAL_ERROR
LOG_CRIT

SYSTEM_CONFIGURATION_ERROR
LOG_ERR

UNDER_TEMPERATURE_SHUTDOWN!!!
LOG_EMERG

UNDER_TEMPERATURE_WARNING!!!
LOG_EMERG

USER_TRIGGERED ([user input from autosupport.doit]) LOG_INFO

WAFL_check!!!
LOG_ALERT

WEEKLY_LOG
LOG_INFO

[EMS event]
LOG_INFO

[fan] FAN_FAIL!!!
LOG_ALERT

[mini core]
LOG_CRIT

[power supply failure]
LOG_ALERT

[power supply] POWER_SUPPLY_DEGRADED!!!
LOG_ALERT

[shelf over temperature critical]
LOG_EMERG

CLUSTER CONSIDERATIONS

The autosupport email messages from a filer in a cluster are different from the autosupport email messages from a standalone filer in the following ways:

The subject in the autosupport email messages from a filer in a cluster reads, “Cluster notification, ” instead of “System notification.”

The autosupport email messages from a filer in a cluster contains information about its partner, such as the partner system ID and the partner host name.

In takeover mode, if you reboot the live filer, two autosupport email messages notify the email recipients of the reboot: one is from the live filer and one is from the failed filer.

The live filer sends an autosupport email message after it finishes the takeover process.

SEE ALSO

options , partner , setup , hosts , RFC821


Table of Contents






























































Manual Pages , , , ,

auditlog

07 iulie 2009

Cuprins

NAME

auditlog – contains an audit record of recent administrative activity

SYNOPSIS

<logdir>/auditlog

<logdir> is /etc/log for filers and /logs for NetCache appliances.

DESCRIPTION

If the option auditlog.enable is on, the system logs all input to the system at the console/telnet shell and via rsh to the auditlog file. The data output by commands executed in this fashion is also logged to auditlog. Administrative servlet invocations (via HTTP, typically from FilerView) and API calls made via the ONTAPI interface are also logged to the auditlog. A typical message is:

Wed Feb 9 17:34:09 GMT [rshd_0:auditlog]: root:OUT:date: Wed Feb 9 17:34:09 GMT 2000

This indicates that there was an rsh session around Wed Feb 9 17:34:09 GMT which caused the date command to be executed. The user performing the command was root. The type of log is data output by the system as indicated by the OUT keyword.

Commands typed at the filer's console or executed by rsh are designated by the IN keyword as in:

Wed Feb 9 17:34:03 GMT [rshd_0:auditlog]: :IN:rsh shell: RSH INPUT COMMAND is date

The start and end of an rsh session are specially demarcated as in

Wed Feb 9 17:34:09 GMT [rshd_0:auditlog]: root:START:rsh shell:orbit.eng.mycompany.com

şi

Wed Feb 9 17:34:09 GMT [rshd_0:auditlog]: root:END:rsh shell:

The maximum size of the auditlog file is controlled by the auditlog.max_file_size option. If the file gets to this size, it is rotated (see below).

Every Saturday at 24:00, <logdir>/auditlog is moved to <logdir>/auditlog.0, <logdir>/auditlog.0 is moved to <logdir>/auditlog.1 , and so on. This process is called rotation. Auditlog files are saved for a total of six weeks, if they do not overflow.

If you want to forward audit log messages to a remote syslog log host (one that accepts syslog messages via the BSD Syslog protocol specified in RFC 3164), modify the filer's /etc/syslog.conf file to forward messages from the filer's "local7" facility to the remote host. Do this by adding a line like:

local7.*
@1.2.3.4

to /etc/syslog.conf. An IP address has been used here, but a valid DNS name could also be used. Note that using a DNS name can fail if the filer is unable to resolve the name given in the file. If that happens, your messages will not be forwarded.

On the log host, you'll need to modify the syslog daemon's configuration file to redirect syslog message traffic from the "local7" facility to the appropriate configuration file. That is typically done by adding a line similar to the one shown above for the filer:

local7.*
/var/logs/filer_auditlogs

Then restart the daemon on the log host, or send an appropriate signal to it. See the documentation for your log host's syslog daemon for more information on how to make that configuration change.

FILES

<logdir>/auditlog
auditlog file for current week. <logdir>/auditlog.[0-5] auditlog files for previous weeks

SEE ALSO

options , syslog.conf


Table of Contents

Manual Pages , , , ,



This site is not affiliated or sponsored in anyway by NetApp or any other company mentioned within.

Bad Behavior has blocked 2823 access attempts in the last 7 days.

© 2009-2012 Chris Kranz All Rights Reserved
This site is not affiliated or sponsored in anyway by NetApp or any other company mentioned within.