Archiwum

Posty oznaczone 'podręcznik'

Strony NetApp Man

NetApp uprzejmie dał mi pozwolenie na opublikowanie ich strony man tutaj. Wciąż potrzebujemy trochę sprzątania, ale ogromna ilość środków zajmie mi trochę czasu, aby je wszystkie posortowane i odsyłaczami prawidłowo, proszę wybaczyć wszelkie wizualne kwestie w tym momencie. Napisałem szybkie narzędzie analizy w celu uzyskania wszystkich informacji na temat tutaj, więc może być kilka problemów wynikających z tego nadal.

Zawsze lubiłem sposób, że PHP ma swoje strony funkcji daje użytkownikom możliwość zgłoszenia uwag bezpośrednio na nich. Pozwala to na opuszczenie opinie na temat funkcji i narzędzi, a także śledzić z kilku dodatkowych zastosowań i składni poleceń, które nie zawsze są jasno publikowane. Mam nadzieję, że może to zostać wzięte pod uwagę NetApp w celu poprawy ich dokumentacji.

Zdecydowanie chciałabym wyjechać, aby zachęcić ludzi do komentowania strony człowieka z niczego, co może być przydatne, i miejmy nadzieję zbudowania tego na przydatne sekcji niewielkim stopniu. Wielkie dzięki jeszcze raz za folk NetApp za pomoc z tym.

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

aggr

July 7th, 2009 Chris Kranz No comments

Spis treści

NAZWA

aggr – commands for managing aggregates, displaying aggregate status, and copying aggregates

SKŁADNIA

aggr command argument …

OPIS

The aggr command family manages aggregates . The aggr commands can create new aggregates, destroy existing ones, undestroy previously destroyed aggregate, manage plexes within a mirrored aggregate, change aggregate status, apply options to an aggregate, copy one aggregate to another, and display their status. Aggregate commands often affect the volume(s) contained within aggregates.

The aggr command family is new in Data ONTAP 7.0. The vol command family provided control over the traditional vol_ u mes that fused a single user-visible file system and a single RAID-level storage container (aggregate) into an indivisible unit, and still does. To allow for more flexible use of storage, aggregates now also support the ability to contain multiple, independent user-level file systems named flexible volumes .

Data ONTAP 7.0 fully supports both traditional and flexible volumes. The aggr command family is the preferred method for managing a filer's aggregates, including those that are embedded in traditional volumes.

Note that most of the aggr commands apply equally to both the type of aggregate that contains flexible volumes and the type that is tightly bound to form a traditional volume. Thus, the term aggregate is often used here to refer to both storage classes. In those cases, it provides a shorthand for the longer and more unwieldy phrase "aggregates and traditional volumes”.

Aggregates may either be mirrored or unmirrored. A plex is a physical copy of the WAFL storage within the aggregate. A mirrored aggregate consists of two plexes; unmirrored aggregates contain a single 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).

nieaktualny
Stan ten występuje tylko w agregaty odzwierciedlenie w którym jeden z kompleksów nie powiodło się. Nie nie plex będzie w takim stanie musiał być zsynchronizowane w czasie drugiej plex nie powiodło się.

Plex nazywa się używając nazwy kruszywa, separator znak ukośnika i nazwy złożone. System automatycznie wybiera nazw złożonych w czasie tworzenia. Na przykład, plex stworzył łącznie aggr0 będzie aggr0/plex0.

Agregat może być online, ograniczony, jak i offline. Jeśli łączne jest nieaktywny, nie czytać i pisać dostęp jest dozwolony. Jeśli łączne jest ograniczona, niektóre operacje są dozwolone (np. kruszywa kopiowanie, powtórzeń parzystości lub odbudowy 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ą żadnych elastycznych woluminów.

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

aggr kruszywa współczesnego łącznie; jest w stanie zawierający zero lub więcej elastycznych woluminów.

kopiowanie
Agregat jest obecnie łącznej docelowej aktywnych operacji kopiowania aggr.

zdegradowany
Łączna zawiera co najmniej jeden zdegradowanych grupy RAID, który nie jest odbudowany.

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

rośnie
Dyski są w procesie dodaniu do kruszywa.

inicjowanie
Agregat jest w procesie inicjowana jest.

nieważny
Łączna nie zawiera wielkości i nie mogą być dodawane. Zazwyczaj tak się dzieje tylko po przerwana pracy agregatu kopii.

prasowania
WAFL sprawdzenia zgodności jest wykonywana na tej sumy.

lustro zdegradowanych
Kruszywa kruszywa dublowany, a jednym z jej kompleksów jest nieaktywny lub ponowną synchrinizację.

odbicie
Łączna są dublowane i wszystkie jego grupy RAID są funkcjonalne.

musi sprawdzić
WAFL sprawdzenia zgodności powinna być przeprowadzona na kruszywa.

częściowy
Co najmniej jeden dysk był dla kruszywa, ale dwa lub więcej dysków brakuje.

raid0 Łączna składa się z RAID-0 (bez parzystości) grupy RAID (V-Series i NetCache tylko).

raid4 Łączna składa się z RAID-4 grup RAID.

raid_dp
Łączna składa się z RAID-DP (Double Parity) grup RAID.

zrekonstruować
Przynajmniej jeden RAID grupy łącznie jest zrekonstruowany.

przekierowanie
Aggregate przesunięcie lub zmianę pliku z opcją-p został uruchomiony na kruszywa. Wydajność odczytu do wielkości w ogólnej może ulec pogorszeniu.

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 ... ] ] }

