HP StorageWorks Storage Mirroring Application Notes - High Availability for SharePoint Portal Server (T2558-96058, April 2007)

rem
***SAMPLE*** pre-failback script for SharePoint Portal Server and SQL 2000.
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 You may need to remark out some commands depending on the function of your target.
rem The following commands should be used if your target is functioning as a back-end SQL target.
rem Make sure that you start all of the services, SQL included, relevant to your
rem environment.
net stop "Distributed Transaction Coordinator"
net stop "MSSQLSERVER" /y
net stop "SQLSERVERAGENT"
net stop "Microsoft Search"
rem The following commands should be used if you want your target to revert back to a dormant SPS
rem state.
net stop "IISAdmin" /y
net stop "SharePoint Timer Service"
net stop "Microsoft SharePointPS Search"
net stop "Microsoft Single Sign-on Service"
net stop "SharePoint Portal Administration"
net stop "SharePoint Portal Alert"