SIOS SANless clusters

SIOS SANless clusters High-availability Machine Learning monitoring

  • Home
  • Products
    • SIOS DataKeeper for Windows
    • SIOS Protection Suite for Linux
  • News and Events
  • Clustering Simplified
  • Success Stories
  • Contact Us
  • English
  • 中文 (中国)
  • 中文 (台灣)
  • 한국어
  • Bahasa Indonesia
  • ไทย

Archives for August 2018

Deploy SQL Server Failover Clusters In Azure Resource Manager

August 19, 2018 by Jason Aw Leave a Comment

Deploying Microsoft SQL Server 2014 Failover Clusters in Azure Resource Manager

In this post, we will detail the specific steps required to Deploy SQL Server Failover Clusters In Azure Resource Manager. I will assume you are familiar with basic Azure concepts as well as basic SQL Server Failover Cluster concepts.

Deploying a 2-node SQL Server Failover Cluster in a single region of Azure using Azure Resource Manager is not rocket science. What I’ll focus in this article is the uniqueness about deploying a SQL Server Failover Cluster in Azure Resource Manager. If you are still using Azure Classic and need to deploy a SQL Server Failover Cluster in Classic,  read my article “STEP-BY-STEP: HOW TO CONFIGURE A SQL SERVER FAILOVER CLUSTER INSTANCE (FCI) IN MICROSOFT AZURE IAAS #SQLSERVER #AZURE #SANLESS”

Before we begin, let’s familiarize with the Windows Azure Article, High availability and disaster recovery for SQL Server in Azure Virtual Machines. In that article all of the HA options are outlined. This included AlwaysOn AG, Database Mirroring, Log Shipping, Backup and Restore and finally Failover Cluster Instances. Assuming you have dismissed those other options due to the costs associated with Enterprise Edition of SQL Server or lack of features, we are focusing on the final option – SQL Server AlwaysOn Failover Cluster Instance (FCI).

As you read that article it becomes clear that the lack of cluster aware shared storage in Azure is an obstacle in deploying SQL Server Failover clusters. However, there are a few alternatives described in that article. We will focus on using SIOS DataKeeper, to provide the storage to be used in the cluster.

Deploy SQL Server Failover Clusters In Azure Resource Manager
Figure 1 Microsoft’s support policy for SQL Server Failover Clusters https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-classic-sql-dr/

With DataKeeper Cluster Edition you are able to take the locally attached storage, whether it is Premium or Standard Disks, and replicate those disks either synchronously, asynchronous or a mix or both, between two or more cluster nodes. In addition, a DataKeeper Volume resource is registered in Windows Server Failover Clustering which takes the place of a Physical Disk resource. Instead of controlling SCSI-3 reservations like a Physical Disk Resource, the DataKeeper Volume controls the mirror direction, ensuring the active node is always the source of the mirror. As far as SQL Server and Failover Clustering is concerned, it looks, feels and smells like a Physical Disk and is used the same way Physical Disk Resource would be used.

Pre-Requisites To Deploy SQL Server Failover Clusters In Azure Resource Manager

  • You have used the Azure Portal before and are comfortable deploying virtual machines in Azure IaaS.
  • Have obtained a license or eval license of SIOS DataKeeper
  • Are familiar with SQL Server AlwaysOn Failover Cluster Instance. If not, please review the documentation here https://msdn.microsoft.com/en-us/library/ms189134.aspx

The Easy Way To Do A Proof-Of-Concept

If you are familiar with Azure Resource Manager you know one of the great new features is the ability to use Deployment Templates to rapidly deploy applications consisting of interrelated Azure resources. Many of these templates are developed by Microsoft and are readily available in their community on Github as “Quickstart Templates”. Community members are also free to extend templates or to publish their own templates on GitHub. One such template entitled “SQL Server 2014 AlwaysOn Failover Cluster Instance with SIOS DataKeeper Azure Deployment Template” published by SIOS Technology completely automates the process of deploying a 2-node SQL Server FCI into a new Active Directory Domain.

To deploy this template it is as easy as clicking on the “Deploy to Azure” button in the template.

Deploy SQL Server Failover Clusters In Azure Resource Manager
Figure 2- Visit https://github.com/SIOSDataKeeper/SIOSDataKeeper-SQL-Cluster to rapidly provision a 2-node SQL cluster