Dodaje dyski do łącznej nazwie aggrname. Określ dysków w taki sam sposób jak dla aggr komendy create. Jeżeli łączna jest dublowany, to-d argument musi być dwa razy (jeśli w ogóle).

Jeśli w opcji-g nie jest używany, dyski są dodawane do ostatnio utworzonego RAID grupy util jest pełna, a następnie jeden lub więcej nowych grup RAID są tworzone i pozostałe dyski są dodawane do nowych grup. Wszelkie inne istniejących grup RAID, które nie są pełne pozostać częściowo wypełnione.

Opcja-g pozwala na wskazanie grupy RAID (np. rg0), do których wskazane dyski powinny być dodane lub metodę, dzięki której dyski są dodawane do nowych lub istniejących grup RAID.

Jeśli w opcji-g jest używane do określania grupy RAID, że grupa RAID musi już istnieć. Dyski są dodane do tego util RAID grupy jest pełna. Wszelkie pozostałych dyskach są ignorowane.

Opcja-g jest po nowe, Data ONTAP tworzy jedną lub więcej nowych grup RAID i dodaje dyski do nich, nawet jeśli dyski będą pasowały do istniejącej grupy RAID. Wszelkie istniejących grup RAID, które nie są pełne pozostać częściowo wypełnione. Nazwa nowej grupy RAID są wybierane automatycznie. Nie jest możliwe podanie nazwy dla nowych grup RAID.

Opcja-g jest przestrzegane przez wszystkich, Data ONTAP dodaje określonych dysków do istniejących grup RAID pierwszy. Po wszystkich istniejących grup RAID są pełne, to tworzy jedną lub więcej nowych grup RAID i dodaje określonych dysków do nowych grup.

-N opcja może być używana do wyświetlenia polecenia, które system wykonuje, bez konieczności dokonywania żadnych zmian. Jest to przydatne do wyświetlania automatycznie wybranych dysków, na przykład.

Domyślnie filer wypełnia jedną z dysków RAID grupy przed rozpoczęciem innej grupy RAID. Załóżmy, że łączna obecnie ma jeden RAID grupy 12 dysków i jego grupie RAID wynosi 14 lat. Jeśli dodać 5 dysków do tej sumy, to jeden RAID grupy z 14 dysków i innej grupy RAID z 3 dysków. Filer nie równomiernie rozłożyć między grupami dysków RAID.

Nie można dodać dyski do łączna odbicie, jeśli jeden z kompleksów nie jest zalogowany.

Dyski w plex nie wolno rozpiętości puli dysków. Takie zachowanie może być przesłonięta-f, kiedy jest stosowany wraz z argumentem-d do listy dysków, aby dodać. Flaga-f, w połączeniu z-d, może być również użyty do dodawania dysków, które mają prędkość obrotowa, że nie pasuje do większości dysków istniejących w danych zbiorczych.

aggr przerywa kopiowanie [-h] operation_number | wszystkie

Kończy kruszywa operacji kopiowania. Opera_ parametru t ion_number określa, które działania, aby zakończyć. Jeżeli podasz wszystkie, wszystkie kruszywa aktywnych operacji kopiowania są zakończone.

aggr kopię początek
[-S |-s migawki] [-C]
źródło cel

Kopiuje wszystkie dane, w tym zdjęcia i wielkości elastyczne, z jedną zbiorczą na inny. Jeśli S-flagi, to skopiowanie wszystkich zdjęć łącznie źródło do łącznej docelowej. Aby określić konkretny migawki do kopiowania, używania flagi-s, a następnie nazwę migawki. Jeśli używasz ani-S ani-s w poleceniu, filer tworzy migawkę w momencie, gdy kopia aggr polecenia start jest wykonywany i kopie tylko migawki do łącznej docelowej.

-C jest wymagane, jeżeli łączna źródłem była wolnego miejsca defragmentacji na nim wykonane, lub jeżeli łączna docelowego zostanie wolnego miejsca defragmentacji. Free-space defragmentacji mogą być wykonywane w formie zbiorczej za pomocą polecenia przesunięcia.

Aggregate kopie mogą być wykonywane tylko między funkcjami, które obsługują elastyczny woluminó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 filer lub filers inaczej. Jeżeli pochodzenie lub kruszywa docelowy znajduje się serwer plików innych niż ten, na którego wchodzi kopii aggr polecenie startu, określić łączną nazwę w filer_name: aggre_ ate_name formacie g.

Filers udział w łącznej kopia musi spełniać następujące wymagania dla kopii polecenia start aggr zakończyć się sukcesem:

Łączna źródło musi być online, a łączna docelowa musi być ograniczona.

