ארכיון

הודעות שתייגת 'ידני'

NetApp דפים Man

7 יולי 2009

NetApp נתנו לי באדיבות רשות לפרסם מחדש דפים האיש שלהם כאן. הם עדיין צריכים קצת לנקות ולסדר, אבל מהכמות אמצעי זה ייקח לי קצת זמן כדי לקבל אותם מיון כל מצליבים כראוי, אנא סלח בעיות ראייה לרגע. כתבתי כלי ניתוח מהיר כדי לקבל את כל המידע על פה, אז ייתכן שיש כמה בעיות הנובעות עדיין.

תמיד אהבתי את האופן שבו יש דפי PHP תפקידם נותן למשתמשים את היכולת להגיב ישירות על אותם. זה מאפשר לאנשים לעזוב משוב על פונקציות וכלים, וכן מעקב עם כמה שימושים נוספים או התחביר של הפקודות אינן בהכרח פורסם בבירור. יש לקוות זה יכול להאכיל לתוך NetApp כדי לשפר את התיעוד שלהם.

הייתי בהחלט רוצה לעודד אנשים להגיב על דפי גבר עם כל דבר עשוי להיות שימושי, ואנו מקווים לבנות את זה לתוך סעיף התייחסות שימושי קצת. תודה רבה שוב עממית של NetApp שעזרת לי עם זה.

VN: F [1.9.11_1134]
דרג את ההודעה:
דירוג: 8.8 / 10 (18 הצבעות)

General , Manual Pages , , , ,

aggr

7 יולי 2009

תוכן העניינים

שם

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

תקציר

aggr command argument …

תיאור

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 תומך באופן מלא בשני כרכים המסורתית וגמיש. משפחת הפקודה aggr היא השיטה המועדפת לניהול מצרפי של פילר, כולל אלו המוטבעות כרכים המסורתית.

שים לב כי רוב הפקודות aggr חלות באופן שווה על סוג שני של צבירה המכיל כמויות גמיש סוג שהוא הדוק כדי ליצור נפח מסורתי. לפיכך, מצרף את המונח משמש לעתים קרובות כדי להתייחס כאן גם כיתות אחסון. במקרים אלה, הוא מספק קיצור זמן רב יותר מסורבל יותר "אגרגטים כרכים המסורתית" ביטוי.

מצרפים יכולים להיות שיקוף או unmirrored. Plex הוא עותק פיזי של אחסון WAFL בתוך הצירוף. המצרפי שיקוף מורכב משני plexes; אגרגטים unmirrored מכילים Plex יחיד. על מנת ליצור שיקוף במצטבר, אתה חייב להיות בתצורת RAID שתומך filer ברמה שיקוף. כאשר שיקוף מופעל על filer, דיסקים הפנוי נחלקים לשתי בריכות דיסק. כאשר מצטבר נוצרת, כל הדיסקים Plex אחד חייב לבוא ממאגר דיסק זהה, ושני plexes המצרפי של משוקף חייב להיות מורכב מבריכות דיסקים נפרדים, כמו זה ממקסם בידוד אשמתו. מדיניות זו ניתן לדרוס עם אופציה-f כדי ליצור aggr, aggr להוסיף מראה aggr, אבל זה לא מומלץ.

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.

לא פעיל
The plex is not available for use.

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

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

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

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

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

Aggregates can be in combinations of the following states:

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

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

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

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

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

initializing
The aggregate is in the process of being initialized.

נכה
המצרפי אינו מכיל כמויות ואף ניתן להוסיף. בדרך כלל זה קורה רק לאחר הפעולה הכושלת להעתיק מצטבר.

גיהוץ
לבדוק עקביות WAFL מתבצע על המצרף הזה.

מושפל במראה
המצרפי הוא מצרף מראות, ואחד plexes שלה מחובר או resyncing.

שיקוף
המצרפי היא שיקוף וכל קבוצות RAID שלה הם פונקציונליים.

צריך לבדוק
לבדוק עקביות WAFL לבצעו על במצטבר.

חלקי
לפחות דיסק אחד נמצאה במצטבר, אבל שני דיסקים או יותר חסרים.

RAID0 המצרפי מורכב RAID-0 (לא זוגיות) קבוצות RAID (V-Series ו NetCache בלבד).

raid4 המצרפי מורכב RAID-4 קבוצות RAID.

raid_dp
המצרפי מורכב RAID-DP (Double Parity) קבוצות RAID.

לשחזר
לפחות קבוצה אחת RAID במצטבר הוא להיות משוחזר.

redirect
הקצאה מחדש צבירה או הקצאה מחדש קובץ עם אפשרות p-הופעל על במצטבר. קראו ביצועים כרכים במצטבר עשוי להיות מושפל.

resyncing
אחד plexes המצרפי של משוקף מתבצעת resynchronized.

snapmirrored
המצרפי היא העתק של snapmirrored המצרפי אחר. מצב זה יכול להיווצר רק אם במצטבר הוא חלק נפח מסורתי.

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.

If the -g option is followed by all , Data ONTAP adds the specified disks to existing RAID groups first. After all existing RAID groups are full, it creates one or more new RAID groups and adds the specified disks to the new groups.

האופציה-n ניתן להשתמש כדי להציג את הפקודה כי המערכת יבצע, מבלי לבצע שינויים כלשהם. זו שימושית להצגת דיסקים נבחר אוטומטית, למשל.

