[Glass] Monit scripts for gemstone?
Johan Brichau
johan at yesplan.be
Wed Aug 20 01:17:55 PDT 2014
On 20 Aug 2014, at 06:11, Mariano Martinez Peck <marianopeck at gmail.com> wrote:
> So...before everything...are you using init.d to start your stones as well? or you let monit do it lazily?
In case of reboot, I have found that monit does not work well to get everything up and running fast.
So, yes, I am using init.d to start all stones and gems.
> if the later...how do you handle a proper shutdown? it happens to me that some lock files remind alive but the process are gone. So upon reboot, I cannot start my process again.
Yes, I do recall that this happened but I have contradicting experiences. On my laptop I often need to remove the lock files when they are present. In contrast, last june all our servers got rebooted because of a SAN network problem and there were no issues with the lock files. Maybe someone from GemTalk can shed more light on that...
> In summary.... I am having problems with locks file in /opt/gemstone/locks and the presence of both, init.d and monit scripts.
>
> I can explain with more details what I am doing exactly, but just wanted to know what you were doing.
At the moment, I'm not doing anything automated with the lock files.
If there is an issue starting a stone, it is one of the things I look at but I don't have an automated strategy for handling them.
It would be great to know and develop a common strategy for everyone to follow...
Johan
More information about the Glass
mailing list