Jeśli kopia jest między dwoma filers, każdy filtr antyspamowy musi być zdefiniowany jako zaufanego hosta innych filtr antyspamowy. Oznacza to, że filtr antyspamowy nazwa musi być w / etc / hosts.equiv innych filtr antyspamowy.

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

Powierzchni użytkowej dysku łącznej docelowy musi być większa lub równa powierzchnia użytkowa dysku łącznej źródła. Użyj komendy df-ścieżki, aby zobaczyć ilość dostępnego miejsca na dysku danego kruszywa.

Każda kopia aggr polecenie uruchomienia generuje dwa kruszywa operacji kopiowania: jeden do odczytu danych z łącznej źródło i jeden do zapisywania danych do łącznej docelowej. Każdy filtr antyspamowy obsługuje do czterech jednoczesnych kruszywa operacji kopiowania.

aggr kopię status [operation_number]

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

Restart punktu kontrolnego informacje dla wszystkich przekazów jest również wyświetlana.

aggr kopię przepustnicy [operation_number] wartość

Kontrola wykonania operacji aggr kopii. Wartości z zakresu od 10 (full speed) do 1 (jedną dziesiątą pełnej prędkości). Domyślną wartością jest utrzymana w filer w aggr.copy.throttle opcji i jest 10 (full speed) w fabryce. Można zastosować wartość wydajności pracy określonego przez parametr operation_number. Jeśli nie podasz numer operacji na kopii polecenia przepustnicy aggr, polecenie stosuje się do wszystkich operacji aggr kopii.

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

Kopia aggr polecenia przepustnicy umożliwia ustawienie szybkości działania aggr kopię, która jest w toku. Aby ustawić domyślny aggr Prędkość kopiowania do użytku przez przyszłe operacje kopiowania, należy użyć polecenia Opcje, aby ustawić aggr.copy.throttle opcji.

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

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

Tworzy nowy agregat nazwie aggrname. Łączna Nazwa może zawierać litery, cyfry i znak podkreślenia (_), ale pierwszy znak musi być literą lub znakiem podkreślenia. Do 200 agregaty mogą być tworzone na każdy filtr antyspamowy. Liczba ta obejmuje tych agregatów, które są osadzone w tradycyjnych woluminów.

Wbudowane kruszywa mogą być tworzone w ramach tradycyjnych woluminów używając opcji-v. To nie może zawierać elastyczne woluminów.

Regularne kruszywa, tworzone bez opcji-v, może zawierać tylko elastyczne woluminów. To nie może być włączone do tradycyjnych objętości i nie zawiera żadnych woluminów natychmiast po utworzeniu. Nowe elastyczne ilości mogą być tworzone za pomocą polecenia tom tworzyć.

Argumentu-t raidtype określa typ RAID grupę (y) być wykorzystywane do tworzenia kruszywa. Możliwe rodzaje grupy RAID są raid4 dla RAID-4, raid_dp dla RAID-DP (Double Parity), a raid0 na proste rozkładanie bez ochrony parzystości. Raidtype domyślne dla agregatów i ilości tradycyjnych na filers jest raid_dp. Ustawianie raidtype nie jest dozwolone na V-Series systemów domyślny raid0 jest zawsze używany.

-R raidsize argument określa maksymalną liczbę dysków w każdej grupie RAID w danych zbiorczych. Maksymalna i domyślne wartości raidsize są zależne od platformy, na podstawie wyników i ustaleń niezawodności. Zobacz Opcje aggr raidsize więcej szczegółów.

-T dysk typu argument określa typ dysków podczas tworzenia nowego kruszywa. Jest on potrzebny tylko w systemach podłączonych do dysków różnych typów. Możliwe typy dysków są: ATA, FCAL, LUN, SAS, SATA, SCSI i. Mieszanie różnych typów dysków w jeden zbiorczy nie jest dozwolone.-T nie może być używany razem z-d.

Typ dysku identyfikuje technologii dysku i rodzaju połączeń. ATA identyfikuje ATA dysków IDE lub Serial ATA w półki połączone FCAL (Fibre Channel Arbitrated Loop). FCAL identyfikuje FC dyski półki połączone FC-AL. LUN identyfikuje wirtualne dyski wywiezione z zewnętrznej pamięci masowej. U podstaw technologii dyskowej oraz typu RAID zależy od realizacji takich zewnętrznych macierzy dyskowych. SAS identyfikuje Serial Attached SCSI dyski w półki pasujące. SATA identyfikuje seryjny dysków ATA na półkach SAS. SCSI oznacza Small Computer System Interface, i to jest zawarte dla wstecznej kompatybilności z wcześniejszymi technologiami dysku.

Argument rpm-R określa typ dysków do stosowania na podstawie ich prędkości obrotowej w obrotach na minutę (rpm). Jest on potrzebny tylko w systemach o dyski z różnych prędkościach obrotowych. 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 łącznie, w tym dysków parzystości. Dyski w tym nowo utworzonych kruszywa pochodzą z puli zapasowych dysków. Najmniejsze dyski z puli dołączyć łącznej pierwszy, chyba że podasz @ argumentem rozmiaru. Wielkości jest wielkość dysku w GB i dyski, które są w 10% o określonym rozmiarze zostanie wybrany do wykorzystania w danych zbiorczych.

