Microsoft SQL Server 2000 Virtual Server Setup


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Microsoft SQL Server 2000 Virtual Server Setup

  1. 1. Microsoft SQL Server 2000 Virtual Server Setup Dave Whitney SQL Cluster Support Specialist DSDB Developer Support Microsoft Corporation
  2. 2. Pre-setup Checklist <ul><li>Understand basic server cluster concepts </li></ul><ul><li>Install on an HCL certified solution </li></ul><ul><li>Microsoft® Windows NT® event logs are free of warnings and errors </li></ul><ul><li>Server cluster is fully operational and correctly configured </li></ul><ul><li>Service account for Microsoft SQL Server™ has been created and has correct permissions </li></ul><ul><li>Static unique IP address for SQL Server </li></ul>
  3. 3. Overview <ul><li>Microsoft Distributed Transaction Coordinator (MS DTC) installation on a server cluster </li></ul><ul><li>Base SQL Server 2000 virtual server installation </li></ul><ul><li>SQL Server 2000 service pack installation </li></ul><ul><li>SQL Server 2000 maintenance mode walkthrough </li></ul><ul><li>SQL Server uninstallation </li></ul><ul><li>SQL Server security recommendation </li></ul><ul><li>Reference links </li></ul>
  4. 4. MS DTC <ul><li>MS DTC may be configured as a clustered resource either before or after the SQL Server installation </li></ul><ul><li>MS DTC cluster setup is performed from a cmd window using the command “comclust” as shown below </li></ul>
  5. 5. SQL Server Setup <ul><li>Insert the SQL Server CD-ROM </li></ul><ul><li>Select “SQL Server 2000 Components” </li></ul><ul><li>Select “Install Database Server” </li></ul>
  6. 6. SQL Server Setup (2) <ul><li>The setup process initializes the InstallShield Wizard </li></ul>
  7. 7. SQL Server Setup (3) <ul><li>SQL Server detects the server cluster is present and prompts you to provide a virtual server name </li></ul>
  8. 8. SQL Server Setup (4) <ul><li>In this case, the name chosen is “VSS1” </li></ul>
  9. 9. SQL Server Setup (5) <ul><li>Setup prompts you for the name and company you want to register SQL Server with (the default entries will be provided for the node originating the installation, but they are editable) </li></ul>
  10. 10. Software License Agreement <ul><li>This is the End User License Agreement (EULA) that must be accepted to continue </li></ul>
  11. 11. CD Key <ul><li>Enter the 25-digit CD Key from the back of your CD case </li></ul>
  12. 12. SQL Server IP Address <ul><li>Before entering an IP address, verify that the “Network to Use” field displays the correct network </li></ul>
  13. 13. SQL Server IP Address (2) <ul><li>Provide at least one unique static IP address for this instance of SQL Server to use </li></ul>
  14. 14. SQL Server IP Address (3) <ul><li>Click Add to add additional IP addresses or Next to continue </li></ul>
  15. 15. SQL Server Cluster Disk Selection <ul><li>The SQL Server virtual server will require a server cluster disk for data file use </li></ul>
  16. 16. SQL Server Cluster Disk Selection (2) <ul><li>If you try to use the Quorum drive, you will be warned not to do so </li></ul><ul><li>For additional information, see Q280345 , &quot;Quorum Drive Configuration Information&quot; </li></ul>
  17. 17. SQL Server Cluster Disk Selection (3) <ul><li>Select a cluster disk that is not a Quorum disk and continue </li></ul>
  18. 18. SQL Server Cluster Definition <ul><li>By default, all nodes are selected to participate in the SQL Server cluster definition </li></ul>
  19. 19. SQL Server Remote Information <ul><li>Enter the domain account information of a domain user account that belongs to the Local Administrators Group </li></ul><ul><li>Use of SQL Server or the Cluster Services service account is recommended </li></ul>
  20. 20. Default Instance of SQL Server <ul><li>SQL Server permits one default instance per cluster </li></ul><ul><li>This is the default setting </li></ul>
  21. 21. Named Instance of SQL Server <ul><li>This installation will be of a named instance </li></ul>
  22. 22. Named Instance of SQL Server (2) <ul><li>This installation will use the name “INST1” </li></ul>
  23. 23. Virtual Server and Instance Names <ul><li>Naming virtual servers can be confusing, so here are some examples of valid and invalid names for multiple virtual servers in the same domain </li></ul><ul><ul><li>VSS – Valid (default instance) </li></ul></ul><ul><ul><li>VSSINST1 – Not valid </li></ul></ul><ul><ul><li>VSS1INST1 – Valid </li></ul></ul><ul><ul><li>VSS1VSS1 – Valid (not recommended) </li></ul></ul><ul><ul><li>VSS1INST2 – Not valid </li></ul></ul><ul><ul><li>VSS2INST1 – Not valid </li></ul></ul><ul><ul><li>VSS2INST2 – Valid </li></ul></ul>
  24. 24. SQL Server Setup Type <ul><li>Select the type of installation you want </li></ul><ul><ul><li>Typical </li></ul></ul><ul><ul><li>Minimum </li></ul></ul><ul><ul><li>Custom </li></ul></ul>
  25. 25. SQL Server Service Account <ul><li>Enter the SQL Server service account information </li></ul>
  26. 26. Authentication Method <ul><li>Select whether your instance of SQL Server will use the default and preferred Windows Authentication, or both Windows Authentication and SQL Server Authentication </li></ul>
  27. 27. Start of File Copy <ul><li>This is only an informational screen </li></ul>
  28. 28. Licensing Model Selection <ul><li>Select the licensing model based on your product purchase </li></ul>
  29. 29. Additional Licensing Information <ul><li>Additional information can be found at: </li></ul><ul><ul><li>Q175276 , &quot;Licensing Policy Implementation with MSCS&quot; </li></ul></ul><ul><li>Microsoft Licensing </li></ul><ul><ul><li> </li></ul></ul>
  30. 30. Progress Indicators <ul><li>As the installation continues, you will see informational pop-up windows informing you of the installation progress; sometimes the screen will appear blank as shown </li></ul>
  31. 31. Completed <ul><li>At this point your SQL Server failover instance has successfully completed installation </li></ul>
  32. 32. Cluster Administrator View <ul><li>This is how the installation will appear in the Cluster Administrator </li></ul>
  33. 33. SQL Server 2000 Setup Service Pack Installation
  34. 34. SQL Server Service Packs <ul><li>After you have completed your installation of the SQL Server failover clustering instance, Microsoft recommends that you apply the current SQL Server Service Pack </li></ul><ul><li>The following will demonstrate a typical SQL Server Service Pack installation </li></ul><ul><li>WARNING: </li></ul><ul><li>If you remove or add servers to the SQL Server virtual server definition the way you did with SQL Server setup after installing a SQL Server Service Pack, the latest service pack must be reapplied (see Q295589 for details) </li></ul>
  35. 35. Obtaining SQL Server Service Packs <ul><li>To obtain a SQL Server Service Pack, visit sql / to download the latest version </li></ul>
  36. 36. Obtaining a SQL Server Service Packs (2) <ul><li>When downloading, you will be prompted to save the service pack to a local location for extraction </li></ul>
  37. 37. Obtaining a SQL Server Service Packs (3) <ul><li>After the download is complete, the service pack will be extracted and applied </li></ul>
  38. 38. Service Pack Preparation <ul><li>Locate and run the downloaded SQL Server Service Pack executable file </li></ul><ul><li>In this example, the file is located at: </li></ul><ul><ul><li>C: empSQL2KSP2.EXE </li></ul></ul>
  39. 39. Extracting the Service Pack <ul><li>Microsoft recommends you accept the default location for the expanded files as shown </li></ul>
  40. 40. Starting Service Pack Setup <ul><li>Locate the Setup.bat in the folder that the SQL2KSP2.EXE contents were extracted to, and run it </li></ul>
  41. 41. Starting Service Pack Setup (2) <ul><li>Setup will then prepare the InstallSheild Wizard as noted in the screen pop-up window </li></ul>
  42. 42. Setup Warning <ul><li>You will receive a warning about restarting </li></ul><ul><li>If you already restarted, click Next </li></ul>
  43. 43. Setup Warning (2) <ul><li>A pop-up window will appear that indicates it is searching for installed components for the instance that had the service pack applied to it </li></ul>
  44. 44. Service Pack Welcome <ul><li>The informational welcome message will appear </li></ul>
  45. 45. Computer Name <ul><li>An dialog box will request the computer name of the virtual server that the SQL Server Service Pack will be applied to </li></ul>
  46. 46. Computer Name (2) <ul><li>Enter the name of the virtual server that the service pack will be installed on </li></ul>
  47. 47. Computer Name Verifications <ul><li>After the computer name is known, setup will search for additional information about the installed components </li></ul><ul><li>During this process, there will be times when the screen will not display any progress dialog boxes </li></ul>
  48. 48. Authentication Method <ul><li>Select the authentication method to use when you connect to the SQL Server </li></ul>
  49. 49. Connectivity Verification <ul><li>Connectivity is verified and the SQL Server state is verified as able to support an upgrade </li></ul>
  50. 50. Remote Information <ul><li>Verify your Administrator account </li></ul>
  51. 51. Remote Information (2) <ul><li>Enter a domain account that is a valid local administrator on all nodes in the cluster </li></ul>
  52. 52. Progress Dialog Boxes <ul><li>A series of progress dialog boxes will be presented over time </li></ul><ul><li>Some of these dialog boxes remain unchanged for several minutes </li></ul>
  53. 53. Service Pack Is Installed <ul><li>After the service pack is installed, you will be advised on whether a restart is required and on which nodes </li></ul>
  54. 54. Service Pack Failures <ul><li>If the service pack could not perform the remote node installation, you would have seen this pop-up window </li></ul>
  55. 55. SQL Server 2000 Setup Maintenance/Advanced Mode Setup
  56. 56. SQL Server 2000 Maintenance/Advanced Mode Setup <ul><li>Used for: </li></ul><ul><ul><li>Domain changes </li></ul></ul><ul><ul><li>Adding or removing nodes from the SQL virtual server definition </li></ul></ul><ul><ul><li>IP address changes </li></ul></ul><ul><ul><li>Service account changes </li></ul></ul>
  57. 57. Getting Started <ul><li>Insert the SQL Server 2000 CD </li></ul><ul><li>Starting setup in maintenance mode is like starting a new installation </li></ul>
  58. 58. Computer Name <ul><li>First, provide the computer name for instance of the virtual server you will be working with, the way you did when you started a typical installation </li></ul>
  59. 59. Installation Selection <ul><li>Select &quot;Advanced options,&quot; not the default selection which is to “Upgrade, remove…” </li></ul>
  60. 60. Advanced Options <ul><li>&quot;Maintain a Virtual Server for Failover Clustering&quot; is the only enabled advanced option for virtual servers </li></ul>
  61. 61. SQL Virtual Server IP Address <ul><li>IP address additions or modifications will be made here </li></ul>
  62. 62. Cluster Definition <ul><li>Specify a virtual server definition of participating nodes </li></ul>
  63. 63. Remote Installation <ul><li>Verify or change the account of the valid administrator on all nodes in the cluster definition </li></ul>
  64. 64. Maintenance Completed <ul><li>Click Finish to complete virtual server maintenance </li></ul>
  65. 65. SQL Server 2000 Setup Uninstalling a Virtual Server
  66. 66. Installation Selection <ul><li>Upgrade, remove, or add components to an existing instance of SQL Server </li></ul>
  67. 67. Progress Indicators <ul><li>As the installation continues, you will see informational pop-up windows informing you of the installation progress; sometimes the screen will appear blank as shown </li></ul>
  68. 68. Successful Uninstallation <ul><li>Setup notifies you that you have successfully uninstalled the instance </li></ul>
  69. 69. Setup Completed <ul><li>Setup has completed, but node restarts may be required </li></ul>
  70. 70. SQL Server 2000 Setup Securing Your Installation
  71. 71. SQL Server Security Recommendations <ul><li>Aside from the recommendation to use Windows Authentication, there are several other considerations </li></ul><ul><ul><li>SQL Server Books Online (BOL) covers this subject. See the BOL index entry: </li></ul></ul><ul><ul><ul><li>Security, (see also security – SQL Server) </li></ul></ul></ul><ul><ul><li>Microsoft Baseline Security Analyzer can help with verification </li></ul></ul>
  72. 72. Microsoft Baseline Security Analyzer <ul><li>The tool can be downloaded from the Microsoft Baseline Security Analyzer Web site: </li></ul><ul><ul><li> </li></ul></ul>
  73. 73. Microsoft Baseline Security Analyzer (2) <ul><li>The Baseline Security Analyzer will check: </li></ul><ul><ul><li>If Administrators group belongs to sysadmin role </li></ul></ul><ul><ul><li>If CmdExec role is restricted to sysadmin only </li></ul></ul><ul><ul><li>If SQL Server is running on a domain controller </li></ul></ul><ul><ul><li>If account password is exposed </li></ul></ul><ul><ul><li>SQL installation folders access permissions </li></ul></ul><ul><ul><li>If Guest account has database access </li></ul></ul><ul><ul><li>If Everyone group has access to SQL registry keys </li></ul></ul><ul><ul><li>If SQL service accounts are members of the local Administrators group </li></ul></ul><ul><ul><li>If SQL accounts have blank or simple passwords </li></ul></ul><ul><ul><li>For missing SQL hotfixes </li></ul></ul><ul><ul><li>The SQL Server Authentication mode type </li></ul></ul><ul><ul><li>The number of sysadmin role members </li></ul></ul>
  74. 74. SQL Server 2000 Cluster Do's and Don'ts <ul><li>Plan, plan, plan… </li></ul><ul><li>Use SQL Server Enterprise Manager to make all changes to SQL Server service accounts or passwords </li></ul><ul><li>Do not try to reuse SQL Server cluster resources for other additional resources </li></ul><ul><li>Monitor Q254321 , &quot;INF: Clustered SQL Server Do's, Don'ts, and Basic Warnings,&quot; for the most up-to-date “do’s and don’ts” information related to SQL Server clustering </li></ul><ul><li>If a support call is made, return requested information or files as soon as possible </li></ul>
  75. 75. Troubleshooting Virtual SQL Server Servers <ul><li>When troubleshooting issues on virtual SQL Server servers, note that troubleshooting must be done in a certain order unless the problem is a known SQL issue </li></ul><ul><li>Problems or failures with the hardware, operating system, networking, security, or Microsoft Cluster Service can appear as SQL Server issues when in fact no SQL Server issues exist </li></ul>
  76. 76. Troubleshooting Virtual SQL Server Servers (2) <ul><li>Troubleshoot virtual SQL Server issues in the following order: </li></ul><ul><ul><li>Hardware – Do the system event logs show any warnings or errors that cannot be explained? If look at the computer's system report, are any problem devices reported? If so, can they be explained? </li></ul></ul><ul><ul><li>Operating system – Do the event logs show any kind of operating system problems, service failures, or driver problems? </li></ul></ul><ul><ul><li>Networking – Do the event logs show loss of connectivity? NIC failures? DNS problems? </li></ul></ul><ul><ul><li>Security – Look for access denied errors and security log failures. </li></ul></ul><ul><ul><li>MSCS – Does the cluster report problems in any of the event logs? </li></ul></ul><ul><ul><li>SQL Server – Does SQL Server report any specific error messages in the error log or event logs? </li></ul></ul>
  77. 77. Reference Links <ul><li>SQL Server technical resources </li></ul><ul><ul><li> </li></ul></ul><ul><li>SQL 2000 failover clustering </li></ul><ul><ul><li> </li></ul></ul><ul><li>Q254321 , &quot;INF: Clustered SQL Server Do's, Don'ts, and Basic Warnings&quot; </li></ul><ul><ul><li>;EN-US;Q254321 </li></ul></ul>
  78. 79. Setup Type – Custom <ul><li>Custom setup selected </li></ul>
  79. 80. Service Accounts <ul><li>Service accounts </li></ul>
  80. 81. Select Components <ul><li>Select the components your custom installation will use </li></ul>
  81. 82. Authentication Mode <ul><li>Select authentication </li></ul><ul><li>For security purposes, Microsoft recommends that Windows Authentication be used </li></ul>
  82. 83. Collation Settings <ul><li>Collation settings </li></ul>
  83. 84. Network Libraries <ul><li>Network library selections </li></ul>
  84. 85. Start Copying Files <ul><li>Start copying files </li></ul>
  85. 86. Setup Type <ul><li>Minimum installation </li></ul>
  86. 87. Server Cluster (MSCS) Basics <ul><li>Support WebCast: Microsoft Windows 2000 Clustering Basics Tuesday, February 01, 2000 </li></ul><ul><ul><li> </li></ul></ul><ul><li>Support WebCast: Windows Clustering: An Overview of Microsoft Clustering Technologies </li></ul><ul><li> Friday, January 21, 2000 </li></ul><ul><ul><li> </li></ul></ul><ul><li>Step-by-Step Guide to Installing Cluster Service </li></ul><ul><ul><li> </li></ul></ul>
  87. 88. Server Cluster (MSCS) Basics (2) <ul><li>Clustering services technologies </li></ul><ul><ul><li> </li></ul></ul><ul><li>Q259267 , &quot;Microsoft Cluster Service Installation Resources&quot; </li></ul><ul><li>MSPRESS MCSE Training Kit – Windows 2000 Advanced Server Clustering Services ISBN 0-7356-1293-5 </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.