Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8623

Need to set auto maint policy from command line

$
0
0

Wise DB2 Wizards:

I am unable to set my auto_maint policy for anything (backup, runstats, reorgs, etc. from the DB6COCKPIT.  When I first go into the DB6COCKPIT and click on the Automatic Maintenance settings I receive a  '   !  PRD    Backup policy corrupted!   No <AC_Policy> found.'    I am then unable to change/update the policy in the DB6COCKPIT because it wants an entry in the  Automatic Backup tab.  I can fill it in but the  'Backup Operation Type'  does not have anything in it even though there is a drop down.  If I try to go to the Auto Runstats or Auto Reorg Tabs they are not open.  The message at the bottom of the window is,  " !  Fill in all required fields"   Meaning the  Backup Operation Type'.   Now this may be OK as this system is managed by the SOLMAN system.  So when I log onto my SOLMAN system and select the  'PRD'  system it does not have the 'modify' button.  It is greyed out.

 

So what I want to do is turn on Auto_Reorg.  I already have the policy created for it.  I need to update the autobackup policy (is none now even though the message indicates that it is corrupted) but I am not sure about what to put since I don't want to enable the autobackup (we do snapshots using a 3rd party tool) so this won't work.  I see the sample entry in db2/db2prd/sqllib/samples/DB2AutoBackupPolicySample.xml  but don't know where to start with it.  All my systems use the 'snapshot' practice and it works well so I know it isn't that.

 

What is the syntax for the command line to update the policy for autobackup?

 

Thanks to all who have helped out.

 

Len.


Viewing all articles
Browse latest Browse all 8623

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>