Archiwum

Posty oznaczone 'man'

Strony NetApp Man

07 lipca 2009

NetApp have kindly given me permission to republish their man pages here. They still need a little tidying up, but the sheer quantity means it'll take me awhile to get them all sorted and cross-referenced properly, please excuse any visual issues for the moment. I wrote a quick parsing tool to get all the info on here, so there may be a few issues resulting from that still.

I've always liked the way that PHP have their function pages giving users the ability to comment directly onto them. This allows people to leave feedback on functions and tools, and also follow up with some extra uses or syntax for commands that aren't necessarily clearly published. Hopefully this can feed back into NetApp to improve their documentation.

I'd definitely like to encourage people to comment on the man pages with anything that may be useful, and hopefully build this into a useful little reference section. Many thanks again for the NetApp folk for helping me with this.

VN:F [1.9.11_1134]
Rate this post:
Ocena: 8.8 / 10 (19 głosów)

Ogólne i manualne Strony i i , ,

aggr

07 lipca 2009

Spis treści

NAZWA

aggr - polecenia do zarządzania agregaty, wyświetlając łączny stan i kruszywo kopiowaniem

SKŁADNIA

Komenda aggr ...

OPIS

Rodzina komenda aggr zarządza agregaty. Polecenia aggr może tworzyć nowe agregaty, zniszczyć istniejące, undestroy wcześniej zniszczony kruszywo, zarządzanie kompleksów w dwumeczu lustrzanego, zmienić łączny stan zastosować opcje łącznie, kopia jeden kruszywa do drugiego, i wyświetlać ich stan. Zagregowane polecenia często wpływa na objętość (y) zawartą w agregatów.

Rodzina komenda aggr nowego w Data ONTAP 7.0. Rodzina komenda tom pod kontrolę nad tradycyjnym vol_ u mes że stopioną pojedynczego użytkownika widoczną systemu plików i jedną RAID poziomu kanistrze (całkowity) w niepodzielną jednostką i nadal robi. W celu umożliwienia bardziej elastycznego korzystania z magazynowania, agregaty teraz wspiera także możliwość zawierać wiele, niezależnych na poziomie użytkownika systemów plików o nazwach elastyczne woluminów.

Data ONTAP 7,0 pełni obsługuje zarówno tradycyjne jak i elastyczny tomów. Rodzina komenda aggr jest preferowaną metodą zarządzania serwer plików w agregaty, w tym te, które są osadzone w tradycyjnych woluminów.

Zauważ, że większość poleceń aggr dotyczą w równej mierze zarówno od typu agregatu, który zawiera elastyczne ilości i rodzaju, która jest ściśle związana, tworząc tradycyjną głośność. Tak więc termin kruszywo jest często używane tutaj, aby odnosić się do obu klas pamięci. W tych przypadkach, zapewnia skrótem do dłuższych i bardziej nieporęczne fraza "kruszyw i wolumenów tradycyjnych".

Kruszywa mogą być albo dublowany lub unmirrored. Plex jest fizyczną kopię WAFL przechowywania w obrębie zestawienia. Łączna dublowany składa się z dwóch kompleksów, agregaty unmirrored zawierać pojedynczy typu plex. W celu stworzenia kruszywo dublowany, musisz mieć konfigurację serwer plików, który obsługuje RAID poziomu dublowanie. Kiedy dublowanie jest włączony na filtr antyspamowy, że zapasowe dyski są podzielone na dwie dysku basenów. Kiedy agregat jest tworzony, wszystkie dyski w jednym Plex musi pochodzić z tej samej puli dyskowej, a dwie kompleksów o kruszywa dublowany musi składać się z tarcz z odrębnych basenów, ponieważ maksymalizuje izolowania błędów. Polityka ta może być zmieniona z opcji-f do aggr utworzyć, aggr ADD i lustro aggr, ale nie jest zalecane.

Łączna nazwa może zawierać litery, cyfry i znak podkreślenia (_), ale pierwszy znak musi być literą lub podkreśleniem. Łącznie, do 200 Agregaty (w tym osadzony w tradycyjnych woluminów) mogą być tworzone na każdym filtr antyspamowy.

Plex może być w trybie online lub offline. Jeśli to nie jest zalogowany, nie jest ona dostępna do odczytu lub zapisu. Kompleksów mogą być w kombinacji następujących stanów:

normalne Wszystkie grupy RAID w Plex są funkcjonalne.

nie co najmniej jedna z grup RAID w Plex nie powiodło się.

pusty Plex jest częścią agregatu, który jest tworzony, a jeden lub więcej dysków skierowanych do kruszywa muszą być wyzerowane przed dodaniem do obiektu typu.

aktywny Plex jest dostępna do użytku.

nieaktywny
Plex nie jest dostępne do użytku.

ponowną synchrinizację
Obiektu typu na zawartość są obecnie nieaktualne i są w procesie zsynchronizowane jest z treścią innego obiektu typu plex z kruszywa (dotyczy agregatów lustrzanych tylko).

dodanie dysku
Dyski są dodawane do obiektu typu w RAID grupy (S).

nieaktualny
Stan ten występuje tylko w agregatach lustrzanych, gdzie jeden z kompleksów nie powiodło się. Non-failed Plex będzie w tym stanie, jeśli to konieczne, aby być zsynchronizowane w czasie drugiej Plex przerwany.

Plex nazywa się używając nazwy kruszywa, ogranicznik znak ukośnika i nazwę obiektu typu. System automatycznie wybiera imiona Plex w czasie jego tworzenia. Na przykład, pierwszy Plex wygenerowana w łącznej aggr0 byłoby aggr0/plex0.

