Archiv

Archiv pro kategorii "Ruční stránky"

NetApp manuálových stránek

07.07.2009

NetApp si laskavě mi dal svolení k publikování jejich manuálových stránek zde. Oni ještě potřebují trochu uklízení, ale pouhé množství znamená, že si mě chvilku, aby si je třídíme a cross-referenced správně, omluvte prosím vizuální problémy pro tuto chvíli. Napsal jsem rychlý nástroj pro analýzy získat všechny informace o tady, tak tam může být několik problémů, které vyplývají z dosud.

Vždycky jsem měl rád tak, že PHP má své funkci stránky, která dává uživatelům možnost vyjádřit se přímo na ně. To umožňuje lidem opustit zpětnou vazbu na funkce a nástroje, a také navázat nějaké další použití nebo syntaxe pro příkazy, které nejsou vždy jasně zveřejněny. Doufejme, že to je jako zpětná vazba pro NetApp zlepšit jejich dokumentaci.

Já bych určitě chtěl povzbudit lidi, aby se vyjádřily k manuálové stránky s čímkoli, co může být užitečné, a doufám, že do budování tohoto užitečné trochu sekci reference. Mnoho Ještě jednou díky za NetApp lidových za pomoc s tímto.

VN: F [1.9.11_1134]
Hodnotit tento příspěvek:
Hodnocení: 8.8 / 10 (18 hlasů)

Obecné , Manuálové stránky , , , ,

aggr

07.07.2009

Obsah

JMÉNO

aggr - příkazy pro správu agregátů, z toho zobrazeny souhrnné stavu, kopírování a kameniva

PŘEHLED

aggr argument příkazu ...

POPIS

Příkaz aggr rodina spravuje agregáty. The aggr Příkazy lze vytvářet nové agregáty, zničit stávající, undestroy předtím zničil agregát, řídit plex v celkové zrcadlo, změna agregátní stav, Použít k celkové a jedna kopie souhrnné k jinému, a zobrazit jejich stav. Souhrnné příkazů často vliv na objem (y) obsažena v agregátů.

Příkaz aggr rodina je nového ve Data ONTAP 7.0. Příkaz vol rodina provided kontrolu nad tradičním vol_ u MES, které zničilo jeden uživatel viditelné pro systém souborů a jeden RAID úrovně zásobníku (souhrn) v nedělitelný celek, a ještě dělá. Chcete-li umožnit pružnější využívání skladování, agregátů nyní také podporuje možnost obsahovat více, nezávisle na uživatelské úrovni souborových systémů s názvem flexibilní svazků.

Data ONTAP 7.0 plně podporuje jak tradiční a flexibilní svazků. Příkaz aggr Rodina je preferovanou metodou pro řízení filtračním na agregáty, včetně těch, které jsou zakotveny v tradičních objemů.

Všimněte si, že většina aggr příkazů platí stejně pro oba typy kameniva, která obsahuje pružný objem a typ, který je úzce vázán na formy tradičního objemu. Tak, termín je často používán souhrn zde odkazovat se na oba úložiště tříd. V těchto případech poskytuje zkratka pro delší a nepraktický "agregáty a tradičních objemů" fráze.

Kamenivo může být buď zrcadlo, nebo unmirrored. Plex je fyzická kopie WAFL skladování v rámci seskupení. Celkový zrcadlí se skládá ze dvou plex, unmirrored agregáty obsahují jeden plex. In order to create a mirrored aggregate, you must have a filer configuration that supports RAID-level mirroring. When mirroring is enabled on the filer, the spare disks are divided into two disk pools. When an aggregate is created, all of the disks in a single plex must come from the same disk pool, and the two plexes of a mirrored aggregate must consist of disks from separate pools, as this maximizes fault isolation. This policy can be overridden with the -f option to aggr create , aggr add and aggr mirror , but it is not recommended.

An aggregate name can contain letters, numbers, and the underscore character(_), but the first character must be a letter or underscore. A combined total of up to 200 aggregates (including those embedded in traditional volumes) can be created on each filer.

A plex may be online or offline. If it is offline, it is not available for read or write access. Plexes can be in combinations of the following states:

normal All RAID groups in the plex are functional.

failed At least one of the RAID groups in the plex has failed.

empty The plex is part of an aggregate that is being created, and one or more of the disks targeted to the aggregate need to be zeroed before being added to the plex.

active The plex is available for use.

inactive
The plex is not available for use.

resyncing
The plex's contents are currently out of date and are in the process of being resynchronized with the contents of the other plex of the aggregate (applies to mirrored aggregates only).

adding disks
Disks are being added to the plex's RAID group(s).

out-of-date
This state only occurs in mirrored aggregates where one of the plexes has failed. The non-failed plex will be in this state if it needed to be resynchronized at the time the other plex failed.

A plex is named using the name of the aggregate, a slash character delimiter, and the name of the plex. The system automatically selects plex names at creation time. For example, the first plex created in aggregate aggr0 would be aggr0/plex0 .

An aggregate may be online, restricted, or offline. When an aggregate is offline, no read or write access is allowed. When an aggregate is restricted, certain operations are allowed (such as aggregate copy, parity recomputation or RAID reconstruction) but data access is not allowed. Aggregates that are not a part of a traditional volume can only be restricted or offlined if they do not contain any flexible volumes.

Aggregates can be in combinations of the following states:

aggr The aggregate is a modern-day aggregate; it is capable of containing zero or more flexible volumes.

