Looking for advise on a VM Backup reporting problem

Spree

ADSM.ORG Member
Joined
Jan 17, 2012
Messages
27
Reaction score
0
Points
0
PREDATAR Control23

There is a small VM farm, and there are around 20 "VIP" VMs that need to have individual backup schedule (mainly for reporting purpose).

In the backup proxy, there are multiple data mover nodes defined since it would be difficult to finish all backups in time if there is only 1 data mover node. Then there is a script for capturing the backup status from TSM server activity log, then sending out reports through e-mail for internal reference and some to customer.

If the report is normal, it would look like this:

===

ANS8000I Server command: 'q actlog begind=-1 begint=18:00 endd=-0 endt=now search=transferred nodename=* schedname=VM_1'.

Date/Time Message
-------------------- ----------------------------------------------------------
04/24/2019 22:17:39 ANE4961I (Session: 25, Node: DM) Total number of bytes tr
ansferred: 534.38 MB (SESSION: 25)

ANS8000I Server command: 'q actlog begind=-1 begint=18:00 endd=-0 endt=now search=Elapsed nodename=* schedname=VM_1'.

Date/Time Message
-------------------- ----------------------------------------------------------
04/24/2019 22:17:39 ANE4964I (Session: 25, Node: DM) Elapsed processing time:
00:02:52 (SESSION: 25)
===

But unforunately it will not be that "normal", the reports would stick together and making it not distinguishable between different VMs. For example, for 1st VM report:

===

ANS8000I Server command: 'q actlog begind=-1 begint=18:00 endd=-0 endt=now node=* search=transferred schedname=VM_3'.

Date/Time Message
-------------------- ----------------------------------------------------------
04/24/2019 22:25:14 ANE4961I (Session: 45, Node: DM) Total number of bytes tr
ansferred: 3.91 GB (SESSION: 45)
04/24/2019 22:26:17 ANE4961I (Session: 57, Node: DM) Total number of bytes tr
ansferred: 238.98 MB (SESSION: 57)

ANS8000I Server command: 'q actlog begind=-1 begint=18:00 endd=-0 endt=now node=* search=Elapsed schedname=VM_3'.

Date/Time Message
-------------------- ----------------------------------------------------------
04/24/2019 22:25:14 ANE4964I (Session: 45, Node: DM) Elapsed processing time:
00:06:43 (SESSION: 45)
04/24/2019 22:26:17 ANE4964I (Session: 57, Node: DM) Elapsed processing time:
00:00:58 (SESSION: 57)
===

Then for 2nd VM report nothing would return:

===

ANS8000I Server command: 'q actlog begind=-1 begint=18:00 endd=-0 endt=now node=* search=transferred schedname=VM_5'.
ANR2034E QUERY ACTLOG: No match found using this criteria.
ANS8001I Return code 11.

ANS8000I Server command: 'q actlog begind=-1 begint=18:00 endd=-0 endt=now node=* search=Elapsed schedname=VM_5'.
ANR2034E QUERY ACTLOG: No match found using this criteria.
ANS8001I Return code 11.

===

But the backup was reported successful that I can find the correpoding backup image, just that the report is not correct. Also, it's not always the same one having problems every day, it would be like, on day 1, schedule #3 has 2 entries returned but schedule #5 has no entry returned, on day 2, #3 and #5 becomes normal, but it becomes #6 has 2 entries returned and #7 has no entry returned... but all event status are successful.

Wondering if anybody can provide some advise to this... thanks.
 
PREDATAR Control23

You have too many options. I'm not sure that it's the cause, but it's best to keep the commands as simple and only use options that add value.
- node is not required unless you actually specify a specific node
- enddate and endtime defaults to NOW, so no need to specify that either

You basically just need:
Code:
q actlog begind=-1 begint=18:00 search=Elapsed schedname=VM_5

For something to return, obviously schedule VM_5 would have had to run and complete between yesterday 18:00 and now.

For VE reporting, most use this: DP for VMWare Reporting Enhancements, Appendix A.
 
Top