Skip to main content
La versione in lingua italiana fornita proviene da una traduzione automatica. Per eventuali incoerenze, fare riferimento alla versione in lingua inglese.

log dump

Collaboratori

Il protocollo NFS logdump Il comando filtra i log in base all'ID di migrazione o all'ID del job e li scarica in un .zip nella directory corrente. Il .zip Il file ha lo stesso nome della migrazione o dell'ID lavoro utilizzato con il comando.

Sintassi
xcp logdump -m <migration ID>
xcp logdump -j <job ID>
Mostra esempio
[root@client1 xcp_nfs]# xcp logdump -j Job_2022-06-14_21.49.28.060943_scan

xcp: Job ID: Job_2022-06-14_21.52.48.744198_logdump
Xcp command : xcp logdump -j Job_2022-06-14_21.49.28.060943_scan
Stats :
Speed : 0 in (0/s), 0 out (0/s)
Total Time : 0s.
Job ID : Job_2022-06-14_21.52.48.744198_logdump
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2022-06-14_21.52.48.744198_logdump.log
STATUS : PASSED
[root@client xcp_nfs]# ls Job_2022-06-14_21.49.28.060943_scan
Job_2022-06-14_21.49.28.060943_scan.log supplementary
[root@client1 xcp_nfs]# ls Job_2022-06-14_21.49.28.060943_scan/supplementary/
Job_idx_2022-06-14_21.46.05.167338_copy.log Job_idx_2022-06-14_21.47.41.868410_sync.log
xcp_history.json

Job_idx_2022-06-14_21.46.35.134294_sync.log Job_idx_2022-06
14_21.48.00.085869_sync.log
[root@client1 xcp_nfs]#
[root@client1 xcp_nfs]# ./xcp logdump -m idx

xcp: Job ID: Job_2022-06-14_21.56.04.218977_logdump
Xcp command : xcp logdump -m idx
Stats :
Speed : 0 in (0/s), 0 out (0/s)
Total Time : 0s.
Job ID : Job_2022-06-14_21.56.04.218977_logdump
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2022-06-14_21.56.04.218977_logdump.log
STATUS : PASSED
[root@client1 xcp_nfs]# ls idx
Job_idx_2022-06-14_21.46.05.167338_copy.log Job_idx_2022-06-14_21.47.41.868410_sync.log
xcp_history.json
Job_idx_2022-06-14_21.46.35.134294_sync.log Job_idx_2022-06-14_21.48.00.085869_sync.log