copying
The aggregate is currently the target aggregate of an active aggr copy operation.

degraded
The aggregate contains at least one degraded RAID group that is not being reconstructed.

foreign
The disks that the aggregate contains were moved to the current filer from another filer.

growing
Disks are in the process of being added to the aggregate.

initializing
The aggregate is in the process of being initialized.

invalid
The aggregate contains no volumes and none can be added. Typically this happens only after an aborted aggregate copy operation.

ironing
A WAFL consistency check is being performed on this aggregate.

mirror degraded
The aggregate is a mirrored aggregate, and one of its plexes is offline or resyncing.

mirrored
The aggregate is mirrored and all of its RAID groups are functional.

needs check
A WAFL consistency check needs to be performed on the aggregate.

partial
At least one disk was found for the aggregate, but two or more disks are missing.

raid0 The aggregate consists of RAID-0 (no parity) RAID groups (V-Series and NetCache only).

raid4 The aggregate consists of RAID-4 RAID groups.

raid_dp
The aggregate consists of RAID-DP (Double Parity) RAID groups.

reconstruct
At least one RAID group in the aggregate is being reconstructed.

redirect
Aggregate reallocation or file reallocation with the -p option has been started on the aggregate. Read performance to volumes in the aggregate may be degraded.

resyncing
One of the plexes of a mirrored aggregate is being resynchronized.

snapmirrored
The aggregate is a snapmirrored replica of another aggregate. This state can only arise if the aggregate is part of a traditional volume.

trad The aggregate is fused with a single volume. This is also referred to as a traditional volume and is exactly equivalent to the volumes that existed before Data OnTAP 7.0. Flexible volumes can not be created inside of this aggregate.

verifying
A RAID mirror verification operation is currently being run on the aggregate.

wafl inconsistent
The aggregate has been marked corrupted. Please contact Customer Support if you see an aggregate in this state.

USAGE

The following commands are available in the aggr suite:

 add mirror restrict undestroy copy offline scrub verify create online show_space destroy options split media_scrub rename status 

aggr add aggrname
[ -f ]
[ -n ]
[ -g { raidgroup | new | all } ]
{ ndisks [@ size ]
|
-d disk1 [ disk2 ... ] [ -d diskn [ diskn+1 ... ] ] }

Adds disks to the aggregate named aggrname . Specify the disks in the same way as for the aggr create command. If the aggregate is mirrored, then the -d argument must be used twice (if at all).

If the -g option is not used, the disks are added to the most recently created RAID group util it is full, and then one or more new RAID groups are created and the remaining disks are added to new groups. Any other existing RAID groups that are not full remain partially filled.

The -g option allows specification of a RAID group (for example, rg0 ) to which the indicated disks should be added, or a method by which the disks are added to new or existing RAID groups.

If the -g option is used to specify a RAID group, that RAID group must already exist. The disks are added to that RAID group util it is full. Any remaining disks are ignored.

Je-li volba-g následuje nové Data ONTAP vytvoří jeden nebo více nových skupin a RAID disky přidává k nim, a to iv případě, že disky se vejde do existující skupiny RAID. Všechny existující RAID skupiny, které nejsou plně zůstat částečně zaplněné. Jméno nového RAID skupiny jsou vybrány automaticky. Není možné zadat názvy pro nový RAID skupiny.

Je-li volba-g a po nich všichni, Data ONTAP dodává určených discích stávající RAID skupiny první. Poté, co všechny existující RAID skupiny jsou plné, vytváří jeden nebo více nových RAID skupiny a přidá určené disků do nové skupiny.

-N mohou být použity k zobrazení příkazu, že systém bude provádět, aniž by vlastně dělat žádné změny. To je užitečné pro zobrazení automaticky vybrán pevné disky, například.

Ve výchozím nastavení, filer naplní jedna skupina s RAID disky před zahájením další útok skupiny. Dejme tomu, že v současné době má jeden agregát RAID skupina 12 disků a RAID velikost skupiny je 14. Máte-li přidat 5 disků k této částce, bude to mít jeden RAID skupinu s 14 disků RAID a další skupiny se 3 disky. Filer není rovnoměrně mezi disky, RAID skupiny.

Nemůžete přidat disky do celkové zrcadlí-li jeden z plex je offline.

Disky v plex není dovoleno rozsahu disk bazénů. Toto chování může být přepsána s-f při použití spolu s parametrem-D do seznamu disků přidat. -F vlajku, v kombinaci s-d, lze použít také vynutit přidáním disky, které mají rotační rychlost, která neodpovídá většiny stávajících disků v souhrnu.

aggr kopie přerušení [-h] operation_number | všechny

Ukončí agregát kopírování. Opera_ t ion_number parametr určuje, které operace ukončit. Zadáte-li všichni, jsou ukončeny všechny aktivní celkové kopírování.

aggr kopie začít
[-S |-S snímek] [-C]
zdroj cíl

Kopie všech dat, včetně snímků a flexibilní množství, od jednoho agregátu do druhého. Je-li S-vlajka je používána, příkaz zkopíruje všechny snímky ve zdroji souhrnné k cíli agregátu. Chcete-li určit konkrétní snímek kopírovat, použijte parametr-s uvedením názvu tohoto snímku. Používáte-li ani-ani-S s vlajkou v příkazu, že filer vytvoří snímek v okamžiku, kdy je provedena kopie aggr povel start a kopíruje jen to, že snímek na místo určení agregátu.

