Deploy a Virtual Machine that will work as a Domain Controller for the cluster that is going to be deployed. This step can be skipped if there is a Domain Controller already configured.
Follow these steps to setup an Active Directory Domain Controller:
- In Server Manager choose Add roles and features.
- Choose Role-based or feature-based installation.
- Select the server by highlighting it and click Next.
- Choose Active Directory Domain Services and click Next.
- Click Add Features. This will install the Active Directory Features chosen earlier on to the server.
- Click on Next until the last window and then click Install.
- Once the installation is complete, the server needs to be promoted to a domain controller. Click on the yellow exclamation mark in the upper-right corner of the Server Manager and click on Promote this server to a domain controller.
- Select Add a new forest and enter your custom domain name.
- Enter your password for DSRM then click Next.
- Click Next on all subsequent windows then click Install on Prerequisites Check screen.
- The server will automatically reboot once the installation process is complete. Once the reboot completes, log back in with domain credentials. To verify the install, from the Server Manager select Tools -> Active Directory Users and Computers.
- Click and expand TESTDOMAIN.com (which is the root domain) and click on DomainControllers.
The Domain server will be displayed and is now deployed. The cluster nodes are added to the same domain controller.
Provisioning the Two Cluster Nodes
Using the Azure Portal, provision VM-1 and VM-2 in 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 Servers in Azure.Availability Zones. It is important that both VM-1,and VM-2 reside in different Availability Zones. For the sake of this guide we will assume Window 2016 and will use a Cloud Witness for the Cluster Quorum.
By putting the cluster nodes in different Availability Zones we are ensuring that each cluster node resides in a different Azure datacenter in the same region. Leveraging Availability Zones rather than older Fault Domains helps protect the cluster from the possible outages.
Add each cluster node to a different Availability Zone. If a File Share Witness is leveraged, it should be provisioned in the 3rd Availability Zone.
Static IP Address
While each VM is getting provisioned, make sure to change the settings so that the private IP is Static. If they are not changed to Static, the private IP addresses of the cluster nodes will change during subsequent reboots which leads to undesirable results.
Storage
Refer to Performance best practices for SQL Server in AzureVirtual Machines for more information on storage. At least one additional Managed Disk needs to be added to each of cluster nodes. DataKeeper can use Basic Disks, Premium Storage or multiple disks striped together in a local Storage Space. If a local storage space is desired, storage space should be created BEFORE any cluster configuration is done. This is due to a known issue with Failover Clustering and local Storage Spaces. All disks should be formatted NTFS.
Post your comment on this topic.