Using PFMigrate Utility
Prerequisites
Obtain the following details:
CipherTrust Manager IP Address.
CipherTrust Manager port (by default it's 443).
Web Server Certificate Fingerprint for CipherTrust Manager.
Username for CipherTrust Manager Administrator.
Password for CipherTrust Manager Administrator.
Domain for CipherTrust Manager, (by default its root).
Note
If the destination of CipherTrust Manager is not the same, then all of the above details are required for the destination CipherTrust Manager too.
How to use PFMigrate
This section is divided in the following sections:
Migrating clients and their encryption policies.
Migrating NAS encryption policies bounded with client.
Migrating cluster policies.
Migration of local policies
First step to migrating the clients from PF to CTE is to use --create / -c option. This creates a sample file.
Results
Run the utility with the
--dryrun / -d
option. This checks if all of the clients can be migrated to CTE.Results
Response
This creates a Dry Run Report log file too. Note that in the above example, network shares were not transferred.
After DryRun mode is successful, you need to run the utility in normal mode. Running in normal mode does not require defining any options.
Results
Response
You can now see the clients in CTE in CM:
Migration of NAS policies
Similar to the previous method, you need to follow the steps above and creating, running a dryrun and then running in normal mode.
When you use --create/ -c mode, then apart from the
pfClientInfo.json
file, amapping.json
also must be created. This is the map file for PF clients and the NAS servers associated with it. If there is any network share that you do not want to migrate, then you need to alter the file.[root@myvm PFMigrate] #cat mapping.json
To migrate NAS polices from PF to CTE, add the clients to the
pfClientInfo.json
file. If any NAS servers are described inmapping.json
but the client is not defined inpfClientInfo.json,
then the NAS policies will not migrate for those servers. These two files are tightly coupled with each other.Results
By default, the MountPoint parameter is empty. You must fill in the mount points for all of the network shares that you wish to migrate.
Results
After the DryRun mode is successful, you can run the utility in Normal Mode with the "Y" option selected when asked for "If you wish to migrate Network Shares...".
Results
Migrating Cluster Policies
Cluster policies are automatically migrated if the clients of the cluster policy are defined in pfClientInfo.json
file. The steps for migration are similar to the steps for local policies.
Create
pfClientInfo.json
file with cluster clients mentioned in it.[root@myvm PFMigrate] #cat pfClientinfo.json
[ { "name": "Clusterl 2Kl9", ''id'': "f3cbb52d-eb08-4481-Beb7-b9b38084b4db", "ipHostname": "WIN-CLSTl .. ' "isBootstrapped": true }, { "name": "Cluster2 2Kl9", ''id'': "b2f9de37-c0e7-45d0-Bf4a-ef4c8060f939", "ipHostname": "WIN-CLST2", "isBootstrapped": true
} ]Run the utility using DryRun Mode:
[root@myvm PFMigrate] # cat DryRunReport . [DryRun Mode] 2022/01/13 10:56:51 --------------------------DryRun Report------------- [DryRun Mode] 2022/01/13 10:56:51 #################################################### [DryRun Mode] 2022/01/13 10:58:38 The user opted not to migrate network shares. [DryRun Mode] 2022/01/13 10:58:38 Number of PF Clusters on CM: 1 [DryRun Mode] 2022/01/13 10:58:38 ------------SUMMARY--------------------------------- [DryRun Mode] 2022/01/13 10:58:38 Number of PF Clients: 6 [DryRun Mode] 2022/01/13 10:58:38 Number of failed CTE Clients: 6 [DryRun Mode] 2022/01/13 10:58:38 Number of successfully migrated CTE Clients: 0 [DryRun Mode] 2022/01/13 10:58:38 ------------------------------------------------- [DryRun Mode] 2022/01/13 10:58:38 Number of PF Cluster: 1 [DryRun Mode] 2022/01/13 10:58:38 Number of PF Clusters failed to migrate: 0 [DryRun Mode] 2022/01/13 10:58:38 Number of successfully validated CTE Clusters: 1 [DryRun Mode] 2022/01/13 10:58:38 #################################################### [DryRun Mode] 2022/01/13 10:58:38 #################################################################### [DryRun Mode] 2022/01/13 10:58:38 --------------------------DryRun Report-----------------------------
[DryRun Mode] 2022/01/13 10:58:38 #################################################################### [DryRun Mode] 2022/01/13 10:58:38 --------------------------DryRun Report----------------------------- [DryRun Mode] 2022/01/13 10:58:38 ####################################################################Now run in normal mode:
Results
Response
Getting Help
The pfmigrate utility is a command-line interface that helps the user create CTE resources corresponding to the existing PF resources on the CipherTrust Manager.
You can migrate single, multiple, or all ProtectFile clients by providing a list of PF clients in a predefined input file to perform migration. You can also preview the result before actual migration by running the utility in dryrun mode.
Getting the latest version of the PFMigrate Utility
Results