-C, je nutné v případě, že zdroj má celkový volného prostoru provádění defragmentace, nebo v případě, že celkový cíl bude ve volném prostoru defragmentovat. Ve volném prostoru defragmentaci lze provádět na celkové pomocí příkazu přerozdělit.

Souhrnné kopií lze provádět pouze mezi agregáty, které hostí flexibilní svazků. Agregáty, které jsou zakotveny v tradičních objemů nemohou účastnit.

Zdrojové a cílové agregátů může být na stejné nebo různé filtračním filers. Je-li zdroj nebo cíl agregátu je na filer, než na kterém zadáte kopii aggr začátek příkazu, zadejte jméno v celkové filer_name: aggre_ g ate_name formátu.

The filers podílejí na celkové vyhotovení musí splňovat následující podmínky pro zahájení kopírování aggr příkaz být úspěšně dokončen:

Zdroj agregát musí být online, a určení celkové musí být omezena.

Je-li kopie mezi dvěma filers, musí být každý filer být definován jako důvěryhodný řadu dalších filer. To znamená, že musí být filer jméno je v souboru / etc / hosts.equiv soubor dalších filer.

Je-li kopie na stejném Filer, musí localhost být součástí filer / etc / hosts.equiv soubor. Dále musí být adresa zpětné smyčky v filer / etc / hosts. V opačném případě může filer nebude posílat pakety sám přes loopback adresu, když se snaží kopírovat data.

Využitelný prostor na disku cílového agregát musí být větší nebo rovna použitelné disku zdroje kameniva. Použijte DF-cestu příkaz vidět množství využitelného místa na disku konkrétního agregátu.

Každá kopie aggr začít příkaz vygeneruje dvě agregované operace kopírování: jeden pro čtení dat ze zdroje kameniva a jeden pro zápis dat do cílového agregátu. Každý filtr se podporuje až čtyři současné celkové kopírování.

aggr kopírovat stav [operation_number]

Zobrazuje průběh jednoho nebo všech aggr kopírování. Operace jsou číslovány od 0 do 3.

Restart checkpoint Informace pro všechny převody je zobrazena také.

aggr kopie plynu [operation_number] hodnotu

Ovládací prvky provedení operace kopírování aggr. Hodnota se pohybuje od 10 (plnou rychlostí) do 1 (jedna desetina plnou rychlostí). Výchozí hodnota je udržována ve filtračním je aggr.copy.throttle možnost a je nastavena 10 (plnou rychlostí) v továrně. Můžete použít hodnoty výkonu na operaci určené operation_number parametr. Pokud nechcete zadat číslo operace v plynu aggr kopii příkazu, příkaz se vztahuje na všechny kopie aggr operace.

Pomocí tohoto příkazu k omezení rychlosti provozu kopie aggr Máte-li podezření, že kopie aggr provoz způsobuje problémy s výkonem na filer. Zvláště, plyn, která má pomoci omezit využití procesoru operace kopírování aggr. Nemůže být použit k vyladění sítě vzorce na šířku pásma.

Kopie aggr plynu příkaz pouze umožňuje nastavit rychlost provozu kopie aggr, která právě probíhá. Chcete-li nastavit výchozí aggr rychlost kopírování být používán budoucí operace kopírování, použijte volby slouží k nastavení aggr.copy.throttle možnost.

aggr vytvořit aggrname
[-F]
[-M]
[-N]
[-T raidtype]
[-R raidsize]
[T-disk-type]
[-R rpm]
[-L [shody | podnik]]
[-V]
[-L jazyk-kód]
{Ndisks [@ size]

|
-D disk1 [DISK2 ... ] [-D diskn [diskn +1 ... ]]}

Vytvoří nový agregát s názvem aggrname. Souhrnná Název může obsahovat písmena, číslice a podtržítka (_), ale první znak musí být písmeno nebo podtržítko. Až 200 agregáty mohou být vytvořeny na každém filer. Tento počet zahrnuje i ty agregáty, které jsou vloženy do tradičních objemů.

Vložené agregát může být vytvořena jako součást tradičního objemu pomocí volby-v. Nemůže obsahovat žádné flexibilní svazky.

Pravidelný souhrn, vytvořen bez volby-v, může obsahovat pouze flexibilní svazky. To nemůže být začleněny do tradičního objemu a neobsahuje žádné svazky ihned po vytvoření. Nový flexibilní svazky mohou být vytvořeny pomocí vol. vytvořit příkaz.

-T raidtype argument určuje typ RAID skupiny (skupin), které mají být použity k vytvoření celkové. Možné typy RAID skupiny raid4 pro RAID-4, raid_dp pro RAID-DP (Double parita), a RAID0 pro jednoduché proužky bez parity ochrany. Výchozí raidtype kameniva a tradiční svazky filers je raid_dp. Nastavení raidtype není povoleno V-Series systémů prodlení RAID0 se používá vždy.

The-R raidsize argument určuje maximální počet disků v RAID každé skupiny jako celek. Maximální a výchozí hodnoty raidsize platformově závislá, na výkon a spolehlivost úvahy. Viz aggr možnosti raidsize pro více informací.

The-T disk typu argument určuje typy disků používat při vytváření nového agregátu. Je třeba pouze na systémy napojené na disky různých typů. Možné typy disků: ATA, FCAL, LUN, SAS, SATA, SCSI a. Míchání různých typů disků v jednom agregátu je zakázáno.-T nelze použít s-d.

