How to easily determine which policies are active/inactive (for a large number of policies) when getting error status code 247

Article:TECH17880  |  Created: 2002-01-18  |  Updated: 2013-10-23  |  Article URL http://www.symantec.com/docs/TECH17880
Article Type
Technical Solution


Environment

Issue



How to easily determine which policies are active/inactive (for a large number of policies) when getting error status code 247

Error



Status Code: 247 - the specified policy is not active.

Solution



Normally, the Backup Policy Management GUI is used (by looking at the policy attributes) when checking if a policy is active or not. This can be very tedious if hundreds of policies are involved. A better approach is to use the bppllist command.

To determine whether a class is active or not, run the command:

/usr/openv/netbackup/bin/admincmd/bppllist -allpolicies -L | egrep "Policy Name|Active" > allpolicies.txt

The output of allpolicies.txt should look similar to this:

Policy Name:   Netware
Active:            no
Policy Name:   Windows
Active:            no
Policy Name:   Test1
Active:            yes
Policy Name:   Test2
Active:            no
Policy Name:   Test3
Active:            yes
Policy Name:   Oracle
Active:            yes

NOTE: If the egrep command is not used, it will give a long listing of each policy. This will create hundreds of pages if there are large number of policies to list.



Legacy ID



243552


Article URL http://www.symantec.com/docs/TECH17880


Terms of use for this information are found in Legal Notices