כברירת מחדל, filer מתמלא קבוצה אחת RAID עם דיסקים לפני תחילת קבוצה אחרת RAID. נניח המצרפי כרגע יש קבוצה אחת RAID של 12 דיסקים RAID הקבוצה שלו הוא בגודל 14. אם אתה מוסיף 5 דיסקים לצבור זה, תהיה קבוצה אחת RAID עם 14 דיסקים RAID קבוצה אחרת עם 3 דיסקים. Filer אינו שווה להפיץ דיסקים בין קבוצות RAID.

אתה לא יכול להוסיף דיסקים לצבור משוקף אם אחד plexes מחובר.

דיסקים ב Plex אינם רשאים תוחלת בריכות דיסק. התנהגות זו ניתן לדרוס עם דגל-f כאשר נעשה שימוש יחד עם הטיעון-d לרשימת דיסקים להוסיף. הדגל-f, בשילוב עם-D, יכול לשמש גם כדי לכפות הוספת דיסקים בעלי מהירות הסיבוב שאינו תואם את זה של רוב הדיסקים הקיימים במצטבר.

aggr להעתיק להפיל [-h] operation_number | הכל

מסתיימת הפעילות להעתיק המצרפי. הפרמטר t opera_ ion_number מציין אילו המבצע להפסיק. אם תציין כל, כל הפעולות מצרף עותק פעילים הסתיים.

aggr להעתיק להתחיל
[-S |-s תמונה] [-C]
מקור ליעד

העתקים של כל הנתונים, כולל תמונות ואמצעי אחסון גמישה, מתוך צבירה אחד למשנהו. אם הדגל-S משמש, הפקודה עותקים כל תמונות במצטבר מקור לצבור היעד. כדי לציין תמונה מסוימת להעתיק, להשתמש בדגל-s ואחריו שם של תצלום. אם אתה משתמש גם ה-S-s ולא דגל בפיקוד, filer יוצר תמונת מצב בזמן את הפקודה להתחיל aggr להעתיק מבוצע ומעתיק רק תמונה לצבור היעד.

C-הדגל נדרש אם יש לו מקור המצרפי חופשי בחלל האיחוי מבוצע על זה, או אם המצרפי היעד יהיה מקום פנוי, איחוי. חינם, שטח איחוי יכול להתבצע על המצרפי באמצעות הפקודה להקצות מחדש.

עותקים המצטבר יכול להתבצע רק בין אגרגטים שמארחים כרכים גמישים. המצרפים המוטבעות כרכים המסורתי לא יכולים להשתתף.

אגרגטים המקור והיעד יכול להיות על filer זהה או filers שונים. אם מקור או יעד מצטבר על filer אחרת מזו שעליה אתה מזין את הפקודה להתחיל aggr להעתיק, לציין את שם המצרפי filer_name: aggre_ בפורמט גרם ate_name.

Filers מעורב להעתיק מצטבר חייב לעמוד בדרישות הבאות את הפקודה להתחיל להעתיק aggr להסתיים בהצלחה:

המצרף מקור חייב להיות באינטרנט במצטבר היעד חייב להיות מוגבל.

אם להעתיק את זה בין שני filers, filer כל חייבים להיות מוגדרים כמארח מהימן של filer השני. כלומר, שמו של filer חייב להיות / etc / hosts.equiv קובץ של filer השני.

אם להעתיק את זה על filer זאת, localhost יש לכלול וכו של filer / / hosts.equiv הקובץ. כמו כן, את כתובת הלולאה החוזרת חייב להיות וכו 'של filer / / קובץ hosts. אחרת, filer לא יכול לשלוח מנות עצמה באמצעות כתובת הלולאה החוזרת כאשר מנסים להעתיק נתונים.

שטח דיסק שמיש המצרפי של היעד חייב להיות גדול או שווה ל שטח הדיסק שמיש המצרפי של המקור. השתמש בפקודה df-A הנתיב כדי לראות את כמות של שטח דיסק שמיש של צבירה מסוים.

כל פקודה להתחיל aggr להעתיק מייצר שתי פעולות העתקה צבירה: אחד עבור קריאת הנתונים המצטברים מקור אחד לכתיבה הנתונים המצטברים היעד. Filer כל תומך עד ארבעה ניתוחים בו זמנית עותק המצרפי.

aggr מעמד עותק [operation_number]

מציג את ההתקדמות של אחד או כל פעולות העתק aggr. פעולות ממוספרים מ -0 עד 3.

פרטים על הפעלה מחדש מחסום עבור העברות כל מוצג גם.

aggr להעתיק המצערת ערך [operation_number]

בקרת הביצועים של פעולת העתק aggr. הערך נע בין 10 (מהירות מלאה) עד 1 (עשירית מהירות מלאה). ערך ברירת המחדל נשמרת האפשרות aggr.copy.throttle של פילר והוא מוגדר 10 (מהירות מלאה) במפעל. ניתן להחיל את הערך ביצועים פעולה המצוינת על ידי פרמטר operation_number. אם לא תציין מספר מבצע את הפקודה המצערת להעתיק aggr, הפקודה חלה על כל פעולות העתק aggr.

השתמש בפקודה זו כדי להגביל את מהירות פעולת העתק aggr אם אתה חושד כי פעולת העתק aggr גורם לבעיות ביצועים על filer שלך. בפרט, המצערת נועדה לסייע להגביל את השימוש ב-CPU של פעולת העתק aggr. זה לא יכול לשמש כדי לכוונן את רוחב הפס של רשת דפוסי הצריכה.

