How to create SQL Server 2005 Clustering with Virtual Server 2005 (Part 5)

This is the last part of the series. Once you have configured windows cluster and MSDTC, installing SQL is piece of cake. I already mentioned in part 1 that you have to download ISO (SQLEVAL.ISO) which we would need to attached as CD drive which would have setup files. I have copied the image on E:\Virtual Server\SQLEVAL.ISO

We also need to create domain account and domain groups in domain controller.  So, logon to domain controller. Go to Start > Run > DSA.msc and follow below screen-shots.

AD Users and Computers

Give the details of account (i.e. SQLSVC)

 SQLSVC Account

Set the password after clicking next button. Make sure that "Password never expires" is checked and "User cannot change password" is checked.

SQLSVC Account Password

One account is created, lets add a Group and add SQLSVC into the group.

SQLSVC New Group

Give Group Name "SQL Admin Groups"

SQLSVC Group Name

Right click on  "SQL Admin Groups" properties and add "members"

SQLSVC New Group Members

Now you are done with Domain controller.

Now, let's mount ISO image to MyNode1 and MyNode2. To do this, go to Virtual server console.


Click on CD/DVD and fill details as below


Above has to be done on both the nodes. Once you do that, you can see SQL Installation CD mounted on MyNode1 and MyNode2.

