The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone running cluster on Windows?

Highlighted
hyllplan
Frequent Visitor

Anyone running cluster on Windows?

How do you handle windows services that are used to start up the nodes? The recommendation is that the primary service node is started first and then the user nodes one by one. By default in windows you have no control over when services are fired. I know there are dependencies but Im not sure thats enough. I would like it to be like this
Start servicenode
Wait 20sec
Start usernode 1
Wait 20sec
Start usernode 2
Could this be achieved using windows services? Or do we need to use a cmd-script.
I dont want ppm to run in context of the system-user i need it to run using an application account.
2 REPLIES
hyllplan
Frequent Visitor

Re: Anyone running cluster on Windows?

hmmm sometimes I dont give my brain enough time..
something like this will of course work:

net start servicenode
sleep 30
net start user node 1
sleep 30
net start user node 2

and then put the script in autostart. As each service is started in context of the appl user everything will be ok.
Sascha Mohr
Esteemed Contributor

Re: Anyone running cluster on Windows?

We use batch files. One to stop the nodes and 5 min later:

taskkill /f /im java*
timeout /t 10
sc start Services
timeout /t 180
sc start SSO

If the 5 min delay is not enough taskkill will clear the way ;-)
//Add this to "OnDomLoad" event