Previous Topic: Install Arcserve Backup in an NEC Cluster-aware EnvironmentNext Topic: stop.bat Script Changes for Member Servers and Non-SQL Express Primary Servers


start.bat Script Changes for Member Servers and Non-SQL Express Primary Servers

After installation, you need to modify the start.bat script by adding text in two locations: after NORMAL and after FAILOVER. The following script changes apply only to member servers and non-SQL Express primary servers.

Copy the following script and paste it in the start.bat file after NORMAL and after FAILOVER:


REM Set the following variable 'process' to 1 for normal 
REM operation. During upgrade / migration, modify this 
REM script to set the value to zero 
SET process=1

REM Set this flag to 1 if it's a primary server and using 
REM MS SQL Express 2008 database, otherwise set it to 0
SET PRIMARY_SQLE_FLAG=0

IF %process%==0 GOTO end

REM Do normal processing here 

net stop CASDiscovery
net stop CASSvcControlSvr

if %PRIMARY_SQLE_FLAG%==0 GOTO CA_SERVICES
net start mssql$arcserve_db

:CA_SERVICES
net start CASDiscovery
net start CASportmappe
armload CASSvcControlSvr /S /R 3 /FOV CASSvcControlSvr
armload CASunivDomainSvr /S /R 3 /FOV CASunivDomainSvr
armload CASDBEngine /S /R 3 /FOV CASDBEngine
armload CASMessageEngine /S /R 3 /FOV CASMessageEngine
armload CASTapeEngine /S /R 3 /FOV CASTapeEngine
armload CASJobEngine /S /R 3 /FOV CASJobEngine
armload CASMgmtSvc /S /R 3 /FOV CASMgmtSvc
net start "CA ARCserve Communication Foundation"
net start CA_ARCserve_RemotingServer
net start CADashboardSync
net start "CA ARCserve Communication Foundation (Global)"

:end
REM Exit out of the batch file