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

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

[复制链接]

尚未签到

发表于 2018-10-18 11:18:07 | 显示全部楼层 |阅读模式
  https://www.mssqltips.com/sqlservertip/1698/install-sql-server-2008-on-a-windows-server-2008-cluster-part-2/
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 building our Windows Server 2008 cluster in preparation for SQL Server 2008. In Part 1, we have completed the installation of the Application Server role in both of the servers that we will be using as part of our cluster. This tip will walk you through the installation of the Failover Cluster Feature, validating the servers that will be a part of the cluster, and creating the cluster.
Adding the Failover Cluster Feature
  Windows Server 2008 calls them features which are simply software programs that can support or augment the functionality of server roles. Since we've already installed the Application Server role in our server, let's define a feature from this perspective: failover clustering simply augments the role as an application server by making it highly available. It is disabled by default, unlike in Windows Server 2003 so we need to add it on both of the servers that will form a part of our cluster.
  To add the Failover Clustering feature:

  •   Open the Server Manager console and select Features.
  •   Click the Add Features link. This will run the Add Features Wizard
    DSC0000.jpg

  •   In the Select Features dialog box, select the Failover Clustering checkbox and click Next.
    DSC0001.jpg

  •   In the Confirm Installation Selections dialog box, click Install to confirm the selection and proceed to do the installation of the Failover Clustering feature.
    DSC0002.jpg

  •   In the Installation Results dialog box, click Close. This completes the installation of the Failover Clustering feature on the first node.
    DSC0003.jpg

  That's how simple and easy it is to add the Failover Clustering feature in Windows Server 2008. You will have to do this on both nodes to complete the process. Once you have managed to install the Failover Cluster Feature on both nodes, we can proceed to validate our servers if they are ready for clustering.
  Running the Windows Server 2008 Validate Cluster Configuration
  Unlike in previous versions of Windows where Microsoft had some sort of a hardware compatibility list (HCL) from which we had to find and select components tested to be clustering-supported, this wizard is like the "seal" that tells you whether or not the hardware you are using is supported. In fact, Microsoft has partnered with hardware vendors to create the Failover Cluster Configuration Program to make the acquisition of hardware for Windows Server 2008 Failover Clustering very easy and simple. Basically, your hardware will be supported for clustering if it meets these two requirements: the server has a "Certified for Windows Server 2008" logo and it passes this wizard.
  One word of caution: do not skip any error message that this wizard generates in the final report. Doing so would simply mean that your configuration going forward will be unsupported. You only need to run this wizard on either of the nodes.
  To run the Validate Cluster Configuration Wizard:

  •   Open the Failover Cluster Management console
  •   Under the Management section, click the Validate a Configuration link. This will run the Validate a Configuration Wizard
    DSC0004.jpg

  •   In the Select Servers or a Cluster dialog box, enter the hostnames of the nodes that you want to add as members of your cluster and click Next.
    DSC0005.jpg

  •   In the Testing Options dialog box, click Next to run all the necessary tests to validate whether or not the nodes are OK for clustering. If this is the first time to run the wizard, you must run all the tests for validation. For succeeding runs, especially when adding hardware like disk subsystems to network cards on your cluster nodes, you can selectively choose which tests to run as long as you have initially validated your hardware by running all tests.
    DSC0006.jpg

  •   In the Confirmation dialog box, click Next. This will run all the necessary validation tests.
    DSC0007.jpg

  •   In the Summary dialog box, verify that all the report returns successful.
    DSC0008.jpg

  If you have reached this part of the process, the wizard will tell you whether or not you can proceed to the next step of creating your cluster. As I've mentioned earlier, do not attempt to go any further if this report returned any error messages. I have seen some installations where the shared disk is displaying an error in the validation report prompting me to reconfigure the shared disk. This could mean removing the disk subsystem from both nodes, creating new disks and presenting them on the nodes as mentioned inPart 1 of this series. It would be best to work with your storage engineers or your system administrators when in doubt as different vendors may have different implementations of their disk subsystems.
  I've also seen issues pertaining to IPv6. This is a fairly common issue which can easily be resolved. The error message in the cluster validation report looks something similar to the one displayed below