Deploying A SQL Server Failover Cluster Instance Using The Azure Portal

While the automated Azure deployment template is a quick and easy way to get a 2-node SQL Server FCI upon and running quickly, there are some limitations. For one, it uses a 180 Day evaluation version of SQL Server, so you can’t use it in production unless you upgrade the SQL eval licenses. Also, it builds an entirely new AD domain so if you want to integrate with your existing domain you are going to have to build it manually.

To build a 2-node SQL Server Failover Cluster Instance in Azure, we are going to assume you have a basic Virtual Network based on Azure Resource Manager (not Azure Classic) and you have at least one virtual machine up and running and configured as a Domain Controller. Once you have a Virtual Network and a Domain configured, you are going to provision two new virtual machines which will act as the two nodes in our cluster.

Our environment will look like this:

DC1 – Our Domain Controller and File Share Witness
SQL1 and SQL2 – The two nodes of our SQL Server Cluster

Provisioning The Cluster Nodes (SQL1 And SQL2)

Using the Azure Portal, we will provision both SQL1 and SQL2 exactly the same way. There are numerous options to choose from including instance size, storage options, etc. This guide is not meant to be an exhaustive guide to deploying SQL Server in Azure as there are some really good resources out there and more published every day. However, there are a few key things to keep in mind when creating your instances, especially in a clustered environment.

Availability Set – It is important that both SQL1, SQL2 AND DC1 reside in the same availability set. By putting them in the same Availability Set we are ensuring that each cluster node and the file share witness reside in a different Fault Domain and Update Domain. This helps guarantee that during both planned maintenance and unplanned maintenance the cluster will continue to be able to maintain quorum and avoid downtime.

Deploy SQL Server Failover Clusters In Azure Resource Manager
Figure 3 – Be sure to add both cluster nodes and the file share witness to the same Availability Set

Static IP Address

Once each VM is provisioned, you will want to go into the setting and change the settings so that the IP address is Static. We do not want the IP address of our cluster nodes to change.

Deploy SQL Server Failover Clusters In Azure Resource Manager
Figure 4 – Make sure each cluster node uses a static IP

Storage

As far as Storage is concerned, you will want to consult Performance best practices for SQL Server in Azure Virtual Machines. In any case, you will minimally need to add at least one additional disk to each of your cluster nodes. DataKeeper can use Basic Disk, Premium Storage or even Storage Pools consisting of multiple disks in a storage pool. Just be sure to add the same amount of storage to each cluster node and configure it identically.

Deploy SQL Server Failover Clusters In Azure Resource Manager
Figure 5 – make sure to add additional storage to each cluster node

Create The Cluster

Assuming both cluster nodes (SQL1 and SQL2) have been provisioned as described above and added to your existing domain, we are ready to create the cluster. Before we create the cluster, there are a few Features that need to be enabled. These features are .Net Framework 3.5 and Failover Clustering. These features need to be enabled on both cluster nodes.

Deploy SQL Server Failover Clusters In Azure Resource Manager
Figure 6 – enable both .Net Framework 3.5 and Failover Clustering features on both cluster nodes

Once those features have been enabled, you are ready to build your cluster. Most of the steps I’m about to show you can be performed both via PowerShell and the GUI. However, I’m going to recommend that for this very first step you use PowerShell to create your cluster. If you choose to use the Failover Cluster Manager GUI to create the cluster, you will find that you wind up with the cluster being issues a duplicate IP address.

Without going into great detail, what you will find is that Azure VMs have to use DHCP. By specifying a “Static IP” when we create the VM in the Azure portal all we did was create sort of a DHCP reservation. It is not exactly a DHCP reservation because a true DHCP reservation would remove that IP address from the DHCP pool. Instead, this specifying a Static IP in the Azure portal simply means that if that IP address is still available when the VM requests it, Azure will issue that IP to it. However, if your VM is offline and another host comes online in that same subnet it very well could be issued that same IP address.

