EasyManua.ls Logo

HP Data Protector A.06.11 - Page 152

HP Data Protector A.06.11
180 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
.@echo off
set THIS=%0
set USER=%1
set GROUP=%27
set HOSTNAME=%3
set DEVNAME=%5
set DEVHOST=%6
set DEVFILE=%7
set DEVCLSS=%8
set DEVCLASSNAME=%9
shift
shift
shift
shift
shift
shift
shift
shift
shift
xset MEDID=%1
set MEDLABEL=%2
set MEDLOC=%3
set POOLNAME=%4
set POLICY=%5
set MEDCLASS=%6
set MEDCLASSNAME=%7
set SESSIONKEY=%8
REM Original command to e-mail the mount request
REM net send %HOSTNAME% "Mount request occurred for device
%DEVNAME%, session id %SESSIONKEY%"
REM
REM Variables to set to get the mount request across correctly
set OMNISTAT_CMD="c:\program files\omniback\bin\omnistat"
set JAVA_EXEC="D:\program files\hewlett-packard\datamgt\dmcomms
\jre\bin\java.exe"
set MOSERVER="motestserver"
set CELLSERVER="dptestserver"
set RCTMOUNT_JAR="c:\downloads\reactivemount.jar"
REM Only create a reactive mount request if the current
session is a backup session%OMNISTAT_CMD% -session %SESSIONKEY%
-status_only | find "Backup"
if errorlevel 1 goto done
REM This session is a backup session, so create a reactive mount
request in MediaOps server % MOSERVER %
%JAVA_EXEC% -cp %RCTMOUNT_JAR% com.hp.ov.dm.reactivemount
.DoReactiveMount -m %MOSERVER% -c %CELLSERVER% -mp %POOLNAME%
-d %DEVNAME% -u <MO Server username> -p <MO Server password>
done
External interfaces152

Table of Contents

Other manuals for HP Data Protector A.06.11

Related product manuals