Thank you Riccardo

That makes sense and is another way of doing it.

I was just wondering if the startup parameter could take multiple 
server-ids as it seems to be a common scenario.

Regards


Alan

On 15/09/2011 12:23, Riccardo Cohen wrote:
> Hello
> I'm not an expert, but I rather create one script for each app in
> init.d, this let me stop or start each app separately.
>
> On 15/09/11 13:10, Alan Wright wrote:
>    
>> Hi
>>
>> Migrating from resin 2 to resin 4.0.22
>>
>> I am trying to configure a load balancer in a web-tier cluster and 2
>> apps in an app-tier as per docs for a single machine.
>>
>> For the init.d/resin startup is there a neat way to specify that I want
>> all servers to start or do i just have to do:
>>
>> su $USER -c """$JAVA -jar $RESIN_HOME/lib/resin.jar $ARGS -server web-a
>> start""" 1>>   $CONSOLE 2>>   $CONSOLE
>> su $USER -c """$JAVA -jar $RESIN_HOME/lib/resin.jar $ARGS -server app-a
>> start""" 1>>   $CONSOLE 2>>   $CONSOLE
>> su $USER -c """$JAVA -jar $RESIN_HOME/lib/resin.jar $ARGS -server app-b
>> start""" 1>>   $CONSOLE 2>>   $CONSOLE
>>
>>
>>      

-- 


Alan Wright
Athene Systems

tel 0845 230 9803


Athene Systems Limited
Registered Office:
Shieling House
Invincible Road
Farnborough
GU14 7QU

Registered in England and Wales No. 3156080



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to