Verifying that there are no duplicate IP addresses between any pair  
of nodes. Found duplicate IP address fe80::100:7f:fffe%13 on node
  
node1.domain.local adapter Local Area Connection* X and node
  
node2.domain.local adapter Local Area Connection* X.
  This blog post outlines the step in resolving this issue. In a few cases, however, I needed to disable the Teredo Tunneling Pseudo-Interface adapter from Device Manager before I got a successful summary report generated by the Validate Cluster Configuration wizard. The bottom line is simply to make sure that the report returns a successful validation before creating the cluster.
  Creating the Windows Server 2008 Cluster
  You've finally reached this step in the entire process. This means you are now ready to create your Windows Server 2008 cluster. It's as easy as running the Create Cluster Wizard on either of the nodes. Make sure that you have your virtual hostname and IP address ready before proceeding
  To run the Create a Cluster Wizard:

  •   Open the Failover Cluster Management console
  •   Under the Management section, click the Create a Cluster link. This will run the Create Cluster Wizard
    DSC0009.jpg

  •   In the Select Servers dialog box, enter the hostnames of the nodes that you want to add as members of your cluster and clickNext.
    DSC00010.jpg

  •   In the Access Point for Administering the Cluster dialog box, enter the virtual hostname and IP address that you will use to administer the cluster. Click Next
    DSC00011.jpg

  •   In the Confirmation dialog box, click Next. This will configure Failover Clustering on both nodes of the cluster, add DNS and Active Directory entries for the cluster hostname.
    DSC00012.jpg

  •   In the Summary dialog box, verify that all the report returns successful.
  Congratulations! You now have a working Windows Server 2008 cluster. Notice how easy it was to do all of these with fewer steps and less configuration compared to its predecessors. You can now validate whether your cluster is working or not. A simple test would be to do a continuous PING on the virtual hostname or IP address that you have assigned to your cluster. Reboot one of the nodes and see how your PING test responds. At this point, you are now ready to install SQL Server 2008.
  OPTIONAL: Configuring your cluster quorum
  This section is sometimes necessary especially when Windows Server 2008 decides to take a different disk subsystem as a quorum other than the one you've originally intended it to. Notice that in the Create a Cluster wizard, there was no option to select the disk subsystem that we can use as a quorum disk (now called the "witness" disk). By default, the Create a Cluster wizard will use the first available disk as the witness disk. I have seen cases where the originally planned witness disk is>Storage node under the Failover Cluster Management console
DSC00013.jpg

  To configure the quorum in a failover cluster:

  •   Open the Failover Cluster Management console
  •   Select the name of the cluster you have just created. Right-click on the cluster, select More Actions, and click Configure Cluster Quorum Settings... This will open up the Configure Cluster Quorum Wizard
    DSC00014.jpg

  •   In the Select Quorum Configuration dialog box, select the Node and Disk Majority (recommended for your current number of nodes) option. The options presented will depend on how you want your cluster configured. The current selection is for a 2-node cluster configuration
    DSC00015.jpg

  •   In the Configure Storage Witness dialog box, validate and select the disk that you want your cluster to use as the quorum/witness disk. Click Next
    DSC00016.jpg

  •   In the Confirmation dialog box, verify that the disk configuration for the quorum/witness disk is correct. Click Next
    DSC00017.jpg

  •   In the Summary dialog box, verify that all the configurations are successful.
  For more details on Configuring the Quorum in a Failover Cluster in Windows Server 2008, check out this Microsoft TechNet article.



运维网声明 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-623136-1-1.html 上篇帖子: Install SQL Server 2008 on a Windows Server 2008 Cluster Part 3 下篇帖子: 在Windows Server 2008上配置FTP服务
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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

扫描微信二维码查看详情

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


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


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


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



合作伙伴: 青云cloud

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