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.
capamsc141
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.
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 
    PAM Server Control
    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)
    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.