Previous Topic: policydeploy -reset Function—Reset Policy DeploymentNext Topic: policydeploy -store Function—Store a Policy


policydeploy -restore Function—Restore All Policies

This function undeploys any policies on the specified host, then restores (directly redeploys) all the policies that should be deployed (assigned or directly deployed) on the host by resending all the deployment tasks to the host for execution.

Important! If the host has some policies already applied, the restore will fail because it does not reset the host status before executing. Use the policydeploy -reset function instead.

This function has the following format:

policydeploy -restore hnode_name [-dms list]
-dms list

(Optional) Specifies a comma-separated list of DMS nodes to use. When you deploy or undeploy a policy, these are the DMS nodes to which the action is reported. When you store a policy, these are the DMS nodes where the policy is stored.

If you do not specify DMS nodes with this option, the utility uses the list of DMS nodes specified in the local CA ControlMinder database. To specify a list of DMS nodes in the database, you need to issue the following selang command after you create a new DMS using dmsmgr:

so dms+(new_dms_name)

Note: You need to issue the same command if you did not specify the DMS node during installation, or if you want to replace or add the registered DMS on the endpoint. However, when you specify to create an advanced policy management server during installation, the DMS is added to the database and you do not need to manually run the above command.

-restore hnode_name

Restores (directly redeploys) all the policies that should be deployed on the specified host.