This issue has been solved.

EV task situation check

Created: 28 Feb 2013 • Updated: 04 Mar 2013
K.G's picture
Login to vote
0 0 Votes

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...                                  

Quick Look Solution

Thinkng about it, your best

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

Filed Under

Comments

JesusWept3
Trusted Advisor
Accredited
Certified
28
Feb
2013

What are you scripting it

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

K.G
Partner
Accredited
28
Feb
2013

No just small batch file. Are

No just small batch file.

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

AndrewB
Partner
Accredited
28
Feb
2013

this is the best i could come

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
Partner
Accredited
28
Feb
2013

Thanks Andrew, there is

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
Partner
Accredited
01
Mar
2013

hi, are there any idea to

hi,

are there any idea to check EV tasks situation?

thanks...

JesusWept3
Trusted Advisor
Accredited
Certified
01
Mar
2013

i'll see if i can get it in

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
Partner
Accredited
01
Mar
2013

mailbox archiving task ecxh1,

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
Trusted Advisor
Accredited
Certified
01
Mar
2013
SOLUTION

Thinkng about it, your best

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

K.G
Partner
Accredited
03
Mar
2013

Thanks,it is usefull for me,

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

 

K.G
Partner
Accredited
07
Mar
2013

You also have any query to

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...