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

postover.bat
sample_
preback.bat
rem ***
SAMPLE*** post-failover 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 start "Distributed Transaction Coordinator"
net start "MSSQLServer"
net start "SQLServerAgent"
net start "Microsoft Search"
rem The following commands should be used if your target has SPS loaded, but it is in a dormant
rem state. In this case, the SPS services will start and the target will function as a front-end
rem SPS server.
net start "IISAdmin"
net start "World Wide Web Publishing Service"
net start "Simple Mail Transfer Protocol (SMTP)"
net start "Network News Transfer Protocol (NNTP)"
net start "HTTP SSL"
net start "SharePoint Timer Service"
net start "Microsoft SharePointPS Search"
net start "Microsoft Single Sign-on Service"
net start "SharePoint Portal Administration"
net start "SharePoint Portal Alert"