Opcja-m mogą być wykorzystane, aby określić, że nowy agregat być dublowane (dwa kompleksów) na utworzenie. Jeśli podana jest ta opcja, to 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świetlenia polecenia, które system wykonuje, bez konieczności dokonywania żadnych zmian. Jest to przydatne do wyświetlania automatycznie wybranych dysków, na przykład.

Jeśli używasz-d disk1 [disk2 ... ] Argument, filer tworzy suma z określonych dysków zapasowych disk1, disk2, i tak dalej. Można określić spacjami listę nazw dysku. Dwa oddzielne listy należy określić, czy nowy agregat jest dublowany. W przypadku, że nowy agregat jest dublowany, wskazane dyski muszą prowadzić taką samą liczbę dysków w każdym nowym złożone.

Dyski w plex nie wolno rozpiętość części basenów. Takie zachowanie może być zmieniona za pomocą opcji-f. Ta sama opcja może być również użyty do dyskietek, które nie mają dopasowanie prędkości obrotowej. -F opcja działa tylko w przypadku korzystania z opcji-d określającą dyski do użycia.

Aby utworzyć łączną SnapLock określ-L flaga z aggr create. Flaga ta jest obsługiwana tylko jeśli albo Zgodność SnapLock lub SnapLock Enterprise jest licencjonowana. Rodzaj kruszywa stworzony SnapLock, albo zgodności lub Enterprise, jest określona przez zainstalowany licencji SnapLock. Jeśli oba Zgodność SnapLock i Enterprise SnapLock są licencjonowane, należy użyć-L-L zgodności lub przedsiębiorstwo, aby określić żądany rodzaj kruszywa.

Argument-l kod_języka mogą być używane tylko podczas tworzenia tradycyjnych woluminów używając opcji-v. Filer tworzy tradycyjne objętości języka określonego kodu języka. Domyślnie jest to język używany przez filtr antyspamowy jest główny wolumin. Zobacz vol man listę kodów.

aggr zniszczyć {aggrname | plexname} [-f]

Niszczy łącznej nazwie aggrname lub plex nazwie plexname. Zauważ, że jeśli określony kruszywa jest przywiązana do tradycyjnych głośności, a następnie tradycyjne woluminu jest niszczone, jak również.

Jeśli agregat jest określony, wszystkie kompleksów łącznie są zniszczone. O nazwie kruszywa nie może również zawierać elastyczne woluminów, niezależnie od ich stanu mount (online, ograniczone lub offline). Jeśli plex jest określony, plex jest zniszczony, pozostawiając unmirrored łącznie lub tradycyjnych tom zawierający plex pozostałych. Przed zniszczeniem agregatu, tradycyjne objętości lub złożone, użytkownik jest proszony o potwierdzenie operacji. Flaga-f może być używany do niszczenia kruszywa, tradycyjne objętości lub plex bez monitowania użytkownika.

Dyski pierwotnie w zniszczonym obiekcie się zapasowe dysków. Tylko zalogowany kruszyw, tradycyjnych woluminów i kompleksów mogą być zniszczone.

stan media_scrub aggr [aggrname | plexname | nazwa_grupy]
[-V]

Drukuje szorowania mediów stan nazwie kruszywa, złożone, lub grupy. Jeśli nazwisko nie jest podany, to stan jest drukowana dla wszystkich grup RAID uruchomione zarośla mediów. Status zawiera procent-kompletne i czy jest zawieszone.

Flaga-v wyświetla datę i czas, w którym ostatni pełny mediów zarośla zakończone, datę i czas, w którym bieżące wystąpienie mediów szorowania się zaczął, i aktualny stan nazwie kruszywa, złożone, lub grupy. Jeśli nazwisko nie jest podane, to bardziej stan verbose jest drukowana dla wszystkich grup RAID z aktywnym mediów zarośla.

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

Włącza łącznej unmirrored w łącznej dublowany przez dodanie plex do niego. Plex jest albo nowo utworzona z dysków wybrane z części basenu, lub, jeśli opcja-v jest określony, pochodzi z innego istniejącego agregatu unmirrored. Aggregate aggrname muszą obecnie być unmirrored. Użyj aggr stworzyć, aby nowy, odzwierciedla łączny od początku.

Dyski mogą być podana jawnie opcji-d w taki sam sposób jak z aggr tworzenia i poleceń aggr dodać. Liczbę dysków wskazany musi odpowiadać liczbie obecnych na istniejących kruszywa. Dyski określony nie mogą rozciągać się puli dysków. Takie zachowanie może być zmieniona za pomocą opcji-f. Opcja-f, w połączeniu z-d, może być również użyty do dyskietek, które mają prędkość obrotowa, że nie pasuje do większości dysków istniejących w danych zbiorczych.

Jeśli dyski nie są jawnie, to dyski są automatycznie dobrana do tych, łącznie istniejących złożone.

