PFMigrate Utility Modes
Different modes of PFMigrate
PFMigrate has three modes. You call these modes with flags:
Mode Name | Flag | Description |
---|---|---|
Create | -c | Creates input files for migration. |
Dry run | -d | Allows you to preview the output. |
Normal Mode | Migrates the resources as per the input file. |
Other flags:
Flag Name | Flag | Description |
---|---|---|
Help | -h | Displays help information for pfmigrate. |
Product Name | -p | Allows you to enter a target product name. |
Version | -v | Displays the current version. |
The product name (-p
) flag allows you to specify the target product. Valid values are CTE/cte or CTE-U/cte-u with CTE as the default value.
Example of specifying product name:
Note
You MUST specify the productname
tag with every mode.
Create Mode
This mode is used to fetch ProtectFile and CTE UserSpace clients and shares from the CipherTrust Manager, and create input files for the migration. Thales recommends that you run this mode before the Dry Run or Normal mode. If you want to migrate only specific clients, then edit newly created sample file pfClientInfo.json
.
Example of pfClientInfo.json
Response:
Similarly, edit the Mapping.json
file if you want to migrate any specific network shares.
Example of Mapping.json
Response:
Dry Run Mode
Dry Run mode is a simple validation mode to check if all of the added clients can be migrated. It runs a validation for all of the clients listed in the pfClientInfo.json
file to check if those clients can be migrated.
Thales recommends that you run in Dry Run mode before migrating the clients to CTE and/or CTE-U. When you run the utility in this mode, a Dry Run Report is generated. It gives you a summary of clients that can be migrated along with a failure report to rectify input file before running actual migration using the Normal mode.
Example of Dry Run Report
Response
Normal Mode
When the utility is executed in this mode, all of the clients (mentioned in pfClientInfo.json) and the Network Shares (mentioned in Mapping.json) will be migrated to their equivalent configuration elements in CTE or CTE-U in the following order:
-
All of the access policies
-
The client
-
All of the encryption policies
For each encryption policy in ProtectFile, two corresponding CTE policies are created. One is a transform policy and the other one is the actual encryption policy. If migrating to CTE-U v10, then it does not need any data transformation. Therefore, only one encryption policy is created.
If the utility modifies any resource name due to CTE or CTE-U naming conventions, then it is mentioned in the description field that the client has been migrated from ProtectFile (or CTE-U) with the original name mentioned in it. You can also check this mapping from the mapping file (PfMapping.json) created at the completion of migration.
Example of Mapping.txt
Response
{ "mapping": [ { "${fuse}_client_name": "Explorer c81d6a59al6", "cte_client_name": "explorer_c81d6a59al6" }, { "${fuse}_client_name": "Win-Acceptance_db9c2e65746", "cte_client_name": "win-acceptance_db9c2e65746" } ] }