Clean-up or purge multi instance jobs from Director
Moderators: chulett, rschirm, roy
Clean-up or purge multi instance jobs from Director
Hi
I would like to purge or clean-up from the Data stage director automatically for Multi instance jobs logs and instance also.
I hope multi-instance job will append with Invocation id.
Like:
Ld_Exe_Metric.8699687
Ld_Exe_Metric.8699688
Ld_Exe_Metric.8699689
So I don't want to keep the entire instance I need to keep just 5 days run. Is this anything I have to setup at project level?
Thanks
Man
I would like to purge or clean-up from the Data stage director automatically for Multi instance jobs logs and instance also.
I hope multi-instance job will append with Invocation id.
Like:
Ld_Exe_Metric.8699687
Ld_Exe_Metric.8699688
Ld_Exe_Metric.8699689
So I don't want to keep the entire instance I need to keep just 5 days run. Is this anything I have to setup at project level?
Thanks
Man
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
OK... it's been awhile but since there is only one log that all instances share and I thought I recalled that the Director uses what is basically a view into that log to show what happened for each instance run, I thought I remembered that purging the instance specific records from the log would remove the display of those runs from the Director as well.
Based on Ray's reply, that would seem to be not the case. So, are you (either of you) saying that it will still show the instance in the Director log but have nothing to display when you check the log for that instance? I would think by now 'they' would have implemented something more... generic... than having to go under the covers and remove 'instance-related records' from a hashed file.
I'm assuming the old 'trick' of recompiling (resetting?) the job still removes all instances from the Director? I realize that wasn't what was asked for, just seeking a clarification...
Based on Ray's reply, that would seem to be not the case. So, are you (either of you) saying that it will still show the instance in the Director log but have nothing to display when you check the log for that instance? I would think by now 'they' would have implemented something more... generic... than having to go under the covers and remove 'instance-related records' from a hashed file.
I'm assuming the old 'trick' of recompiling (resetting?) the job still removes all instances from the Director? I realize that wasn't what was asked for, just seeking a clarification...
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Thanks Ray.
I can able to see the Auto-purge is working for only Jobs not for multi instance jobs.
I hope I have to clear the RT_STATUS for all the multi instance jobs.
I see the following information from IBM.
"The RT_STATUS part of the log auto-purge can be disabled by setting an
environment variable DS_NO_INSTANCE_PURGING=1 "
Is this will helpful or will do for multi instance jobs from Director?
Thanks
Man
I can able to see the Auto-purge is working for only Jobs not for multi instance jobs.
I hope I have to clear the RT_STATUS for all the multi instance jobs.
I see the following information from IBM.
"The RT_STATUS part of the log auto-purge can be disabled by setting an
environment variable DS_NO_INSTANCE_PURGING=1 "
Is this will helpful or will do for multi instance jobs from Director?
Thanks
Man
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I'm not sure what that statement from IBM Is about. Can you please cite a source? Meanwhile, you do not have to clear the RT_STATUS file (that would be unwise); you only need to delete the entries corresponding to the invocation ID(s) that you want to purge.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 14
- Joined: Thu Dec 13, 2007 2:57 am
This is a bug for which there is a patch out there.
Even when you have the auto-purge setting set at say last 5 runs, the logs related to different instances do not go away.
Please install Patch JR46141 and this issue should go away.
http://www-01.ibm.com/support/docview.w ... wg1JR46141
We have got this installed in our environements and it worked like a charm.
Even when you have the auto-purge setting set at say last 5 runs, the logs related to different instances do not go away.
Please install Patch JR46141 and this issue should go away.
http://www-01.ibm.com/support/docview.w ... wg1JR46141
We have got this installed in our environements and it worked like a charm.
Thanks & Regards
Nirav
Nirav