SQL Server 2012 Cluster with TempDB on Local Disk
Installing the First SQL Server Cluster Node
- Launch setup from the SQL Server 2012 media.
- Start your SQL Server 2012 cluster installation by clicking New SQL failover cluster installation from the Installation page.
- Proceed through the installation steps, accepting the license, selecting the desired features, naming the instance and specifying a cluster resource group name.
- When you get to the Cluster Disk Selection screen select the shared cluster disks that you will use for data and log directories.
- Continue through the installation, providing the cluster network information and service accounts.
- When you get to the Database Engine Configuration specify your SAN disks for the Data and Log directories. Specify the local disk for your TempDB directories.A warning indication will appear advising you to ensure that the same local path exists on every cluster node. As we will see cluster failover will fail if the exact local path is not defined on all cluster nodes.
- Continue through the remaining cluster install steps and complete the installation.
- When finished your disks in Windows Explorer should look as follows. Note that the Operating System and TempDB are local disks while the remainder are SAN disks.
Installing Additional SQL Server 2012 Cluster Nodes
When adding additional nodes to the cluster the key is to ensure the folders are created with the same path for the local TempDB directory. The SQL Server cluster group will fail to come online if the full path is not created on the additional instance.
- Launch the SQL Server 2012 setup on to the next node of your cluster, click Add node to a SQL Server failover cluster on the Installation page as shown below.
- Proceed through the Add Node steps, selecting the same settings as configured for the first node. You do not need to specify the path to any disks during an Add Node installation.
- Complete the installation on the additional node.
SQL Server Cluster Failover Validation
You have now completed installing SQL Server 2012 on at least 2 nodes to form a cluster. The next step would be to verify cluster failover between nodes.The cluster should now fail over between all nodes while utilizing local disk for TempDB on each node.
No comments:
Post a Comment