6.7

Table Of Contents
n
To encrypt the VM but not the virtual disks, select the encryption storage policy for VM Home
and other storage policies for the virtual disks, and click Apply.
You cannot encrypt the virtual disk of an unencrypted VM.
4 If you prefer, you can change the storage policy from the Edit Settings menu.
a Right-click the virtual machine and select Edit Settings.
b Select the Virtual Hardware tab, expand a hard disk, and choose an encryption policy from the
drop-down menu.
c Click OK.
Resolve Missing Key Issues
Under certain circumstances, the ESXi host cannot get the key (KEK) for an encrypted virtual machine or
an encrypted virtual disk from vCenter Server. In that case, you can still unregister or reload the virtual
machine. However, you cannot perform other virtual machine operations such as powering on the virtual
machine or deleting the virtual machine. A vCenter Server alarm notifies you when an encrypted virtual
machine is in a locked state. You can unlock a locked encrypted virtual machine by using the
vSphere Client after taking the necessary steps to make the required keys available on the KMS.
If the virtual machine key is not available, the state of the virtual machine in the vSphere Web Client
displays as invalid. The virtual machine cannot power on. If the virtual machine key is available, but a key
for an encrypted disk is not available, the virtual machine state does not display as invalid. However, the
virtual machine cannot power on and the following error results:
The disk [/path/to/the/disk.vmdk] is encrypted and a required key was not found.
Note The following procedure illustrates the situations that can cause a virtual machine to become
locked, the corresponding alarms and event logs that appear, and what to do in each case.
Procedure
1 If the problem is the connection between the vCenter Server system and the KMS, a virtual machine
alarm is generated and the following message appears in the event log:
Virtual machine is locked because of a KMS cluster error.
You must manually check the keys in the KMS cluster, and restore the connection to the KMS cluster.
When the KMS and keys become available, unlock the locked virtual machines. See Unlock Locked
Virtual Machines. You can also reboot the host and re-register the virtual machine to unlock it after
restoring the connection.
Losing the connection to the KMS does not automatically lock the virtual machine. The virtual
machine only enters a locked state if the following conditions are met:
n
The key is not available on the ESXi host.
n
vCenter Server cannot retrieve keys from the KMS.
vSphere Security
VMware, Inc. 170