This function migrates a PMD to the advanced policy management environment. When you migrate a PMD to advanced policy management, you create policies from the rules in the PMD, create a host group and hosts in the DMS, and assign the policies to the host group.
This function has the following format:
policydeploy -migrate pmdName@hostName [-dms name] [-policydir directory] \ [-exportfilter "class, class..."] [-hgcreate] [-pcreate name] [-addpmdfilter]\ [-unsubs] [-delete] [-auto]
Defines the name of the PMD to migrate.
(Optional) Defines the name of the DMS that the rules in the PMD will be migrated to. If you do not specify the DMS name, the DMS name is retrieved from the CA ControlMinder database on the local host.
Note: If you do not specify a DMS name and there is more than one DMS name specified in the CA ControlMinder database on the local host, the rules in the PMD are migrated to all specified DMSs.
(Optional) Defines the directory in which the policy file is stored. If you do not specify a directory, the policy file is stored in your current working directory.
The name of the policy file is pmdName_hostName_policy.
(Optional) Specifies the CA ControlMinder classes to export from the PMD database. If you do not specify any classes, all classes in the PMD database are exported.
The following points apply to the -exportfilter parameter:
(Optional) Creates a host group (GHNODE object) on the DMS that corresponds to pmdName, creates hosts (HNODE objects) on the DMS that correspond to endpoint subscribers of pmdName, and joins the hosts to the host group.
(Optional) Creates a POLICY object on the DMS that contains the rules in the policy file that was exported from pmdName, and assigns the POLICY object to the host group on the DMS that corresponds to pmdName. If you specify name, the created POLICY object is named name_POLICY#01; if you do not specify name, the created POLICY object is named pmdName_POLICY#01.
(Optional) Applies a filter file to pmdName. The filter file is named filter.flt and is located in the same directory as pmdName.
Note: You use the filter file to create a password PMD. The filter file lets only user password commands be sent to the subscribers of pmdName.
(Optional) Unsubscribes endpoint subscribers from pmdName.
(Optional) Deletes pmdName after the policydeploy -migrate function has finished executing.
(Optional) Specifies to execute both the -hgcreate and -pcreate options. This option does the following:
Example: Migrate Rules and Create a Host Group
This example migrates the rules from Master PMD on host A to DMS__ on host B, saves the policy file to the C:\Data\policies_MasterPMD_hostA directory, creates a host group named MasterPMD on DMS__, creates hosts on DMS__ that correspond to the endpoint subscribers of Master PMD, and joins the hosts to the MasterPMD host group:
policydeploy -migrate MasterPMD@hostA -dms DMS__@hostB -policydir "C:\Data\policies_MasterPMD_hostA" -hgcreate
Copyright © 2013 CA Technologies.
All rights reserved.
|
|