Opcja-v może być stosowane do łączenia victim_aggrname powrotem do aggrname do postaci kruszywa dublowany. Rezultatem jest dublowany kruszywa o nazwie aggrname która jest identyczna do aggrname przed operacją. Victim_aggrname skutecznie zniszczone. Victim_aggrname musi być uprzednio dublowany aggrname, następnie oddziela się za pomocą polecenia podzielone aggr. Victim_aggrname muszą być zalogowany. W połączeniu z opcją-v-f opcja może być stosowane do łączenia aggrname i vic_ t im_aggrname bez monitowania użytkownika.

-N opcja może być używana do wyświetlenia polecenia, że system zostanie wykonany bez konieczności dokonywania żadnych zmian. Jest to przydatne do wyświetlania automatycznie wybranych dysków, na przykład.

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

Staje łącznej nazwie aggrname (lub plex nazwie plexname) w trybie offline. Polecenie wchodzi w życie przed powrotem. Jeśli agregat jest już w stan zastrzeżony, to jest już niedostępny dla dostępu do danych, a wiele z poniższym opisie nie ma zastosowania.

Jeżeli łączna zawiera żadnych elastyczne tomów, to operacja zostaje przerwana, chyba że filtr antyspamowy jest w trybie konserwacji.

Z wyjątkiem w trybie konserwacji, łączna zawierające bieżący główny wolumin nie może być podjęta w trybie offline. Kruszywa zawierający wolumin, który został oznaczony się jako root (za pomocą opcji vol_ vol. n korzeń ame) nie może być podjęta w trybie offline.

Jeżeli łączna jest osadzony w tradycyjnych woluminu CIFS, użytkownicy powinni być ostrzeżeni przed podjęciem kruszywa (a tym samym cały tradycyjny objętości) w trybie offline. Użyj przełącznika-t do tego. Argument cifsdelaytime określa liczbę minut opóźnienia przed podjęciem wbudowanego zalogowany łącznie, w czasie których CIFS użytkowników tradycyjnych objętości ostrzega utraty czasu pracy. Czas 0 oznacza się łączną nieaktywny natychmiast, bez ostrzeżenia. Użytkowników CIFS może stracić dane, jeśli nie są one szansę, aby zakończyć aplikacje wdziękiem.

Jeśli plexname jest określony, plex musi być częścią kruszywa dublowane i oba obiekty muszą być dostępne online. Przed offlining plex, system wypłukać wewnętrznie buforowane dane związane z plex i utworzyć migawkę, która jest zapisana na oba obiekty. Snapshot pozwala na efektywne resynchronizacji gdy plex jest następnie powróci do trybu online.

Liczba operacji wykonywanych na agregacie tradycyjnych głośności może zapobiec aggr niedostępny z kolejnych, dla różnych długości czasu. Jeśli takie działania zostaną znalezione, nie będzie jednej sekundy czekać na takie działania, aby zakończyć. Jeśli nie, to polecenie zostanie przerwane.

Wyboru jest również dla plików łącznie z powiązaną objętości tradycyjne otwarte przez procesy wewnętrzne ONTAP. Polecenia jest przerywane jeśli występują.

aggr online {aggrname | plexname}
[-F]

Daje łączną nazwie aggrname (lub plex nazwie plexname) online. To polecenie zaczyna obowiązywać natychmiast. Jeśli określony kruszywa jest osadzony w tradycyjnych objętości, objętość jest również do trybu online.

If an aggrname is specified, it must be currently offline, restricted, or foreign. If the aggregate is foreign, it will be made native before being brought online. A “foreign” aggregate is an aggregate that consists of disks moved from another filer and that has never been brought online on the current filer. Aggregates that are not foreign are considered “native.”

If the aggregate is inconsistent, but has not lost data, the user will be cautioned and prompted before bringing the aggregate online. The -f flag can be used to override this behavior. It is advisable to run WAFL_check (or do a snapmirror initialize in case of an aggregate embedded in a traditional volume) prior to bringing an inconsistent aggregate online. Bringing an inconsistent aggregate online increases the risk of further file system corruption. If the aggregate is inconsistent and has experienced possible loss of data, it cannot be brought online unless WAFL_check (or snapmirror initialize in the embedded case) has been run on the aggregate.

If a plexname is specified, the plex must be part of an online mirrored aggregate. The system will initiate resynchronization of the plex as part of online processing.

aggr options aggrname [ optname optval ]

Wyświetla opcje, które zostały ustawione na kruszywo aggrname, lub ustawia opcji o nazwie optname łącznej aggrname wybrany do optval wartości. Komenda pozostaje w życie po ponownym uruchomieniu filer, więc nie ma potrzeby, aby dodać aggr opcje poleceń do pliku / etc / rc. Niektóre opcje wartości, które są liczbami. Niektóre opcje mają wartości, które mogą być włączone (może być również wyrażone jako tak, prawda, czy 1) lub wyłączenie (które mogą być również wyrażone jako nie, fałszywe lub 0). Mieszanina wielkie i małe litery mogą być używane podczas wpisywania wartości opcji. Polecenie sprawdzenia stanu aggr wyświetla opcje ustawione na kruszywa.