Disk typu identifikuje disk technologie a připojení typu. Identifikuje ATA ATA disky s jedním IDE nebo Serial ATA rozhraní, v regálech spojeny FCAL (Fibre Channel rozhodoval smyčka). FCAL identifikuje FC disky v regálech spojeny FC-AL. LUN identifikuje virtuální disky vývozu z externích diskových polí. Základní disk technologie RAID a typ závisí na realizaci těchto externích diskových polí. SAS identifikuje Serial Attached SCSI disků v odpovídajících regálů. SATA disky Serial ATA uvádí v regálech SAS. SCSI znamená Small Computer System Interface, a je zahrnuta z důvodu zpětné kompatibility s dřívějšími technologiemi disk.

Parametr-R RPM argument určuje typy disků používat na základě jejich otáčky v otáčkách za minutu (RPM). Je třeba pouze na systémy, které mají disky s různými otáčky. Typické hodnoty otáček je 5400, 7200, 10000 a 15000.-R nemohou být použity společně s-d.

ndisks je počet disků v souhrnu včetně parity disky. Disků v této nově vytvořené souhrnné pochází z bazénu náhradních disků. Nejmenší disků v tomto bazénu připojit k celkové první, pokud zadáte @ velikosti argument. Velikost je velikost disku v GB a disky, které jsou do 10% stanovené velikosti budou vybrány pro použití v souhrnu.

Volbou-m lze určit, že nový agregát bude zrcadlit (dvě plex) po vytvoření. Pokud je tato možnost dána, pak uvedená disky bude rozdělena přes dva plex. Ve výchozím nastavení bude nový agregát nelze zrcadlit.

-N mohou být použity k zobrazení příkazu, že systém bude provádět, aniž by vlastně dělat žádné změny. To je užitečné pro zobrazení automaticky vybrán pevné disky, například.

Pokud použijete-d disk1 [DISK2 ... ] Argument, filer vytváří souhrnné se zadaným náhradních disků disk1, DISK2, a tak dále. Můžete určit prostor oddělený seznam jmen disk. Dva samostatné seznamy musí být uvedeny v případě, že nový agregát je zrcadlový. V případě, že nový agregát je zrcadlový, musí být uvedeno disky za následek stejný počet disků na každé nové plex.

Disků v plex není dovoleno rozsahu náhradní bazénů. Toto chování může být přepsána s-f. Stejnou možnost může být také použit k síle použití disků, které nemají odpovídající otáčky. -F volba je účinná pouze při použití volby-d určující disky použít.

Chcete-li vytvořit SnapLock agregát, zadejte-L s aggr vytvořit příkaz. Tento příznak je podporována pouze v případě buď SnapLock shodě nebo SnapLock Enterprise je licencován. Typu SnapLock vytvořil celkový, a to buď shodě nebo Enterprise, je určen nainstalován SnapLock licence. Je-li jak dodržování SnapLock a SnapLock Enterprise jsou licencované, používají-L nebo-L souladu podniku zadat požadovaný typ agregátu.

-L language_code argumentem může být použito pouze při vytváření tradiční svazek volby-V. Filer vytváří tradiční objem jazykem určeným kód jazyka. Výchozí hodnota je jazyk používaný filtračním kořenový svazek. Podívejte se na sv man stránku pro seznam jazykových kódů.

aggr zničit {aggrname | plexname} [-f]

Ničí celkové jmenoval aggrname nebo plex jmenoval plexname. Všimněte si, že pokud je uvedeno souhrnné je vázána na tradiční svazek, pak tradiční svazek sám je zničen stejně.

Pokud je agregát je určen, jsou zničeny všechny plex v souhrnu. S názvem agregát se rovněž nesmí obsahovat žádné flexibilní množství, bez ohledu na jejich státní hoře (on-line, prostorů, nebo offline). Je-li plex je uvedeno, je plex zničen, opouštět unmirrored nebo tradiční celkový objem obsahující zbývající plex. Předtím, než zničí celkový tradiční objemu nebo plex, je uživatel vyzván k potvrzení operace. -F příznak lze zničit celkový, tradiční objemu nebo plex bez upozornění uživatele.

Disky původně v zničil objekt stane náhradní disky. Pouze v režimu offline agregáty, tradičních objemů a plex mohou být zničeny.

aggr media_scrub status [aggrname | plexname | název_skupiny]
[-V]

Vytiskne média drhnutí stav jmenoval agregátu, plex, nebo skupiny. Není-li název je uveden, pak stav je vytištěna pro všechny RAID skupiny v současné době běží media drhnout. Stav obsahuje procenta, kompletní a zda je pozastavena.

-V flag zobrazuje datum a čas, kdy křoviny dokončil poslední celý média, datum a čas, kdy začal drhnout aktuální instanci médií, a současný stav s názvem agregátu, plex, nebo skupiny. Není-li název je uveden, je tento stav podrobnější tištěné pro všechny RAID skupiny s aktivním médií křoviny.

aggr zrcadlo aggrname
[-F]
[-N]
[-V victim_aggrname]
[-D disk1 [DISK2 ... ]]

Slouží k celkové unmirrored do celkové odráží tím, že přidá plex k tomu. Objekt plex je buď nově vznikající z disků z vybraných náhradních bazénu, nebo v případě, že-v možnost je určena, je převzat z jiného stávajícího agregátu unmirrored. Souhrnné aggrname, musí být nyní unmirrored. Použijte aggr vytvořit vytvořit nový, zrcadlový agregát od nuly.