There is another strange side effect to the way Azure has implemented DHCP. When creating a cluster with the Windows Server Failover Cluster GUI when hosts use DHCP (which they have to), there is not option to specify a cluster IP address. Instead it relies on DHCP to obtain an address. The strange thing is, DHCP will issue a duplicate IP address, usually the same IP address as the host requesting a new IP address. The cluster will usually complete, but you may have some strange errors and you may need to run the Windows Server Failover Cluster GUI from a different node in order to get it to run. Once you get it to run you will want to change the cluster IP address to an address that is not currently in use on the network.

You can avoid that whole mess by simply creating the cluster via Powershell and specifying the cluster IP address as part of the PowerShell command to create the cluster.

You can create the cluster using the New-Cluster command as follows:

New-Cluster -Name cluster1 -Node sql1,sql2 -StaticAddress 10.0.0.101 -NoStorage

After the cluster creation completes, you will also want to run the cluster validation by running the following command:

Test-Cluster
Deploy SQL Server Failover Clusters In Azure Resource Manager
Figure 7 – The output of the cluster creation and the cluster validation commands

Create File Share Witness

Because there is no shared storage, you will need to create a file share witness on another server in the same Availability Set as the two cluster nodes. By putting it in the same availability set you can be sure that you only lose one vote from your quorum at any given time. If you are unsure how to create a File Share Witness you can review this article http://www.howtonetworking.com/server/cluster12.htm. In my demo I put the file share witness on domain controller. I have published an exhaustive explanation of cluster quorums at https://blogs.msdn.microsoft.com/microsoft_press/2014/04/28/from-the-mvps-understanding-the-windows-server-failover-cluster-quorum-in-windows-server-2012-r2/In

Install DataKeeper

After the cluster is created it is time to install DataKeeper. It is important to install DataKeeper after the initial cluster is created so the custom cluster resource type can be registered with the cluster. If you installed DataKeeper before the cluster is created you will simply need to run the install again and do a repair installation.

Deploy SQL Server Failover Clusters In Azure Resource Manager
Figure 8 – Install DataKeeper after the cluster is created

During the installation you can take all of the default options.  The service account you use must be a domain account and be in the local administrators group on each node in the cluster.

Deploy SQL Server Failover Clusters In Azure Resource Manager
Figure 9 – the service account must be a domain account that is in the Local Admins group on each node

Once DataKeeper is installed and licensed on each node you will need to reboot the servers.

Create The DataKeeper Volume Resource

To create the DataKeeper Volume Resource you will need to start the DataKeeper UI and connect to both of the servers.
Deploy SQL Server Failover Clusters In Azure Resource Manager

Connect to SQL1
Deploy SQL Server Failover Clusters In Azure Resource Manager

Connect to SQL2
Deploy SQL Server Failover Clusters In Azure Resource Manager

Once you are connected to each server, you are ready to create your DataKeeper Volume. Right click on Jobs and choose “Create Job”
Deploy SQL Server Failover Clusters In Azure Resource Manager

Give the Job a name and description.
Deploy SQL Server Failover Clusters In Azure Resource Manager

Choose your source server, IP and volume. The IP address is whether the replication traffic will travel.
Deploy SQL Server Failover Clusters In Azure Resource Manager

Choose your target server.
Deploy SQL Server Failover Clusters In Azure Resource Manager

Choose your options. For our purposes where the two VMs are in the same geographic region we will choose synchronous replication. For longer distance replication you will want to use asynchronous and enable some compression.
Deploy SQL Server Failover Clusters In Azure Resource Manager

By clicking yes at the last pop-up you will register a new DataKeeper Volume Resource in Available Storage in Failover Clustering.
Deploy SQL Server Failover Clusters In Azure Resource Manager

You will see the new DataKeeper Volume Resource in Available Storage.
Deploy SQL Server Failover Clusters In Azure Resource Manager

 

Install The First Cluster Node

You are now ready to install your first node. The cluster installation will proceed just like any other SQL cluster that you have ever built. I have not copied every screen shot, just a few to guide you along the way.
Deploy SQL Server Failover Clusters In Azure Resource ManagerDeploy SQL Server Failover Clusters In Azure Resource ManagerDeploy SQL Server Failover Clusters In Azure Resource ManagerDeploy SQL Server Failover Clusters In Azure Resource Manager

You see that the DataKeeper Volume Resource is recognized as an available disk resource, just as if it were a shared disk.
Deploy SQL Server Failover Clusters In Azure Resource Manager

