09-25-2014 04:05 AM
Need a Script for the Active policies excluding Null schedule. That means Policies which has atleast one schedule in it from adhoc, daily, full. Further If atleast one schedule is found then in that schedule there has to be frequency base schedule+backupwindow or calender based+backup window in it and there has to be no future dates schedule in calender based.
Solved! Go to Solution.
09-26-2014 05:15 AM
I *did* have a little look see yesterday, but would need a *lot* more work to limit the output to *just* what you want to see.
Essentially will, for every policy, list the policy name & whether active or not and also all the schedule details for each policy - so would need more work!
for POL in `bppllist`
do
bppllist $POL -U | egrep "Policy Name|Active"
bpplsched $POL -U
done
09-25-2014 05:25 AM
Those are some pretty complicated requirements mate.
What do you mean with "and there has to be no future dates schedule in calender based"?
09-25-2014 05:29 AM
Okay..Lets leave this requirement"there has to be no future dates schedule in calender based"
09-25-2014 06:00 AM
Do you have opscenter or do you need this from CLI?
09-25-2014 06:04 AM
09-25-2014 06:45 AM
Riann-I need this from CLI
sdo- NBU Version is 7.1 and OS Solaris sparc
09-26-2014 04:25 AM
Anyone is trying to find out..
09-26-2014 05:15 AM
I *did* have a little look see yesterday, but would need a *lot* more work to limit the output to *just* what you want to see.
Essentially will, for every policy, list the policy name & whether active or not and also all the schedule details for each policy - so would need more work!
for POL in `bppllist`
do
bppllist $POL -U | egrep "Policy Name|Active"
bpplsched $POL -U
done