Disky mohou být specifikovány explicitně pomocí-d stejným způsobem jako u aggr vytvářet a aggr přidat příkazy. Počet uvedených disků musí odpovídat počtu přítomných na stávající agregát. Určených discích není povoleno rozpětí disk bazénů. Toto chování může být přepsána s-f. Volbu-f, v kombinaci s-d, lze použít také vynutit použití disků, které mají rotační rychlost, která neodpovídá většiny stávajících disků v souhrnu.

Pokud se disky nejsou uvedeny explicitně, pak disky jsou automaticky vybrány, aby odpovídaly těm v celkové stávající plex.

-V volby lze připojit victim_aggrname zpět do aggrname tvořit agregát zrcadlové. Výsledkem je zrcadlový agregát s názvem aggrname, který je jinak totožný s aggrname před operací. Victim_aggrname účinně zničen. Victim_aggrname musí být předem zrcadlové s aggrname, pak odděleny pomocí příkazu aggr rozdělení. Victim_aggrname musí být offline. V kombinaci s volbou-va, může-f možnost využít ke vstupu aggrname a vic_ t im_aggrname bez upozornění uživatele.

-N mohou být použity k zobrazení příkazu, že systém bude provádět, aniž by vlastně dělat žádné změny. To je užitečné pro zobrazení automaticky vybrán pevné disky, například.

aggr pm {aggrname | plexname}
[-T cifsdelaytime]

Bere na celkové jmenoval aggrname (nebo plex jmenoval plexname) offline. Příkaz nabývá účinnosti, než se vrátí. Pokud je agregát již v omezeném stavu, pak je již k dispozici pro přístup k datům, a hodně z následujícího popisu neplatí.

, Pokud úhrnná obsahuje flexibilní svazků, pak operace se přeruší, pokud filtračním v režimu údržby.

S výjimkou režimu údržby, může být celková obsahující aktuální Kořenový svazek nelze brát offline. Agregát s obsahem svazku, který byl označen, aby se stal root (pomocí vol možnosti vol_ n ame root) také nemůže být offline.

Pokud je agregát je zakotven v tradičním svazek, který má akcie CIFS, uživatelé by měli být upozorněni před přijetím agregátu (a tím i celé tradiční objemu) offline. Použijte přepínač-t pro toto. The cifsdelaytime argument určuje počet minut zpoždění před pořízením vložené celkové offline, za tu dobu CIFS uživatelé tradičního objemu byli upozorněni až ztrátě služeb. Doba 0 znamená mít celkový online ihned bez uvedení varování. CIFS uživatelé mohou ztratit data, pokud nejsou šanci na ukončení aplikace elegantně.

Je-li plexname je uvedeno, musí být plex být součástí celkové zrcadlové a oba objekty plex musí být online. Před offlining plex, systém flush všech vnitřně vyrovnávací paměti spojené s plex a vytvořit snímek, který je napsán na oba objekty plex. Snímek umožňuje efektivní resynchronizace, když je plex následně přivezl online.

Počet operací se provádí na celkové tradiční objem může zabránit aggr pm od uspění, na různě dlouhou dobu. Pokud takové operace se nacházejí, tam bude jeden druhého čekat na tyto práce dokončit. Pokud tak neučiní, je zrušen příkaz.

Kontrola je také pro soubory v úhrnu je spojena tradiční objem otevřené vnitřní ONTAP procesy. Příkaz se přeruší, pokud jsou nalezeny žádné.

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

Přináší celkové jmenoval aggrname (nebo plex jmenoval plexname) online. Tento příkaz se projeví okamžitě. Je-li uvedeno agregát je zakotven v tradičním svazku, se objem i také přinesl online.

Je-li aggrname je uvedeno, musí být nyní offline, omezení, nebo zahraniční. Pokud je agregát cizí, bude provedena nativní před přinesl online. "Cizí" úhrn agregát, který se skládá z disků přestěhovala z jiného Filer a že nikdy nebyl ve stavu online na aktuální filer. Agregáty, které nejsou cizí, jsou považovány za "domorodce".

Pokud je souhrnný, je v rozporu, ale neztratil data, bude uživatel vyzván, a varoval před tím, celkového online. -F příznak lze toto chování přepsat. Je vhodné spustit WAFL_check (nebo si SnapMirror inicializovat v případě celkové vložené v tradičním objemu) před podáním nekonzistentní celkové on-line. Uvedení v rozporu celkové on-line zvyšuje riziko dalšího poškození souborového systému. Pokud je souhrnný, je v rozporu, a zažil možné ztrátě dat, nelze do režimu online, pokud WAFL_check (nebo SnapMirror inicializovat v případě embedded) byl spuštěn na agregát.

Je-li plexname je uvedeno, musí být plex být součástí celkové on-line zrcadlí. Systém zahájí resynchronizace na plex v rámci on-line zpracování.

aggr možnosti aggrname [optname optval]

Zobrazí se možnosti, které byly stanoveny pro souhrnné aggrname, nebo nastaví možnost s názvem optname celkové jmenoval aggrname na hodnotu optval. Příkaz zůstává účinný po filtračním je restartován, takže není třeba přidávat aggr možnosti příkazů do souboru / etc / rc souboru. Některé možnosti hodnoty, které jsou čísla. Některé možnosti hodnoty, které mohou být na (který může také být vyjádřena jako ano, pravda, nebo 1) nebo vypne (což může být vyjádřena jako ne, nepravdivé, nebo 0). Směs velká a malá písmena mohou být použity při zadávání hodnoty opce. Stav aggr příkaz zobrazí možnosti, které jsou nastaveny na agregát.