Agregat może być online, ograniczonej, jak i offline. Kiedy agregat nie jest zalogowany, nie czytać i pisać dostęp jest dozwolony. Kiedy agregat jest ograniczona, pewne operacje są dozwolone (np. kruszywa kopii, powtórzeń parzystości lub rekonstrukcji RAID), ale dostęp do danych nie jest dozwolone. Kruszywa, które nie są częścią tradycyjnej wielkości może być ograniczone lub offlined jeśli nie zawierają one żadnych elastycznych woluminów.

Kruszywa mogą być w kombinacji następujących stanów:

aggr kruszywo jest współczesną kruszywo, jest w stanie zawierający zero lub więcej elastycznych woluminów.

kopiowanie
Agregat jest obecnie łączna docelowa aktywnej operacji kopiowania aggr.

zdegradowany
Kruszywo zawiera co najmniej jedną grupę zdegradowany RAID, który nie jest odbudowany.

obcy
Dyski że łączna zawiera przeniesiono do obecnego filer z innego filtr antyspamowy.

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.

If the -g option is followed by new , Data ONTAP creates one or more new RAID groups and adds the disks to them, even if the disks would fit into an existing RAID group. Any existing RAID groups that are not full remain partially filled. The name of the new RAID groups are selected automatically. It is not possible to specify the names for the new RAID groups.

Jeśli opcja-g jest po wszystkim, Data ONTAP dodaje określonych dysków do istniejących grup RAID pierwszych. Po wszystkich istniejących grup RAID są pełne, to tworzy jeden lub więcej nowych grup RAID i dodaje określonych dysków do nowych grup.

-N opcja może być używana do wyświetlania polecenie, które system wykonuje, bez konieczności dokonywania żadnych zmian. Jest to użyteczne do wyświetlania automatycznie wybrane dyski, na przykład.

Domyślnie filer wypełnia jedną grupę z dyskami RAID przed rozpoczęciem inną grupę RAID. Załóżmy, że agregat posiada obecnie jeden RAID grupę 12 dysków i jego grupie RAID 14. Jeśli dodać 5 dysków do tej sumy, to mają jedną RAID grupę z 14 dyskami a inna grupa RAID z 3 dyskami. Filer nie równomiernie rozprowadzać wśród grup dysków RAID.

Nie możesz dodać dyski do kruszywa lustrzanej jeśli jeden z kompleksów jest niedostępny.

Dyski w Plex nie wolno rozciągać baseny dysku. Takie zachowanie może być przesłonięta-f flagi stosowane razem z d-argumentem do listy dysków dodać. Flaga-f, w połączeniu z-d, może być również używany, aby wymusić dodanie dysków, które mają prędkość obrotową, że nie pasuje do większości dysków istniejących w danych zbiorczych.

aggr kopia abort [-h] operation_number | wszystkie

Kończy zbiorczych operacji kopiowania. Opera_ t parametr ion_number określa, które działania, aby zakończyć. Jeżeli podasz wszystkie, wszystkie zebrane aktywne operacje kopiowania zostają zakończone.

aggr kopia początek
[-S |-s Migawka] [-C]
źródło cel

Kopiuje wszystkie dane, w tym migawek i wielkości elastyczne, z jednego agregatu do drugiego. Jeśli flaga-S jest używana, polecenie kopiuje wszystkie zrzuty w źródle kruszywa do kruszywa docelowego. Aby określić konkretny migawki do kopiowania, należy użyć flagi-s po nim imię migawki. Jeśli używasz ani-S ani flagi-s w poleceniu, filer tworzy migawkę w momencie, gdy kopia aggr polecenie Uruchom jest wykonywane i kopiuje tylko że migawka do kruszywa docelowego.

Flaga-C jest wymagana, jeśli łączna źródło miał wolnego miejsca na defragmentację wykonywane na nim lub jeśli łączny cel będzie wolna przestrzeń defragmentacji. Free-przestrzeń defragmentacji mogą być wykonywane na agregatu za pomocą polecenia realokacji.

Zagregowane kopie mogą być wykonywane wyłącznie pomiędzy agregatów, które obsługują elastyczny tomów. Kruszywa, które są osadzone w tradycyjnych woluminów nie może brać udziału.

Źródłowy i docelowy agregaty mogą być na tym samym filtrze lub Filers różnych. Jeśli źródło lub łączna docelowy jest na filtr antyspamowy innego niż ten, na którym można wejść do kopiowania aggr polecenie startu, określić łączną nazwę w filer_name: wraz z nazwą aggre_ ate_name formatu g.

W filers zaangażowane w łącznej kopii musi spełniać następujące wymagania dla kopii polecenia start aggr zakończyć się sukcesem:

Łączna źródłowy musi być online i kruszywo docelowy musi być ograniczona.

Jeśli kopia jest pomiędzy dwoma Filers każdy filer musi być zdefiniowany jako zaufanego hosta innego filtr antyspamowy. Oznacza to, że filtrze nazwa musi być w / etc / hosts.equiv plik z drugiej filtr antyspamowy.

Jeśli kopia jest na tym samym filtrze localhost, muszą być zawarte w filtrze w / etc / hosts.equiv plików. Ponadto, adres zwrotny musi być w filtrze w pliku / etc / hosts. W przeciwnym razie, filer nie może wysyłać pakietów do samego siebie poprzez adres sprzężenia zwrotnego podczas próby skopiowania danych.

Powierzchnia użytkowa dysku kruszywa docelowym musi być większa lub równa powierzchni użytkowej dysku kruszywa źródłowego. Użyj DF-polecenia ścieżki dostępu, aby zobaczyć ilości dostępnej przestrzeni na dysku danego kruszywa.