Make note of the IP address you select here. It must be a unique IP address on your network. We will use this same IP address later when we create our Internal Load Balancer.
Deploy SQL Server Failover Clusters In Azure Resource Manager

Add The Second Node

After the first node installs successfully, you will start the installation on the second node using the “Add node to a SQL Server failover cluster” option. Once again, the install is pretty straight forward, just use standard best practices as you would any other SQL cluster installation.
Deploy SQL Server Failover Clusters In Azure Resource ManagerDeploy SQL Server Failover Clusters In Azure Resource ManagerDeploy SQL Server Failover Clusters In Azure Resource ManagerDeploy SQL Server Failover Clusters In Azure Resource Manager

Create The Internal Load Balancer

Here is where failover clustering in Azure is different than traditional infrastructures. The Azure network stack does not support gratuitous ARPS, so clients cannot connect directly to the cluster IP address. Instead, clients connect to an internal load balancer and are redirected to the active cluster node. What we need to do is create an internal load balancer. This can all be done through the Azure Portal as shown below.

First, create a new Load Balancer
Deploy SQL Server Failover Clusters In Azure Resource Manager

You can use an Public Load Balancer if your client connects over the public internet. But assuming your clients reside in the same vNet, we will create an Internal Load Balancer. The important thing to take note of here is that the Virtual Network is the same as the network where your cluster nodes reside. Also, the Private IP address that you specify will be EXACTLY the same as the address you used to create the SQL Cluster Resource.
Deploy SQL Server Failover Clusters In Azure Resource Manager

Deploy SQL Server Failover Clusters In Azure Resource Manager

After the Internal Load Balancer (ILB) is created, you will need to edit it. The first thing we will do is to add a backend pool. Through this process you will choose the Availability Set where your SQL Cluster VMs reside. However, when you choose the actual VMs to add to the Backend Pool, be sure you do not choose your file share witness. We do not want to redirect SQL traffic to your file share witness.
Deploy SQL Server Failover Clusters In Azure Resource Manager

Deploy SQL Server Failover Clusters In Azure Resource Manager

The next thing we will do is add a Probe. The probe we add will probe Port 59999. This probe determines which node is active in our cluster.

Deploy SQL Server Failover Clusters In Azure Resource Manager

And then finally, we need a load balancing rule to redirect the SQL Server traffic. In our example we used a Default Instance of SQL which uses port 1433. You may also want to add rules for 1434 or others depending upon your applications requirements. The important thing to notice in the screen shot below is the Direct Server Return is Enabled. Make sure you make that change.

Fix The SQL Server IP Resource

One last step to Deploy SQL Server Failover Clusters In Azure Resource Manager. Run the following PowerShell script on one of your cluster nodes. This will allow the Cluster IP Address to respond to the ILB probes and ensure that there is no IP address conflict between the Cluster IP Address and the ILB. Please take note; you will need to edit this script to fit your environment. The subnet mask is set to 255.255.255.255, this is not a mistake, leave it as is. This creates a host specific route to avoid IP address conflicts with the ILB.

# Define variables
$ClusterNetworkName = “” 
# the cluster network name 
(Use Get-ClusterNetwork on Windows Server 2012 of higher to find the name)
$IPResourceName = “” 
# the IP Address resource name 
$ILBIP = “” 
# the IP Address of the Internal Load Balancer (ILB)
Import-Module FailoverClusters
# If you are using Windows Server 2012 or higher:
Get-ClusterResource $IPResourceName | Set-ClusterParameter 
-Multiple @{Address=$ILBIP;ProbePort=59999;SubnetMask="255.255.255.255";
Network=$ClusterNetworkName;EnableDhcp=0}
# If you are using Windows Server 2008 R2 use this: 
#cluster res $IPResourceName /priv enabledhcp=0 address=$ILBIP probeport=59999  
subnetmask=255.255.255.255

Conclusion

You should now have a functioning SQL Server Failover Cluster Instance. Facing problems to Deploy SQL Server Failover Clusters In Azure Resource Manager? Reach out to me on Twitter @daveberm and I will be glad to assist. If you need a DataKeeper evaluation key fill out the form at http://us.sios.com/clustersyourway/cta/14-day-trial, SIOS will send an evaluation key sent out to you.

