You can use SetDataPathProperty qscript to enable hardware encryption settings on the following:
-
Storage policy copy
-
All data paths available in the CommCell
-
All data paths of a given library and MediaAgent
-
Specific data path
Procedure
-
Open the command prompt and go to software_installation_directory\Base directory.
-
Log on to the CommServe by running the qlogin command.
-
Choose how you want to configure the hardware encryption:
-
To set the hardware encryption for a storage policy copy, run the following command:
qoperation execscript -sn $[SetDataPathProperty] -si HardwareEncryption -si $[SP-Copy] -si $[storage_policy_name] -si $[storage_policy_copy_name] -si $[0|1|2]
-
To set the hardware encryption for all data paths in a CommCell, run the following command:
qoperation execscript -sn $[SetDataPathProperty] -si $[HardwareEncryption] -si All -si $[0|1|2] -
To set the hardware encryption for all data paths of a given library and MediaAgent, run the following command:
qoperation execscript -sn $[SetDataPathProperty] -si $[HardwareEncryption] -si $[Lib-MA] -si $[Library_Name] -si $[MediaAgent_Name] -si $[0|1|2]
-
To set the hardware encryption for a given data path, run the following command:
qoperation execscript -sn SetDataPathProperty -si HardwareEncryption -si datapath -si $[storage_policy_name] -si $[storage_policy_copy_name] -si $[MediaAgent_Name] -si $[Library_Name] -si $[Drive_Pool_Name] -si $[Scratch_Pool_Name] -si $[0|1|2]
Where:
-
0 - Disables hardware encryption.
-
1 - Enables Media Password option.
-
2 - Enables No Access option.
-