HP StorageWorks Storage Mirroring Application Notes - Guidelines for using Blackberry Enterprise Server for IBM Lotus Domino (T2558-96060, April 2007)

REM ***SAMPLE*** post-failover script for Blackberry Enterprise Server for Lotus
Domino and MSDE.
REM You may need to remark out some commands depending on the function of your target.
REM This sample batch file is provided as an example only. Because no two
REM environments or configurations are exactly the same, you MUST modify
REM this script in order to make the solution work in your environment.
REM If you are using the MDS Connection Service on the Blackberry server, use the
following command
REM to run the Storage Mirroring Change Name utility.
"c:\Program Files\StorageMirroring\chngname.exe" /s <sourcename>y
REM These commands are to start the services for MSDE SQL. The included services may
vary depending
REM on your environment.
net start "Distributed Transaction Coordinator"
net start "MSSQLSERVER" /y
REM The following command executes a pause of 10 seconds.
"c:\program files\StorageMirroring\dtcl" wait 10000
REM The following OSQL command is required if you are using the MDS Connection Service
on the same
REM server as Blackberry Enterprise Server. This command executes a SQL script to
update the machinename
REM in the mdsconfig table of the REM besmgmt database to the name of the target
server.
OSQL -U <username> -P <password -S <sqlservername> -i "c:\program
files\StorageMirroring\Sample_UpdateMachinenameTarget.sql"
REM These commands are to start the services for Blackberry Enterprise Server. The
included services
REM may vary depending on your environment. The Lotus Domino service is started
automatically by the
REM Blackberry Controller Service
net start "Blackberry Dispatcher"
net start "Blackberry MDS Connection Service"
net start "Blackberry Policy Service"
net start "Blackberry Attachment Service"
net start "Blackberry Synchronization Service"
net start "Blackberry Controller"
net start "Blackberry Router"
net start "Blackberry Alert"
net start "Blackberry MDS Services - Apache Tomcat Service"