设为首页 收藏本站
查看: 721|回复: 0

[经验分享] Install SQL Server 2008 on a Windows Server 2008 Cluster Part 4

[复制链接]

尚未签到

发表于 2018-10-18 11:15:28 | 显示全部楼层 |阅读模式
  https://www.mssqltips.com/sqlservertip/1721/install-sql-server-2008-on-a-windows-server-2008-cluster-part-4/
Problem

  In a previous tip on SQL Server 2008 Installation Process, we have seen how different SQL Server 2008 installation is from its previous versions. Now, we have another challenge to>Solution
  To continue this series on Installing SQL Server 2008 on a Windows Server 2008 Cluster, we will look at adding a node in a SQL Server 2008 failover cluster.

  •   Part 1 we completed the installation of the Application Server role in both of the servers that we will be using as part of our cluster.
  •   Part 2 walked you through the installation of the Failover Cluster Feature, validating the servers that will be a part of the cluster, and creating the cluster.
  •   Part 3 completed with a working SQL Server 2008 failover cluster running on a single node.
  •   In this tip, we will proceed to add a node in a SQL Server 2008 failover cluster and apply the latest cumulative updates.
  Adding a node on a SQL Server 2008 Failover Cluster
  Now that you have a working failover cluster, we will make it highly available by adding nodes. The number of nodes you can add in a failover cluster depends on the editions of SQL Server that you will use. A Standard Edition of SQL Server 2008 can support up to two (2) nodes in a failover cluster while the Enterprise Edition supports up to sixteen (16) nodes, which is practically the limit for the Enterprise Edition for Windows Server 2008. As most of the steps in this process are similar to the one when you were installing the failover cluster, I've skipped most of the screenshots.
  To add a node on a SQL Server 2008 failover cluster:

  •   Run setup.exe from the installation media to launch SQL Server Installation Center
  •   Click on the Installation link on the left-hand side. Click the Add node to a SQL Server failover cluster link. This will run theSQL Server 2008 Setup wizard.
      There are a couple of glitches when you get to this point. One of them is a popup error with an error message "failed to retrieve data for this request" while in this step. I've seen a Microsoft Connect item on this but refers to CTP6 so I was thinking it has already been resolved. After a few searches and questions asked, SQL Server MVP Geoff Hiten advised that prior to adding another node in the cluster, any cumulative update should be pre-applied to the node before the main installation as the cluster install of the RTM version has some bugs. This creates a patched install script for the RTM installer to use. The fix started with cumulative update 1 so, technically, you can apply any cumulative update. Sounds weird, but it works. You still have to apply the patch after the installation.
    DSC0000.jpg

  •   In the Setup Support Rules dialog box, validate that the checks return successful results and click OK.
  •   In the Product Key dialog box, enter the product key that came with your installation media and click Next.
      Again, a few glitches on this step. This might seem unusual as you are only being asked about the Product Key. There is also aMicrosoft Connect item for this which basically asks you to run the setup.exe in command prompt. There is a popup error with an error message "The current SKU is invalid" while in this step. This usually happens when you use a media with a supplied product key, like the one that comes with an MSDN subscription. What worked for me was to copy the installation media on a local disk, locate the file DefaultSetup.ini file from the installation files and delete it or move it to different location. If you opt to delete the file, make sure you note down the product key written on this file as you will need to manually key this in during the installation process. This forum post will give you quite a few options to solve this issue
  •   In the License Terms dialog box, click the I accept the license terms check box and click Next.
  •   In the Setup Support Rules dialog box, click Install. Validate that the checks return successful results. Again, make sure to fix any errors returned by this check before proceeding with the installation.
  •   In the Cluster Node Configuration dialog box, validate that the information for the existing SQL Server 2008 cluster is correct.
    DSC0001.jpg

  •   In theService Accounts dialog box, verify that the information is the same as what you have used to configure the first node.
    DSC0002.jpg

  •   In the Error and Usage Reporting dialog box, click Next
  •   In the Add Node Rules dialog box, verify that all checks are successful and click Next
  •   In the Ready to Add Node dialog box, verify that all configurations are correct and click Install
  •   In the Complete dialog box, click Close. This concludes adding a node to a SQL Server 2008 Failover Cluster
DSC0003.jpg

  You can validate your cluster installation by expanding the Services and Applications node and check the cluster name of your SQL Server instance. You can now see an option to move the service to another node, in this case, the node you've just added in your failover cluster
DSC0004.jpg

  Applying patches on a SQL Server 2008 cluster
  Part of the tasks of a DBA is to apply patches on the database engine and a SQL Server 2008 failover cluster is no exception. In fact, it is not as straight-forward as applying patches and service packs on a stand-alone server. It is important to note that when applying patches or service packs to a SQL Server failover cluster, you should apply them first on the passive node. After completing the installation on the passive node, failover the SQL Server 2008 cluster resource to this node making it the active node. Once the SQL Server service and all other dependencies are up, you can, then, apply the patches on the new passive node. The latest available patch for SQL Server 2008 is cumulative update 4 and is available for request from Microsoft. For more information, check out this Microsoft KB article. You will have to request for the patch from Microsoft as it is not available from the Microsoft Download Center. The screenshots below show cumulative update 3 (version 10.0.1600.22) but the process is basically the same. Also, note that even though you may have already applied the cumulative update due to the bug mentioned above for adding a node in a failover cluster, you still have to apply the patch on both nodes
  To apply patches on a SQL Server 2008 failover cluster node:

  •   Run SQLServer2008-KB960484-x86.exe (this would depend on the cumulative update that you want to apply) from the hotfix package you have requested from Microsoft
  •   In the Welcome dialog box, validate that the checks return successful results.
    DSC0005.jpg

  •   In the License Terms dialog box, click the I accept the license terms check box and click Next
    DSC0006.jpg

  •   In the Select Features dialog box, validate the SQL Server 2008 components by clicking on the check box. The Upgrade Statusfield will tell you whether or not the patch has already been applied. Click Next
    DSC0007.jpg

  •   In the Ready to Update dialog box, verify that all configurations are correct and click Patch
    DSC0008.jpg

  •   In the Update Progress dialog box, validate that the installation was successful.
    DSC0009.jpg

  •   In the Complete dialog box, click Close. This concludes patching the passive node of a SQL Server 2008 Failover Cluster
    DSC00010.jpg

  After successfully installing the patch on the passive node, move the SQL Server 2008 cluster resource to this node so it will become the new active node. Make sure that all the SQL Server 2008 cluster dependencies are online prior to applying the patch on the other node. Repeat the process outlined above to the new passive node. A more comprehensive approach for applying a SQL Server 2008 patch to a failover cluster instance is defined in this Microsoft KB article
  Congratulations! You now have a working two-node SQL Server 2008 failover cluster running on Windows Server 2008.


运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-623132-1-1.html 上篇帖子: Install SQL Server 2008 on a Windows Server 2008 Cluster Part 1 下篇帖子: 使用Operations Manager监视Windows Server和SQL Server-1+1=?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表