cancel
Showing results for 
Search instead for 
Did you mean: 

Cluster and CRON question.

Andy_M
Level 3
Hi
 
I've a 2 node cluster running vcs 4.1 on solaris 8.
 
On the live node I want to have a different cron from the standby node. Basically I want to swap out the cron file and restart cron each time a node becomes the live node. Same on the standby node.
 
Anyone point me in the right direction for copying cron files and stopping and starting the cron daemon ? Could I use an trigger ?
 
I could use the Application type to stop and start cron,  but it is the copying of the files thats puzzling me.
 
Many thanks
Andy.
1 REPLY 1

Gene_Henriksen
Level 6
Accredited Certified
Triggers are a good solution. You will need to copy them in and out and stop/start cron accrodingly. You can also use a cron entry that is simply running a script that determines if a particular function is running and if the SG is there or the process is there, then start the cron piece. This is UNIX, use your imagination. preonline and postoffline triggers work well for this. Then at boot you could copy a default crontab into place.