Následující text popisuje možnosti a jejich možné hodnoty:

fs_size_fixed on | off

Tato možnost platí pouze pro agregáty, které jsou zakotveny v tradičních objemů. To způsobí, že souborový systém zůstaly stejné velikosti, a ne růst nebo zmenšovat, když je zlomený objem SnapMirrored vztah, nebo přidejte aggr se provádí na to. Tato volba je automaticky nastavena na hodnotu o tom, kdy se tradiční svazek stane objemu SnapMirrored. To zůstane po break SnapMirror je vydán příkaz k tradičním objemu. To umožňuje tradiční objem, který bude SnapMirrored zpět ke zdroji bez nutnosti přidat disk do zdrojového tradičním objemu. Pokud je tradiční velikost svazku, je větší než velikost souborového systému, bude Vypnutím této možnosti platnost souborového systému roste s velikostí tradičního objemu. Výchozí nastavení je Vypnuto.

ignore_inconsistent on | off

Tento příkaz lze použít pouze v režimu údržby. Pokud je tato volba nastavena, umožní celkový které se nachází kořenový svazek přinesl on-line na bootování, i když to není v rozporu. Uživatel je varoval, že zpřístupnění on-line před spuštěním WAFL_check wafliron nebo může mít za následek další nesrovnalost souborovém systému.

nosnap on | off

Pokud je tato volba zapnuta, je zakáže automatické snímky na agregát. Výchozí nastavení je Vypnuto.

raidsize číslo

Hodnota této možnosti je maximální velikost RAID skupiny, která může být vytvořena pouze jako celek. Změna hodnoty této možnosti nezpůsobí stávající RAID skupiny na růst nebo zmenšovat, ale pouze ovlivnit, zda se více disků, bude přidán do poslední existující RAID skupiny a jak velké nové RAID skupiny bude.

Platné hodnoty pro tuto možnost závisí na raidtype. Například, raid_dp umožňuje větší skupiny, než RAID raid4. Limity a výchozí hodnoty jsou různé pro různé typy Filer zařízení a různé typy disků. Následující tabulky definují hranice a výchozí hodnoty pro raidsize.

   -------------- Raid4 raidsize min výchozí max. -------------- R100 R150 2 8 8 2 6 6 FAS250 2 7 14 Ostatní (FCAL disky) 2 8 14 Ostatní (ATA disky) 2 7 7 -------------- -------------- raid_dp raidsize min výchozí max. ------ -------- R100 R150 3 12 12 3 12 16 další (FCAL disků) 3 16 28 další (ATA disky) 3 14 16 ---------- ---- 

Tyto hodnoty se mohou změnit v budoucích verzích ONTAP dat.

raidtype raid4 | raid_dp | RAID0

