It's all about the answers!

Ask a question

Stop continuous builds before shutting down RTC server


Philippe Kaplan (6848) | asked Apr 16 '14, 10:57 a.m.
Our RTC 4.0.2 server is shut down twice a week during the backup of its DB. The problem is that we have continuous RTC builds that can kick off at any time. If one of them starts before the backup it can fail or deliver inconsistant results if it doesn't complete before RTC is stopped. We have worldwide contributors, so it doesn't help to schedule the maintenance during the night.

I think about 2 possible solutions:
     - disable all continuous builds a few hours before the backup, restore the state once done.
     - or set inactive all build machines a few hours before the backup, and restore the state once done.

Is it possible to write a script that implements one of these solutions so we can add it to the backup job ?

Thanks,

Comments
Kevin Ramer commented Apr 24 '14, 2:39 p.m.

Q: Is your back-end RTC database capable of online backup ? 
[ If it happens to be DB2, the answer is yes ]

Implementing that solution would be best.  You could still do the weekly backup but would not impact your user community.

One answer



permanent link
sam detweiler (12.5k6195201) | answered Apr 24 '14, 2:47 p.m.
I think you could write a script/java program/jruby program to get all the build engines and set them to off.
you could also go thru the build results to find out how long the builds took to give u guidance about how far back you might have to go..

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.