MariaDB must be installed in your Linux VM before you can install the Policy Agent.

Procedure 

  1. Log into the Cryptographic Security Platform Vault for Databases webGUI.

  2. In the top menu bar, click Workloads.

  3. Select Actions > Download Policy Agent.

  4. Install the Policy Agent on the MariaDB Server VM. For more information, see Linux Policy Agent Installation.

    Note: By default, the MariaDB systemd service restricts access to the /home, /root, and /run/user directories. If you want to install the Policy Agent into one of these directories, the ProtectHome option must be set to false for the MariaDB systemd service. To do this, perform the following steps.

    1. Enter the following to edit the MariaDB systemd unit file: 

      systemctl edit mariadb.service

    2. Add the following lines to the file and save it.

      [Service]

      ProtectHome=false

    3. Enter the following to restart the MariaDB service: 

      systemctl restart mariadb

  5. Return to the Cryptographic Security Platform Vault for Databases webGUI and click Workloads in the top menu bar.

  6. Select Actions > Create New Cloud VM Set and complete the following:

    1. On the VM Set tab, enter a name for the Cloud VM Set.
    2. Select the group to which this set should belong.
    3. Optionally enter a description for the set.
    4. If you want to use the BoundaryControl feature, select the CloudControl app server link that you want to use.

    5. If you want to specify additional options, see Creating a Cloud VM Set for the Cryptographic Security Platform Vault for VM Encryption for the descriptions.

    6. When you have finished specifying the Cloud VM Set options, click Create.
    7. When you see the Cloud VM Set Successfully Created message, click Close.
  7. Register the MariaDB Server VM with Cryptographic Security Platform Vault by running the following command: 

    hcl register -a <Cryptographic Security Platform Vault IP Address>

    When prompted, enter the vault ID, username and password for the Cryptographic Security Platform Vault.

    The MariaDB Server will display the available Cloud VM Sets. Select the Cloud VM Set that you want to use, and confirm your selection.

  8. Enable TDE on the MariaDB Server VM. For example:

    root@Linux23:~# hcl tde enable -y

    Enabling tde will change permissions of some Files.

    Do you want to proceed? (y/n) y