Każda kopia aggr komenda startu generuje dwa zbiorcze operacje kopiowania: jeden do odczytu danych z kruszywa źródłowego i jeden do zapisywania danych do kruszywa docelowego. Każdy filer obsługuje do czterech jednoczesnych łącznych operacji kopiowania.

aggr kopia status [operation_number]

Wyświetla postęp jednego lub wszystkich operacji aggr kopiowania. Operacje są ponumerowane od 0 do 3.

Informacje o ponownym punktu kontrolnego dla wszystkich przekazów jest również wyświetlana.

aggr kopia przepustnicy [operation_number] wartość

Kontroluje wykonywanie operacji aggr kopiowania. Wartość waha się od 10 (full speed) do 1 (jedną dziesiątą z pełną prędkością). Domyślną wartością jest utrzymywany w filtrze na aggr.copy.throttle opcji i jest 10 (full speed) w fabryce. Można zastosować wartość wydajności do operacji określonego przez parametr operation_number. Jeśli nie podasz numeru pracy w kopii polecenia przepustnicy aggr polecenie odnosi się do wszystkich operacji aggr kopiowania.

Użyj tego polecenia, aby ograniczyć prędkość działania aggr kopiowania jeśli podejrzewasz, że operacja kopiowania aggr powoduje problemy z wydajnością na filtr antyspamowy. W szczególności, przepustnica ma pomóc ograniczyć użycie procesora operacji aggr kopiowania. To nie może być używany do precyzyjnego określania wzorców przepustowości sieci konsumpcji.

Kopia aggr komenda przepustnicy tylko pozwala ustawić prędkość operacji aggr kopiowaniem, które jest w toku. Aby ustawić domyślny aggr Prędkość kopiowania do wykorzystania przez przyszłych operacji kopiowania, użyj polecenia Opcje, aby ustawić aggr.copy.throttle opcję.

