Description | This utility enables you to automatically organize clients by the Veritas NetBackup Policy (or Policies) to which they belong. The utility automatically creates host groups for each Veritas NetBackup Policy and links clients that are members of these policies to the host group(s) accordingly. |
Usage | execute nbu_adaptor_pkg.setupClientsByPolicy ( '<source_host_group>', '<destination_host_group>'); Example: exec setupClientsByPolicy('/Global/Corp', NULL); Where: source_host_group is the full pathname to the host group hierarchy to traverse for clients, for example /Aptare/hostgroup1. The default value for this parameter is NULL (which should not be within quotes). If set to NULL, the utility automatically locates the highest level host group to traverse. destination_host_group is the full pathname to the host group under which the new groups by policy name will be automatically created. 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 NetBackup Policies within source_server_group. If a client is removed from a Veritas NetBackup policy, added to a new policy and the utility is subsequently run again, the client will appear in the new policy group but will not be deleted from the old policy group. To remove the client from the old policy group and completely re-synchronize the grouping structure, simply delete the Policy grouping hierarchy via the deleteEntireGroupContents utility, referenced in Delete Host Group, and then run the setupClientsByPolicy utility again. |