Video Screencast Help
Protect Your POS Environment Against Retail Data Breaches. Learn More.

EV task situation check

Created: 28 Feb 2013 • Updated: 04 Mar 2013 | 10 comments
K.G's picture
This issue has been solved. See solution.

Hi,

I am working with EV script for check ev backup status,dik size, msmq size,journal item count,EV services...

I done most of the things, server send this script result daily via mail.

I coudnt check EV mbx, journal,task is working or not!

How can i check their status and write easy script (vith ev schell?)    

As you know, my script checking EV services but all of the services can run but tasks maybe failed!

thanks...                                  

Operating Systems:

Comments 10 CommentsJump to latest comment

JesusWept3's picture

What are you scripting it in?
I can do it in C#, should be easy enough to port to VBS though

K.G's picture

No just small batch file.

Are there any mechanism to check task situation ,working or not?

AndrewB's picture

this is the best i could come up with. otherwise, like Alex said, you might need to code it.

How to stop and start Veritas Enterprise Vault (tm) task from the command line, using "evservice.exe"

Article:TECH48306  |  Created: 2010-01-24  |  Updated: 2010-01-24  |  Article URL http://www.symantec.com/docs/TECH48306

 

Andy Becker | Authorized Symantec Consultant | Trace3 | Symantec National Partner | www.trace3.com

K.G's picture

Thanks Andrew,

there is start,stop,resume option but there is no "status" option?

if i get current tasks situaitons foexample;

exchange mailbox archiving task  --  running

exchange journaling task   --failed

pst migration task     -- stopped

Then i can write it easly to output file and send via mail.

thanks...

K.G's picture

hi,

are there any idea to check EV tasks situation?

thanks...

JesusWept3's picture

i'll see if i can get it in to vbscript for you, but what are the other tasks you've written it as?

K.G's picture

mailbox archiving task ecxh1, exch2.... (1 or more ecxhange mailbox archiving tasks)

and journal task 1,2... is enough for me.

Other taks are not important like these.

thanks...

JesusWept3's picture

Thinkng about it, your best bet is the following query

 

SELECT T.Name, TM.Status, TM.EntryTime
FROM   EnterpriseVaultDirectory.dbo.Task T,
       EnterpriseVaultMonitoring.dbo.TaskMonitoring TM
WHERE  TM.TaskId = T.TaskEntryId

This will give you each task and its status, 1 = running, 0 = stopped there will be different numbers for processing, failed etc, though not sure what they are. Monitoring should update these every 15 minutes or so

SOLUTION
K.G's picture

Thanks,it is usefull for me, i can use status 0-1 section in my script.

 

K.G's picture

You also have any query to take "Status" section?

i done most of the disks,smsq,services,task status,vss in one script.

I also want to add  system status section on the VAC. (eeors,warnings..)

They stored In which sql table?

thanks...