schedule DSEngine restart using CRON

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Sgiri1
Participant
Posts: 43
Joined: Sat Nov 08, 2008 10:58 pm
Location: Tambaram

schedule DSEngine restart using CRON

Post by Sgiri1 »

Hi,

We have a datastage setup on a linux machine. I want to create a cron job to restart the DSEngine everyday at 6:00 pm. Can someone assist how i can schedule a DSEngine restart in unix.

Thanks
Meera
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The obvious question to ask is why?

That said there are only three steps you need to script:
(1) check that no DataStage processes are running or clients connected
(2) stop the engine then wait for a short interval (maybe 2 minutes)
(3) start the engine
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Sgiri1
Participant
Posts: 43
Joined: Sat Nov 08, 2008 10:58 pm
Location: Tambaram

Post by Sgiri1 »

Hi Ray,

We have a discipline problem in the environment. Could not control number of instances which are being abruptly shut down every day. Manual restart of the engine has become a pain now. We need a regular restart every day or once in two days.

Thanks
Meera
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Get yourself a discipline management device, such as a baseball bat.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply