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

SAMPLE_PREBACK.BAT
REM ***SAMPLE*** pre-failback script for Blackberry Enterprise Server and MSDE with
Lotus Domino.
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 The following commands stop the services for Blackberry Enterprise Server. The
included services
REM may vary depending on your environment.
net stop "Blackberry MDS Services - Apache Tomcat Service"
net stop "Blackberry Alert"
net stop "Blackberry Router"
net stop "Blackberry Controller"
net stop "Blackberry Synchronization Service"
net stop "Blackberry Attachment Service"
net stop "Blackberry Policy Service"
net stop "Blackberry MDS Connection Service"
net stop "Blackberry Dispatcher"
REM The following command stops the service for Lotus Domino. The included services
may vary depending
REM on your environment.
net stop "Lotus Domino Server (dominodata)"
REM The following command updates the SQL database hostserver entry prior to failback
and restore.
REM osql -U <username> -P <password> -S <sqlservername> -I "c:\program
files\StorageMirroring\SampleUpdateMachinenameSource.sql"
REM The following command stops the SQL service. The included services may vary
depending
REM on your environment.
net stop "Distributed Transaction Coordinator"
net stop "MSSQLSERVER" /y
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.
REM "c:\Program Files\StorageMirroring\chngname.exe" /t