Nastaví typ RAID slouží k ochraně proti selhání disku. Použití raid4 poskytuje jeden paritní disk na skupinu RAID, zatímco raid_dp poskytuje dva. Změna tuto možnost okamžitě změní RAID typu RAID všech skupin v rámci seskupení. Při upgradu RAID skupiny od raid4 do raid_dp, každá skupina RAID začne rekonstrukce na náhradní disk přidělené pro druhý `dparity" paritní disk.

Změna této možnosti také změny raidsize na vhodnější hodnota pro nové raidtype. Při přechodu z raid4 do raid_dp, bude raidsize zvýšit na výchozí hodnotu pro raid_dp. Při oslabení z raid_dp do raid4, bude raidsize snížena na velikost největší existující skupiny RAID, pokud je mezi výchozí hodnoty a limit pro raid4. Pokud se největší RAID skupiny je vyšší než limit pro raid4, nové raidsize se, že limit. Pokud se největší skupiny RAID pod výchozí hodnotu pro raid4, nové raidsize se, že výchozí hodnota. Je-li raidsize již pod výchozí hodnotu pro raid4, bude snížena o 1.

resyncsnaptime číslo

Tato volba slouží k nastavení zrcadla resynchronizace snímek frekvenci (v minutách). Výchozí hodnota je 60 minut.

kořen

Pokud je tato volba nastavena na tradiční svazek, pak je efekt je stejný výrobek jako v vol manuálové stránky. V opačném případě, pokud je tato volba nastavena na celkové mohou obsahovat i flexibilní množství, je pak, že agregát označený jako ten, který bude také obsahuje kořen flexibilní svazku při příštím restartování počítače. Tato volba může být použita jen na jednom nebo tradiční celkový objem v daném okamžiku. Stávající root celkový objem nebo tradiční stane non-root jednotky po restartu.

Dokud je systém restartován, původní agregát a / nebo tradiční objem i nadále zobrazovat kořene jako jednu ze svých možností a nový kořen celkový objem nebo tradiční ukáže diskroot jako jedna z možností. Obecně platí, že agregát, který má možnost diskroot je ten, který bude obsahovat kořenový flexibilní objem po dalším restartu.

Jediný způsob, jak odstranit kořen stav celkové nebo tradiční objem nastavit root možnost na jiném celkový objem nebo tradiční.

snaplock_compliance

Tato volba pouze pro čtení znamená, že agregát Compliance SnapLock agregátu. Kamenivo může být označeny SnapLock Compliance agregáty v okamžiku vytvoření.

snaplock_enterprise

Tato volba pouze pro čtení znamená, že agregát Enterprise SnapLock agregátu. Kamenivo může být označeny SnapLock Enterprise agregáty v okamžiku vytvoření.

snapmirrored off

Je-li SnapMirror je povolena pro tradiční objem (SnapMirror není pro agregáty, které obsahují pružné svazků) filer automaticky nastaví na tuto možnost. Nastavte tuto možnost vypnout, pokud SnapMirror již být používán k aktualizaci tradiční objem zrcadlo. Po nastavení této možnosti off, do zrcadla se stává pravidelně zapisovat tradiční objem. Tato možnost může být nastaven na OFF, jen Filer lze změnit hodnotu této volby z OFF na ON.

snapshot_autodelete on | off

Tato volba slouží k nastavení, zda snímek se automaticky smažou v aggr. Pokud je nastaven do snímky pak mohou být odstraněny v aggr obnovit úložiště podle potřeby. Pokud je nastaveno na off pak snímky v aggr nejsou automaticky odstraněny obnovit skladování. Všimněte si, že snímky mohou být vymazány z jiných důvodů, jako je udržování snímek plán pro aggr nebo odstranění snímků, které jsou spojeny se specifickými činnosti, které již nepotřebujete snímek. Chcete-li povolit snímky mají být odstraněny včas počet snímků aggr je omezen, pokud je povolena snapshot_autodelete. Protože toto, pokud existuje příliš mnoho snímků v aggr pak některé snímky, musí být odstraněn před snapshot_autodelete volba může být povolena.

aggr přejmenovat aggrname newname

Přejmenuje souhrnné jmenoval aggrname na newname. Pokud je tato agregát je zakotven v tradičním objemu, pak se tento objem jméno se také změní.

aggr omezit aggrname
[-T cifsdelaytime]

Dejte celkové jmenoval aggrname v omezeném stavu, od online nebo offline stavu. Příkaz nabývá účinnosti, než se vrátí.

, Pokud úhrnná obsahuje flexibilní svazků, je provoz přerušen, pokud filtračním v režimu údržby.

Pokud je agregát je zakotven v tradičním svazek, který má akcie CIFS, uživatelé by měli být varováni před omezením celkové (a tím i celého tradičního objemu). Použijte přepínač-t pro toto. The cifsdelaytime argument určuje počet minut zpoždění před pořízením vložené celkové offline, za tu dobu CIFS uživatelé tradičního objemu byli upozorněni až ztrátě služeb. Doba 0 znamená mít celkový online ihned bez uvedení varování. CIFS uživatelé mohou ztratit data, pokud nejsou šanci na ukončení aplikace elegantně.

aggr křoviny pokračovat [aggrname | plexname | název_skupiny]

Životopisy parity drhnutí na jmenoval kameniva, plex, nebo skupiny. Není-li jméno je uvedeno, obnovit všechny RAID skupiny v současné době prochází čisticí parity, která byla pozastavena.

aggr křoviny start [aggrname | plexname | název_skupiny]

Začíná parity čištění na internetu s názvem agregátu. Parita drhnutí porovnává data na discích paritní disk (y) v RAID skupiny, oprava paritní disk je obsah podle potřeby. Není-li název je uveden, je parita drhnutí zahájen na všech on-line agregátů. Pokud se agregát jméno je uvedeno, je čištění začalo na všech RAID skupiny obsažené v souhrnu. Je-li plex název je uveden, je čištění začalo na všech RAID skupiny obsažené v plex.

aggr křoviny status [aggrname | plexname | GroupName] [-V]

Vytiskne stav parity drhnutí na jmenoval kameniva, plex, nebo skupiny, všechny RAID skupiny v současné době prochází parity drhnutí, pokud nemá název je dán. Stav obsahuje procenta, kompletní, a křoviny se pozastavuje status.

-V flag zobrazuje datum a čas, kdy poslední celý drhnout dokončil spolu s aktuálním stavu na jmenoval kameniva, plex, nebo skupiny, všechny RAID skupiny, pokud nemá název je dán.

aggr křoviny zastavit [aggrname | plexname | název_skupiny]

Zastávky parity drhnutí na jmenoval kameniva, plex, nebo skupina, není-li název je uveden na všech RAID skupiny v současné době prochází parity drhnutí.

aggr křoviny pozastavit [aggrname | plexname | název_skupiny]

Pozastaví parity drhnutí na jmenoval kameniva, plex, nebo skupina, není-li jméno je uvedeno na všech RAID skupiny v současné době prochází parity drhnutí.

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

Zobrazí využití místa v souhrnu. Na rozdíl od DF, tento příkaz zobrazí využití místa pro každého flexibilní objem v celkové aggrname Pokud je uvedeno, aggr show_space běží pouze na odpovídající agregát, jinak hlásí využití prostoru na všech agregátů.

Všechny velikosti jsou uvedeny v 1024-byte blocích, pokud nestanoví jinak jeden z-h,-k,-m,-g, nebo-t. -K,-m, g-a-t měřítku každou velikostní oblasti výstupu se vyjadřuje v kilobajtech, megabajtech, GB nebo TB, resp.

Následující terminologie se používá příkaz zpráv prostoru.

      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 split plexname aggrname
[ -r oldvol newvol ] [ -r ... ]
[ -s suffix ]

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 status [ 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.

 unknown Failure reason unknown. failed Data ONTAP failed disk due to a fatal disk error. admin failed User issued a 'disk fail' command for this disk. labeled broken Disk was failed under Data ONTAP 6.1.X or an earlier version. init failed Disk initialization sequence failed. admin removed User issued a 'disk remove' command for this disk. not responding Disk not responding to requests. pulled Disk was physically pulled, or no data path exists on which to access the disk. bypassed Disk was bypassed by ESH. 

aggr undestroy [ -n ] < aggrname >

Undestroy a partially intact or previously destroyed aggregate or traditional volume. The command prints a list of candidate aggregates and traditional volumes matching the given name, which can be potentially undestroyed.

The -n option prints the list of disks contained by the aggregate or by the traditional volume, which can be potentially undestroyed. This option can be used to display the result of command execution, without actually making any changes.

aggr verify resume [ aggrname ]

Resumes RAID mirror verification on the named aggregate; if no aggregate name is given, on all aggregates currently undergoing a RAID mirror verification that has been suspended.

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.

PŘÍKLADY

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

Displays the RAID information about aggregate aggr1 . 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 .


Obsah






















































Manual Pages , , , ,

cf

07.07.2009

Obsah

JMÉNO

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

POPIS

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.

VOLBY

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 .”

status
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

partner


Obsah



Manual Pages , , , ,

bootfs

07.07.2009

Obsah

JMÉNO

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.

VOLBY

-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 ".

pohon
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 ".

sektor
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.

PŘÍKLADY

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

ke stažení


Obsah

Manual Pages , , , ,

boot

07.07.2009

Obsah

JMÉNO

boot – directory of Data ONTAP executables

SYNOPSIS

/etc/boot

POPIS

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

ke stažení


Obsah

Copyright © 1994-2008 NetApp, as Právní informace

VN: F [1.9.11_1134]
Hodnotit tento příspěvek:
Hodnocení: 0.0 / 10 (0 hlasů)

Manual Pages , , , ,

bmc

07.07.2009

Obsah

JMÉNO

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

PŘEHLED

bmc help

bmc reboot

bmc setup

bmc status

bmc test autosupport

POPIS

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

VOLBY

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.

status
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.

PŘÍKLADY

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.


Obsah

Copyright © 1994-2008 NetApp, as Právní informace

VN: F [1.9.11_1134]
Hodnotit tento příspěvek:
Hodnocení: 0.0 / 10 (0 hlasů)

Manual Pages , , , ,

backuplog

07.07.2009

Obsah

JMÉNO

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

PŘEHLED

/etc/log/backup

POPIS

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:

Začátek
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.

Možnosti
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


Obsah

Manual Pages , , , ,

backup

07.07.2009

Obsah

JMÉNO

záloha - řídí zálohy

PŘEHLED

stavu zálohování [<ID>]

backup terminate <ID>

DESCRIPTION

Záložní příkazy poskytují zázemí na seznam a manipulovat zálohy na filer.

Zálohovací úloha běží na filer jako proces, který kopíruje systém souborů nebo podmnožina je na sekundární médium, obvykle pásky. Data lze obnovit z vedlejší médií v případě, že originál je ztracen. Existuje několik typů zálohování procesů, které běží na filers:

skládka
runs natively on the filer.

NDMP
řízen třetí strany klienta prostřednictvím protokolu NDMP.

RESTARTABLE A failed dump that can be restarted.

POUŽITÍ

stavu zálohování [<ID>]
displays all active instances of backup jobs on the filer. Pro každou zálohu, stav zálohování příkaz vypíše následující informace:

ID
Jedinečný identifikátor, který je přiřazen k zálohování a přetrvává po restartování až do dokončení zálohy úspěšně nebo se ukončí. Poté může být recyklovány ID pro další zálohy.

State
Stát může být buď aktivní nebo RESTARTABLE. ACTIVE state indicates that the process is currently running; RESTARTABLE means the process is suspended and can be resumed.

Typ
Buď výpis nebo NDMP.

Zařízení
Stávajícího zařízení. Je to prázdné pro RESTARTABLE skládky, protože neběží, a proto nemají stávajícího zařízení.

Datum zahájení čas a datum, kdy záloha prvním spuštění.

Level
The level of the backup.

Cesta
Zdůrazňuje, že je strom, který je zálohován.

Příkladem zálohování stavu výstupu příkazu:

  ID státní zařízení typu Počáteční datum úroveň Path - ---- - - ---- - ----- 0 aktivních NDMP urst0a 28.listopadu 0:22 0 / vol/vol0 / 1 RESTARTABLE výpis 29 listopadu 00: 22 1 / vol/vol1 / 

Pokud se konkrétní číslo je k dispozici, stav zálohování příkaz zobrazí podrobnější informace pro odpovídající zálohu.

backup terminate <ID>
RESTARTABLE skládky, i když ne aktivně běhu, udržuje snímek a jiné zdroje souborového systému. Chcete-li uvolnit prostředky, může uživatel explicitně ukončit RESTARTABLE skládky. Jakmile je ukončena, nelze ji znovu znovu.

SEE ALSO

dump


Obsah



Manual Pages , , , ,

autosupport

07.07.2009

Obsah

JMÉNO

autosupport – notification daemon

PŘEHLED

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.

POPIS

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.

OPTIONS

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

Software Version

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


Obsah






























































Manual Pages , , , ,

auditlog

07.07.2009

Obsah

JMÉNO

auditlog – contains an audit record of recent administrative activity

PŘEHLED

<logdir>/auditlog

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

POPIS

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

a

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.

SOUBORY

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

SEE ALSO

options , syslog.conf


Obsah

Manual Pages , , , ,



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

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

© 2009-2012 Chris Kranz Všechna práva vyhrazena
This site is not affiliated or sponsored in anyway by NetApp or any other company mentioned within.