HP StoreOnce B6000 Configuring Symantec NetBackup for B6200 Autonomic Restart - Page 3

Autonomic Restart Script for Windows

Page 3 highlights

Autonomic Restart Script for Windows These installation and configuration steps must be performed on each NetBackup media server that is configured with a B6000 library as a target device. Installation The script for windows has been written for PowerShell v2.x and you should verify PowerShell v2.x is installed: powershell -command $HOST.Version Major Minor Build Revision 2 0 -1 -1 If PowerShell v2.x is not installed, it can be downloaded from www.microsoft.com Copy the Autonomic Restart script to the NetBackup folder: copy AutonomicRestartNBU.ps1 %ProgramFiles%\Veritas\Volmgr\bin\ Configuration Schedule the script to run every 15 minutes: schtasks /create /ru system /tn "HP B6000 Autonomic Restart for NetBackup" /sc minute /mo 15 /tr "powershell -version 2.0 -file \"%ProgramFiles%\Veritas\Volmgr\bin\AutonomicRestartNBU.ps1\"" Logging The autonomic Restart script will log any attempts to re-enable library devices within NetBackup in the Windows Event Log. Using Windows Event Viewer, see Windows Logs > Application.

  • 1
  • 2
  • 3
  • 4

Autonomic Restart Script for Windows
These installation and configuration steps must be performed on each NetBackup media server that is
configured with a B6000 library as a target device.
Installation
The script for windows has been written for PowerShell v2.x and you should verify PowerShell v2.x is
installed:
powershell -command $HOST.Version
Major
Minor
Build
Revision
-----
-----
-----
--------
2
0
-1
-1
If PowerShell v2.x is not installed, it can be downloaded from
www.microsoft.com
Copy the Autonomic Restart script to the NetBackup folder:
copy AutonomicRestartNBU.ps1 %ProgramFiles%\Veritas\Volmgr\bin\
Configuration
Schedule the script to run every 15 minutes:
schtasks /create /ru system /tn "HP B6000 Autonomic Restart for NetBackup" /sc
minute /mo 15 /tr "powershell -version 2.0 -file
\"%ProgramFiles%\Veritas\Volmgr\bin\AutonomicRestartNBU.ps1\""
Logging
The autonomic Restart script will log any attempts to re-enable library devices within NetBackup in the
Windows Event Log.
Using Windows Event Viewer, see
Windows Logs > Application
.