Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

NVP vProxy: Solução de problemas de desempenho e throughput nos backups de VM

Summary: Há muitos fatores que podem alterar o desempenho dos backups de VM. Este artigo da KB apresenta uma visão geral de como analisar as sessões de backup de VM com base no tempo necessário para concluir o backup de uma determinada VM e no throughput observado durante os backups. ...

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.

Instructions

As opções de desempenho e escalabilidade e as práticas recomendadas são descritas na seção Desempenho escalabilidade do Guia de integração entre o NetWorker e a VMware, disponível em: https://www.dell.com/support/home/product-support/product/networker/docs

1. No NetWorker Server, crie um arquivo de entrada (exemplo: vmperf)
2. Preencha o arquivo de entrada com os seguintes detalhes:
. type: save job; vm_name: VM_NAME
sh vm_name; job output; start time; end time; job log file
p
Nota: Substitua VM_NAME pelo nome da VM afetada. Você pode obter essas informações na saída mminfo -kot.

3. Usando a consulta de tarefas e o arquivo de entrada, podemos coletar detalhes sobre as horas de início e término da tarefa e informações de log da sessão de backup.
[root@nwserver ~]# jobquery -i vmperf
Current query set
                    end time: 1654567313;
                job log file: \
/nsr/logs/policy/Gold/VMware/353252-winclient01-2022-6-6-19-1-53.log;
                  job output: Backup completed successfully.;
                  start time: 1654567245;
                     vm_name: winclient01;
end time: 1654480913;
                job log file: \
/nsr/logs/policy/Gold/VMware/353027-winclient01-2022-6-5-19-1-53.log;
                  job output: Backup completed successfully.;
                  start time: 1654480845;
                     vm_name: winclient01;
end time: 1654394509;
                job log file: \
/nsr/logs/policy/Gold/VMware/352801-winclient01-2022-6-4-19-1-47.log;
                  job output: Backup completed successfully.;
                  start time: 1654394446;
                     vm_name: winclient01;
 
4. As horas exibidas estão de acordo com o horário do UNIX, mas isso pode ser convertido com: date -d@UNIX_TIME
[root@nwserver ~]# date -d@1654394446
Sat Jun  4 19:00:46 PDT 2022
[root@nwserver ~]# date -d@1654394509
Sat Jun  4 19:01:49 PDT 2022
5. No caso dos backups com longa execução, analise o arquivo de log de tarefas para obter informações sobre o throughput:
[root@nwserver ~]# cat /nsr/logs/policy/Gold/VMware/352801-winclient01-2022-6-4-19-1-47.log | grep "DiskStats"
2022-06-05T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: Disk Label    |  Mode  | Bytes Moved |  Read Rate   |  Write Rate  |     Overhead  |   VDDK Wait   |   Total Time  | VM MORef  | VM Name
2022-06-05T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: ------------- | ------ | ----------- | ------------ | ------------ | ------------- | ------------- | ------------- | --------- | ------------------------------
2022-06-05T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: Hard disk 1   | hotadd |      94 MiB |     17 MiB/s |    103 MiB/s |       0:00:17 |       0:00:16 |       0:00:56 | vm-5001   | winclient01
2022-06-05T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: Total         |        |      94 MiB |     17 MiB/s |    103 MiB/s |       0:00:17 |       0:00:16 |       0:00:56 | vm-5001   | winclient01
2022-06-05T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: CSV: Generate stats in CSV format for friendly import to spreadsheet.
2022-06-05T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: CSV: VM MORef,VM Name,Disk Label,Mode,Bytes Moved,Total Time (sec),Overhead (sec),VDDK Wait (sec),Read Rate (b/s),Write Rate (b/s)
2022-06-05T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: CSV: vm-5001,winclient01,Hard disk 1,hotadd,98369536,56,17,17,17673109,107196400
Nota: Em dias em que o backup leva mais tempo do que o normal, a velocidade total de gravação é menor do que a média vista em outras sessões de backup. 

