[Glass] Can we move locks to inside GsDevKit_home ?

Mariano Martinez Peck via Glass glass at lists.gemtalksystems.com
Wed Feb 8 11:49:21 PST 2017


On Wed, Feb 8, 2017 at 3:52 PM, Dale Henrichs via Glass <
glass at lists.gemtalksystems.com> wrote:

> Mariano,
>
> The env var  GEMSTONE_GLOBAL_DIR controls the location global `gemstone`
> directory so it _can_ be changed, but I am not sure that I want to make
> this a feature of GsDevKit_home.
>
> If all stones on a machine do not share the locks directory, then a single
> `gslist` or `stones` will not be able to list all stones that are running
> on a machine as `gslist` looks in the GEMSTONE_GLOBAL_DIR to see which
> stones and netldis are running and the `stones` script picks a GemStone
> product dir and uses that `gslist` command to list the stones running on
> the machine ...
>
> If you want to introduce a custom GEMSTONE_GLOBAL_DIR for each stone, you
> can add that env var to the $GS_HOME/stones/<stone-name>/custom_stone.env
> file to ensure that GEMSTONE_GLOBAL_DIR is set for all commands.
>

Ok, all above makes sense. Thanks for the explanation.


> `stones -i` can still be used, but you will have to figure out an
> alternate way to list all stones and netldis running on a single machine as
> well as a way to see whether a stone and/or netldi is running for a
> particular stone, but it seems that it can certainly be done ...
>

This is what I don't understand. I was proposing putting
 GEMSTONE_GLOBAL_DIR  inside $GS_HOME but still shared for all stones (not
per stone). Say I put the following in each $GS_HOME/stones/<stone-name>/
custom_stone.env

GEMSTONE_GLOBAL_DIR=$GS_HOME/server/gemstone

Do I understand correctly that, assuming all my stones are managed by
gsDevKit_home, then `stones -i` as well as `gslist` would work correctly?

Dale
>
> On 02/08/2017 07:14 AM, Mariano Martinez Peck via Glass wrote:
>
> Hi Dale,
>
> When we were working together at home during November we discussed about
> putting each stone lock files inside the $GS_HOME/server/stone/xxx
> directory. As far as I remember, the conclusion was that the locks
> directory had to be a centralized repository for all possible stones.
>
> Honestly, I find it disturbing having to still need /opt/gemstone/locks
> while everything is under $GS_HOME. It brings unnecessary sysadmin
> complications. So I am wondering if locks folder cannot be inside $GS_HOME.
> For example, what about $GS_HOME/server/locks ?
>
> Thanks in advance,
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
> _______________________________________________
> Glass mailing listGlass at lists.gemtalksystems.comhttp://lists.gemtalksystems.com/mailman/listinfo/glass
>
>
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170208/05b44f03/attachment.html>


More information about the Glass mailing list