Avamar: Come utilizzare lo script della shell sched per controllare l'attività di backup, replica e manutenzione cronologica su un Avamar Server

Zusammenfassung: Questo articolo descrive come utilizzare lo script della shell sched per controllare la cronologia delle attività di backup, replica e manutenzione su un Avamar Server.

Dieser Artikel gilt für Dieser Artikel gilt nicht für Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden. In diesem Artikel werden nicht alle Produktversionen aufgeführt.

Weisungen

Quando si analizzano i problemi di Avamar, può essere utile capire quali attività erano in esecuzione contemporaneamente quando si è verificato un particolare evento.

Lo sched.sh script è uno strumento utile che può aiutare a:
  • Identificare i tipi di attività che si stavano verificando al momento di un particolare evento.
  • Ottieni una rappresentazione visiva del modo in cui backup, processi di replica e attività di manutenzione sono pianificati l'uno rispetto all'altro.
  • Identificare i tipi di attività che si sovrappongono.

  Ci sono due versioni dello script 'sched'. 

Script originale:
/usr/local/avamar/bin/sched.sh


La funzione sched del controllo proattivo:
perl /home/admin/proactive_check/proactive_check.pl --sched

L'output degli script non è identico, come si può vedere di seguito.

Output di esempio con sched.Sh
admin@avamar:/usr/local/avamar/bin/>: sched.sh
        12am                   1 1 1 1 1 1 1 1 1 1 2 2 2 2   GMT
           0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
2015/10/26 ........................ggg.........c.c.........

2015/10/27 ....dddd......ee........GGGGGGGGG...c...bbbbbbbb
2015/10/27 ....................................hhhhhh......

2015/10/28 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb..c...bbbbbbbb
2015/10/28 ....dddd................GGGGGGGGG...hhhhhh......

2015/10/29 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...c...bbbbbbbb
2015/10/29 ....ddd.................GGGGGGGGG.......BBBBBBBB
2015/10/29 ....................................hhhhhh......

2015/10/30 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb....c.c.bbbbbbbb
2015/10/30 ...BBBBBBBBBBBBBB.......ggggggggg...hhh.........
2015/10/30 ....ddddd.......................................

2015/10/31 bbbbbbbbbbbbbbbbbbbbbbbbbbb.........c...bbbbbbbb
2015/10/31 ....dddd................GGG.............BBBBBB..
2015/10/31 ....................................HHHHHHHHHHHH

2015/11/01 bbbbbbbbbbbbbbbbb.......................bbbbbbbb
2015/11/01 ....dDDDDDDDDDDD........................BBBBB...
2015/11/01 ....DDDDDDDDDdd.................................

2015/11/02 bbbbbDDDDDDDDDDDD.....RRRRR.....................
2015/11/02 ....d...........................................
2015/11/02 ....DDDDDDDDDDDDD...............................
2015/11/02 HHHHHHHHHHHHHHHHHHHHHHHHHH......................
b=backup, h=hfs, c=CP, g=GC, r=Repl, d=ReplDest, e=restore
Uppercase/Reverse means failed.  v2.0
Output dallo stesso Avamar utilizzando il controllo proattivo.pl --sched
admin@avamar:~/proactive_check/>: perl proactive_check.pl --sched --days=5
                                         1  1  1  1  1  1  1  1  1  1  2  2  2  2  GMT
           0  1  2  3  4  5  6  7  8  9  0  1  2  3  4  5  6  7  8  9  0  1  2  3
2015/10/28 ......dddddd..........................................c.....332110311000.
2015/10/28 ......................................................hhhhhhh............

2015/10/29 0000000000000000000000000000000000000000000000000.....c.....432110211000.
2015/10/29 ......................................................hhhhhhhh...........

2015/10/30 000000000000000000000000000000000000000000000000......c..c..531110210000.
2015/10/30 ....................................ggggggggggggg.....hhhh...............

2015/10/31 00000000000000000000000000000000000000000.............c.....331000200000.
2015/10/31 ....................................gggG..............hhhhhhhhhhhhhhhhhh.

2015/11/01 0000000000000000000000000...................................332000200000.
2015/11/01 hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh.

2015/11/02 00000000dddddddddddddddd.........rrrrrrR.................................
2015/11/02 hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhHH..................................

h=hfs, c=CP, g=GC, r=Repl, d=ReplDest, e=restore, uppercase means failed activity
A number is how many backups are running, 0=0-9, 1=10-19, b=100 or more backups

Interpretazione dell'output:
Lo script produce una serie di righe che mostrano le informazioni per i giorni precedenti (il flag --days determina il numero).

Ogni riga mostra cosa è successo da mezzanotte (00:00) a mezzanotte (23:59).
Se si è verificato più di un tipo di attività in un determinato momento, una riga aggiuntiva mostra come entrambe le attività sono state eseguite contemporaneamente.
Un tasto nella parte inferiore dell'output spiega i tipi di attività mostrati.

Una delle principali differenze tra sched.sh e il proactive_check.pl --sched è che quest'ultimo riporta quanti backup erano in esecuzione in un determinato momento. Questo ci può aiutare a capire con maggiore precisione quanto fosse occupato Avamar.

Betroffene Produkte

Avamar

Produkte

Avamar
Artikeleigenschaften
Artikelnummer: 000173231
Artikeltyp: How To
Zuletzt geändert: 05 Mai 2025
Version:  10
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.