November 23, 2008 at 4:13 pm
We are planning a shutdown of a number of clustered SQL Servers and I am trying to develop some VBScript to automate this process. The steps I am trying to develop script for are:
1) Move everything to Node 1
2) Set startup to manual
3) Shutdown Node 1
4) Shutdown Node 2
Does anyone know of any existing scripts that would assist in this process?
November 24, 2008 at 5:02 am
Maybe you can find something on http://www.microsoft.com/technet/scriptcenter/default.mspx
SQL: http://www.microsoft.com/technet/scriptcenter/scripts/sql/default.mspx?mfr=true
Cluster: http://www.microsoft.com/technet/scriptcenter/scripts/ccs/default.mspx?mfr=true
Else I suggest you ask this on a developers forum.
November 25, 2008 at 10:01 pm
[font="Verdana"]
I am not sure about VBScript but, you can use some OS commands to get this done.
I created a job in SQL Server for this and it works fine.
This is the exact command I have in the job.
CLUSTER HomeClust GROUP "GROUP D" /MOVETO:Node1 /WAIT:10
Here is the link that I referred to create the job:
http://www.microsoft.com/resources/documentation/windowsnt/4/server/proddocs/en-us/clustsvr/mscsadma.mspx?mfr=true
Hope this helps :)[/font]
November 30, 2008 at 6:43 pm
Thanks, all very helpful! 😀
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply