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

ClearCase Connector sync engine startup scripts?

In the ClearCase Connector help, the following paragraph appears:

The New ClearCase Synchronized Stream wizard creates a synchronization process start-up script for each ClearCase Synchronized Stream. These scripts are started by the wizard when they are created, and can be re-started from the ClearCase Synchronized Streams view. To ensure that scheduled synchronizations continue to run unattended even though the synchronization host might have been shut down and re-started, you can use host-specific programs to enable the scripts to run automatically whenever the synchronization host starts.

*Where* exactly do the scripts get created? I want to run them at computer startup (as described) so we don't have to have a user logged into the synchronization host, but can't seem to find the scripts.

Thanks in advance,
Mike Johnson

0 votes



4 answers

Permanent link
OK, scratch that. I found the files under the users\<userdir>\ClearCaseConnector directory. Now my next question -- since this has to run under a particular user account, how would you configure this to run at machine startup? Do you guys install a Windows service that runs the batch file, and then set the service to run automatically?

Thanks,
Mike

0 votes


Permanent link
Yes, one would create a Windows service that runs this batch file. Note
that you have to create that Windows service yourself (the ClearCase
Connector wizard only creates the script, not the Windows service).

Cheers,
Geoff

micjohnson997 wrote:
OK, scratch that. I found the files under the
users\<userdir>\ClearCaseConnector directory. Now my next
question -- since this has to run under a particular user account,
how would you configure this to run at machine startup? Do you guys
install a Windows service that runs the batch file, and then set the
service to run automatically?

Thanks,
Mike

0 votes


Permanent link
Yes, one would create a Windows service that runs this batch file. Note
that you have to create that Windows service yourself (the ClearCase
Connector wizard only creates the script, not the Windows service).


OK, back to this one again. We tried to run the one of the synchronizer startup scripts as a Windows service. It failed, and of course now that I think about it, Windows services have to conform to several things -- like they need to respond to startup and shutdown commands, etc., sent by the OS. Obviously a batch file will not fit the bill here :)

So has anyone actually configured a cc synchronization startup script to run at system boot time somehow? I am now at a loss as to how to do this, other than I think I might be able to write a Visual Studio project that can then start it up. Seems like this problem would have to be solved already, though... I can't be the first one that wants to automatically start CC-RTC sync engines??

Thanks,
Mike

0 votes


Permanent link
Take a look at http://jazz.net/wiki/bin/view/Main/JbeAsAWindowsService
(and let me know if that didn't help).

Cheers,
Geoff

micjohnson997 wrote:
gmclemmwrote:
Yes, one would create a Windows service that runs this batch file.
Note
that you have to create that Windows service yourself (the ClearCase

Connector wizard only creates the script, not the Windows service).


OK, back to this one again. We tried to run the one of the
synchronizer startup scripts as a Windows service. It failed, and of
course now that I think about it, Windows services have to conform to
several things -- like they need to respond to startup and shutdown
commands, etc., sent by the OS. Obviously a batch file will not fit
the bill here :)

So has anyone actually configured a cc synchronization startup script
to run at system boot time somehow? I am now at a loss as to how to
do this, other than I think I might be able to write a Visual Studio
project that can then start it up. Seems like this problem would
have to be solved already, though... I can't be the first one that
wants to automatically start CC-RTC sync engines??

Thanks,
Mike

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: Jul 28 '09, 3:46 p.m.

Question was seen: 8,294 times

Last updated: Jul 28 '09, 3:46 p.m.

Confirmation Cancel Confirm