NetWorker VMware 整合指南的
效能與
擴充能力一節中概述了效能與擴充能力選項和最佳實務,網址為:
https://www.dell.com/support/home/product-support/product/networker/docs
1.在 NetWorker 伺服器上建立輸入檔案 (例如:vmperf)
2.以下列詳細資料填入輸入檔案:
. type: save job; vm_name: VM_NAME
sh vm_name; job output; start time; end time; job log file
p
注意:將 VM_NAME 替換為受影響的 VM。您可以從
mminfo -kot 的輸出內容取得此資訊。
3.使用工作查詢和輸入檔案,我們可以收集有關工作開始與結束時間的詳細資料,以及備份工作階段記錄資訊。
[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.輸出的時間是 UNIX 時間,但可以使用以下命令轉換: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.對於備份執行較長的備份,請檢閱工作紀錄,以取得輸送量的相關資訊:
[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
注意:在備份時間比平常更長的天數上,總寫入速度會低於其他備份工作階段的平均寫入速度。
6.可執行下列命令,檢閱特定 VM 的原則記錄:
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
注意:原則記錄會遵循 jobsdb 的保留設定 (預設:72 小時)。在 jobsdb 視窗通過相關的原則記錄,並移除 jobquery 項目後,vProxy 裝置會在本機保留 VM 備份工作階段記錄,位於 /opt/emc/vproxy/runtime/logs/recycle/vbackupd/ 之下