Description | This utility enables you to automatically generate a list of all clients that are members of a policy, but the policy is NOT active. These clients are then linked or copied into a user-definable host group. |
Usage | execute server_mgmt_pkg.setupInactivePolicyClients ('<host_group_to_traverse>', '<inactive_clients_group>', <move_or_copy_flag>, <include_deleted_flag>); Example: exec setupInactivePolicyClients('/Global/Corp',NULL,1,0); Where: host_group_to_traverse is the full pathname to the host group hierarchy to traverse looking for inactive policies, for example /Aptare/hostgroup1. inactive_clients_group is the full pathname to the host group into which the clients in an inactive policy will be moved or linked. The default value for this parameter is NULL (which should not be within quotes). If set to NULL, the utility automatically creates a host group called Inactive Policy Clients within host_group_to_traverse. move_or_copy_flag can be set to 0=Link (copy) clients or 1=Move clients. If set to 0, the utility links the client to the inactive_clients_group and keeps the client in the original host group location. If set to 1, the utility moves all the clients in inactive policies from their current host group location and consolidates them into the inactive_clients_group. include_deleted_flag can be used in conjunction with the move_or_copy_flag can be set to 1 to include policies deleted from NetBackup while organizing inactive policy clients into the inactive_clients_group. |