Avamar: come gestire la capacità con lo script capacity.sh

Summary: Questo articolo spiega come utilizzare lo script capacity.sh per gestire la capacità su un sistema Avamar.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Questo articolo descrive come utilizzare Avamar capacity.sh copione. Lo script consente di comprendere quali Avamar Client aggiungono la maggior parte dei dati ed è utile per la gestione della capacità su Avamar.

 

Cause

Non applicabile

 

Resolution

L'Avamar capacity.sh Lo script aiuta gli utenti a comprendere la variazione giornaliera della capacità su un sistema Avamar.

Come eseguire lo script:

  1. Accedere all'Avamar Utility Node come utente amministratore.

  2. Eseguire:

    capacity.sh

    Esempio di output di capacity.sh quando viene eseguito senza opzioni aggiuntive.

    DATE     AVAMAR NEW     #BU    DDR NEW     #BU    SCANNED       REMOVED     MINS PASS AVAMAR NET      CHG RATE
    ========== ============= ==== ============= ==== ============= =============  ==== ==== ============= ==========
    2015-02-22      42116 mb   20          0 mb    0    1632430 mb         -2 mb     1    9      42113 mb      2.58%
    2015-02-23       9244 mb   37         87 mb    1    2007496 mb         -2 mb     1    8       9241 mb      0.46%
    2015-02-24     251437 mb   44          0 mb    0    3320302 mb         -5 mb     1    7     251431 mb      7.57%
    2015-02-25     128836 mb   29          0 mb    0    2984357 mb        -18 mb     1    8     128817 mb      4.32%
    2015-02-26       5972 mb   28          0 mb    0    3236844 mb       -120 mb     2    9       5852 mb      0.18%
    2015-02-27      10400 mb   28          0 mb    0    1698648 mb       -207 mb     1    8      10193 mb      0.61%
    2015-02-28        517 mb   20          0 mb    0    1639704 mb        -25 mb     1    8        492 mb      0.03%
    2015-03-01        232 mb   17          0 mb    0    1670693 mb         -2 mb     1   10        230 mb      0.01%
    2015-03-02       1795 mb   21          0 mb    0    1683217 mb      -1391 mb     1   13        403 mb      0.11%
    2015-03-03      61734 mb   31          0 mb    0    3310735 mb        -80 mb     1   15      61653 mb      1.86%
    2015-03-04      63130 mb   32          0 mb    0    3238318 mb     -56945 mb     3   24       6184 mb      1.95%
    2015-03-05       3824 mb   33          0 mb    0    3296444 mb       -123 mb     2    8       3700 mb      0.12%
    2015-03-06      66523 mb   31          0 mb    0    3334139 mb          0 mb     1    5      66522 mb      2.00%
    2015-03-07       8831 mb   24          0 mb    0    3003236 mb       -456 mb     4   17       8375 mb      0.29%
    2015-03-08       1051 mb    8          0 mb    0    1475912 mb        -92 mb     1    9        959 mb      0.07%
    ================================================================================================================
     14 DAY AVG     43709 mb   26          5 mb    0    2502165 mb      -3965 mb     1   10      39744 mb      1.75%
     30 DAY AVG     34940 mb   24          2 mb    0    2098185 mb      -2798 mb     1   13      32141 mb      1.67%
     60 DAY AVG     23373 mb   19          1 mb    0    1575990 mb     -10646 mb     1   10      12727 mb      1.48%
    
    Top Change Rate Clients.  Total Data Added 655735mb
    
         NEW DATA % OF TOTAL CHGRATE TYPE CLIENT
    ============= ========== ======= ====
        272838 mb     41.61   1.44%  AVA /MC_SYSTEM/avamar-1361485148
        244332 mb     37.26   2.22%  AVA /domain1/clientZ.customer.com
        114913 mb     17.52  29.74%  AVA /domain2/clientF.customer.com
          4238 mb      0.65   9.71%  AVA /REPLICATE/AvamarServer50/clients/replicatedclient.customer.com
          3772 mb      0.58  14.41%  AVA /domain1/clientD.customer.com
    
    Starting with the above part of the script, we see a row of data for each day being reported on. The default reporting time frame is 14 days.
    
    For each day, the above section reports the following information:    
    
    AVAMAR NEW - The amount of new, modified data added to the Avamar Server
    BU# - The number of Avamar server backups which took place
    DDR NEW - The amount of new, modified data added to any attached Data Domain systems 
    BU# - The number of Data Domain directed backups which took place
    SCANNED - The amount of source data scanned on the clients
    REMOVED - The amount of data removed from the Avamar Server by garbage collection
    MINS - The amount of time for which garbage collection ran.
    PASS - The number of passes achieved by garbage collection
    AVAMAR NET - The net data change on the Avamar system (AVAMAR NEW less REMOVED)
    CHG RATE - The percentage increase or decrease of data that is stored in the Avamar Server due to the net data change.

 

