This guide explains how to install a single SQL Server node and extend it to a clustered node. Please read this document carefully prior to installation.
Planning Steps:
Start with a Microsoft SQL Server standalone node, where data resides on the C drive.
Note: It is recommend that similar hardware be used for the standalone node (for the purpose of this guide, we will call this node the backup node).
On the new backup node setup Windows failover cluster and setup a one node cluster (setup alongside a file share quorum).
Setup Datakeeper Cluster Edition on the new node.
Create empty DataKeeper Volume resource(s) using the Failover Clustering UI. Provide a name(s) that best describes its intended use (Example: “DataKeeper Volume F (NonMirrored)").
The following steps explain how to manually create this resource:
Assign the following properties using Powershell:
VolumeLetter = ”F” (if the drive letter is F, otherwise whatever the drive letter is)
NonMirrored = 1 (there is no space between Non and Mirrored)
Assign the following properties using Powershell:
Get-ClusterResource “DataKeeper Volume F (Non-Mirrored)” | Set-ClusterParameter –Name VolumeLetter –Value “F”
Get-ClusterResource “DataKeeper Volume F (Non-Mirrored)” | Set-ClusterParameter –Name NonMirrored –Value 1
After the storage is created, right-click and select Remove from empty role. This will move the storage to Available Storage which can now be used by SQL Server installation in the following steps.
BACKUP DATABASE command to make a backup of the database.RESTORE DATABASE command to restore the database.It is highly recommend using the MOVE option of the RESTORE option to move the files to separate drives (separate DATA and LOG file). The following example shows how to move a sample Sales database to different drives. (Note: The data and the log files are moved to different volumes.)
RESTORE DATABASE sales
FROM DISK = 'C:\Backup\Sales.bak'
WITH RECOVERY,
MOVE 'Sales_Dat' TO
'E:\MSSQL11.MSSQLSERVER\MSSQL\Data\Sales.mdf',
MOVE 'Sales_Log' TO
'F:\MSSQL11.MSSQLSERVER\MSSQL\Data\Sales.ldf';
(Note: It is important to remove the resource from both the cluster group and available storage. The resource should be deleted from failover clustering before proceeding.)
Right-click on the resource and select Add Storage.
The single node database has now been converted to a clustered highly available database and is ready for failover testing.
© 2017 SIOS Technology Corp., the industry's leading provider of business continuity solutions, data replication for continuous data protection.