Lets Start SQL setup now.

  1. Log off from MyNode2. This is required to avoid running into known bug.
  2. Log on to MyNode1.
  3. Move all the resource groups to MyNode1 using Cluster AdminMyNode1 Active Groups 
  4. Go to DVD drive and double click on setup.exe from Servers folder
  5. Accept EULA. Next.
  6. Click 'Install' and wait for SQL Server to configure components and setup the installation. Once the required components (.NET Framework 2.0, MS SQL Native Client and the SQL Server 2005 setup support files) have been installed click 'Next'
  7. Click 'next' when prompted with the screen 'Welcome to the Microsoft SQL Server Installation Wizard. The installation will then proceed through the 'System Configuration Check'- click 'next' to proceed.
  8. Enter Registration Information, click 'next'
  9. Components to Install- Select all components (SQL Server Database Services, Workstation components) , then click 'next' components to install 
  10. Since this is the first installation of a new database instance for SQL server, select 'Default Instance'.
  11. Provide Virtual Server Name (VirtualSQL) VirtualSQL
  12. Provide Virtual SQL Server IP Address ( in Next screen and click on Add. Then Next   
  13. VirtualSQLIP
  14. Provide SQL Group in Next screen as shown below Cluster Group Selection
  15. Click Next on Below Screen
  16. Select Nodes
  17. Provide Administrator Password in next screen and click Next
  18. Provide SQL Service Account created earlier on domain controller(sqlsvc) SQLSVC Provide
  19. Provide Domain Group which we created earlier (SQL Admin Groups) SQLSVC Group Provide
  20. Authentication Mode. Choose Mixed Mode (Windows Authentication and SQL Server Authentication), provide sa password and click 'next'
  21. Keep the default settings (SQL Collations- Dictionary Order, case-insensitive, 1252 character set) and click next
  22. Error and Usage Report Settings. Leave defaults (none checked). Click 'next'
  23. Check installation Settings, click 'install'.
  24. During the install process you can always see what is happening on other node.
  25. Once the installation process is completed, click 'next'
  26. And finally... Finish.

Now we are done with the setup and we should see the resources in cluster admin under SQL Group.

Any feedback is greatly appreciated.

Comments (66)
  1. Nigel says:

    Great document! I was getting a problem with MSDTC failing at failover, your MSDTC guidance got that fixed.  Thanks

  2. rhinze says:

    Great series! Thank you for the work you put into all five articles!

    One question: you mention the previous creation of the user, sqlsvc, and the group,SQL Admin Groups. But I cannot find that reference anyway else in the series. Are there any specifics to their creation? This is exactly where sql setup is failing on me, as it cannot ‘see’ and verify either the user or the group.

    Any help would be appreciated.


    Rick Hinze

  3. Balmukund says:

    Hi Rick,

    Thanks for the feedback. I have added details to created domain account and group in the beginning of 5th part of series. Hope you will find it useful



  4. Satish Kumar says:


    I am still child in this tech, i am using you r document to complete my cluster installation

    thank you so much if i need u r help i will ask u definetly , i think u will not say no to help in this

    thank you


  5. Balmukund says:

    Hi Satish,

    Thanks for the comment. Feel free to ask question on this blog and I will reply to them as soon as possible.



  6. Jide says:

    ALl I can say is youve given me something to do over the weekend and Im thankful for it!

    Thanks for sharing your knowledge mate.

  7. Balmukund says:

    Hi Jide,

    I am happy to hear that you would be using my blog to learn something new and help your business grow.

    In case, you feel you need help please feel free to comment and I will reply them ASAP (unless I am not sleeping)



  8. WilliamB says:

    part 5 step 1 mentions log off node2. When should this node be re-started and re-logged on?

    Excellent article and well worth the study.


  9. Balmukund says:

    Hi William,

    Thanks for the feedback.

    This step is required as work around of issue mentioned in KB.

    Once SQL Setup is complete, you can log back in.

    Did I answer your question?


  10. Robin says:

    Hi Balmukund,

    Thank you very much for guide.

    Really an EYE Opener for me regarding the virtual HD stuff as it eliminates the third party iSCSI Target software.

    Thanks again!



  11. Rama says:

    Hi Balmukund,

    Nice article, I’ve tried it on my virtual server. The system Configuration Check is success , but in the last part I always got an errors when tried to install SQL 2005,

    Microsoft SQL Server 2005 9.00.1399.06


    OS Version      : Microsoft  Windows Server 2003 family, Enterprise Edition Service PACk 2 (Build 3790)

    Time            : Mon Feb 2009

    SQLNODE1 : The current system does not meet the minimum hardware requirements for

    this SQL Server release. For detailed hardware and software requirements, see the readme file or SQL Server Books Online.

    Task did not appear to start on machine: \SQLNODE2

    My cluster admin just doing fine, both of node bring online.

    JFYI my VS node spec is:

    -RAM 512

    • Shared disk : 16 GB for system (C), 3 GB for Data (X), 512 MB for Quorum(Q) and 512 MB for MSDTC (M)

    Do you have any suggestion?



  12. Balmukund says:

    As per error it looks like you are running setup from SQLNode1. So few things to check..

    1. If you are running setup from CD disk (ISO Image), make sure that you able to access \SQLNODE1 from SQLNODE2 and the setup files share. It would be better if you can copy the setup files on C drive and then run the setup.
    2. Make sure all sessions are logged off from SQLNODE2. There is a bug in SQL Setup which will cause setup to fail if you have any session open on remote node.

    Let me know if it does not help.

  13. Rama says:


    Thanks, that’s a good idea, I’ve tried to copy source CD to C:  and running setup smoothly till finish 🙂

    A few to ask, after setup finish if i opened the SQLNODE2 i can’t find the shared disk (Q , M or I), from device management i found unknown/unreadable for 3 shared disk except C: . Is that a normal condition?

    And how to test SQLNODE1 fail over to SQLNODE2?

    Many thanks for the answer.


  14. Balmukund says:

    That’s the behaviour of cluster (share nothing model). Disk would be visible to the node which owns the disk.

    To test failover, you can open cluster Administrator (start>run>cluadmin) and do "Right click, Move Group" on SQL Group to check failover.



  15. Manish says:

    Such a beautiful article, what a beautiful explanation, WOW. Nice job balmukund keep it up.

  16. hninwailwin says:


    We definitely need to install SQL 2005 enterprise edition for 2 node clusters? I tried many times SQL cluster with another VMware but not successful.So need to use microsoft virtual server?


  17. Balmukund says:

    Hi hninwailwin,

    I have used Virtual Server because I know how to configure it. I am not an expert in VMWare but I have seen many customer using VMWare.

    As per few Virtualization products are supported by Microsoft.

    Please remember that if you are using two guest machine on same host machine and making cluster between them then it is currently not supported as of today (also explained in KB above)

    Could you please let me know what kind of error you are facing?



  18. hninwailwin says:

    Hi Balmukund,

    Thank for your reply.I faced the problem is that after installing the window cluster, MSDTC service is terminated automatically.So I install msdtc.exe from command line.But one time only msdtc group online and when I move MSDTC group to node2,it is fail. And when I move SQL group to node2, it is also SQL server and agent resource can’t bring online. I tried many times.Now I very disappoint and my company also blame me. So I also want to know need to use SQL 2005 enterprise edition or standard edition? I use VMware. It is VMwares fault? But I can create file share group and it can do fail over very well.


  19. hninwailwin says:

    Hi Balmukund,

    Yes I used 2 VMware in same host and making cluster between them.


  20. Balmukund says:

    As I said many customers using VMWare and not sure if its fault. Is there a possibility is that the media you have for OS is corrupt?

    What is the error in event log when you try to bring resources online.

    Try below…

    msdtc -uninstall

    msdtc -install

    msdtc -resetlog

    Make sure you configure network dtc access as described in KB

    Guest clustering is not supported by Microsoft as mentioned in

    SQL Standard edition and Enterprise, both would work on cluster. Standard supports only two nodes along with other limitations.

  21. hninwailwin says:

    Hi Balmukund,

    When I create the MSDTC group, I got the error is that can’t create the MSDTC group because it is already exists. I found this MSDTC group in Cluster group so I deleted the MSDTC resource from cluster group. After that I can create the MSDTC resource in MSDTC group . Is it normal?


  22. Balmukund says:

    That’s perfectly normal on windows 2003. YOu can have only one MSDTC resource per cluster.

    This has changed in Windows 2008 where you can have multiple clustered MSDTC.

  23. hninwailwin says:

    Hi Balmukund,

    I got this error in installation setup. SQL server browser can’t startup service.

    Please what is this? I need to create 3 users and need to choose this all users for 3 services?


  24. Balmukund says:

    you need to do that in Active Directory (Domain Controller)

    What is the error you are facing? Please post the exact error message.

  25. hninwailwin says:

    Hi Balmukund,

    Thanks alot. I can failover now. Really thanks.

    Something is if without installing IIS, can we install SQL server? And then I installed IIS for installing SQL server but after that I unstall IIS,will SQL server working fine and will clustering failover working fine?


  26. Balmukund says:

    IIS and SQL ENgine are not linked to each other.

    SQL Server Reproting Services is the dependent component. So, if you are not using Reporting Services then you can play with IIS, it won’t harm.


  27. KiKi says:


    When I istall SQL cluster, after installing database services,it is go on to the installation of workstation components. At that time I got the error. "Remote Setup fail". Please help me. I checked on the node2, task scheduler service also running.


  28. Balmukund says:

    may be you are hitting into known issue.

    Please make sure that you log off (not shutdown) from node 2 while running setup from node 1.

    You receive error messages when you try to set up a clustered instance of SQL Server 2005

  29. Anurag says:


    The Remote Setup is failing during installation of workstation components. The task scheduler services are running on both the nodes and I am logged off from node1. I have checked the setup log files and following contents are present on node 2.

    Clustered feature detected: SQL_Engine

    Clustered feature detected: SQL_FullText

    Loaded DLL:C:Program FilesMicrosoft SQL Server90Setup Bootstrapsqlsval.dll Version:2005.90.1399.0

    Source File Name: datastorecachedpropertycollection.cpp

    Compiler Timestamp: Fri Jul 29 01:13:49 2005

    Function Name: CachedPropertyCollection::findProperty

    Source Line Number: 130

    Failed to find property "IPResources" {"VirtualServerInfo", "", "VirtualSQL"} in cache

    Source File Name: datastorecachedpropertycollection.cpp

    Compiler Timestamp: Fri Jul 29 01:13:49 2005

    Function Name: VirtualServerInfo.IPResources

    Source Line Number: 113

  30. Balmukund says:

    Hi Anurag,

    Are you sure that Workstaion components are failing on remote node?

    SQL Setup on MyNode1 will NOT install workstation on MyNode2. Looks like failure if for database services.

    Please send me complete log folder (after zipping it) to blakhani(at)koolmail(dot)in


  31. Anurag says:


    I am running SQL Setup on Node2 only. Another important thing is that after adding node2 to the cluster and restart of the virtual cluster nodes, the Cluster service did not get restarted on the nodes and I had to manually restart the cluster service on both nodes.

    Also, I do not know how to copy the log files from the virtual nodes to the host for email purpose.


  32. GAMAPE says:

    Excellent  !!!. I set up my own SQl cluster.. now I have a test Cluster environment  cool..

    Just a Question, I have some software on my local physical drive that I would to install on these virtual cluster. Any Idea how to do it?

    again Thanks for what this article , it’s great….

  33. Balmukund says:

    Hi GAMAPE,

    Thanks for the comment.

    Is the application/software is cluster aware? If that makes a service then you can add the service in cluster.

    Right Click on the Group and add new resource of type "Service" and provide details.



  34. GAMAPE says:

    Thanks Balmukund

    Can you help me with this : how can I link/access my physical hard drive from the virtual server/cluster?



  35. Brian says:

    Hey great post, Im installing as per your guide but finding the option to create a sql server failover cluster is grey and I can not select the check box.

    Im using 2003 Ent with SP2 and all patches which I though was ok.

    All previous steps outlined in your guide have been done and both nodes are online.

    Any ideas why this is not working ?


  36. Balmukund says:

    Hi Brian,

    Few reasons which I can think of may cause "create a SQL failover cluster" greyed out would be

    1. Second option would be enabled only if you are checking first option "SQL Server Database Services"
    2. Setup is thinking that you are installing on Standalone box. It could be because of cluster service not running. Please check that you are able to see both nodes up in cluster administrator.

    3. Any warning in "System Configuration Check" screen?

    4. Installing editions other than Enterprise, Enterprise EVAL, Developer and Standard?

    If none of above help, please send me "c:Program FilesMicrosoft SQL Server90Setup BootstrapLOG" folder after zipping it to my email id below.


  37. j says:

    Hi Balmukund,

    Its just been a day since I installed the virtual machines. But I have started getting messages that your evaluation period has expired…please activate.

    Any idea?

  38. Balmukund says:


    I am not sure if the clock starts after installation or download. I can’t help here.



  39. misra says:

    Hi Balmukund,

    Is this node configuration active/active or active/passive?

  40. Balmukund says:

    Hi Misra,

    Its Active/Passive.

    Please refer to comments by Suhas on below Blog for clarification about Active/Active and Active/Passive terms.



  41. misra says:

    Hi Balmukund,

    When I move the gopus to MyNode1 it take a hell lot of time for the groups/resources to come online … more than half an hour.

    Another thing is afterI select SQL Cluster failover option and hit "Next" it says that cannot install on C"pgram filesMicrosoft SQL Server" because this is not a shared drive.

    Can you help me out in the second point? shall i select some other drive?

  42. Balmukund says:

    To answer the second question, you would not be allowed to keep database files on C drive as its not shared. It has to be shared.

    For first question,

    1. Does it come online after 30 min?
    2. Which resource takes most of the time?



  43. misra says:

    Hi Balmukund,

    When I restarted the machines I could install w/o any problems.

    I have another question to you – can I make one make a single machine as both a domain controller and a node for clustering.

  44. Balmukund says:

    Hi Misra,

    Nice to hear that issue is resolved.

    It is not recommended to install SQL on DC.

    Moreover, you can’t have one node in cluster to be a DC.



  45. Misra says:

    Hi Balmukund,

    When I create the virtual machines (as specified in part 1) and start the machine I am not able to see the network in My Network of the VMs.

    Please let me know what should I do to make the network connections visible in VMs.


  46. Balmukund says:

    Hi Misra,

    I hope you meant that you want to bring these machine to same network as host machine.

    You have to do "Add Network Adapters" and select proper network.

    Hope this helps.


  47. Misra says:


    Earlier I had created a backup of the VMs and when I used them I could not see any Network Connections in My Network of the VMs.

    I then created a new VM and at the time of creation I chose connected to "Internal Network".

    I then started up the machine, I couldnt see the network connection

    I then did "Add network adapters", I cannot still see anything in Network connections when i logon to the machines.

    Please guide me what could be wrong, is it some service or some configuration that I have missed. Because earlier when I did the setup, all went fine.


  48. Misra says:

    To add to the above comment, when I clcik on My Network Connections I can only see "New Connection Wizard"

  49. Misra says:

    I cannot see Network Adapters in MyComputer->Manage->DeviceManager

    Even though I have added vitual network adapter in the VM configuration.

    Also all of a sudden previously working setup also stopped working because there are no network adapters in th VM in logged state. But when I check the configuration in virtual server page I can see the network adapters configured.

    Appreciate your help in this regard.

  50. kman says:

    Hi Balmukund,

    It was really a great article to start with.I am enjoying it.I was able to setup everything till part 4 including the config of MSDTC Group & associated resources.Before installing SQL Server I tested the fail over of the groups/resources seems to be working..But before i go to next step do you have any check list to test the failover functionality? Can you pl’s help me.What should we need to expect when you turn off Node1 ? What happens to the cluster service which was mainly running in Node1?..Any body pl’s let me know..Thanks in advance.

  51. Balmukund says:

    Hi kman,

    Thanks for the comment. Nice to know that its helping many people.

    Lets say group is owned by Node1 and then you shutdown Node1, cluster should failover all resources of that group to Node2 (if its configured correctly)

    Now, if you turn on Node1 back (remember, resource are one Node2) cluster would NOT attempt to bring it back to Node1 unless you have configured failback in group properties.

    Reason: Moving resource back would be another downtime and you may not want to do that in business hours. Failback can be set to "immedietly" or "between x to y" time.

    Hope this answers your question.


  52. kishore76 says:


    Thank’s for your response.As you mentioned in Part:4 configuring MSDTC As Resource on Node1 & Node2..I have a doubt? I am assuming that i need to do MSDTC Resource Setup on both nodes with different MSDTC IP Address’s ? i.e Node1 – and on Node2 am i correct ?  

  53. Balmukund says:

    Hi Kishore,


    MSDTC is a clustered resource and would have only one IP, network name, resource and disk.

    It should be able to failover between nodes to work properly.

    Hope this help.


  54. Lilo says:

    Hi Balmukund,

    Great documentation. Thanks.

    During the SQL installation everything went well, until I failed the SQL server to Node2 then failback to Node1. This time the SQL Server has fail status on Node1. I am getting a generic error 1069. I check the registry entry for the InstanceName and VirtualServerName both exist.

    By any chance you have any idea what is causing this problem.

    Thanks your help is much appreciated.


  55. Balmukund says:

    What do you see in event logs during failover to node1?

  56. Lilo says:

    The system event log gave me an Event ID :1069.

    See link below, Error message #1.

    The registry information for InstanceName and VirtualServerName still exist. I have no idea where else to look.

    Your assitance is much apprciated.



  57. Rafikul says:


    Nice post. Really great help during my installation. But when I install the SQL, I got a page where I have to put the virtual server name & then Virtual IP in SQL Server 2005 cluster. Could you please tell me from where I get this IP. From IT dept I got the IP & when i put that IP address ,I have got a message that the disk is full.

    I am a SAP Basis consultant & wanted to install my SAP in this cluster environment.

    Please Advise.

    Kind Regards,


  58. Rafikul says:


    Good news that I am able to resolve the issue.

    When I analyze the issue I got that the group which I selected was not assigned to any resource group or node. After assigning the resource I took restart of both the node . After that its working fine.

    Kind Regards,


  59. Balmukund says:

    Thanks for the comments Rafikul. NIce to know that issue is resolved.


  60. Amr says:

    Hi blakhani,

    I have one question.

    The cluster works fine when i pause node1 it take around a minute for node2 to take over and when i pause node2 and starts node1 node1 takes very long time takeover

    the main problem is that after restarting node1 the sql server service does not start and when trying to start the service manually an error arises : cannot recover the master database.

    any help is appreciated.

  61. H. says:

    Well explained and helpfull. Thank you.

  62. chidambaram says:

    Great ?Great…

    I love your patience

  63. Srinivasan says:

    Nice article. I learnt how to work on clusters…

  64. ramesh naidu says:

    it's a great notes for sql holders mr.

    Balmukund i hve doubt on fail over clustring how to install cluster in windows service pack 2 at 2005 sql server

  65. Balmukund says:


    Can you please explain the question?

  66. Dave says:

    Hi, Do you have any step by step documents which explains SQL server 2005 cluster install on Windows 2008 R2 ? or Can you share steps which I need to be aware of during this install


Comments are closed.

Skip to main content