Setting Up a Microsoft SQL Server Cluster for TDE

When you set up a failover cluster, you will share the same Key Set and Cloud VM Set that you created for the primary VM.

  1. Complete all of the previous steps to create and configure the primary VM of your SQL Server cluster.

  2. Install and register the Policy Agent on your failover SQL Server VM.

    Note: The failover VM must be registered to the same Cloud VM Set that you created for the primary VM.

    See Installing and Registering the Entrust Policy Agent.

  3. Enable TDE on the failover SQL Server VM.

    See Enable TDE on SQL Server.

  4. Create a database connector for the Failover SQL Server VM on the same Key Set that you used for the primary SQL Server VM. Use a name that indicates that this connection is to the failover VM, for example, tde_connect_failover.

    See Configuring a KeyControl Database Connector.

  5. Select the database connector that you just created, and select Actions > Generate Access Token.

    On the Generate Access Token window, the new access token is created and displays both an identity and a secret. You will need to copy these to use when configuring the cryptographic provider.

  6. Using the identity and secret that you copied when you generated the access token, create a credential file in json format. This file should have the same name and path that you used for the Primary SQL Server, for example, C:\Users\Administrator\sqlcred.conf. Please make sure that Windows did not add an extra .txt extension to the filename.

    Copy
    {
        "identity"    : "<the identity copied from the access token>",
        "secret"     : "<the secret copied from the access token>"
    }

At this point, you can use the Windows Failover Manager to failover to this node and check that all of your keys are visible.