beautypg.com

Brocade Fabric OS Encryption Administrator’s Guide Supporting RSA Data Protection Manager (DPM) Environments (Supporting Fabric OS v7.2.0) User Manual

Page 220

background image

200

Fabric OS Encryption Administrator’s Guide (DPM)

53-1002922-01

Configuring a multi-path Crypto LUN

3

b. Create a CryptoTarget container (CTC2) for target port 2 to be hosted on the encryption

engine of encryption switch 2.

FabricAdmin:switch> cryptocfg --create -container disk CTC2 \

0

c. Add host port 1 to the container CTC1.

FabricAdmin:switch> cryptocfg --add -initiator \

d. Add host port 2 to the container CTC2.

FabricAdmin:switch> cryptocfg --add -initiator

e. Commit the configuration.

FabricAdmin:switch> cryptocfg --commit

Upon commit, redirection zones are created for target port 1, host port 1 and target port 2,
host port 2. These redirection zones include the virtual target VT1 for CTC1, the virtual initiator
VI1 for host port 1, the virtual target VT2 for CTC2 and the virtual initiator VI2 for host port 2. At
this stage, the host loses access to all LUNs until the LUNs are explicitly added to the
CryptoTarget containers.

4. Discover the LUNs. Perform steps 4 a. through c. to discover the LUNs for ALL CryptoTarget

containers in sequence. Refer to the section

“Discovering a LUN”

on page 167 for details on

the LUN discovery process and a command output example.

a. On the encryption switch 1 (the group leader), enter the cryptocfg

--

discoverLUN for the

container CTC1. The command output displays the LUNs present in the target as exposed
from target port 1 and as seen by host port1, the LUN Number, host port1 WWN, and the
LUN Serial Number.

FabricAdmin:switch> cryptocfg --discoverLUN CTC1

b. On the encryption switch 2, enter the cryptocfg

--

discoverLUN for the container CTC2.

The command output displays the LUNs present in the target as exposed from target port
and as seen by host port 2, the LUN Number, host port1 WWN, and the LUN Serial
Number.

FabricAdmin:switch> cryptocfg --discoverLUN CTC2

c. Review the output of the LUN discovery to ensure that the LUN serial number for ALL LUNs

are the same as seen from target-port 1 to host-Port 1 path and from target-port 2 to
host-port 2. Identical LUN serial numbers validate the multi-path configuration.

5. Configure the LUN for all CryptoTarget containers in sequence by adding the LUN to each

CryptoTarget container with identical policy settings. Refer to the sections

“Configuring a

Crypto LUN”

on page 167 and

“Crypto LUN parameters and policies”

on page 169 for more

information.

a. Add the LUN to the CryptoTarget container CTC1 with policies.

FabricAdmin:switch> cryptocfg --add -LUN CTC1 0 \

-lunstate cleartext -encryption_format native -encrypt \

-enable_encexistingdata -enable_rekey 10