Reproduced with permission from Clusteringformeremortals.com

Filed Under: Clustering Simplified Tagged With: Azure, Azure Resource Manager, deploy sql server failover clusters in azure resource manager, Failover Clusters, SQL Server

SQL Server on Linux High Availability Features and Considerations

August 17, 2018 by Jason Aw Leave a Comment

SIOS will be speaking at Microsoft SQLSaturday event

Speaker Jason Aw, Strategic Business Development, SIOS Technology Corp, will be sharing in this one hour session about SQL Server on Linux High Availability Features and Considerations.

With SQL Server on Linux, Microsoft brings SQL Server’s core relational database engine to the growing enterprise Linux ecosystem. High Availability and Disaster Recovery (HADR) are aspects of SQL Server that are critically important and in this session we discuss the features, limitations and options for High Availability and how SANless clustering can ensure proper functionality, availability and reliability for SQL Server on Linux, on-premise and in the Azure cloud.

Jason is a passionate IT leader with over 20 years of experience in technology, infrastructure, cloud environments particularly with high availability and disaster recovery solutions for different architectures including SQL database applications. For more information on SIOS, please contact here.

Track: Track 3

Level: Intermediate

You Are Invited To Join Us At SQLSaturday

SQLSaturday is a free training event for Microsoft Data Platform professionals and those wanting to learn about SQL Server, Business Intelligence and Analytics.

This event will be held on Aug 18 2018 at Microsoft Singapore Operations Pte Ltd, #22-01 One Marina Boulevard, Singapore, Singapore, 018989, Singapore

REGISTER NOW

About The Event

Welcome to SQLSaturday

We are proud to host SQLSaturday for the 3rd consecutive year in Singapore. SQLSaturday is a training event for SQL Server and data professionals who want to learn how to elevate their careers to the next level.

Admittance to this event is free, all costs are covered by donations and sponsorship. Please register soon as seating is limited, and let friends and colleagues know about the event.

It is a great opportunity to learn from Microsoft Product Team, Microsoft MVPs, SQL Server authors, and professionals who have been through and can relate to the obstacles you have day to day. This one day training event is unlike any other providing free food, training, networking, and also provide opportunity to win a few prizes!

Date & Time: Saturday, August 18th, 2018 – 8:30 AM to 5:30 PM

Cost: Free

Venue: #21-01 One Marina Boulevard, Singapore – 018989

Filed Under: News and Events Tagged With: High Availability, Microsoft, SQL Server, SQL Server High Availability, SQLSaturday

Change Internet Explorer 11 From Bing To Google

August 15, 2018 by Jason Aw Leave a Comment

Changing The Default Search Provider In Internet Explorer 11 From Bing to Google #IE11 #GOOGLE #BING

Changing The Default Search Provider In Internet Explorer 11 From Bing to Google #IE11 #GOOGLE #BING

For those of you who still use IE 11 from time to time, you may have noticed that with a recent update your default search provider may have been changed to Bing. Read on if you want to find how to change Internet Explorer 11 From Bing To Google.

Microsoft has made a security enhancement. It hopes to stop malicious software from hijacking the browser by changing the default search engine and home page. I’m a dad of two teenage “gamers” who are always on the verge of downloading the latest malware. So while I do appreciate the added security, there’s a tiny bit of concern. One of the side “benefits” of this security update is that the default search provider is now Bing. Switching it back to Google is not as easy as 1-2-3.

Microsoft posts the steps on how to Change Internet Explorer 11 From Bing To Google in their article here: http://windows.microsoft.com/en-us/windows-10/internet-explorer-11-settings-protection

Don’t mind me.  I love Microsoft products. But unfortunately, Bing is not friendly for the types of searching I do which is generally looking for some very specific technical content. I think Bing might be consumer friendly. However, Google wins the search engine wars in giving me answers

Change Internet Explorer 11 From Bing To Google

To Change Internet Explorer 11 From Bing To Google, follow these steps in the article. The screen shots below show the steps.

Change Internet Explorer 11 From Bing To Google

Change Internet Explorer 11 From Bing To Google

Change Internet Explorer 11 From Bing To Google

Change Internet Explorer 11 From Bing To Google

