Wednesday, June 12, 2013

Windows 2008 R2 Failover Cluster Installation & Configuration

Pre-requisites

  1. 2 VMs with Windows 2008 R2 Enterprise
  2. 2 NICs on each VMs (1 for Public and 1 for Private)
  3. 4 IP Address for Public Range
  4. 2 IP Address for Private Range
  5. 2 Shared Disks (1 for Failover Cluster Quorum Disk and 1 for SQL Cluster Data Disk)
    • I used pRDMs for the Shared Disks however there are other options as well 

Procedure

Step 1 ) Open Server Manager à Features
Step 2) Select Failover Clustering to install the Failover Clustering Feature
Step3 ) The first step in creating a successful failover clustering, is by validating the existing systems and shared storage. This is done by the option Validate a Configuration
Here we need to select the 2 Servers which are going to be part of the Cluster

Step 4) Create Cluster
We are creating Failover Cluster for SQL so I named it appropriately

What to Follow ?

  • SQL 2008 R2 Failover Cluster Installation
  • Add Node to SQL Failover Cluster



Best Practices VMware SRM

Synopsis
We have faced lot of issues while performing failover (Test/Actual) due to timeouts and others. We have now standardize the configuration.Below mentioned are the values we configure it to avoid issues.

Setup

VMware vCenter 5.X
VMware SRM 5.X
Protocol – FC/ iSCSI/NFS

Configuration Steps

Step 1) Login to vCenter server using VMware vSphere Client
Step 2) Click on Home – Site Recovery
Step 3) A pop-up will be prompted for user name and password to connect to Production site vCenter server. Enter the user name and Password and click OK
Step 4) Click on Sites to see both Production and Recovery Sites
Step 5) Right Click on recovery site and click on Advanced Settings
Step 6) Change the following values accordingly

  • storage.commandTimeout – 1800 sec
  • recovery.powerOnTimeout – 1800 sec
  • storageProvider.hostRescanRepeatCnt – 3
  • storageProvider.hostRescanTimeoutSec – 1800 sec
  • recovery.customizationTimeout – 1800 sec

 Step 7) Repeat the step 6 for Production site advanced settings
Step 8) Click on Recovery Plan – Virtual Machines – Right click on VM and click on configure – Startup Actions
Step 9) Change the following value

  • Wait for VMware Tools Timeout value to 30 minutes.

 Step 10) If the volumes are NFS and more than 8 are replicated and being mounted to ESXi. Follow the below steps to modify ESXi Advanced Settings
Step 11) Click on Home – Hosts and Clusters – Click on ESXi host – Configuration – Advanced Settings
Step 12) Change the following values accordingly

  • NFS.MaxVolumes – 256
  • Net.TcpipHeapSize – 32
  • Net.TcpipHeapMax – 128

 Step 13) Follow the step 11 and 12 for remaining hosts in the cluster.