User Profile
Collapse
-
Any one have a powershell script to prune DB2 Logfiles?
I am looking for a PowerShell routine that will prune logfiles based on the date of my oldest backup. I keep a week of daily backups and wish to run this routine weekly. Also, as I am brand new to Powershell, how can you schedule it to run from the Windows Scheduler? -
Issue DB2SET -all
Make sure you see
DB2COMM=TCPIP
If you do not, enter
DB2SET -g DB2COMM=TCPIP
Then try to reconnect.
Also,
Save your DB2 Registry settings with:
DB2SET -ALL | db2set.bak -
First, you need to be signed on to the Node as an administrator. IE If User is DB2ADMIN add to Administrator Group.
Then, I need to see what you defined for the MSCS.CFG file and what command you used to invoke it:
db2mscs -f db2Amscs.cfg.
If you installed Db2 you have what drives and how are the configured for how many clusters?
In a 2 Cluster system, it should be setup as such by a Windows...Leave a comment:
-
Try this link - it will take you to the source:
http://www.ibm.com/developerworks/db2/library/tutorials/db2cert/db2cert_V8_tut. htmlLeave a comment:
No activity results to display
Show More
Leave a comment: