Encrypt a Database
For this example, we will use the Admin Interface to set up encryption for the Documents database.
Select Databases from the left tree menu in the Admin Interface.
Click on the Documents database.
On the Database Configuration page, next to data encryption, select
on
from the drop-down menu. (The other options aredefault-cluster
andoff
.)Click OK.
If you select default-cluster
, encryption for that database will default to whatever encryption option has been set for the cluster as a whole. If the cluster is set to encrypt data, this database will be encrypted. If encryption has not been turned on for the cluster, this database will not be encrypted if default-cluster
is selected. See Cluster Encryption Options for details.
As you access data in your database, it will be encrypted when it is written back to disk. You can view the encryption progress on the Database Status page by looking at the Size and Encrypted Size numbers.
Note
To encrypt the existing data in your database, you will need to re-index your database. On the Database Configuration page, click the reindex button at the top of the page (below the “OK” button), and then click ok. You can also force a merge of the database to encrypt the data.
Encryption of large databases will take some time initially. Updates and changes to the database will be fairly transparent to the user after initial encryption. The Size and Encrypted Size numbers will be equal when the encryption process is complete.