6. Os logs de política para a VM específica podem ser analisados executando:
cat /nsr/policy/POLICY_NAME/WORKFLOW_NAME/*VM_NAME*.log | grep DiskStats
[root@nwserver ~]# cat /nsr/logs/policy/Gold/VMware/*winclient01*.log | grep "DiskStats"
2022-06-05T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: Disk Label    |  Mode  | Bytes Moved |  Read Rate   |  Write Rate  |     Overhead  |   VDDK Wait   |   Total Time  | VM MORef  | VM Name
2022-06-05T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: ------------- | ------ | ----------- | ------------ | ------------ | ------------- | ------------- | ------------- | --------- | ------------------------------
2022-06-05T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: Hard disk 1   | hotadd |      94 MiB |     17 MiB/s |    103 MiB/s |       0:00:17 |       0:00:16 |       0:00:56 | vm-5001   | winclient01
2022-06-05T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: Total         |        |      94 MiB |     17 MiB/s |    103 MiB/s |       0:00:17 |       0:00:16 |       0:00:56 | vm-5001   | winclient01
2022-06-05T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: CSV: Generate stats in CSV format for friendly import to spreadsheet.
2022-06-05T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: CSV: VM MORef,VM Name,Disk Label,Mode,Bytes Moved,Total Time (sec),Overhead (sec),VDDK Wait (sec),Read Rate (b/s),Write Rate (b/s)
2022-06-05T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: CSV: vm-5001,winclient01,Hard disk 1,hotadd,98369536,56,17,17,17673109,107196400
2022-06-06T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: Disk Label    |  Mode  | Bytes Moved |  Read Rate   |  Write Rate  |     Overhead  |   VDDK Wait   |   Total Time  | VM MORef  | VM Name
2022-06-06T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: ------------- | ------ | ----------- | ------------ | ------------ | ------------- | ------------- | ------------- | --------- | ------------------------------
2022-06-06T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: Hard disk 1   | hotadd |      95 MiB |     16 MiB/s |    119 MiB/s |       0:00:17 |       0:00:16 |       0:00:56 | vm-5001   | winclient01
2022-06-06T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: Total         |        |      95 MiB |     16 MiB/s |    119 MiB/s |       0:00:17 |       0:00:16 |       0:00:56 | vm-5001   | winclient01
2022-06-06T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: CSV: Generate stats in CSV format for friendly import to spreadsheet.
2022-06-06T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: CSV: VM MORef,VM Name,Disk Label,Mode,Bytes Moved,Total Time (sec),Overhead (sec),VDDK Wait (sec),Read Rate (b/s),Write Rate (b/s)
2022-06-06T02:01:48Z INFO:   [@(#) Build number: 95] DiskStats: CSV: vm-5001,winclient01,Hard disk 1,hotadd,99221504,57,17,17,16272803,124243462
2022-06-07T02:01:49Z INFO:   [@(#) Build number: 95] DiskStats: Disk Label    |  Mode  | Bytes Moved |  Read Rate   |  Write Rate  |     Overhead  |   VDDK Wait   |   Total Time  | VM MORef  | VM Name
2022-06-07T02:01:49Z INFO:   [@(#) Build number: 95] DiskStats: ------------- | ------ | ----------- | ------------ | ------------ | ------------- | ------------- | ------------- | --------- | ------------------------------
2022-06-07T02:01:49Z INFO:   [@(#) Build number: 95] DiskStats: Hard disk 1   | hotadd |      97 MiB |     15 MiB/s |    110 MiB/s |       0:00:16 |       0:00:16 |       0:00:57 | vm-5001   | winclient01
2022-06-07T02:01:49Z INFO:   [@(#) Build number: 95] DiskStats: Total         |        |      97 MiB |     15 MiB/s |    110 MiB/s |       0:00:16 |       0:00:16 |       0:00:57 | vm-5001   | winclient01
2022-06-07T02:01:49Z INFO:   [@(#) Build number: 95] DiskStats: CSV: Generate stats in CSV format for friendly import to spreadsheet.
2022-06-07T02:01:49Z INFO:   [@(#) Build number: 95] DiskStats: CSV: VM MORef,VM Name,Disk Label,Mode,Bytes Moved,Total Time (sec),Overhead (sec),VDDK Wait (sec),Read Rate (b/s),Write Rate (b/s)
2022-06-07T02:01:49Z INFO:   [@(#) Build number: 95] DiskStats: CSV: vm-5

Nota: Os logs de política seguem a retenção do jobsdb (padrão: 72 horas). Depois que a janela jobsdb for concluída, os logs de política associados e as entradas de jobquery serão removidos. No entanto, o equipamento vProxy manterá os logs da sessão de backup da VM localmente, em /opt/emc/vproxy/runtime/logs/recycle/vbackupd/

Additional Information

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000200394
Article Type: How To
Last Modified: 11 May 2024
Version:  11
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.