Monday, June 21, 2021

How to Manage Failover Clusters?

 

Configure roles/features on nodes for high availability

  1. Server manager → Add roles and features.
  2. In the select installation type page, select Role based installation.
  3. Select destination server for this role.
  4. In the list of roles displayed, select Hyper-v .The 'Add features that are required for Hyper-V window' is displayed. This window shows the dependencies that will be installed. Click Add features.

    how-to-manage-failover-clusters

  5. The select features window is displayed next. Select Failover Clustering. The features that are required for Failover Clustering will pop up in the next window. This window shows the dependencies that will be installed with this feature. Click Add features.

    how-to-manage-failover-clusters-2

  6. Next, the Hyper-V window is displayed.

    how-to-manage-failover-clusters-3

  7. The Create Virtual Switches window is displayed. In Network adapters, select the network that you want your virtual machine to use for the cluster. If you have multiple NIC’s listed here, choose the appropriate ones.

    how-to-manage-failover-clusters-4

  8. The Virtual Machine Migration window is displayed.Select "Allow this server to send" and "Receive live migrations of virtual machines". This allows the VM to transfer between your nodes where required.

    how-to-manage-failover-clusters-5

  9. The Default Stores window is displayed. Do not change the default stores.

    how-to-manage-failover-clusters-6

  10. Confirm your installation selections and click Install.

Connecting to iSCI network drives

  1. Start the iSCI initiator and connect to your two SAN drives:
    • Click Start → Windows Administrative Tools → iSCI Initiator.
    • Ensure the drives are set to allow simultaneous connections. This is configured on your SAN. Make sure you have granted access to your two cluster servers.
  2. Connect to the SAN drives:
    • Open the iSCI initiator → Targets tab→ Enter the IP address for the SAN.

      how-to-manage-failover-clusters-7

    • Click Quick Connect.Your drives are displayed.
    • Highlight a drive, then click connect to connect to each drive.
    • When a drive is connected, click Done.
    • Click the Volumes and Devices tab.

      how-to-manage-failover-clusters-8

    • Click Auto-configure → OK. When you are connected on the first machine, click Start → WIndows Administrative tools → Computer Management → Disk Management.

      how-to-manage-failover-clusters-9

  3. Bring the disks online
    • Right-click the disk number.
    • Select Online.
  4. Repeat the above step for the second drive.
  5. Initialize the disks:
    • Right-click the disk number next to one of the new drives.
    • Select Initialize disk.
    • In the box that appears, ensure that both your new disks have a check mark next to them.
    • Set as MBR.
    • Click OK.
  6. Configure the new drive:
    • Right-click the first drive.

      how-to-manage-failover-clusters-10

    • Select Create New Simple Volume.
    • Leave the defaults in place.
    • Choose a drive letter to assign.
    • Label your drives:
      • 5GB drive—label the drive as Quorum
      • 150GB (larger drive)—label it as ClusterStorage
  7. Repeat the above steps for the second drive.

Create the failover cluster

From the OS of any of the nodes created in the above steps, do the following:

  1. Click Start → Windows Administrative tools → Failover Cluster Manager to launch the Failover Cluster Manager. Click "create cluster". Click Next on the 'Before you begin' window.

    how-to-manage-failover-clusters-11

  2. In the next window, enter the server names that you want to add to the cluster. Alternatively, you can locate them via Browse. Click Add → next.

    how-to-manage-failover-clusters-12

  3. Validation warning window is displayed. Select Yes to "allow verification of the cluster services".

    how-to-manage-failover-clusters-13

  4. When you click next, the Validate a Configuration wizard is displayed. Continue by clicking Next.
  5. In the testing options window, select "Run all tests" (recommended).The next window will let you confirm the list of tests that will be run by Windows.

    how-to-manage-failover-clusters-14

  6. The Validating window is displayed while all of the clustering tests are being run. This process may take several minutes depending on your network infrastructure and the number of nodes you have chosen to add to your cluster. When the tests are completed, check the report, and fix configuration errors, if any. The cluster setup will fail if any errors exist.

    how-to-manage-failover-clusters-15

  7. The 'Access Point for Administering the Cluster' window in the Create Cluster wizard is displayed. In Cluster Name, enter a name for your cluster. In the available network provide an IP address for the cluster.

    how-to-manage-failover-clusters-16

  8. After clicking next, the confirmation window is displayed. This window lists the settings to be applied to your new cluster.
    • Select the "Add all eligible storage to the cluster" check box. The system will now try to assign any storage it can find. The system attempts to create the new cluster in your domain.
    • This may take a while as there are several checks and tests are conducted while the system is configured.
    • When the process is complete, the Summary window is displayed stating that the cluster wizard completed successfully.

      how-to-manage-failover-clusters-17

  9. Check to confirm that the cluster is configured correctly
    • In the Failover Cluster Manager, navigate to Nodes.

      how-to-manage-failover-clusters-18

    • Check that all nodes in the cluster are online. If they are not, go to the server that is offline and bring the system online to join the cluster.
  10. Navigate to Storage → Disks.
    • a. The system detects the SCSI drives and displays them here. If you were setting this up with only two nodes, then the 5GB Quorum cluster would have been assigned as Disk Witness in Quorum.The configured storage space is assigned to Available Storage.

      how-to-manage-failover-clusters-19

  11. Configure this storage to be part of the cluster.
    • Right-click the disk assigned to available storage; then select "Add to Cluster Shared Volumes". The cluster is now assigned to Cluster Shared Volume.

      how-to-manage-failover-clusters-20

  12. Check the Cluster Events folder for any issues with the cluster. If there are no issues, you can configure your virtual machine in the cluster environment.

1 comment: