First-time encryption, Resource allocation, First-time encryption modes – Brocade Fabric OS Encryption Administrator’s Guide Supporting Key Management Interoperability Protocol (KMIP) Key-Compliant Environments (Supporting Fabric OS v7.1.0) User Manual

Page 222: Configuring a lun for first-time encryption

Advertising
background image

204

Fabric OS Encryption Administrator’s Guide (KMIP)

53-1002747-02

First-time encryption

3

First-time encryption

First-time encryption, also referred to as encryption of existing data, is similar to the rekeying
process described in the previous section, except that there is no expired key and the data present
in the LUN is cleartext to begin with.

In a first-time encryption operation, cleartext data is read from a LUN, encrypted with the current
key, and written back to the same LUN at the same logical block address (LBA) location. This
process effectively encrypts the LUN and is referred to as “in-place encryption.”

Resource allocation

System resources for first-time encryption sessions are shared with rekey sessions. There is an
upper limit of 10 sessions with two concurrent sessions per target. Refer to the rekey

“Resource

allocation”

on page 204 section for details.

First-time encryption modes

First-time encryption can be performed under the following conditions:

Offline encryption: The hosts accessing the LUN are offline or host I/O is halted while
encryption is in process.

Online encryption: The hosts accessing the LUN are online and host I/O is active during the
encryption operation.

Configuring a LUN for first-time encryption

First-time encryption options are configured at the LUN level either during LUN configuration with
the cryptocfg

--

add

-

LUN command, or at a later time with the cryptocfg

--

modify

-

LUN

command.

1. Set the LUN policy to encrypt to enable encryption on the LUN. All other options related to

encryption are enabled. A DEK is generated and associated with the LUN.

2. Enable first-time encryption by setting the

-

enable_encexistingdata parameter. The existing

data on the disk is encrypted using the configured DEK.

3. Optionally set the auto rekeying feature with the cryptocfg

-

enable_rekey command and

specify the interval at which the key expires and automatic rekeying should take place (time
period in days
) Enabling automatic rekeying is valid only if the LUN policy is set to encrypt and
the encryption format is Brocade native. Refer to the section

“Crypto LUN parameters and

policies”

on page 185 for more information.

The following example configures a LUN for first-time encryption with rekeying scheduled at a
6-month interval. You must commit the operation to take effect.

FabricAdmin:switch> cryptocfg --add -LUN my_disk_tgt 0x0 \
10:00:00:00:c9:2b:c9:3a 20:00:00:00:c9:2b:c9:3a -encrypt \
-enable_encexistingdata -enable_rekey 180
Operation Succeeded

Advertising