Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Stop continuous builds before shutting down RTC server

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,

0 votes

Comments

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
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..

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 16 '14, 10:57 a.m.

Question was seen: 3,447 times

Last updated: Apr 24 '14, 2:47 p.m.

Confirmation Cancel Confirm