Reproduced with permission from Clusteringformeremortals.com

Filed Under: Clustering Simplified Tagged With: Bing, change internet explorer 11 from bing to google, Google, Internet Explorer 11

A Different Name On Azure Portal GUI

August 15, 2018 by Jason Aw Leave a Comment

A Different Name On Azure Portal GUI

“Badrequest: The Virtual Network Public-Azure-East Does Not Exist” The Virtual Network Name Displayed In The Portal Can Be Wrong #Azure #Azureclassic

Today, I learned something new –  Different Name On Azure Portal GUI. I was trying to help a customer deploy some VMs in Azure Classic that have two NIC cards. No problem I say, it’s been a while since I worked with Azure Classic. From what I recall it was pretty straight forward, although it had to be done via PowerShell as there is not GUI option in the portal for deploying two NICs.

The basic directions can be found here.

https://azure.microsoft.com/en-us/documentation/articles/virtual-networks-multiple-nics/

However, after banging my head against the wall for a few hours, I stumble across this nugget of information.

https://thelonedba.wordpress.com/2015/07/17/new-azurevm-badrequest-the-virtual-network-foo-does-not-exist

Different Name On Azure Portal GUI

It seems like what the Azure Portal GUI says about the name of your virtual network can sometime be completely different than the actual name which is returned when you run Get-AzureVMNetSite | Select Name. Essentially, there’s a different name on Azure Portal GUI. And why is that so?

See the screen shots below. The Virtual Network that I created called “Public-Azure-East” is actually called “Group Group Azure Public East”. How that happened and why there is a different name on Azure Portal GUI is beyond my comprehension.

As you can see, my feeble attempts at creating the virtual machine failed. It is saying “BadRequest: The virtual network Public-Azure-East does not exist.” I was sure it had something to do with the multiple subscriptions I use. But it turned out to be this bug where it displays a different name on Azure Portal GUI.

A Different Name On Azure Portal GUI

A Different Name On Azure Portal GUI

Why something so simple as creating a VM with two NICs can’t be accomplished via the GUI is another story completely.

Reproduced with permission from Clusteringformeremortals.com

Filed Under: Clustering Simplified Tagged With: Azure Classic, Azure Portal GUI, different name on azure portal gui

Disaster Recovery For SQL Server Standard Edition

August 12, 2018 by Jason Aw Leave a Comment

Disaster recovery for SQL Server Standard Edition

Replicating A 2-Node SQL Server 2012/2014 Standard Edition Cluster To A 3rd Server For Disaster Recovery

Disaster recovery for SQL Server Standard Edition is possible with SIOS DataKeeper Cluster Edition. Here’s how.

Many people have found themselves settling for SQL Server Standard Edition due to the cost of SQL Server Enterprise Edition. SQL Server Standard Edition has many of the same features, but it comes with a few limitations. One limitation is that it does not support AlwaysOn Availability Groups. Also, it only supports two nodes in a cluster. With Database Mirroring being deprecated and only supporting synchronous replication in Standard Edition, you really have limited disaster recovery options.

Disaster recovery for SQL Server Standard Edition

One of those options is SIOS DataKeeper Cluster Edition. DataKeeper will work with your existing shared storage cluster. The software allows you to extend it to a 3rd node using either synchronous or asynchronous replication. If you are using SQL Server Enterprise, simply add that 3rd node as another cluster member for a true multisite cluster. However, since we are talking about SQL Server Standard Edition, you can’t add a 3rd node directly to the cluster. The good news is DataKeeper will allow you to replicate data to a 3rd node so your data is protected.

Disaster recovery for SQL Server Standard Edition means you are going to use DataKeeper to bring that 3rd node online as the source of the mirror. Next use SQL Server Management Studio to mount the databases that are on the replicated volumes. Your clients will also need to be redirected to this 3rd node. But it is a very cost effective solution with an excellent RPO and reasonable RTO.

The SIOS documentation talks about how to do Disaster recovery for SQL Server Standard Edition. Here, I have summarized the steps recently for one of my clients.

