Hi Isuru,

>
> +1. AFAIK puppet can apply any changes in the master configs periodically to
> the relevant instances. The ideal way would be to apply the patches and
> restart the server from puppet itself. However, since we use Cartridge Agent
> to start the server, we might have to find a workaround for that.
>>

We can place a marker file to notify the agent to restart the server.
For eg. when a patch is copied to a WSO2 ESB cartridge instance, we
create a marker file in <agent_home>/esb.dorestart. Agent should
periodically check for the time stamp of last modification for this
marker file. If it is modified, it should restart the product server.

This is just a suggestion. We need to think the best alternative to do this.

>>
>> Yeah, nice thinking will go for that.
>>
>>>
>>>
>>> --
>>> Akila Ravihansa Perera
>>> Software Engineer
>>> WSO2 Inc.
>>> http://wso2.com
>>>
>>> Phone: +94 77 64 154 38
>>> Blog: http://ravihansa3000.blogspot.com
>>
>>
>>
>>
>> --
>> Lakmal Warusawithana
>> Vice President, Apache Stratos
>> Director - Cloud Architecture; WSO2 Inc.
>> Mobile : +94714289692
>> Blog : http://lakmalsview.blogspot.com/
>>
>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048
>
>



-- 
Akila Ravihansa Perera
Software Engineer
WSO2 Inc.
http://wso2.com

Phone: +94 77 64 154 38
Blog: http://ravihansa3000.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to