11-07-2015 02:08 AM
Hello Experts,
I would like to have fetch only the client list (Configured in policy) in bppllist command or if possible in other command.
Thanks,
Solved! Go to Solution.
11-07-2015 06:16 PM
11-07-2015 03:07 AM
Hi,
Use bpplclients.
USAGE: bpplclients policy_name [-expand_groups] | {-allunique [-pt policy_type]}
[-L|-l|-U|-noheader]
[-M master_server,...] [-v]
bpplclients policy_name [-M master_server,...] [-v] [-generation generation] [-reason "<reason>"]
{-add host_name hardware os [priority]}
{-delete host_name...} |
{-modify host_name [-hardware hardware] [-os os]
[-priority priority]} |
{-rename old_host_name new_host_name [-hardware hardware]
[-os os] [-priority priority]}
bpplclients policy_name [-M master_server,...] [-v] [-generation generation] [-reason "<reason>"]
{-add_instance instance_name host_name} |
{-delete_instance instance_name host_name}
bpplclients policy_name [-M master_server,...] [-v] [-generation generation] [-reason "<reason>"]
{-add_instance_database instance_name database_name host_name} |
{-delete_instance_database instance_name database_name host_name}
bpplclients policy_name [-M master_server,...] [-v] [-generation generation] [-reason "<reason>"]
{-add_instance_group instance_group_name} |
{-delete_instance_group instance_group_name}
Valid values for policy_type:
Standard, Oracle, Informix-On-BAR, Sybase,
MS-SharePoint, MS-Windows, MS-SQL-Server,
MS-Exchange-Server, SAP, DB2, NDMP, FlashBackup,
DataStore, Lotus-Notes, FlashBackup-Windows,
Vault, NBU-Catalog, Generic, PureDisk-Export,
Enterprise-Vault, VMware, Hyper-V
11-07-2015 06:44 AM
11-07-2015 06:04 PM
Hello Riaan,
Could you please tell me the syntax for a single policy? I would be requiring host name for a specific policy.
11-07-2015 06:16 PM
11-07-2015 08:55 PM
Hi Marianne,
Thanks very much :)
does it contain the deactivated policies host as well?
11-07-2015 09:17 PM
The command shows you which clients are listed in a policy. It doesn't care if its acvite or not, it reports the policy clients.
11-07-2015 10:47 PM
11-09-2015 06:39 AM
If you are looking to find clients form the active policies
1. Use bppllist to list out the all the policies, forward it to some tmp file. bppllist > tmp.txt
2. Remove the inactive policies from the tmp.txt
3. Use for loop to find the clients from each policy
UNIX- for policy_name in `cat tmp.txt`; do echo $policy_name; bpplclients $policy_name -U ; done
POWERSHELL - foreach ($policy_name in Get-Content tmp.txt)
{echo $policy_name
bpplclients $policy_name -U}