Avamar:如何使用 capacity.sh 指令檔管理容量

Summary: 本文說明如何使用 capacity.sh 指令檔來管理 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

本文說明如何使用 Avamar capacity.sh 腳本。此指令檔有助於瞭解哪些 Avamar 用戶端新增的資料最多,在管理 Avamar 上的容量時非常有用。

 

Cause

不適用

 

Resolution

阿瓦瑪爾酒店 capacity.sh 指令檔可協助使用者瞭解 Avamar 系統上的每日容量變化。

如何執行指令檔:

  1. 以「系統管理員」使用者身分登入 Avamar 工具節點。

  2. 執行:

    capacity.sh

    以下項目的範例輸出: capacity.sh 在沒有額外選項的情況下運行時。

    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.

 

解釋資料:
本節讓您瞭解每天發生的事情,並瞭解趨勢和異常。考慮資料是否顯示以下任何內容:

  • “新數據”大幅增加。
  • 定期遺失垃圾收集 (已移除 = 0)
  • 垃圾回收不足 (PASS < 2)
  • 持續較高的變更率(CHG 率 > 1%)。
  • 未執行備份的天數。

 

在上述部分下方,有三行匯總了過去 14 天、30 天和 60 天期間的數據。這有助於瞭解長期趨勢。
上述輸出顯示新增至系統的新資料正在加速。變化率從1.48%增加到1.67%到1.75%。
輸出的底部顯示在報告期間添加的數據量。
在這裡,我們瞭解到 所有 用戶端添加的數據總量為 655,735 MB。然後,該腳本顯示對此新數據做出貢獻的頂級用戶端的(可配置)數量。
讓我們以前面的例子為例:

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

 

在這裡,我們瞭解到

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

 

沒有添加大量數據,但在頂級用戶端中具有最高的更改率。

 

建議管理員監視此客戶,以了解為什麼更改率如此之高。
從容量管理的角度來看,本節中列出的“頂級”用戶端是仔細檢查的候選項。這是因為它們對整體容量的影響最大。
如果考慮減少保留策略、優化數據集或遷移用戶端,可以通過查看這些用戶端來獲得最大的容量增益。
若要增加本節中報告的客戶端數,請在 capacity.sh 後附加“top”標誌。例如:

capacity.sh --top=20

 

Additional Information

如需有關 Avamar 容量管理的詳細資訊,請參閱文章 79977:Avamar - 容量管理概念和訓練

透過附加找到進階選項 --help 執行指令檔時。例如:

capacity.sh --help

 

這將列印有關添加的新數據以及垃圾回收刪除的數據的資訊。
如果有備份要前往 Data Domain,則會新增額外的欄,顯示前往 Data Domain 和 Avamar 的資料量。
掃描的數量和變更率同時包含 Avamar 和 Data Domain 資料。「已移除」和「淨額」一律僅是 Avamar 資料。
您可以使用

--avamar or -ddr

標記,以便「已掃描」和「速率」欄僅反映 Avamar 或 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

 

若要取得 Avamar 或 Avamar-DataDomain 系統上所有備份的清單,請參閱文章 19732:Avamar:如何使用 dump_root_hashes.rb 指令檔產生比較兩個 Avamar 系統內容和其他使用案例的用戶端及備份清單。

 

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.