Interpretazione dei dati:
Questa sezione ti dà un'idea di ciò che sta accadendo quotidianamente e per comprendere tendenze e anomalie. Valutare se i dati mostrano uno dei seguenti elementi:

  • Un notevole aumento dei "nuovi dati".
  • Garbage collection regolarmente persa (rimosso = 0)
  • Garbage collection insufficiente (PASS < 2)
  • Tassi di variazione persistentemente elevati (CHG RATE > 1%).
  • Giorni in cui il backup non è stato eseguito.

 

Sotto la sezione precedente sono presenti tre righe che riepilogano i dati dei precedenti periodi di 14, 30 e 60 giorni. Questo è utile per comprendere le tendenze a lungo termine.
L'output precedente mostra che i nuovi dati aggiunti al sistema stanno accelerando. Il tasso di cambio aumenta dall'1,48% all'1,67% all'1,75%.
La sezione inferiore dell'output mostra la quantità di dati aggiunti durante il periodo di reporting.
Qui apprendiamo che la quantità totale di dati aggiunti da tutti i client era di 655.735 MB. Lo script mostra quindi un numero (configurabile) dei principali client che hanno contribuito a questi nuovi dati.
Prendiamo l'esempio precedente:

Top Change Rate Clients.  Total Data Added 655735mb

     NEW DATA % OF TOTAL CHGRATE TYPE CLIENT
============= ========== ======= ====
    272838 mb     41.61   1.44%  AVA /domain1/clientD.customer.com
    244332 mb     37.26   2.22%  AVA /domain1/clientZ.customer.com
    114913 mb     17.52  29.74%  AVA /domain2/clientF.customer.com
      4238 mb      0.65   9.71%  AVA /REPLICATE/AvamarServer50/clients/replicatedclient.customer.com
      3772 mb      0.58  14.41%  AVA /MC_SYSTEM/avamar-abcdef123456

 

Qui apprendiamo che

clientD.customer.com
 added the most new data to the Avamar Server (272,838 MB) which was 41.61% of the total data added. The client's own change rate was 1.44%.
clientF.customer.com

 

Non ha aggiunto una quantità significativa di dati, ma ha il tasso di modifica più alto tra i client principali.

 

Si consiglia all'amministratore di monitorare questo client per capire perché il tasso di modifica è così elevato.
Dal punto di vista del capacity management, i clienti "principali" elencati in questa sezione sono candidati per un'ispezione approfondita. Ciò è dovuto al fatto che hanno l'effetto maggiore sulla capacità complessiva.
Se si considera la riduzione delle policy di retention, l'affinamento dei dataset o la migrazione dei client, è possibile ottenere i maggiori guadagni di capacità esaminando questi client.
Per aumentare il numero di client riportati in questa sezione, aggiungere il capacity.sh con il flag "top". Ad esempio:

capacity.sh --top=20

 

Additional Information

Per ulteriori informazioni sul capacity management di Avamar, consultare l'articolo 79977: Avamar - Concetti e formazione sulla capacity management

Le opzioni avanzate sono disponibili aggiungendo --help durante l'esecuzione dello script. Ad esempio:

capacity.sh --help

 

In questo modo vengono stampate le informazioni sui nuovi dati aggiunti e sui dati rimossi da Garbage Collection.
Se sono presenti backup in Data Domain, vengono aggiunte ulteriori colonne che mostrano la quantità di dati in Data Domain e in Avamar.
La quantità analizzata e il tasso di modifica includono sia i dati Avamar che i dati Data Domain. Removed e Net sono sempre e solo dati Avamar.
È possibile utilizzare il comando

--avamar or -ddr

in modo che le colonne Scanned e Rate riflettano solo le informazioni su Avamar o Data Domain.

--version - Display the program version
--help - Display the help screen
--days=n - Limit data to backups in the past "n" days. Defaults to 14
--client=x-  Limit data to backups with clients that contain "x"
--domain=x - Limit data to backups in domains that contain "x" --avamar Limit data to backups with Avamar as the target
--ddr - Limit data to backups with Data Domain as the target
--norepl - Do not include replication backups
--gb - Report in GB instead of MB
--top=n - Limit large client list to "n." Default 5
--start=x - Start report from date mm/dd/yy
--end=x - End report on date mm/dd/yy

 

Per ottenere un elenco di tutti i backup su un sistema Avamar o Avamar-DataDomain, consultare l'articolo 19732: Avamar: Come utilizzare lo script dump_root_hashes.rb per generare un elenco di client e backup confrontando il contenuto di due sistemi Avamar e altri casi d'uso.

 

Affected Products

Avamar

Products

Avamar
Article Properties
Article Number: 000060149
Article Type: Solution
Last Modified: 18 Apr 2025
Version:  8
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.