Configuration

  • Stop the SQL Resource
  • Remove the Physical Disk Resource From The SQL Cluster Resource
  • Remove the Physical Disk from Available Storage
  • Online Physical Disk on SECONDARY server. Add the drive letter (if not there)
  • Run emcmd . setconfiguration <drive letter> 256
    and Reboot Secondary Server. This will cause the SECONDARY server to block access to the E driver. It’s an important step because you don’t want two servers have access to the E drive at the same time, if you can avoid it.
  • Online the disk on PRIMARY server
  • Add the Drive letter if needed
  • Create a DataKeeper Mirror from Primary to DR
    You may have to wait a minute for the E drive to appear available in the DataKeeper Server Overview Report on all the servers before you can create the mirror properly. If done properly, you will create a mirror from PRIMARY to DR. As part of that process DataKeeper will ask you about the SECONDARY server which shares the volume you are replicating.

In The Event Of Disaster ….

ON DR NODE

  • Run EMCMD . switchovervolume <drive letter>
  • The first time make sure the SQL Service account has read/write access to all data and log files. You WILL have to explicitly grant this access the very first time you try to mount the databases.
  • Use SQL Management Studio to mount the databases
  • Redirect all clients to the server in the DR site. Better yet have the applications that reside in the DR site pre-configured to point to the SQL Server instance in the DR site.

AFTER DISASTER IS OVER

  • Power the servers (PRIMAY, SECONDARY) in the main site back on
  • Wait for mirror to reach mirroring state
  • Determine which node was previous source (run PowerShell as an administrator)
    get-clusterresource -Name “<DataKeeper Volume Resource name>” | get-clusterparameter
  • Make sure no DataKeeper Volume Resources are online in the cluster
  • Start the DataKeeper GUI on one cluster node. Resolve any split brain conditions (most likely there are none) ensuring the DR node is selected as the source during any split-brain recovery procedures
  • On the node that was reported as the previous source run EMCMD . switchovervolume <drive letter>
  • Bring SQL Server online in Failover Cluster Manager

The above steps assume you have SIOS DataKeeper Cluster Edition installed on all three servers (PRIMARY, SECONDARY, DR). PRIMARY and SECONDARY are a two node shared storage cluster. You are replicating data to DR which is just a standalone SQL Server instance (not part of the cluster) with just local attached storage. The Disaster Recovery Server will have a volume(s) that is the same size and drive letter as the shared cluster volume(s). This works rather well and will even let you replicate to a target that is in the cloud if you don’t have your own Disaster Recovery site configured.

You can also build the same configuration using all replicated storage if you want to eliminate the SAN completely.

Here is a nice short video that illustrates some of the possible configurations for disaster recovery for SQL Server Standard Edition. http://videos.us.sios.com/medias/aula05u2fl

Reproduced with permission from Clusteringformeremortals.com

Filed Under: Clustering Simplified, Datakeeper Tagged With: disaster recovery, disaster recovery for sql server standard edition, SQL Server Standard Edition

  • « Previous Page
  • 1
  • 2

Recent Posts

  • White Paper: Building Management Systems and the Need for High Availability
  • White Paper: Multi-Cloud Architecture Explained – Use Cases, Risks and Best Practices
  • Introducing the Generic Load-Balancer Kit for SIOS LifeKeeper and Microsoft Azure
  • Solution Brief: High Availability for SAP S4/HANA
  • Fact Sheet: BMS High Availability

Most Popular Posts

Maximise replication performance for Linux Clustering with Fusion-io
Failover Clustering with VMware High Availability
create A 2-Node MySQL Cluster Without Shared Storage
create A 2-Node MySQL Cluster Without Shared Storage
SAP for High Availability Solutions For Linux
Bandwidth To Support Real-Time Replication
The Availability Equation – High Availability Solutions.jpg
Choosing Platforms To Replicate Data - Host-Based Or Storage-Based?
Guide To Connect To An iSCSI Target Using Open-iSCSI Initiator Software
Best Practices to Eliminate SPoF In Cluster Architecture
Step-By-Step How To Configure A Linux Failover Cluster In Microsoft Azure IaaS Without Shared Storage azure sanless
Take Action Before SQL Server 20082008 R2 Support Expires
How To Cluster MaxDB On Windows In The Cloud

Join Our Mailing List

Copyright © 2022 · Enterprise Pro Theme on Genesis Framework · WordPress · Log in