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

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

Rate This
  • Comments 66

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.

CD_DVD

Click on CD/DVD and fill details as below

CD_DVD_Properties

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 (192.1.1.6) 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.

Leave a Comment
  • Please add 4 and 7 and type the answer here:
  • Post
  • Hi,

    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?

    Thanks

  • 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 http://support.microsoft.com/?id=956893 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?

    Regards,

    Balmukund

  • 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.

    Thanks

  • Hi Balmukund,

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

    Thanks

  • 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 http://support.microsoft.com/kb/899191

    Guest clustering is not supported by Microsoft as mentioned in http://support.microsoft.com/?id=956893

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

  • 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?

    Thanks

  • 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.

    http://technet.microsoft.com/en-us/library/cc754933(WS.10).aspx

  • 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?

    Thanks

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

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

  • 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?

    Thanks

  • 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.

    -B

  • Hi,

    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.

    Thanks

  • 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.

    http://support.microsoft.com/kb/910851

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

  • Hi,

    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 Files\Microsoft SQL Server\90\Setup Bootstrap\sqlsval.dll Version:2005.90.1399.0

    Source File Name: datastore\cachedpropertycollection.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: datastore\cachedpropertycollection.cpp

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

    Function Name: VirtualServerInfo.IPResources

    Source Line Number: 113

  • 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

    Thanks.

Page 2 of 5 (66 items) 12345