הפקודה המצערת aggr להעתיק רק מאפשרת לך להגדיר את מהירות פעולת העתק aggr כי מתבצעת. כדי להגדיר את ברירת המחדל aggr להעתיק מהירות לשמש פעולות להעתיק בעתיד, השתמש בפקודה אפשרויות כדי להגדיר את האפשרות aggr.copy.throttle.

aggr ליצור aggrname
[-F]
[מ ']
[-N]
[-T raidtype]
[-R raidsize]
[-T דיסק מסוג]
[-R סל"ד]
[-L [עמידה | מפעל]]
[-V]
[-L שפת קוד]
{Ndisks [@ size]

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

יצירת aggrname חדשה בשם המצרפי. שם המצרפי יכול להכיל אותיות, מספרים, ואת התו קו תחתון (_), אך את התו הראשון חייב להיות אות או קו תחתון. עד 200 אגרגטים ניתן ליצור על כל פילר. מספר זה כולל אלה אגרגטים המוטבעות בתוך כרכים המסורתית.

המצרפי מוטבע ניתן ליצור כחלק נפח מסורתי באמצעות באפשרות-v. זה לא יכול להכיל כל הכרכים גמישים.

הצבירה הרגיל, נוצר ללא האופציה v-, יכול להכיל רק כרכים גמישים. זה לא יכול להיות משולב בתוך נפח מסורתי, והוא אינו מכיל כמויות מיד לאחר הבריאה. כרכים גמיש חדש ניתן ליצור באמצעות הפקודה ליצור vol.

הטיעון raidtype-t מציין את סוג RAID קבוצה (ים) לשמש כדי ליצור את המצרפי. הקבוצה סוגים אפשריים הם raid4 RAID עבור RAID-4, raid_dp עבור RAID-DP (Double Parity), ו RAID0 עבור פיזור פשוט ללא הגנה זוגיות. Raidtype ברירת המחדל עבור אגרגטים כרכים המסורתית על filers הוא raid_dp. הגדרת raidtype אינה מותרת על מערכות V-Series: ברירת המחדל של RAID0 משמש תמיד.

-R הטיעון raidsize מציין את המספר המרבי של דיסקים בכל קבוצה RAID במצטבר. מרבית ערכי ברירת המחדל של raidsize הם תלויי פלטפורמה, מבוססת על ביצוע שיקולים אמינות. ראה אפשרויות aggr raidsize לקבלת פרטים נוספים.

T-טיעון דיסק מסוג מציין את סוג הדיסקים להשתמש בעת יצירת צבירה חדש. הוא דרוש רק במערכות מחובר דיסקים מסוגים שונים. סוגים דיסק אפשריות הן: ATA, FCAL, LUN, SAS, SATA, SCSI ו. דיסקים של ערבוב סוגים שונים במצטבר אחד לא מותר.-T אינו יכול לשמש יחד עם-d.

סוג הדיסק מזהה טכנולוגיה הדיסק סוג קישוריות. ATA מזדהה עם דיסקים ATA או IDE או סדרתי ממשק ATA על מדפים מחוברים FCAL (Fibre Channel arbitrated Loop). FCAL מזהה דיסקים FC על מדפים מחוברים FC-AL. LUN מזהה דיסקים וירטואליים שיוצאו מערכי אחסון חיצוניים. הטכנולוגיה הבסיסית ואת סוג דיסק RAID תלוי יישום כגון מערכי אחסון חיצוניים. SAS מזהה דיסקים Serial Attached SCSI על מדפים תואמים. SATA מזהה דיסקים ATA טורי מדפים ב-SAS. SCSI מייצג ממשק מערכת מחשבים קטנים, והיא כלולה עבור תאימות לאחור עם טכנולוגיות דיסק קודם לכן.

-R הטיעון סל"ד מציין את סוג הדיסקים להשתמש בהתבסס על מהירות הסיבוב שלהם סיבובים לדקה (סל"ד). הוא דרוש רק במערכות שיש דיסקים עם מהירויות סיבוב שונות. ערכים טיפוסיים עבור מהירות הסיבוב הם 5400, 7200, 10000 ו 15000.-R לא ניתן להשתמש יחד עם-d.

ndisks הוא מספר הדיסקים במצטבר, כולל דיסקים זוגיות. דיסקים במצטבר זה שנוצר באים ממאגר של דיסקים חילוף. הדיסקים הקטנים בבריכה זו להצטרף המצרפי הראשונה, אלא אם תציין את הטיעון גודל @. גודל הוא גודל הדיסק GB, ודיסקים אשר בתוך 10% בגודל שצוין ייבחרו לשימוש במצטבר.

האופציה-m יכול לשמש כדי לציין צבירה חדש להשתקף (שני plexes) על בריאת העולם. אם אפשרות זו ניתנה, אז הדיסקים המצוין יפוצל על פני שני plexes. כברירת מחדל, המצרף החדשה לא תהיה שיקוף.

האופציה-n ניתן להשתמש כדי להציג את הפקודה כי המערכת יבצע, מבלי לבצע שינויים כלשהם. זו שימושית להצגת דיסקים נבחר אוטומטית, למשל.

אם אתה משתמש ב-d disk1 [disk2 ... ] הטיעון, filer יוצרת במצטבר עם הדיסקים חילוף שצוין disk1, disk2, וכן הלאה. אתה יכול לציין רשימה חלל מופרד שמות דיסק. שתי רשימות נפרדות יש לציין אם המצרפי החדש הוא שיקוף. במקרה כי המצרפי החדש הוא שיקוף, הדיסקים הצביעו חייב להביא מספר שווה של דיסקים על Plex כל חדש.

דיסקים ב Plex אינם רשאים תוחלת בריכות חילוף. התנהגות זו ניתן לדרוס עם אופציה-F. אפשרות דומה יכול לשמש גם כדי לכפות באמצעות דיסקים שאין להם התאמת מהירות הסיבוב. -F אפשרות יש השפעה רק כאשר בשימוש עם האפשרות-d ציון דיסקים לשימוש.

כדי ליצור המצרפי SnapLock, ציין את דגל-L עם aggr ליצור פקודה. דגל זה נתמך רק אם אחד או SnapLock Compliance SnapLock Enterprise מורשה. סוג של מצרף SnapLock נוצר, או עמידה או Enterprise, נקבעת על פי רישיון SnapLock מותקן. אם הן SnapLock Compliance ו-Enterprise SnapLock מורשים, להשתמש-L-L ציות או ארגוניים כדי לציין את סוג הצבירה הרצוי.

-L LANGUAGE_CODE טיעון ניתן להשתמש רק בעת יצירת נפח המסורתית באמצעות האפשרות-v. Filer יוצרת נפח מסורתי עם השפה שצוין על ידי קוד השפה. ברירת המחדל היא השפה המשמשת את נפח השורש של פילר. ראה כרך האיש הדף רשימה של קודי שפה.

aggr להרוס {aggrname | plexname} [-f]

הורס את aggrname בשם צבירה, או plexname בשם Plex. שים לב כי אם המצרפי שצוין קשורה נפח מסורתי, ולאחר מכן את נפח מסורתי עצמו נהרס גם כן.

אם מצטבר צוין, plexes כל במצטבר נהרסים. המצרף בשם חייבים גם לא מכיל כמויות גמישות, ללא תלות במצב שלהם לעלות (באופן מקוון, מוגבל, או לא מקוון). אם Plex צוין, Plex הוא נהרס, עוזב נפח unmirrored המצרפי או מסורתי שמכיל את Plex הנותרים. לפני להרוס את נפח צבירה, מסורתי או Plex, המשתמש מתבקש לאשר את הפעולה. הדגל-f ניתן להשתמש כדי להשמיד נפח צבירה, מסורתי או Plex מבלי להציג הודעה למשתמש.

הדיסקים במקור האובייקט נהרס להפוך דיסקים חילוף. רק אגרגטים מקוון, כרכים מסורתיים plexes יכול להיהרס.

aggr מעמד media_scrub [aggrname | plexname | groupname]
[-V]

מדפיס את מעמד התקשורת קרצוף של המצרף בשם, Plex, או לקבוצה. אם לא שם הוא נתון, אז המצב הוא מודפס לכל קבוצות RAID כיום מפעיל לשפשף התקשורת. מצב כוללת אחוז השלמה והאם הוא מושעה.

הדגל-v מציג את התאריך והשעה שבה התקשורת המלא האחרון לשפשף הושלמה, את התאריך והשעה שבה מופע נוכחי של התקשורת קרצוף התחיל, את המצב הנוכחי של המצרף בשם, Plex, או לקבוצה. אם אין שם נתון, מצב זה יותר מפורט מודפס לכל קבוצות RAID עם עלובי מדיה פעיל.

aggr המראה aggrname
[-F]
[-N]
[V-victim_aggrname]
[-D disk1 [disk2 ... !]]

מסתבר צבירה unmirrored לתוך המצרפי משוקף ידי הוספת Plex אליו. Plex הוא או שזה עתה נוצרו מדיסקים נבחר מתוך מאגר חילוף, או, אם באפשרות-v צוין, נלקח צבירה אחר unmirrored הקיים. Aggrname צבירה חייבת להיות זמינה unmirrored. השתמש aggr ליצור ליצור חדשים, מראות המצרפי מאפס.

דיסקים ניתן לציין במפורש באמצעות-d באותו אופן כמו עם יוצרים aggr ופקודות aggr להוסיף. מספר דיסקים הצביעו חייבת להתאים את מספר נוכחים המצרפי הקיים. הדיסקים שצוינו אינם רשאים תוחלת בריכות דיסק. התנהגות זו ניתן לדרוס עם אופציה-F. האפשרות-f, בשילוב עם-D, יכול לשמש גם כדי לכפות באמצעות דיסקים בעלי מהירות הסיבוב שאינו תואם את זה של רוב הדיסקים הקיימים במצטבר.

אם הדיסקים לא שצוינו במפורש, אז דיסקים שנבחרו באופן אוטומטי כדי להתאים לאלה Plex הקיימות של המצרף.

האפשרות-v יכול לשמש כדי להצטרף victim_aggrname בחזרה aggrname להקים המצרפי שיקוף. התוצאה היא aggrname המצרפי שיקוף בשם הזהה אחרת כדי aggrname לפני Victim_aggrname המבצע. מושמד ביעילות. Victim_aggrname בוודאי בעבר שיקוף עם aggrname, מופרדים באמצעות הפקודה אז את הפיצול aggr. Victim_aggrname חייב להיות מחובר. בשילוב עם האופציה-v, האפשרות-f ניתן להשתמש כדי להצטרף aggrname ו im_aggrname vic_ t מבלי להציג הודעה למשתמש.

האופציה-n ניתן להשתמש כדי להציג את הפקודה כי המערכת תבצע מבלי לבצע שינויים כלשהם. זו שימושית להצגת דיסקים נבחר אוטומטית, למשל.

מחובר aggr {aggrname | plexname}
[-T cifsdelaytime]

לוקח את aggrname בשם המצרפי (או בשם Plex plexname) במצב לא מקוון. הפקודה נכנס לתוקף לפני החזרה. אם מצטבר כבר במצב מוגבל, אז זה כבר זמין עבור גישה לנתונים, ועוד הרבה התיאור שלהלן אינו חל.

אם המצרף מכיל כמויות גמיש, אז הפעולה היא בוטלה אלא אם filer נמצא במצב תחזוקה.

למעט במצב תחזוקה, המצרף הכולל את נפח השורש הנוכחי לא ניתן לקחת מקוון. המצרפי הכולל נפח שסומנה להיות שורש (באמצעות כרך אפשרויות vol_ שורש n ame) גם לא ניתן לקחת מקוון.

אם המצרפי מוטבע נפח מסורתי שיש לו מניות CIFS, המשתמשים צריכים להיות הזהיר לפני שלקח את המצרפי (ולכן נפח מסורתי כולו) במצב לא מקוון. השתמש ב-t עבור מתג זה. הטענה cifsdelaytime מציין את מספר הדקות לעכב לפני נטילת מחובר המצרפי מוטבע, במהלכן CIFS משתמשים נפח מסורתי הם הזהירו מפני אובדן ממתינים השירות. זמן של 0 פירושו לקחת את מחובר המצרפי מיד ללא אזהרות נתון. משתמשים CIFS יכול לאבד נתונים אם הם לא מקבלים הזדמנות לסיים יישומים בחינניות.

אם plexname צוין, Plex חייב להיות חלק לצבור שיקוף ו plexes שניהם חייבים להיות אונליין. לפני offlining Plex, המערכת לשטוף את כל הנתונים שנאגרו פנימי הקשור Plex וליצור תמונה שכתוב החוצה הן plexes. בזק מאפשרת resynchronization יעיל כאשר Plex מובא בהמשך למצב מקוון.

מספר הפעולות המבוצעות על נפח המסורתי של המצרף יכול למנוע מחובר aggr מן להצליח, עבור אורכים שונים של זמן. אם פעולות כאלו נמצאות, יהיה לחכות אחד השני לפעולות כאלה כדי לסיים. אם לא, הפקודה היא בוטלה.

לבדוק הוא עשה גם עבור קבצים בנפח הקשורים של המצרפי המסורתי נפתח על ידי תהליכים פנימיים ONTAP. הפקודה היא בוטלה אם בכלל נמצאים.

aggr באינטרנט {aggrname | plexname}
[-F]

מביא את aggrname בשם באינטרנט המצרפי (או בשם Plex plexname). פקודה זו תיכנס לתוקף באופן מיידי. אם המצרפי שצוין מוטבע נפח מסורתי, בנפח הוא גם הביא גם באינטרנט.

אם aggrname המצוין, הוא חייב להיות מחובר כרגע, מוגבלת, או זרים. אם המצרפי הוא זר, זה ייעשה יליד לפני הבאתו באינטרנט. המצרף "זרים" הוא מכלול המורכב דיסקים עבר filer אחר וכי מעולם לא הביא באינטרנט על filer הנוכחי. המצרפים שאינם זרים נחשבים "ילידים".

אם הסכום הכולל אינו עולה בקנה אחד, אך לא איבד נתונים, המשתמש יהיה הזהיר ו הנחיה לפני הבאת באינטרנט המצרפי. הדגל-f ניתן להשתמש כדי לעקוף אופן פעולה זה. מומלץ לרוץ WAFL_check (או לעשות לאתחל SnapMirror במקרה של צבירה מוטבע בנפח מסורתי) לפני הבאת מקוונת המצרפי עולה בקנה אחד. הבאת מקוונת המצרפי עולה בקנה אחד מגדילה את הסיכון של שחיתות קובץ נוסף של המערכת. אם הסכום הכולל אינו עולה בקנה אחד ו חוותה אובדן אפשרי של נתונים, לא ניתן אלא אם כן הביא באינטרנט WAFL_check (או לאתחל SnapMirror במקרה מוטבע) הופעל במצטבר.

אם plexname צוין, Plex חייב להיות חלק המצרפי שיקוף באינטרנט. The system will initiate resynchronization of the plex as part of online processing.

aggr options aggrname [ optname optval ]

Displays the options that have been set for aggregate aggrname , or sets the option named optname of the aggregate named aggrname to the value optval . The command remains effective after the filer is rebooted, so there is no need to add aggr options commands to the /etc/rc file. Some options have values that are numbers. Some options have values that may be on (which can also be expressed as yes , true , or 1 ) or off (which can also be expressed as no , false , or 0 ). A mixture of uppercase and lowercase characters can be used when typing the value of an option. The aggr status command displays the options that are set per aggregate.

The following describes the options and their possible values:

fs_size_fixed on | off

אפשרות זו חלה רק על אגרגטים המוטבעות כרכים המסורתית. זה גורם במערכת הקבצים להישאר באותו גודל ולא לגדול או להתכווץ כאשר מערכת יחסים נפח SnapMirrored שבור, או תוספת aggr מבוצע על זה. אפשרות זו מוגדר באופן אוטומטי להיות כאשר נפח המסורתי הופך נפח SnapMirrored. הוא יישאר אחרי הפקודה לפרוץ SnapMirror מונפקת נפח מסורתי. זה מאפשר נפח מסורתי להיות SnapMirrored בחזרה למקור, ללא צורך להוסיף דיסקים בנפח המקור המסורתי. אם גודל נפח מסורתי גדול מגודל מערכת הקבצים, כיבוי אפשרות זו יחייב את מערכת הקבצים לגדול לגודל של נפח מסורתי. הגדרת ברירת המחדל היא משם.

ignore_inconsistent On | Off

פקודה זו ניתן להשתמש רק במצב תחזוקה. אם אפשרות זו מוגדרת, זה מאפשר צבירה המכיל את נפח השורש יובא באינטרנט על אתחול, למרות שזה אינו עולה בקנה אחד. המשתמש הוא הזהיר כי הבאת את זה באינטרנט לפני WAFL_check ריצה או wafliron עלול לגרום חוסר העקביות קובץ נוסף של המערכת.

nosnap On | Off

אם אפשרות זו מופעלת, הוא משבית תמונות אוטומטי על במצטבר. הגדרת ברירת המחדל היא משם.

raidsize מספר

הערך של אופציה זו הוא הגודל המרבי של קבוצת RAID אשר ניתן ליצור באופן מצטבר. שינוי הערך של אופציה זו לא יגרום קבוצות RAID הקיים לגדול או להתכווץ, זה ישפיע רק אם דיסקים נוספים יתווספו קבוצת RAID האחרון הקיים וכיצד קבוצות גדולות RAID החדש יהיה.

ערכים לשמירה על אפשרות זו תלויה raidtype. לדוגמה, מאפשר raid_dp קבוצות RAID גדול יותר raid4. מגבלות ערכי ברירת המחדל הם גם שונים עבור סוגים שונים של מכשירי filer סוגים שונים של דיסקים. הטבלאות הבאות להגדיר גבולות ערכי ברירת המחדל עבור 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.

שורש

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

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 ]

התחלות קרצוף זוגיות על במצטבר מקוון בשם. 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.

       סה"כ שטח זהו הסכום של שטח דיסק הכולל המצרפי יש.  WAFL מילואים WAFL שומרת אחוז של שטח דיסק הכולל מסך מטה רמת המצרפי.  החלל משמש לשמירה על כרכים במצטבר יוצא שומרים לעצמנו את WAFL.  הצמד הצמד מילואים מילואים הוא כמות השטח השמור תמונות המצרפי.  מרחב נגיש זהו הסכום הכולל של השטח הזמין על הסכום הכולל של ההקצאה.  זה מחושב כרווח נגיש = סה"כ שטח - WAFL מילואים - מילואים df הצמד הזה מציג את החלל "בסך הכל".  ב.ס. ר NVLOG זה תקף ליעדים SnapMirror סינכרוני בלבד.  זהו הסכום של שטח המשמש במצטבר על filer היעד לאחסון נתונים שנשלחו filer המקור (ים) לפני שליחתו אל דיסק.  שהוקצו זה הוא סכום של שטח השמורה נפח לבין חלל בשימוש על ידי נתונים שאינם שמורות.  עבור אמצעי אחסון בנפח מובטח, זה לפחות בגודל של נפח נתונים מאז אין הוא ללא סייג.  עבור אמצעי אחסון עם ערבות שטח של אף אחד, ערך זה זהה מרחב "משמש" (כמוסבר להלן) מאז לא שטחים לא מנוצלים שמורה.  הערך שהוקצו החלל מראה את כמות השטח כי נפח הוא לוקח מתוך הסכום הכולל.  ערך זה יכול להיות גדול יותר בגודל של נפח כי זה כולל גם את מטה נדרשות לשמור על נפח.  משמש זהו הסכום של שטח זה תופס בלוקים בדיסק.  ערך זה לא אותו דבר כמו החלל "השתמשו" מוצג על ידי הפקודה df.  החלל משמש במקרה זה כולל את מטה נדרשות לשמור על נפח גמישים.  הועיל סך של שטח פנוי במצטבר.  זה כמו בחלל לשווא שדווחו על ידי df. 

aggr לפצל plexname aggrname
[-R oldvol newvol] [-r ...]
[סיומת-s]

מסיר plexname מ המצרפי משוקף ויוצר aggrname חדש unmirrored בשם המצרפי המכיל את Plex. המצרף המקורי שיקוף הופכת unmirrored. Plex להיות מפוצל מן הצבירה המקורי חייב להיות פונקציונלי (לא חלקית), אבל זה יכול להיות פעיל, resyncing, או outof עדכני. לפצל Aggr ולכן יכול לשמש כדי לקבל גישה Plex שאינו מעודכן לגבי plex השותפים שלה, אם Plex השותפים שלה הוא נכשל כעת.

אם הצבירה שבו שוכן plexname מוטבע נפח מסורתי, לפצל aggr מתנהג זהה כרך מפוצל. המצרפי החדש מוטבע נפח מסורתי חדש באותו שם.

אם הצבירה שבו שוכן plexname מכיל בדיוק נפח גמישה, לפצל aggr יהיה כברירת מחדל לשנות את התמונה נפח גמישות Plex המפוצל להיות זהה המצרפי החדש.

אם הצבירה שבו שוכן plexname מכיל יותר נפח גמישה, יש צורך לציין כמה כרכים שם במצטבר חדש הנובע הפיצול. האופציה-r ניתן להשתמש שוב ושוב לתת לכל נפח גמישה במצטבר שהתקבל שם חדש. בנוסף, האופציה s-יכול לשמש כדי לציין סיומת הוא הוסיף כי עד סוף כל השמות נפח גמישים שאינם מכוסים על ידי-r.

אם הצבירה המקורי מוגבל בזמן הפילוג, וכתוצאה מכך מצטבר יהיה גם מוגבלת. אם מצטבר מוגבל מארחת כרכים גמישה, הם לא שמו במועד הפיצול. כרכים גמיש יהיה שמם מאוחר יותר, כאשר הסכסוך שם מתגלה תוך הבאת מקוונת המצרפי. כרכים נוספים במצטבר כי הוא הביא המקוון הראשון לשמור על שמם. במצטבר זה יכול להיות או במצטבר המקורי, או המצרפי הנובע הפיצול. כאשר מצטברים אחרים הוא הביא באינטרנט מאוחר יותר, כרכים גמישה במצטבר זה יהיה שמה.

אם Plex המצרפי של מוטבע בתוך נפח מסורתי מחובר בזמן הפילוג, במצטבר שיתקבלו יהיו במצב לא מקוון. כאשר Plex פיצול מן המצרפי שמארח כרכים גמיש, אם כי Plex מחובר, אבל במצטבר זה באינטרנט, וכתוצאה מכך מצטברים יבואו באינטרנט, ואמצעי אחסון גמישה שלה ישתנה. אסור לפצל Plex מ המצרפי מקוון.

המראה ניתן לפצל הצטרף שוב ביחד דרך האופציה v-לשקף aggr.

aggr מעמד [aggrname]
[-R |-V |-d |-c |-b |-s |-f |-i]

מציג את הסטטוס של כל אחד או אגרגטים על filer. אם aggrname משמש, מצב צבירה שצוין יודפס, אחרת את הסטטוס של כל אגרגטים filer הם מודפסים. כברירת מחדל, היא מדפיסה תקציר בן שורה אחת של המצרף הכולל את שם צבירה, בין אם הוא מכיל נפח מסורתי בודד או מספר כרכים גמיש, אם הוא מקוון או לא מקוון, מדינות אחרות (למשל, חלקית, מושפל, wafl עקבי, וכן הלאה) ו peraggregate אפשרויות. Per-המצרפי אפשרויות מוצגים רק אם אפשרויות שונו מתוך ערכי ברירת המחדל של המערכת באמצעות הפקודה אפשרויות aggr, או על ידי הפקודה כרך אפשרויות אם המצרפי מוטבע נפח מסורתי. אם המדינה לא עקבי wafl מוצג, אנא צור קשר עם תמיכת הלקוחות.

הדגל-v מראה את מצב הפעלה / כיבוי של כל peraggregate אפשרויות ומציג מידע על Plex, כל נפח קבוצת RAID הכלול במצטבר.

-R דגל מציגה רשימה של המידע RAID עבור צבירה זה. אם לא aggrname צוין, היא מדפיסה מידע RAID על כל אגרגטים, מידע על מערכת קבצים דיסקים, דיסקים חילוף דיסקים נכשל. לקבלת מידע נוסף על הדיסקים נכשל, עיין-f מתג התיאור להלן.

דגל-d מציג מידע על דיסקים במצטבר שצוין. סוגי המידע הדיסק זהים לאלה מהפקודה sysconfig-d.

הדגל-c מציג את מצב שדרוג של תכונת חסימת בדיקות סיכום הגנה על שלמות הנתונים.

ב-משמש כדי לקבל את הגודל של המקור אגרגטים יעד לשימוש עם עותק aggr. הפלט מכיל את אחסון במצטבר ואת גודל קטן יותר ואולי במצטבר. הפקודה העתק המצרפי משתמש מספרים אלה כדי לקבוע אם מקור המצרפי בגדלים יעד תואמים. גודל מצטבר המקור חייב להיות שווה או קטן יותר מהגודל של המצרפי היעד.

-S דגל מציג רשימה של דיסקים חילוף על filer.

-F דגל מציגה רשימה של הדיסקים נכשל על filer. פלט הפקודה כוללת את כשל בדיסק סיבה שניתן אחת מהפעולות הבאות:

הדגל-i מציגה רשימה של הכרכים גמישה הכלול המצרפי.

  כישלון ידוע סיבה ידועה.  נכשל Data ONTAP נכשל דיסק עקב שגיאת דיסק קטלני.  המשתמש נכשל admin הוציא פקודה "להיכשל דיסק" לדיסק הזה.  דיסק שבור שכותרתו היה נכשל תחת Data ONTAP 6.1.X או גירסה קודמת.  אתחול init נכשל רצף דיסק נכשל.  המשתמש הוסר admin הוציא פקודה "דיסק להסיר" עבור הדיסק הזה.  לא להגיב דיסק לא להגיב לבקשות.  דיסק משך משכו פיזית, או לא קיים נתיב נתונים שעליו לגשת לדיסק.  הדיסק עקף היה עקף על ידי אש. 

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.

אשכול שיקולים

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

יוצר צבירה בשם aggr1 עם 20 דיסקים. קבוצות RAID במצטבר זה יכול להכיל עד 10 דיסקים, אז זה מצטבר חדש שתי קבוצות RAID. Filer מוסיף את הדיסקים חילוף הנוכחי כדי לצבור החדש, החל את הדיסק הקטן ביותר.

aggr ליצור aggr1 20 @ 9

יוצר צבירה בשם aggr1 עם 20 9-GB דיסקים. לא בגלל גודל קבוצת RAID מוגדר, גודל ברירת המחדל (8 דיסקים) משמש. המצרף החדש שנוצר מכיל שתי קבוצות RAID עם 8 דיסקים קבוצה שלישית עם ארבעה דיסקים.

aggr ליצור aggr1-d 8a.1 8a.2 8a.3

יוצר צבירה בשם aggr1 עם שלושת הדיסקים שצוינו.

aggr ליצור aggr1 10
aggr אפשרויות aggr1 raidsize 5

הפקודה הראשונה יוצרת צבירה בשם aggr1 עם 10 דיסקים השייכים לקבוצה אחת RAID. הפקודה השני מגדיר שאם כל הדיסקים מתווספים לאחר מכן במצטבר זה, הם לא יגרמו לקבוצה RAID הנוכחי יש יותר מחמישה דיסקים. כל קבוצה RAID הקיים ימשיך להיות 10 דיסקים ולא דיסקים נוספים יתווספו הקבוצה RAID. כאשר קבוצות RAID חדשים נוצרים, יהיה להם הגודל המרבי של חמישה דיסקים.

aggr show_space-h ag1

מציג את השימוש בשטח של המצרף `ag1" קשקשים יחידת שטח בהתאם לגודל.

   סה"כ שטח "ag1 'מצטבר WAFL מילואים הצמד מילואים שמישים מרחב ב.ס. ר NVLOG 66GB 6797MB 611MB 59GB 65KB שטח שהוקצה כרכים בכרך במצטבר שהוקצו משמש vol1 אחריות 14GB נפח 11GB vol2 8861MB 8871MB קובץ vol3 6161MB 6169MB vol4 אף 26GB נפח 25GB vol1_clone 1028MB 1028MB ( לא מקוון) צבירה הועיל משמש שהוקצו סה"כ 55GB שטח 51GB 3494MB הצמד מילואים 611MB 21MB 590MB WAFL מילואים 6797MB 5480KB 6792MB 

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 

ראה גם

כרך , partner , snapmirror , sysconfig .


תוכן העניינים






















































Manual Pages , , , ,

cf

7 יולי 2009

תוכן העניינים

שם

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

תקציר

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

תיאור

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.

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

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

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

partner giveback incomplete, some data may be lost

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

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

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

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

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

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

צג
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.

שותף
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.

ראה גם

שותף


תוכן העניינים



Manual Pages , , , ,

bootfs

7 יולי 2009

תוכן העניינים

שם

bootfs – boot file system accessor command (ADVANCED)

תקציר

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

תיאור

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

כונן
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 ".

מגזר
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.

התווית
An 11-character or less string which names the drive.

אשכול שיקולים

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

דוגמאות

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 

ראה גם

להורדה


תוכן העניינים

Manual Pages , , , ,

מגף

7 יולי 2009

תוכן העניינים

שם

boot – directory of Data ONTAP executables

תקציר

/etc/boot

תיאור

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.

ראה גם

להורדה


תוכן העניינים

כל הזכויות שמורות © 1994-2008 NetApp, Inc מידע משפטי

VN: F [1.9.11_1134]
דרג את ההודעה:
דירוג: 0.0 / 10 (0 הצבעות להפיל)

Manual Pages , , , ,

bmc

7 יולי 2009

תוכן העניינים

שם

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

תקציר

bmc help

bmc reboot

bmc setup

bmc status

bmc test autosupport

תיאור

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

OPTIONS

עזרה
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.

ההתקנה
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 .

אשכול שיקולים

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

דוגמאות

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

הערות

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


תוכן העניינים

כל הזכויות שמורות © 1994-2008 NetApp, Inc מידע משפטי

VN: F [1.9.11_1134]
דרג את ההודעה:
דירוג: 0.0 / 10 (0 הצבעות להפיל)

Manual Pages , , , ,

backuplog

7 יולי 2009

תוכן העניינים

שם

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

תקציר

/etc/log/backup

תיאור

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 of a dump/restore.

סוף
Dump/restore completes successfully.

Abort
The operation aborts.

שגיאה
Dump/restore hits an unexpected event.

אפשרויות
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:

תמונת בזק
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

ראה גם

dump , restore , options


תוכן העניינים

Manual Pages , , , ,

גיבוי

7 יולי 2009

תוכן העניינים

שם

backup – manages backups

תקציר

backup status [ <ID> ]

backup terminate <ID>

תיאור

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.

מנוהג

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

תעודת זהות
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.

מדינה
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.

סוג
Either dump or NDMP.

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

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

רמה
The level of the backup.

נתיב
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.

ראה גם

dump


תוכן העניינים



Manual Pages , , , ,

autosupport

7 יולי 2009

תוכן העניינים

שם

autosupport – notification daemon

תקציר

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.

תיאור

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.

תוכן

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

שם מארח

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

מערכת מספר סידורי

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.

ראה גם

options , partner , setup , hosts , RFC821


תוכן העניינים






























































Manual Pages , , , ,

auditlog

7 יולי 2009

תוכן העניינים

שם

auditlog – contains an audit record of recent administrative activity

תקציר

<logdir>/auditlog

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

תיאור

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

ו -

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

ראה גם

options , syslog.conf


תוכן העניינים

Manual Pages , , , ,



אתר זה אינו קשור או ממומנים על ידי NetApp בכל זאת או לכל חברה אחרת כאמור בתוך.

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

© 2009-2012 כריס קרנץ כל הזכויות שמורות
אתר זה אינו קשור או ממומנים על ידי NetApp בכל זאת או לכל חברה אחרת כאמור בתוך.