Poniżej opisano opcje i ich wartości:

fs_size_fixed on | off

Ta opcja dotyczy tylko agregaty, które są osadzone w tradycyjnych woluminów. To powoduje, że system plików na pozostanie tej samej wielkości, a nie powiększać lub zmniejszać, gdy stosunek objętości SnapMirrored jest uszkodzony, lub dodać aggr odbywa się na nim. Ta opcja jest automatycznie ustawiana, gdy działa tradycyjnych objętość staje się objętość SnapMirrored. Będzie ono po komendzie przerwy SnapMirror jest wydawana na tradycyjnych głośności. Pozwala to na tradycyjnych woluminu SnapMirrored z powrotem do źródła bez potrzeby dodać dyski do źródła tradycyjne głośności. Jeżeli tradycyjny rozmiar woluminu jest większy niż rozmiar pliku system, wyłączenie tej opcji spowoduje, że system plików wzrośnie do wielkości tradycyjnych głośności. Domyślnym ustawieniem jest wyłączone.

ignore_inconsistent on | off

Polecenie to może być używane tylko w trybie konserwacji. Jeśli ta opcja jest ustawiona, pozwala łącznej zawierającej główny wolumin do trybu online na rozruch, nawet jeśli jest on niezgodny. Użytkownik jest ostrzegany, że udostępnienia online przed uruchomieniem WAFL_check lub wafliron może doprowadzić do dalszych niespójności systemu plików.

nosnap on | off

Jeśli ta opcja jest włączona, to wyłączenie automatycznego zdjęć na kruszywa. Domyślnym ustawieniem jest wyłączone.

raidsize numer

Wartość tej opcji jest to maksymalna wielkość grupy RAID, które mogą być tworzone w danych zbiorczych. Zmiana wartości tej opcji nie spowoduje istniejących grup RAID, powiększać lub zmniejszać, będzie dotyczyć tylko tego, czy więcej dysków zostaną dodane do ostatniej istniejącej grupy RAID i jak duże nowe grupy RAID będzie.

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

Jeśli ta opcja jest ustawiona na tradycyjnej objętości, to efekt jest identyczny, jak określony w t. strony człowieka. W przeciwnym razie, jeśli ta opcja jest ustawiona na kruszywa w stanie zawierające elastyczne tomów, to agregat jest oznaczony jako ten, który zawiera również korzeń elastyczne objętość po ponownym uruchomieniu. Ta opcja może być użyta tylko na jedną zbiorczą lub tradycyjny wolumen w danym czasie. Istniejące kruszywa root lub tradycyjnych objętość stanie się nie-root podmiot po restarcie.

Do restartu systemu, oryginalny agregat i / lub tradycyjne objętości nadal będzie wykazywał korzeń jako jeden z jej opcji, a nowy agregat root lub tradycyjny wolumen pokaże diskroot jako opcja. Ogólnie rzecz biorąc, kruszywa, że ma możliwość diskroot to taka, która będzie zawierać pierwiastek elastyczne objętość po ponownym uruchomieniu systemu.

Jedynym sposobem, aby usunąć status głównego objętości łącznie lub tradycyjny jest ustawienie opcji root na inny wolumin łącznie lub tradycyjnych.

snaplock_compliance

To tylko do odczytu opcja oznacza, że ​​suma jest łączna Zgodność SnapLock. Kruszywa mogą być wyznaczone jedynie agregatów SnapLock Zgodność w czasie tworzenia.

snaplock_enterprise

To tylko do odczytu opcja oznacza, że ​​suma jest łączna Enterprise SnapLock. Kruszywa mogą być wyznaczone jedynie agregatów SnapLock Enterprise w czasie tworzenia.

snapmirrored off

Jeśli SnapMirror jest włączona dla tradycyjnych objętości (SnapMirror nie jest obsługiwany przez agregaty, które zawierają elastyczne tomy), filtr antyspamowy automatycznie ustawia tę opcję, aby na. Ustawienie tej opcji na off, jeśli SnapMirror nie jest już być używany do aktualizacji tradycyjne lustro głośności. Po ustawieniu tej opcji na off, lustro staje się regularne zapisu tradycyjnych głośności. Ta opcja może być wyłączona, tylko filer można zmienić wartość tej opcji z OFF na ON.

snapshot_autodelete on | off

Ta opcja jest używana do określenia, czy migawki są automatycznie usuwane w aggr. Jeśli włączona następnie zdjęć mogą zostać usunięte w aggr do odzyskania pamięci w razie potrzeby. Jeśli wyłączona to migawki w aggr nie są automatycznie usuwane w celu odzyskania pamięci. Pamiętaj, że zdjęć może być jeszcze usunięte z innych powodów, takich jak utrzymanie harmonogramu zrzut aggr lub usuwanie zdjęć, które są związane z konkretnych operacji, które nie są już potrzebne migawki. Aby umożliwić migawki do usunięcia w odpowiednim czasie liczba zdjęć aggr jest ograniczany, gdy snapshot_autodelete jest włączona. Z tego powodu, jeśli jest zbyt wiele zdjęć w aggr następnie kilka zdjęć musi być usunięte przed opcji snapshot_autodelete mogą być włączone.

