Link to home
Start Free TrialLog in
Avatar of esphelpdesk
esphelpdesk

asked on

Symantec Enterprise Vault backups

I recently upgraded my backup server from BackupExec 2010 running on Windows 2003 to BackupExec 2012 running on Windows 2008 R2.  Ever since, I have not been able to successfully back up my Symantec Enterprise Vault (Version 9) server.  Apparently I need to modify my pre- and post- command powershell scripts, but I cannot figure it out.

c:\windows\SysWOW64\WindowsPowerShell\v1.0\powershell -psconsolefile "C:\Program Files (x86)\Enterprise Vault\EVShell.psc1" -command "& get-vaultstorebackupmode -name 'Vault Store Group 01' -evservername nj1esp57v -evobjecttype vaultstoregroup"

c:\windows\SysWOW64\WindowsPowerShell\v1.0\powershell -psconsolefile "C:\Program Files (x86)\Enterprise Vault\EVShell.psc1" -command "& get-indexlocationbackupmode -evservername nj1esp57v"
Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

make sure you open the EV PowerCLI for the first time by itself, thsis is needed.  Also copy each command into the shell and see what type of error it gives you.

You can do this site wide (putting all index and vault stores into read only mode) or by server/index/vault. Let me know which one you want to do.

A better option is to use Backup Exec Enterprise Vault agent since it gets everything quiesced correctly.  For example you backup your indexes and vaults at a different time then your SQL DBs then your data may not be on the same level and there may be inconsistencies.  EV agent on Backup Exec mitigates this issue.
Avatar of esphelpdesk
esphelpdesk

ASKER

When I run the first command, I receive this error...

Failed to load Windows PowerShell console file "C:\Program Files (x86)\Enterprise Vault\EVShell.psc1". WIN 32 error: The system cannot find the path specified.
Here's an example.  You need to use powershell 1.0, this is to clear the archive and index..just use set intead of clear to set it


C:\Windows\SysWOW64\WindowsPowerShell\v1.0\PowerShell -PSConsolefile "C:\Program Files (x86)\Enterprise Vault\EVShell.psc1" -command "& {clear-vaultstorebackupmode archive1 EVSERVER1 VaultStore}
That might be the problem... the server has powershell 2.0

Is there a way to roll it back?  Or are there scripts for version 2?
If you take a look at the script I provided it will go to powershell 1.0 in the syswow64 directory, no need to install/re-install.  It's all right there is in the script.  You may need to open it up first by itself just browse to it

C:\Windows\SysWOW64\WindowsPowerShell\v1.0\PowerShell
Apologies for the lack of replies... I'm troubleshooting issues with these powershell scripts.  For instance, my vault store was in backup mode.  I tried to run the CLEAR script and it froze.  I opened up a new powershell window and ran the script again and it worked.

Furthermore, if I attempt to manually clear the store out of backup mode using the Evault Admin Console, it freezes the mmc.  Been getting this error...

Log Name:      Symantec Enterprise Vault
Source:        Enterprise Vault
Date:          9/7/2012 2:40:14 PM
Event ID:      4234
Task Category: Storage File Watch
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      nj1esp57v.ESP.LOCAL
Description:
Thread pool (InstanceId = [1]) could not stop [1] requests. Total requests attempted to be stopped = [1].

For more information, see Help and Support Center at http://evevent.symantec.com/rosetta/showevent.asp?EvtID=4234
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Enterprise Vault " />
    <EventID Qualifiers="49156">4234</EventID>
    <Level>2</Level>
    <Task>43</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-09-07T18:40:14.000000000Z" />
    <EventRecordID>92135</EventRecordID>
    <Channel>Symantec Enterprise Vault</Channel>
    <Computer>nj1esp57v.ESP.LOCAL</Computer>
    <Security />
  </System>
  <EventData>
    <Data>1</Data>
    <Data>1</Data>
    <Data>1</Data>
  </EventData>
</Event>
and this...

Log Name:      Symantec Enterprise Vault
Source:        Enterprise Vault
Date:          9/7/2012 2:41:00 PM
Event ID:      6848
Task Category: Storage File Watch
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      nj1esp57v.ESP.LOCAL
Description:
The Collector Manager encountered an error.

Reason: The Collector Manager is not running. Check the Storage Service is running and that no previous errors have been logged. The Storage Service may require a restart.      (0xc0041ac1)
Method: CCollectorManager::Refresh

For more information, see Help and Support Center at http://evevent.symantec.com/rosetta/showevent.asp?EvtID=6848
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Enterprise Vault " />
    <EventID Qualifiers="49156">6848</EventID>
    <Level>2</Level>
    <Task>43</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-09-07T18:41:00.000000000Z" />
    <EventRecordID>92136</EventRecordID>
    <Channel>Symantec Enterprise Vault</Channel>
    <Computer>nj1esp57v.ESP.LOCAL</Computer>
    <Security />
  </System>
  <EventData>
    <Data>The Collector Manager is not running. Check the Storage Service is running and that no previous errors have been logged. The Storage Service may require a restart.      (0xc0041ac1)</Data>
    <Data>CCollectorManager::Refresh</Data>
  </EventData>
</Event>
and this...

Log Name:      Symantec Enterprise Vault
Source:        Enterprise Vault
Date:          9/7/2012 2:50:12 PM
Event ID:      4228
Task Category: Storage File Watch
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      nj1esp57v.ESP.LOCAL
Description:
An error occurred in thread pool used for processing requests.
Further error information: Timeout/wait failure occurred while waiting for [4] threads to finish execution.
Internal reference: EVCommon::EVThreading::CThreadPool::WaitForCompletion/WaitForMultipleObjects error

For more information, see Help and Support Center at http://evevent.symantec.com/rosetta/showevent.asp?EvtID=4228
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Enterprise Vault " />
    <EventID Qualifiers="49156">4228</EventID>
    <Level>2</Level>
    <Task>43</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-09-07T18:50:12.000000000Z" />
    <EventRecordID>92137</EventRecordID>
    <Channel>Symantec Enterprise Vault</Channel>
    <Computer>nj1esp57v.ESP.LOCAL</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Timeout/wait failure occurred while waiting for [4] threads to finish execution.</Data>
    <Data>EVCommon::EVThreading::CThreadPool::WaitForCompletion/WaitForMultipleObjects error</Data>
  </EventData>
</Event>
So the script looks like it's working to put you into backup mode but you're having issues coming out of it?

Run them manually to test (copy/paste) and give it time.  Otherwise make sure your system has enough memory and is balanced for the tasks that you're running.  Also may be a good idea to contact support
Evault support has been contacted, but they have made no progress.

When running the set scripts, as well as the clear scripts, the system sometimes hangs.
ASKER CERTIFIED SOLUTION
Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The EV agent in Backup Exec is definitely the way to go... the trick is setting it up correctly.  I guess BackupExec 2012 is so new that the Symantec support engineers themselves are not well-versed in its operation yet.

I will post the results of this attempt upon resolution.
Here's what we do when we have issue..

The Backup Exec and EV support teams are next to each other (once you get backup exec escalated to the US).  Open cases with both and set up a conf. call to troubleshoot.  Since both are owned by the same company they can work together to resolve any issues.
That's the point we're at now, and they're not doing such a great job working together.  Still no useable backup.  I don't have a whole lot of faith in this EV agent for BE2012.
Any idea what could cause the Enterprise Vault Management Console to hang when attempting to clear the vault from Backup Mode?
Eventually got the EV agent to work, but it was necessary to upgrade to the latest EV service pack.