aggr create aggrname
[-F]
[-M]
[-N]
[-T raidtype]
[-R raidsize]
[-T typ dysku]
[-R rpm]
[-L [Zgodność | przedsiębiorstwo]]
[-V]
[-L języka code]
{Ndisks [@ size]

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

Tworzy nowy łącznej nazwie aggrname. Łączna nazwa może zawierać litery, cyfry i znak podkreślenia (_), ale pierwszy znak musi być literą lub podkreśleniem. Do 200 agregaty mogą być tworzone na każdym filtr antyspamowy. Ta liczba obejmuje te agregaty, które są osadzone w tradycyjnych woluminów.

Wbudowany agregat może być utworzony jako część tradycyjnego objętości, wykorzystując opcję-v. Nie może zawierać żadnych elastycznych woluminów.

Regularny kruszywo, stworzony bez opcji-v, może zawierać tylko elastyczne tomów. To nie może być włączone do tradycyjnej wielkości, i nie zawiera żadnych woluminów natychmiast po utworzeniu. Nowe elastyczne woluminy mogą być tworzone za pomocą polecenia create obj.

-T argumentem raidtype określa typ RAID grupę (y) być używany do tworzenia kruszywa. Możliwe typy grup RAID raid4 dla RAID-4, raid_dp dla RAID-DP (Double Parity), a RAID0 na prostej paski bez ochrony parzystości. Raidtype domyślna dla agregatów i wolumenów tradycyjnych na Filers jest raid_dp. Ustawianie raidtype nie jest dozwolone na V-Series systemów; domyślna RAID0 jest zawsze używany.

-R raidsize argument określa maksymalną liczbę dysków w każdej grupie RAID w dwumeczu. Maksymalne i domyślne wartości raidsize są zależne od platformy, na podstawie wydajności i niezawodności rozważań. Zobacz opcje aggr raidsize więcej szczegółów.

-T dysk typu argument określa typ dysków do wykorzystania przy tworzeniu nowego kruszywa. Jest to potrzebne tylko w systemach podłączonych do dysków różnych typów. Możliwe typy dysków są: ATA, FCAL, LUN, SAS, SATA, oraz SCSI. Mieszanie dyski różnych typów w jednym agregacie jest niedozwolone.-T nie może być używany razem z-d.

Typ dysku identyfikuje technologii dysku i rodzaj łączności. ATA identyfikuje ATA dysków z obu IDE lub interfejs Serial ATA w półkach połączonych FCAL (Fibre Channel rozstrzygane pętli). FCAL identyfikuje FC dysków w półce połączonych FC-AL r. LUN identyfikuje wirtualne dyski wywiezione z zewnętrznych systemów pamięci masowej. Typ podstawowy technologia dysk i RAID zależy od realizacji takich zewnętrznych macierzy dyskowych. SAS identyfikuje Serial Attached SCSI dyski w półkach pasujące. SATA dysków ATA identyfikuje szeregowych w półkach SAS. SCSI to skrót od Small Computer System Interface, i to jest zawarte dla wstecznej kompatybilności z wcześniejszych technologii dyskowych.

-R argumentem rpm określa typ dysków do używania na podstawie ich prędkości obrotowej w obrotach na minutę (rpm). Jest to potrzebne tylko w systemach o dyski z różnymi prędkościami obrotowymi. Typowe wartości prędkości obrotowej są 5400, 7200, 10000 i 15000.-R nie może być używany razem z-d.

ndisks jest liczba dysków w dwumeczu, w tym dysków parzystości. Dyski w tym nowo utworzonym kruszywa pochodzić z puli zapasowych dysków. Najmniejsze dyski w tej puli dołączyć łączna pierwsze, chyba że podasz znaku @ argumentu rozmiarze. Rozmiar to wielkość dysku w GB, a dyski, które są w granicach 10% określonej wielkości zostaną wybrane do użytku w dwumeczu.

Opcja-m może być użyty do określenia, że nowy agregat dublować (dwa kompleksów) z chwilą stworzenia. Jeśli podana jest ta opcja, wówczas wskazane dyski zostaną podzielone między dwóch kompleksów. Domyślnie, nowy agregat nie będzie dublowany.

-N opcja może być używana do wyświetlania polecenie, które system wykonuje, bez konieczności dokonywania żadnych zmian. Jest to użyteczne do wyświetlania automatycznie wybrane dyski, na przykład.

Jeśli używasz-d disk1 [disk2 ... ] Argument, filer tworzy sumę z określonych dysków zapasowych Dysk 1, w disk2, i tak dalej. Można podać rozdzieloną spacjami listę nazw dysków. Dwa oddzielne wykazy muszą być określone, czy nowy agregat jest dublowany. W przypadku, nowy agregat jest dublowany, wskazane dyski muszą wynikać w równej ilości dysków o każdej nowej Plex.

Dyski w Plex nie mogą obejmować części baseny. Takie zachowanie może być nadpisane przy opcji-f. Ta sama opcja może być również używany do wymuszenia za pomocą dysków, które nie mają pasujące do prędkości obrotowej. Opcja-f ma skutek tylko w przypadku korzystania z opcji-d określając dyski do użycia.

To create a SnapLock aggregate, specify the -L flag with the aggr create command. This flag is only supported if either SnapLock Compliance or SnapLock Enterprise is licensed. The type of the SnapLock aggregate created, either Compliance or Enterprise, is determined by the installed SnapLock license. If both SnapLock Compliance and SnapLock Enterprise are licensed, use -L compliance or -L enterprise to specify the desired aggregate type.

The -l language_code argument may be used only when creating a traditional volume using option -v . The filer creates the traditional volume with the language specified by the language code. The default is the language used by the filer's root volume. See the vol man page for a list of language codes.

aggr destroy { aggrname | plexname } [ -f ]

Destroys the aggregate named aggrname , or the plex named plexname . Note that if the specified aggregate is tied to a traditional volume, then the traditional volume itself is destroyed as well.

If an aggregate is specified, all plexes in the aggregate are destroyed. The named aggregate must also not contain any flexible volumes, regardless of their mount state (online, restricted, or offline). If a plex is specified, the plex is destroyed, leaving an unmirrored aggregate or traditional volume containing the remaining plex. Before destroying the aggregate, traditional volume or plex, the user is prompted to confirm the operation. The -f flag can be used to destroy an aggregate, traditional volume or plex without prompting the user.

The disks originally in the destroyed object become spare disks. Only offline aggregates, traditional volumes and plexes can be destroyed.

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

Prints the media scrubbing status of the named aggregate, plex, or group. If no name is given, then status is printed for all RAID groups currently running a media scrub. The status includes a percent-complete and whether it is suspended.

The -v flag displays the date and time at which the last full media scrub completed, the date and time at which the current instance of media scrubbing started, and the current status of the named aggregate, plex, or group. If no name is given, this more verbose status is printed for all RAID groups with active media scrubs.

aggr mirror aggrname
[ -f ]
[ -n ]
[ -v victim_aggrname ]
[ -d disk1 [ disk2 ... ] ]

Turns an unmirrored aggregate into a mirrored aggregate by adding a plex to it. The plex is either newly-formed from disks chosen from a spare pool, or, if the -v option is specified, is taken from another existing unmirrored aggregate. Aggregate aggrname must currently be unmirrored. Use aggr create to make a new, mirrored aggregate from scratch.

Disks may be specified explicitly using -d in the same way as with the aggr create and aggr add commands. The number of disks indicated must match the number present on the existing aggregate. The disks specified are not permitted to span disk pools. This behavior can be overridden with the -f option. The -f option, in combination with -d , can also be used to force using disks that have a rotational speed that does not match that of the majority of existing disks in the aggregate.

If disks are not specified explicitly, then disks are automatically selected to match those in the aggregate's existing plex.

Opcja-v może być używany do przyłączenia victim_aggrname powrotem do aggrname tworząc agregat dublowany. Rezultatem jest dublowany łączna nazwie aggrname co jest inaczej identyczne aggrname przed operacją. Victim_aggrname skutecznie zniszczony. Victim_aggrname musi być uprzednio odbicie z aggrname, a następnie oddzielić za pomocą polecenia podzielone aggr. Victim_aggrname musi być w trybie offline. W połączeniu z opcji-v,-f opcja może być używane do łączenia aggrname i vic_ t im_aggrname bez monitowania użytkownika.

-N opcja może być używana do wyświetlania polecenie, które system będzie wykonać bez konieczności dokonywania żadnych zmian. Jest to użyteczne do wyświetlania automatycznie wybrane dyski, na przykład.

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

Zajmuje łączną nazwie aggrname (lub Plex nazwie plexname) w trybie offline. Polecenie wchodzi w życie przed powrotem. Jeżeli łączna jest już w stanie ograniczonej, to jest już niedostępny dla dostępu do danych, a wiele z poniższym opisie nie ma zastosowania.

Jeżeli łączna zawiera żadnych elastycznych woluminów, następnie operacja zostaje przerwana, chyba że Filer jest w trybie konserwacji.

Z wyjątkiem w trybie konserwacji, łączna zawierająca aktualny główny wolumin nie może być podjęta w trybie offline. Agregat zawierający wolumin, który został oznaczony na roota (używając obj opcji vol_ n korzeń mię) również nie może być podjęta w trybie offline.

Jeżeli łączna jest osadzony w tradycyjnym objętości, CIFS akcji, użytkownicy powinni być ostrzegani przed podjęciem sumę (i stąd cały tradycyjny wolumen) w trybie offline. Użyj przełącznika-t to. Argument cifsdelaytime określa liczbę minut, aby opóźnić przed podjęciem wbudowanego w trybie offline łącznej, w czasie których CIFS użytkowników tradycyjnej wielkości są ostrzegani przed utratą czasu pracy. Czas 0 oznacza się łączną trybie offline natychmiast bez ostrzeżeń podanych. Użytkownicy CIFS może stracić dane, jeśli nie są one szansę wypowiedzieć aplikacje wdziękiem.

Jeśli plexname jest określony, Plex musi być częścią kruszywa lustrzanej i obie kompleksów musi być online. Przed offlining do typu plex, system wypłukać wewnętrznie buforowane dane związane z Plex i utworzyć migawkę, co jest napisane na obu kompleksów. Snapshot pozwala na efektywne resynchronizacji gdy Plex następnie powróci do trybu online.

Liczba operacji wykonywanych z kruszywem tradycyjnej wielkości może zapobiec aggr trybie offline z sukcesu, na różnych długościach czasu. Jeśli takie działania zostaną znalezione, będzie jedna sekunda oczekiwania na takich operacji do końca. Jeśli tego nie zrobią, to polecenie jest przerywane.

Wyboru jest również dla plików w danych zbiorczych, związane tomu tradycyjnego otwartego przez wewnętrzne procesy ONTAP. Komenda zostanie przerwana jeżeli znajdują.

aggr online {aggrname | plexname}
[-F]

Przynosi łączną nazwie aggrname (lub Plex nazwie plexname) online. Komenda ta zaczyna obowiązywać natychmiast. Jeśli określona suma jest osadzony w tradycyjnym objętości, objętość jest również do trybu online.

Jeśli aggrname jest określony, musi on być aktualnie niedostępny, ograniczony lub zagranicznych. Jeżeli łączna jest obcy, to zostanie wykonane przed przeniesieniem rodzimych online. "Obce" kruszywo jest agregat, który składa się z dysków przeniesione z innego filtr antyspamowy i że nigdy nie został wprowadzony w tryb online na obecnym filtr antyspamowy. Kruszywa, które nie są obce uważane są za "native".

Jeżeli łączna jest niespójne, ale nie stracił danych, użytkownik zostanie ostrzeżony oraz monit przed wniesieniem łączną online. Flaga-f można zmienić to zachowanie. Wskazane jest, aby uruchomić WAFL_check (lub zrobić initialize SnapMirror w przypadku kruszywa wbudowanego w tradycyjnym objętości) przed wniesieniem niespójne internet łączną. Wniesienie niespójne internet łączną zwiększa ryzyko dalszego uszkodzenia systemu plików. Jeżeli łączna jest niespójne i przeżywa utratę danych, nie może być wprowadzony w tryb online, chyba WAFL_check (lub initialize SnapMirror w osadzonym przypadku) został uruchomiony na kruszywa.

Jeśli plexname jest określony, Plex musi być częścią internetowego kruszywa lustrzanej. System zainicjuje resynchronizacji w Plex w ramach internetowego przetwarzania.

aggr opcje aggrname [nazwa_opcji optval]

Wyświetla opcje, które zostały ustawione dla łącznej aggrname lub ustawia opcję o nazwie nazwa_opcji zbiorczej aggrname nazwie do optval wartości. Polecenie pozostaje skuteczny po filer zostanie ponownie uruchomiony, więc nie ma potrzeby dodawania aggr opcje poleceń w pliku / etc / rc. Niektóre opcje mają wartości, które są liczbami. Niektóre opcje mają wartości, które mogą być na (który może również być wyrażona jako tak, prawda, lub 1) lub wyłączyć (który może również być wyrażona jako nie, fałszywe, lub 0). Mieszanka wielkie i małe litery mogą być używane podczas wpisywania wartości opcji. Komenda stan aggr wyświetla opcje, które są za kruszywem.

Poniżej opisano poszczególne opcje i ich możliwe wartości:

fs_size_fixed on | off

This option only applies to aggregates that are embedded in traditional volumes. It causes the file system to remain the same size and not grow or shrink when a SnapMirrored volume relationship is broken, or an aggr add is performed on it. This option is automatically set to be on when a traditional volume becomes a SnapMirrored volume. It will remain on after the snapmirror break command is issued for the traditional volume. This allows a traditional volume to be SnapMirrored back to the source without needing to add disks to the source traditional volume. If the traditional volume size is larger than the file system size, turning off this option will force the file system to grow to the size of the traditional volume. The default setting is off .

ignore_inconsistent on | off

This command can only be used in maintenance mode. If this option is set, it allows the aggregate containing the root volume to be brought online on booting, even though it is inconsistent. The user is cautioned that bringing it online prior to running WAFL_check or wafliron may result in further file system inconsistency.

nosnap on | off

If this option is on , it disables automatic snapshots on the aggregate. The default setting is off .

raidsize number

The value of this option is the maximum size of a RAID group that can be created in the aggregate. Changing the value of this option will not cause existing RAID groups to grow or shrink; it will only affect whether more disks will be added to the last existing RAID group and how large new RAID groups will be.

Legal values for this option depend on raidtype . For example, raid_dp allows larger RAID groups than raid4 . Limits and default values are also different for different types of filer appliances and different types of disks. Following tables define limits and default values for raidsize .

 —————————————— raid4 raidsize min default max —————————————— R100 2 8 8 R150 2 6 6 FAS250 2 7 14 other (FCAL disks) 2 8 14 other (ATA disks) 2 7 7 —————————————— —————————————— raid_dp raidsize min default max —————————————— R100 3 12 12 R150 3 12 16 other (FCAL disks) 3 16 28 other (ATA disks) 3 14 16 —————————————— 

Those values may change in future releases of Data ONTAP.

raidtype raid4 | raid_dp | raid0

Sets the type of RAID used to protect against disk failures. Use of raid4 provides one parity disk per RAID group, while raid_dp provides two. Changing this option immediately changes the RAID type of all RAID groups within the aggregate. When upgrading RAID groups from raid4 to raid_dp , each RAID group begins a reconstruction onto a spare disk allocated for the second `dparity' parity disk.

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

This read only option indicates that the aggregate is a SnapLock Compliance aggregate. Aggregates can only be designated SnapLock Compliance aggregates at creation time.

snaplock_enterprise

This read only option indicates that the aggregate is a SnapLock Enterprise aggregate. Aggregates can only be designated SnapLock Enterprise aggregates at creation time.

snapmirrored off

If SnapMirror is enabled for a traditional volume (SnapMirror is not supported for aggregates that contain flexible volumes), the filer automatically sets this option to on . Set this option to off if SnapMirror is no longer to be used to update the traditional volume mirror. After setting this option to off , the mirror becomes a regular writable traditional volume. This option can only be set to off ; only the filer can change the value of this option from off to on .

snapshot_autodelete on | 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

Zmienia nazwę łączna nazwie aggrname do newname. Jeśli ta suma jest osadzony w tradycyjnej wielkości, to nazwa woluminu jest również zmienione.

aggr ograniczać aggrname
[-T cifsdelaytime]

Umieść łączną nazwie aggrname w ograniczonym państwa, począwszy od obu stan online lub offline. Polecenie wchodzi w życie przed powrotem.

Jeżeli łączna zawiera żadnych elastycznych woluminów, operacja zostaje przerwana, chyba że Filer jest w trybie konserwacji.

Jeżeli łączna jest osadzony w tradycyjnym objętości, CIFS akcji, użytkownicy powinni być ostrzegani przed ograniczeniem kruszywa (a tym samym cały tradycyjny objętość). Użyj przełącznika-t to. Argument cifsdelaytime określa liczbę minut, aby opóźnić przed podjęciem wbudowanego w trybie offline łącznej, w czasie których CIFS użytkowników tradycyjnej wielkości są ostrzegani przed utratą czasu pracy. Czas 0 oznacza się łączną trybie offline natychmiast bez ostrzeżeń podanych. Użytkownicy CIFS może stracić dane, jeśli nie są one szansę wypowiedzieć aplikacje wdziękiem.

aggr peeling CV [aggrname | plexname | nazwa_grupy]

Wznawia szorowania parzystości na nazwie agregatu plex lub grupy. Jeśli nazwa nie zostanie podana, wznowienie wszystkich grup RAID obecnie w fazie płukania parzystości, które zostały zawieszone.

początek peeling aggr [aggrname | plexname | nazwa_grupy]

Rozpoczyna szorowania parzystości na nazwie kruszywa online. Szorowania parytet porównuje dyski danych na dysku parzystości (y) w swojej grupie RAID, korygując dyskiem parzystości jego zawartość w miarę potrzeby. Jeśli nazwa nie zostanie podana, szorowania parytet został uruchomiony na wszystkich internetowych kruszyw. Jeżeli łączna nazwa jest podana, szorowania jest uruchamiany na wszystkich grup RAID zawartych w dwumeczu. Jeśli nazwa Plex jest podana, szorowania jest uruchamiany na wszystkich grup RAID zawartych w Plex.

Stan peeling aggr [aggrname | plexname | nazwa_grupy] [-v]

Wypisuje stan szorowania parzystości na nazwie kruszywa, plex lub grupy; wszystkie grupy RAID obecnie w trakcie przemywania parzystości Jeśli nazwisko nie jest podane. Stanu zawiera procent-zupełny, a zarośla w zawieszeniu statusu.

Flagę-v wyświetla datę i czas, w którym ostatni pełny peeling wypełniony wraz z aktualnym statusem w nazwie kruszywa, plex lub grupy; wszystkie grupy RAID Jeśli nazwisko nie jest podane.

Przystanek peeling aggr [aggrname | plexname | nazwa_grupy]

Stops parity scrubbing on the named aggregate, plex, or group; if no name is given, on all RAID groups currently undergoing a parity scrubbing.

aggr scrub suspend [ aggrname | plexname | groupname ]

Suspends parity scrubbing on the named aggregate, plex, or group; if no name is given, on all RAID groups currently undergoing parity scrubbing.

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

Displays the space usage in an aggregate. Unlike df, this command shows the space usage for each flexible volume within an aggregate If aggrname is specified, aggr show_space only runs on the corresponding aggregate, otherwise it reports space usage on all the aggregates.

All sizes are reported in 1024-byte blocks, unless otherwise requested by one of the -h , -k , -m , -g , or -t options. The -k, -m, -g, and -t options scale each size-related field of the output to be expressed in kilobytes, megabytes, gigabytes, or terabytes respectively.

The following terminology is used by the command in reporting space.

 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 ]

Usuwa plexname z kruszywa lustrzanej i tworzy nowy unmirrored łącznej nazwie aggrname zawierający typu plex. Oryginalny agregat dublowany staje unmirrored. Plex być dzielone z oryginalnego kruszywa muszą być funkcjonalne (nie częściowy), ale może być nieaktywne, ponowną synchrinizację lub outof aktualne. Podział Aggr dlatego może być używany do uzyskania dostępu do Plex, że nie jest aktualne w odniesieniu do jej Plex partnera, jeśli jego Plex partnerem jest aktualnie nie powiodło się.

Jeżeli łączna w którym plexname mieszka jest osadzona w tradycyjnej wielkości, split aggr zachowuje się identycznie obj podział. Nowy agregat jest osadzony w nowym woluminie tradycyjnego o tej samej nazwie.

Jeżeli łączna w którym plexname mieszka zawiera dokładnie jedną elastyczną objętość, split aggr będzie domyślnie nazwy elastyczny obraz głośności w Plex split-off być taka sama jak nowego kruszywa.

Jeżeli łączna w którym plexname mieszka zawiera więcej niż jedną elastyczną objętość, konieczne jest, aby określić jak nazwać woluminów w nowym kruszywa w wyniku podziału. -R opcja może być używana wielokrotnie, aby każdy elastyczną objętość w dwumeczu wynikające nazwa nowego. Dodatkowo, opcja-s może być użyty do określenia przyrostek, który jest dodawany na końcu wszystkich elastycznych nazw woluminów nieobjętych-r.

Jeśli oryginalny agregat jest ograniczony w czasie podziału, łączna wyniku zostanie również ograniczona. Jeśli ograniczony kruszywo jest gospodarzem elastyczne tomów, one nie są zmieniane w czasie podziału. Elastyczne tomy zostaną przemianowane później, kiedy konflikt nazwa zostanie wykryty podczas wniesienie łączną online. Elastyczne tomy w dwumeczu, który przyniósł online first zachować ich nazwisk. Że agregat może być oryginalny agregat lub agregat wynikających z podziału. Kiedy inne kruszywo do trybu online później, elastyczne tomy w tym dwumeczu zostanie zmieniona.

Jeśli Plex z agregatu osadzonych w tradycyjnym objętości jest zalogowany w momencie podziału, łączna wynikająca będzie nieaktywny. Kiedy podział Plex z agregatu, który obsługuje elastyczne tomów, jeśli Plex jest nieaktywny, ale łączny jest online, uzyskany łączny przyjdzie online, a jego elastyczne tomy zostanie zmieniona. Nie wolno podzielić typu plex z kruszywa w trybie offline.

Lustro Podział może być połączone z powrotem ze sobą za pomocą opcji-v do aggr lustro.

Stan aggr [aggrname]
[-R |-v |-d |-c |-b |-s |-f |-i]

Wyświetla stan jednego lub wszystkich kruszyw na filtr antyspamowy. Jeśli aggrname jest używana, stan określonego agregatu jest drukowany, w przeciwnym razie stan wszystkich agregatów w filtrze są drukowane. Domyślnie, drukuje jedno-line streszczenie agregatu, który obejmuje łączną nazwę, czy zawiera on jeden tradycyjny wolumin lub pewną liczbę elastycznych tomów, jeżeli jest online lub offline, inne państwa (np. częściowe, degradacji, WAFL niespójne, i tak dalej) i peraggregate opcji. Per-łączne opcje są wyświetlane tylko wtedy, gdy opcje zostały zmienione od wartości domyślnych systemowych za pomocą aggr polecenia Opcje lub za pomocą polecenia Opcje obj jeżeli łączna jest osadzony w tradycyjnym objętości. Jeśli WAFL niezgodny stan jest wyświetlany, skontaktuj się z Działem Obsługi Klienta.

Flagę-v pokazuje on / off stan wszystkich peraggregate opcje i pokazuje informacje o każdej grupy objętość, plex i RAID zawartych w dwumeczu.

-R flaga wyświetla listę informacji RAID dla tego kruszywa. Jeśli nie aggrname jest określony, to wypisuje informacje o wszystkich RAID kruszyw, informacje o dyskach w systemie plików, dysków zapasowych oraz dyski nieudanych. Więcej informacji na temat nieudanych dysków, zobacz-f Przełącznik Opis poniżej.

Flaga-d wyświetla informacje o dyskach w określonym kruszywa. Rodzaje informacji na dysku są takie same jak te z sysconfig-d komendy.

-C flaga wyświetla aktualizacji statusu bloku integralność sum kontrolnych danych funkcji ochronnej.

-B jest używana do pobierania rozmiaru źródłowego i docelowego kruszyw przeznaczonych do użytku z kopią aggr. Wyjściowy zawiera przechowywanie w dwumeczu i ewentualnie mniejszych rozmiarów kruszywa. Łączna polecenie kopia używa tych numerów do określenia, czy źródłowy i docelowy rozmiar kruszywa są zgodne. Rozmiar kruszywa źródłowego musi być równa lub mniejsza od wielkości kruszywa docelowego.

-S wyświetla listę zapasowych dysków w filtr antyspamowy.

Flaga-f wyświetla listę nieudanych dysków w filtr antyspamowy. Wyjście polecenie zawiera przyczynę awarii dysku, który może być jedną z następujących czynności:

-I flaga wyświetla listę elastycznych tomów zawartych w dwumeczu.

       unknown unknown przyczyna awarii. 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.

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 OS1

Wyświetla wykorzystanie miejsca łącznej pliku `OS1 'i łusek jednostkowych przestrzeni w zależności od wielkości.

  Powierzchnia całkowita kruszywa To OS1 To WAFL rezerwat Snap rezerwat Powierzchnia użytkowa BSR NVLOG 66GB 6797MB 611MB 59GB 65KB Przestrzeń przeznaczona na tomów w łącznej objętości Przydzielone gwarantowały vol1 14GB 11GB objętość Vol2 8861MB 8871MB plik vol3 6161MB 6169MB żaden vol4 26GB 25GB objętość vol1_clone 1028MB 1028MB ( offline) Aggregate Przydzielone Używany Dostępność Powierzchnia całkowita 55GB 51GB 3494MB Snap rezerwat 611MB 21MB 590MB WAFL rezerwat 6797MB 5480KB 6792MB 

Stan aggr 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 

ZOBACZ TAKŻE

tom , Partner , SnapMirror , Sysconfig .


Spis treści






















































Strony Manuala , , , ,

por.

07 lipca 2009

Spis treści

NAZWA

CF - kontroluje przejęcia i operacji giveback z Filers w klastrze

SKŁADNIA

por. [wyłącz | enable | forcegiveback | forcetakeover [-df] | giveback [-f] | hw_assist [status | Test statystyki [jasne]] | monitor | partnerem | status [-t przejęcie] [-f] | [-n] ]

por. nfo [enable | disable] disk_shelf

por. nfo stan

OPIS

Komenda por. kontroluje monitor pracy awaryjnej klastra, które decydować kiedy przejęcia i giveback operacje odbywają się w ramach klastra.

Komenda CF jest dostępna tylko wtedy, gdy filer posiada licencję klastra.

OPCJE

wyłączyć
Wyłącza możliwość przejęcia obu Filers w klastrze.

umożliwiać
Umożliwia możliwość przejęcia obu Filers w klastrze.

forcegiveback
forcegiveback jest niebezpieczne i może prowadzić do utraty danych, w prawie wszystkich przypadkach używać CF giveback-f zamiast.

Wymusza na żywo filer oddać zasobów nieudanej filtr antyspamowy, chociaż na żywo filer stwierdzi, że ten sposób może spowodować uszkodzenie danych lub powodować inne poważne problemy. Giveback odmówi giveback w tych warunkach. Użycie opcji forcegiveback wymusza giveback. Kiedy nie rozruchów serwer plików w wyniku przymusowego giveback, to wyświetla się następujący komunikat:

giveback partnerem niekompletny, niektóre dane mogą zostać utracone

forcetakeover [-f] forcetakeover jest niebezpieczne i może prowadzić do utraty danych, w prawie wszystkich przypadkach, należy przejęcie cf zamiast.

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
Wyświetla czas, stan lokalnej filtr antyspamowy a czas spędzony w tym stanie, nazwa hosta partnera i stanu monitora pracy awaryjnej klastra (czy włączony lub wyłączony). Jeśli partner nie został przejęty obecnie status partnera i tym z interconnect są wyświetlane i każdy trwa giveback lub zaplanowane operacje przejęcia są zgłaszane.

partner
Wyświetla nazwę hosta partnera. Jeśli nazwa jest nieznana, komenda por. wyświetla "partnera".

status
Wyświetla bieżący stan miejscowego filtr antyspamowy i klastra. Jeśli używasz opcji-t, wyświetla stan węzła jako master czasu lub slave.

Przejęcie [-f] | [-n]
Inicjuje przejęcie partnera. Jeśli używasz opcji-f, polecenie por. pozwala na takie przejęcie postępować, nawet jeśli będzie przerwać coredump drugiej filtr antyspamowy.

Jeśli używasz opcji-n, polecenie por. umożliwia przejęcie postępować, nawet jeśli węzeł partnerem został uruchomiony niezgodną wersję ONTAP danych. Węzeł partner musi być dokładnie zatrzymane w porządku do tej opcji, aby osiągnąć sukces. Jest używany jako część procesu aktualizacji bez przerywania pracy.

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


Table of Contents



Manual Pages , , , ,

bootfs

07 lipca 2009

Spis treści

NAZWA

bootfs - plik boot system dowodzenia akcesor (ADVANCED)

SKŁADNIA

bootfs chkdsk dysk

rdzeń bootfs [-v] dysk

bootfs dir [-r] ścieżka

Zrzut bootfs {twardy | dysku} {sektor | gromada}

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

format dysk bootfs [etykieta]

Dysk informacji bootfs

bootfs sync [-f] {twardy | dysku}

Test bootfs [-v] dysk

OPIS

Komenda bootfs umożliwia przeglądanie treści i manipulacji format dyskietki.

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.

OPTIONS

-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 reż 0a.0: 1 :/ x86/kernel /

  Etykieta woluminu w stacji 0a.0: 1: jest seryjny woluminu KERNEL Liczba jest 716C-E9F8 Katalog 0a.0: 1 :/ x86/kernel /.  DIR 02-07-2003 02:37 na 2 ..  DIR 02-07-2003 2:37 a 3 PRIMARY.KRN 9318400 04-07-2003 6:53 s. 4 2187264 bajtów wolnych 

Zrzut podpolecenie wymienia zarówno sektor na dysku lub klastra na dysku, w zależności od argumentów wiersza poleceń dostarczonych. Sektor lub grupa znajduje się na liście w formie zarówno szesnastkowej i ASCII.

bootfs zrzucić 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

pobierz


Table of Contents

Manual Pages , , , ,

boot

July 7th, 2009

Spis treści

NAME

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

pobierz


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

July 7th, 2009

Spis treści

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.

OPTIONS

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.

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

July 7th, 2009

Spis treści

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.

Opcje
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 , , , ,

tworzenie kopii zapasowych

July 7th, 2009

Spis treści

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.

ZASTOSOWANIE

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.

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

Typ
Either dump or NDMP.

Urządzenie
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.

Level
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

Zrzuć


Table of Contents



Manual Pages , , , ,

autosupport

July 7th, 2009

Spis treści

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.

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


Table of Contents






























































Manual Pages , , , ,

auditlog

July 7th, 2009

Spis treści

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