aggr nazwy aggrname newname

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

aggr restrict aggrname
[ -t cifsdelaytime ]

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

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

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

aggr scrub resume [ aggrname | plexname | groupname ]

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

aggr scrub start [ aggrname | plexname | groupname ]

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

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

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

The -v flag displays the date and time at which the last full scrub completed along with the current status on the named aggregate, plex, or group; all RAID groups if no name is given.

aggr scrub stop [ aggrname | plexname | groupname ]

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 dublowane i tworzy nowy unmirrored kruszywa o nazwie aggrname zawierający złożone. Oryginalny kruszywa odzwierciedlenie staje unmirrored. Plex do podziału z oryginalnego kruszywa muszą być funkcjonalne (nie częściowe), ale może być nieaktywne, ponowną synchrinizację lub outof aktualne. Podzielone Aggr może być używane do uzyskiwania dostępu do złożonych, że nie jest aktualne w odniesieniu do jej plex partnera, jeśli jego plex partnerem jest obecnie nie powiodło się.

Jeżeli łączna, w którym plexname mieszka jest osadzony w tradycyjnych objętość, podzielić aggr zachowuje się identycznie tom podzielony. Nowy agregat jest wbudowany w nowy wolumin tradycyjne o tej samej nazwie.

Jeżeli łączna, w którym plexname mieszka zawiera dokładnie jedną elastyczną objętość, podzielić aggr będzie domyślnie nazwy elastyczne obrazu głośności w plex split-off jest taki sam jak nowy agregat.

Jeżeli łączna, w którym mieszka plexname zawiera więcej niż jeden elastyczny objętości, konieczne jest, aby określić, jak nazwa wielkości w nowym kruszywa wynikających z podziału. Opcja-r może być używany wielokrotnie, aby każdy z elastycznej objętości łącznie w wyniku nowej nazwy. Dodatkowo, opcja-s może być użyty do określenia sufiks, który jest dodawany do końca wszystkich elastyczne nazwy woluminu nie objęte-r.

Jeśli oryginalny agregat jest ograniczony w czasie podziału, łączny wynik będzie również podlegać ograniczeniom. Jeśli ograniczony kruszywa hosting elastyczne ilości, nie są zmieniane w czasie podziału. Elastyczne ilości zostanie przemianowany później, gdy konflikt nazw zostanie wykryty podczas dostosowywania łącznej online. Elastyczne ilości łącznie przeniesiony online first zachować ich nazwy. Agregujące mogą być oryginalne łącznie, lub łączny wynikających z podziału. Gdy inne kruszywo do trybu online później, elastyczne tomów w tym kruszywa zostanie zmieniona.

Jeśli obiekt typu plex z kruszywa osadzony w tradycyjnych głośności jest nieaktywny w momencie podziału, łączna wynikowy będzie w trybie offline. W przypadku dzielenia złożonych z kruszywa, że ​​gospodarze elastyczne wielkości, jeśli plex jest nieaktywny, ale agregat jest online, wynikające z agregatu w tryb online, a jego elastyczne tomów zostanie zmieniona. Nie wolno podzielić plex od zalogowany kruszywa.

Lustro podziału mogą być połączone z powrotem ze sobą za pomocą opcji-v do lustra aggr.

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

Wyświetla stan jednego lub wszystkich agregatów na filtr antyspamowy. Jeśli aggrname jest używany, stan określony kruszywa jest drukowany, w przeciwnym razie stan wszystkich agregatów w filer są drukowane. Domyślnie, drukuje jedną linią streszczenie łącznej która zawiera łączną nazwę, czy zawiera jeden tradycyjny objętości lub pewną liczbę wielkości elastyczne, jeśli jest to online lub offline, inne państwa (np. częściowe, zdegradowanych, WAFL niespójne, i tak dalej) i peraggregate opcji. Per-kruszywa opcje są wyświetlane tylko wtedy, gdy opcje zostały zmienione od wartości domyślnych systemu za pomocą aggr polecenie Opcje, lub za pomocą polecenia Opcje vol. jeżeli łączna jest osadzony w tradycyjnych głośności. Jeśli WAFL niespójna jest wyświetlany, skontaktuj się z obsługą klienta.

Flaga-v pokazuje on / off stan wszystkich peraggregate opcji i wyświetla informacje o każdym woluminie, złożonych i grupy RAID zawartych w zbiorczej.

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

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

-C wyświetla aktualizacji statusu bloku integralności danych kontrolne funkcji ochrony.

-B jest używana do pobierania wielkości źródło i agregatów miejsce do pracy z kopii aggr. Dane wyjściowe zawierają przechowywania kruszywa i ewentualnie mniejszych rozmiarów kruszywa. Łączna polecenie kopiowania używa tych numerów do określenia, czy źródła i wielkości kruszywa przeznaczenia są kompatybilne. Wielkość łącznej źródło musi być równa lub mniejsza niż wielkość łącznej przeznaczenia.

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

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

