Data Domain: Come raccogliere informazioni sulle prestazioni di DDVE utilizzando la CLI del vServer
Summary: Questo articolo descrive come raccogliere i dati sulle prestazioni e sulla configurazione dal server host di un sistema DDVE utilizzando il set di comandi CLI vServer. I comandi vserver generano log delle prestazioni in sequenza che supportano la risoluzione dei problemi. Includere questi registri quando si apre una richiesta di supporto con Data Domain Support. ...
Instructions
1. Panoramica
La colonna vserver La CLI raccoglie le statistiche sulle prestazioni direttamente dall hypervisor che ospita l'istanza di DDVE.
I registri raccolti vengono scritti in:
/ddvar/log/debug/vserver/ddveperf.log
Ogni 5 minuti inizia un nuovo ciclo di raccolta che prosegue fino all'interruzione manuale.
2. Configurazione della connessione vServer
Configurare DDVE per la connessione all hypervisor host (vCenter, ESXi o Hyper-V):
vserver config set host <IP-or-hostname>
Viene richiesto di considerare attendibile il certificato e di fornire le credenziali.
Note:
-
- Hyper-V richiede
username@domainformato per l'autenticazione. - Una volta salvata la configurazione, la raccolta periodica delle prestazioni si avvia automaticamente.
- Hyper-V richiede
Esempio di output:
vServer configuration saved.
Started periodic collection of DDVE performance information at /ddvar/log/debug/vserver/ddveperf.log.
3. Raccogliere i registri delle prestazioni.
Consentire l'esecuzione di DDVE in condizioni di carico di lavoro normale per acquisire dati significativi sulle prestazioni.
Orario di raccolta consigliato:
Circa 10 minuti durante l'elaborazione delle operazioni da parte del sistema.
Percorso del file di log:
/ddvar/log/debug/vserver/ddveperf.log
4. Arrestare la raccolta delle prestazioni.
Arrestare la raccolta periodica delle prestazioni una volta raccolti dati sufficienti:
ddsh -s vserver perf-stats stop
Esempio:
Stopped periodic collection of DDVE performance.
5. Aggiunta di un registro al pacchetto di supporto (se necessario)
Se ddveperf.log Il file deve essere incluso manualmente in un pacchetto di supporto, utilizzare:
support bundle create default with-files /ddvar/log/debug/vserver/ddveperf.log
6. Guida ai comandi della CLI di vServer
vserver config reset Reset vServer credentials
vserver config set host <host> Configure vServer host connection
vserver config show Display vServer configuration
vserver perf-stats start Start performance data collection
vserver perf-stats status Show collection status
vserver perf-stats stop Stop performance data collection
7. Dati raccolti in ddveperf.log
Il registro fornisce informazioni dettagliate, tra cui:
-
- Configurazione/utilizzo della CPU e della memoria (host e VM)
- Configurazione di dischi e storage (host e VM)
- Statistiche sulle prestazioni di lettura/scrittura
- Configurazione di rete e statistiche di utilizzo
- Contatori delle prestazioni a livello di hypervisor
Nella sezione "Informazioni aggiuntive" viene fornito un output di esempio.
Additional Information
ESEMPIO ddveperf.log
=====================================================================================================================
2017-05-17 13:43:29,143 INFO Starting new HTTPS connection (1): 128.xxxx.xx.xx
2017-05-17 13:43:29,323 INFO Connect to the vCenter successfully!
2017-05-17 13:45:04,577 INFO Starting new HTTPS connection (1):128.xxxx.xx.xx
2017-05-17 13:45:04,801 INFO Connect to the vCenter successfully!
2017-05-17 13:45:04,836 INFO DDVE Performance Counter Information:
2017-05-17 13:45:04,836 INFO
2017-05-17 13:45:04,836 INFO DDVE General Configuration Information:
2017-05-17 13:45:04,836 INFO ================================================================================================
2017-05-17 13:45:04,983 INFO guest OS name : Other (64-bit)
2017-05-17 13:45:05,015 INFO name : Cube3.1DDVE
2017-05-17 13:45:05,015 INFO CPU Limit : -1
2017-05-17 13:45:05,015 INFO bios UUID : 564dea6b-xxxxxxxxxxxxxxxxxxxxx
2017-05-17 13:45:05,015 INFO Memory Capacity : 6144
2017-05-17 13:45:05,015 INFO CPU Capacity : 2
2017-05-17 13:45:05,015 INFO Memory Shares : normal
2017-05-17 13:45:05,015 INFO Memory Limit : -1
2017-05-17 13:45:05,015 INFO Memory Reservation : 6144
2017-05-17 13:45:05,015 INFO last booted timestamp : 2017-05-17 20:25:03.163597+00:00
2017-05-17 13:45:05,016 INFO CPU Reservation : 3000
2017-05-17 13:45:05,016 INFO path to VM : [1TB] Cube3.1DDVE/Cube3.1DDVE.vmx
2017-05-17 13:45:05,016 INFO guest OS id : otherGuest64
2017-05-17 13:45:05,016 INFO CPU Shares : normal
2017-05-17 13:45:05,016 INFO host name : localhost.localdomain
2017-05-17 13:45:05,016 INFO instance UUID : 520b9e6xxxxxxxxxxxxxxxxxxxxxxxx
2017-05-17 13:45:05,016 INFO VMware Tools:
2017-05-17 13:45:05,028 INFO Status : guestToolsRunning
2017-05-17 13:45:05,037 INFO Version : 2147483647
2017-05-17 13:45:05,073 INFO Synchronize guest time with host: True
2017-05-17 13:45:05,073 INFO VM Datastore Information:
2017-05-17 13:45:05,082 INFO Datastore : DATASTORE NAME
2017-05-17 13:45:05,086 INFO Type : VMFS
2017-05-17 13:45:05,223 INFO Capacity : 931.2GB
2017-05-17 13:45:05,229 INFO Free Capacity : 338.3GB
2017-05-17 13:45:05,237 INFO MaxSize : 62.9TB
2017-05-17 13:45:05,275 INFO Version : 5.61
2017-05-17 13:45:05,275 INFO Block Size : 1M
2017-05-17 13:45:05,275 INFO Extents : t10.ATA_____HUA722010CLA330_________________________N11KTEML____________
2017-05-17 13:45:05,281 INFO Virtual Disks Information:
2017-05-17 13:45:05,305 INFO scsi0:0
2017-05-17 13:45:05,306 INFO Label : Hard disk 1
2017-05-17 13:45:05,306 INFO Device type : vim.vm.device.VirtualDisk
2017-05-17 13:45:05,306 INFO Capacity : 250G
2017-05-17 13:45:05,306 INFO Backing type : vim.vm.device.VirtualDisk.FlatVer2BackingInfo
2017-05-17 13:45:05,306 INFO Type : Thin Provision
2017-05-17 13:45:05,306 INFO scsi0:1
2017-05-17 13:45:05,306 INFO Label : Hard disk 2
2017-05-17 13:45:05,306 INFO Device type : vim.vm.device.VirtualDisk
2017-05-17 13:45:05,306 INFO Capacity : 10G
2017-05-17 13:45:05,306 INFO Backing type : vim.vm.device.VirtualDisk.FlatVer2BackingInfo
2017-05-17 13:45:05,306 INFO Type : Thin Provision
2017-05-17 13:45:05,307 INFO
2017-05-17 13:45:05,307 INFO DDVE Performance Statistics:
2017-05-17 13:45:05,307 INFO ================================================================================================
2017-05-17 13:45:05,617 INFO [VM] DDVE CPU & Memory Performance Statistics
2017-05-17 13:45:05,617 INFO [VM] CPU Ready : Average 1.5 %, Maximum 1.9 %
2017-05-17 13:45:05,617 INFO [VM] CPU Usage(%) : Average 3.0 %, Maximum 3.0 %
2017-05-17 13:45:05,617 INFO [VM] Memory : 6144 MB (6.0 GB)
2017-05-17 13:45:05,617 INFO [VM] Memory Shared : 0 %, 0 MB
2017-05-17 13:45:05,617 INFO [VM] Memory Balloon : 0 %, 0 MB
2017-05-17 13:45:05,617 INFO [VM] Memory Swapped : 0 %, 0 MB
2017-05-17 13:45:05,617 INFO [VM] Memory Active : 19 %, 1159 MB
2017-05-17 13:45:05,617 INFO [VM] Memory Consumed : 52 %, 3192 MB
2017-05-17 13:45:05,617 INFO [VM] Memory Granted : 52 %, 3192 MB
2017-05-17 13:45:05,617 INFO [VM] Memory Usage(%) : Average 18.9 %
2017-05-17 13:45:05,618 INFO
2017-05-17 13:45:05,618 INFO [VM] DDVE Networking Performance Statistics
2017-05-17 13:45:05,674 INFO [VM] VirtualNic key : 4000
2017-05-17 13:45:05,675 INFO [VM] Network Transmitted : 0.000 Kbps
2017-05-17 13:45:05,675 INFO [VM] Network Received : 2.667 Kbps
2017-05-17 13:45:05,675 INFO [VM] Network Usage : 4.800 Kbps
2017-05-17 13:45:05,675 INFO [VM] Receive packets dropped : 0
2017-05-17 13:45:05,675 INFO [VM] Transmit packets dropped : 0
2017-05-17 13:45:05,708 INFO [VM] VirtualNic key : 4001
2017-05-17 13:45:05,708 INFO [VM] Network Transmitted : 0.000 Kbps
2017-05-17 13:45:05,708 INFO [VM] Network Received : 0.000 Kbps
2017-05-17 13:45:05,708 INFO [VM] Network Usage : 0.000 Kbps
2017-05-17 13:45:05,708 INFO [VM] Receive packets dropped : 233
2017-05-17 13:45:05,708 INFO [VM] Transmit packets dropped : 0
2017-05-17 13:45:05,708 INFO
2017-05-17 13:45:05,708 INFO [VM] DDVE Virtual Disk Performance Statistics
2017-05-17 13:45:05,760 INFO [VM] Virtual Disk : scsi0:0
2017-05-17 13:45:05,789 INFO [VM] Read rate : 107.400 KBps
2017-05-17 13:45:05,789 INFO [VM] Write rate : 119.800 KBps
2017-05-17 13:45:05,789 INFO [VM] Read latency : 13.400 ms
2017-05-17 13:45:05,789 INFO [VM] Write latency : 34.333 ms
2017-05-17 13:45:05,789 INFO [VM] IOPS (r) : 3.400
2017-05-17 13:45:05,789 INFO [VM] IOPS (w) : 19.067
2017-05-17 13:45:05,790 INFO [VM] Outstanding IOPS (r) : 0.200
2017-05-17 13:45:05,790 INFO [VM] Outstanding IOPS (w) : 7.667
2017-05-17 13:45:05,837 INFO [VM] Virtual Disk : scsi0:1
2017-05-17 13:45:05,837 INFO [VM] Read rate : 0.000 KBps
2017-05-17 13:45:05,837 INFO [VM] Write rate : 0.000 KBps
2017-05-17 13:45:05,837 INFO [VM] Read latency : 0.000 ms
2017-05-17 13:45:05,837 INFO [VM] Write latency : 0.000 ms
2017-05-17 13:45:05,837 INFO [VM] IOPS (r) : 0.000
2017-05-17 13:45:05,838 INFO [VM] IOPS (w) : 0.000
2017-05-17 13:45:05,838 INFO [VM] Outstanding IOPS (r) : 0.000
2017-05-17 13:45:05,838 INFO [VM] Outstanding IOPS (w) : 0.000
2017-05-17 13:45:05,839 INFO
2017-05-17 13:45:05,839 INFO ESXi Host Performance Statistics:
2017-05-17 13:45:05,839 INFO ================================================================================================
2017-05-17 13:45:06,129 INFO [Host] Name : localhost.localdomain
2017-05-17 13:45:06,129 INFO
2017-05-17 13:45:06,129 INFO [Host] ESX Host CPU & Memory Performance Statistics
2017-05-17 13:45:06,270 INFO [Host] CPU Detail : Processor Sockets: 1, Cores per Socket 4
2017-05-17 13:45:06,317 INFO [Host] CPU Type : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
2017-05-17 13:45:06,452 INFO [Host] CPU Usage : Used: 384 Mhz, Total: 9576 Mhz
2017-05-17 13:45:06,452 INFO [Host] CPU Co-stop : 0.000 ms
2017-05-17 13:45:06,452 INFO [Host] CPU Swap wait : 0.000 ms
2017-05-17 13:45:06,452 INFO [Host] CPU Wait : 73053.867 ms
2017-05-17 13:45:06,542 INFO [Host] Memory Usage : Used: 11 GB, Total: 14 GB
2017-05-17 13:45:06,656 INFO [Host] Memory Granted : 9405.200 MB
2017-05-17 13:45:06,656 INFO [Host] Memory Active : 2044.200 MB
2017-05-17 13:45:06,657 INFO [Host] Memory Consumed : 10927.667 MB
2017-05-17 13:45:06,657 INFO [Host] Memory Balloon : 0.000 MB
2017-05-17 13:45:06,657 INFO [Host] Memory Swapped : 0.000 MB
2017-05-17 13:45:06,657 INFO
2017-05-17 13:45:06,657 INFO [Host] ESX Host Network Performance Statistics
2017-05-17 13:45:07,522 INFO [Host] VirtualNic : vmnic0
2017-05-17 13:45:07,523 INFO [Host] Transmitted Usage : 84.800 Kbps
2017-05-17 13:45:07,523 INFO [Host] Received Usage : 130.667 Kbps
2017-05-17 13:45:07,523 INFO [Host] Receive packets dropped : 0
2017-05-17 13:45:07,523 INFO [Host] Transmit packets dropped : 0
2017-05-17 13:45:06,657 INFO
2017-05-17 13:45:06,657 INFO [Host] ESX Host Network Performance Statistics
2017-05-17 13:45:07,522 INFO [Host] VirtualNic : vmnic0
2017-05-17 13:45:07,523 INFO [Host] Transmitted Usage : 84.800 Kbps
2017-05-17 13:45:07,523 INFO [Host] Received Usage : 130.667 Kbps
2017-05-17 13:45:07,523 INFO [Host] Receive packets dropped : 0
2017-05-17 13:45:07,523 INFO [Host] Transmit packets dropped : 0
2017-05-17 13:45:07,523 INFO [Host] Packet receive errors : 0
2017-05-17 13:45:07,523 INFO [Host] Packet transmit errors : 0
2017-05-17 13:45:07,523 INFO
2017-05-17 13:45:07,523 INFO [Host] ESX Host Disk Performance Statistics
2017-05-17 13:45:07,577 INFO [Host] Disk : t10.ATA_____HUA722010CLA330_________________________N11KTEML____________
2017-05-17 13:45:07,577 INFO [Host] Disk Commands issued (summation number) : 1264
2017-05-17 13:45:07,577 INFO [Host] Disk Commands aborted (summation number) : 0
2017-05-17 13:45:07,577 INFO [Host] Bus resets (summation number) : 0
2017-05-17 13:45:07,577 INFO [Host] Physical device command latency : 23.933 ms
2017-05-17 13:45:07,577 INFO [Host] Kernel command latency : 22.200 ms
2017-05-17 13:45:07,577 INFO [Host] Queue command latency : 22.267 ms
2017-05-17 13:45:07,583 INFO
2017-05-17 13:45:07,583 INFO [Host] ESX Host Storage Adapter Performance Statistics
2017-05-17 13:45:08,367 INFO [Host] Storage Adapter : vmhba0
2017-05-17 13:45:08,385 INFO [Host] Average commands issued per second : 0
2017-05-17 13:45:08,385 INFO [Host] Read latency : 0.000 ms
2017-05-17 13:45:08,385 INFO [Host] Write latency : 0.000 ms
2017-05-17 13:45:08,385 INFO [Host] Storage Adapter : vmhba1
2017-05-17 13:45:08,402 INFO [Host] Average commands issued per second : 64
2017-05-17 13:45:08,402 INFO [Host] Read latency : 10.600 ms
2017-05-17 13:45:08,402 INFO [Host] Write latency : 49.267 ms
2017-05-17 13:45:08,402 INFO [Host] Storage Adapter : vmhba2
2017-05-17 13:45:08,421 INFO [Host] Average commands issued per second : 0
2017-05-17 13:45:08,421 INFO [Host] Read latency : 0.000 ms
2017-05-17 13:45:08,421 INFO [Host] Write latency : 0.000 ms
2017-05-17 13:45:08,421 INFO [Host] Storage Adapter : vmhba32
2017-05-17 13:45:08,440 INFO [Host] Average commands issued per second : 0
2017-05-17 13:45:08,440 INFO [Host] Read latency : 0.000 ms
2017-05-17 13:45:08,440 INFO [Host] Write latency : 0.000 ms
2017-05-17 13:45:08,440 INFO [Host] Storage Adapter : vmhba33
2017-05-17 13:45:08,457 INFO [Host] Average commands issued per second : 0
2017-05-17 13:45:08,457 INFO [Host] Read latency : 0.000 ms
2017-05-17 13:45:08,457 INFO [Host] Write latency : 0.000 ms
2017-05-17 13:45:08,457 INFO [Host] Write latency : 0.000 ms