Flaga-i wyświetla listę elastyczne wolumenów zawartych w zbiorczej.

      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.

POSTĘPOWANIE CLUSTER

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.

PRZYKŁADY

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

Wyświetla wykorzystanie miejsca łącznej `OS1 i wagi urządzenia przestrzeni w zależności od wielkości.

  Powierzchnia całkowita Aggregate "OS1" WAFL rezerwy Snap rezerwy Powierzchnia użytkowa BSR NVLOG 66GB 6797MB 611MB 59GB 65KB miejsca przeznaczone do wielkości w ogólnej głośności Przydzielony Używane Gwarancja vol1 14GB 11GB objętości vol2 8861MB 8871MB plik VOL3 6161MB 6169MB żaden vol4 26GB 25GB objętości vol1_clone 1028MB 1028MB ( offline) Aggregate Przydzielony Samochody Dost Powierzchnia całkowita 55GB 51GB 3494MB Snap rezerwy 611MB 21MB 590MB WAFL rezerwy 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

vol , partner , snapmirror , sysconfig .


Spis treści






















































Categories: Manual Pages Tags: , , , ,

cf

July 7th, 2009 Chris Kranz No comments

Spis treści

NAZWA

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

SKŁADNIA

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

OPIS

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.

OPTIONS

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

umożliwiać
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.

ZOBACZ TAKŻE

partner


Spis treści



Categories: Manual Pages Tags: , , , ,

bootfs

July 7th, 2009 Chris Kranz No comments

Spis treści

NAZWA

bootfs – boot file system accessor command (ADVANCED)

SKŁADNIA

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

OPIS

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.

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

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.

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

POSTĘPOWANIE CLUSTER

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

EXAMPLES

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

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

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

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

bootfs dump 0a.0 110

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

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

bootfs fdisk 0a.0 30

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

bootfs format 0a.0:1: NETAPP

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

bootfs info 0a.0

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

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

bootfs test -v 0a.0

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

ZOBACZ TAKŻE

do pobrania


Spis treści

Categories: Manual Pages Tags: , , , ,

rozruchu

July 7th, 2009 Chris Kranz No comments

Spis treści

NAZWA

boot – directory of Data ONTAP executables

SKŁADNIA

/etc/boot

OPIS

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.

PLIKI

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

ZOBACZ TAKŻE

do pobrania


Spis treści

Copyright © 1994-2008 NetApp, Inc Informacje prawne

VN: F [1.9.11_1134]
Oceń ten post:
Ocena: 0.0 / 10 (0 głosów)

Categories: Manual Pages Tags: , , , ,

bmc

July 7th, 2009 Chris Kranz No comments

Spis treści

NAZWA

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

SKŁADNIA

bmc help

bmc reboot

bmc setup

bmc status

bmc test autosupport

OPIS

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

OPTIONS

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

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

POSTĘPOWANIE CLUSTER

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

UWAGI

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


Spis treści

Copyright © 1994-2008 NetApp, Inc Informacje prawne

VN: F [1.9.11_1134]
Oceń ten post:
Ocena: 0.0 / 10 (0 głosów)

Categories: Manual Pages Tags: , , , ,

backuplog

July 7th, 2009 Chris Kranz No comments

Spis treści

NAZWA

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

SKŁADNIA

/etc/log/backup

OPIS

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.

Koniec
Dump/restore completes successfully.

Abort
The operation aborts.

Błąd
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.)

PLIKI

/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


Spis treści

Categories: Manual Pages Tags: , , , ,

kopii zapasowej

July 7th, 2009 Chris Kranz No comments

Spis treści

NAZWA

backup – manages backups

SKŁADNIA

backup status [ <ID> ]

backup terminate <ID>

OPIS

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

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

dump
runs natively on the filer.

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

RESTARTABLE A failed dump that can be restarted.

USAGE

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

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

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.

Poziom
The level of the backup.

Ścieżka
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.

ZOBACZ TAKŻE

wysypisko


Spis treści



Categories: Manual Pages Tags: , , , ,

autosupport

July 7th, 2009 Chris Kranz 2 comments

Spis treści

NAZWA

autosupport – notification daemon

SKŁADNIA

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.

OPIS

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

Wersja oprogramowania

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

POSTĘPOWANIE CLUSTER

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.

ZOBACZ TAKŻE

options , partner , setup , hosts , RFC821


Spis treści






























































Categories: Manual Pages Tags: , , , ,

auditlog

July 7th, 2009 Chris Kranz No comments

Spis treści

NAZWA

auditlog – contains an audit record of recent administrative activity

SKŁADNIA

<logdir>/auditlog

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

OPIS

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.

PLIKI

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

ZOBACZ TAKŻE

options , syslog.conf


Spis treści

Categories: Manual Pages Tags: , , , ,

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

© 2009-2012 Chris Kranz Wszystkie Prawa zastrzeżone
Ta strona nie jest powiązana lub sponsorowana w żaden sposób przez NetApp lub jakiekolwiek inne przedsiębiorstwo, o których mowa w.