GBS for VA session connection data from a GsDevKit stone?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

GBS for VA session connection data from a GsDevKit stone?

GLASS mailing list
Hi guys,

My GsDevKit created stone .topazini is like this:

 ❯ cat .topazini                                                                                                                
SET GEMSTONE gs_342
set user DataCurator
set password swordfish
# uncomment the following line before attempting to login using RPC gems
 set gemnetid !tcp@vm-mint64#netldi:gs_342_ldi#task!gemnetobject


I am trying to fill the attached UI for GBS for VA but I am not being able to figure out the correct values for "GemStone name" and "Gem Service". As usual, I have problems with the NRS hahaha.

Any clue on how those 2 should be?

Thanks in advance, 

--
Mariano Martinez Peck
Software Engineer, Instantiations Inc.
[hidden email]

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

Screen Shot 2018-11-13 at 1.53.39 PM.png (58K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GBS for VA session connection data from a GsDevKit stone?

GLASS mailing list


On Tue, Nov 13, 2018 at 2:23 PM Richard Sargent <[hidden email]> wrote:
Opaque, isn't it.


Yes :(   That's why I want a working example. I have used GemStone quite a bit and I am usually familiar with the stuff. But not with GBS...
 
gs_342 is the stone name.
gs_342_ldi is the NetLDI name, but unless you have registered it in the system's services file, the name won't help. You'll need the port number. You can get that from gslist -l.


Yes. I know how to map a specific port to netldi (via /etc/services). In this case, I just grab the given port via:

 ❯ stones                                                                                                                       [13:53:27]
Installed Stones:
3.4.2 gs_342
Running Stones:
Status       Version    Owner    Pid   Port   Started     Type       Name
-------     --------- --------- ----- ----- ------------ ------      ----
exists       3.4.2     mpeck        58688 34123 Nov 13 13:11 Stone       gs_342
Running Netldis:
Status       Version    Owner    Pid   Port   Started     Type       Name
-------     --------- --------- ----- ----- ------------ ------      ----
exists       3.4.2     mpeck        58761 41265 Nov 13 13:11 Netldi      gs_342_ldi


You can see for example now it is 41265.

But anyway, where do I specify the netldi/port in that UI window? And the host IP?? 
 
Thanks.

--
Mariano Martinez Peck
Software Engineer, Instantiations Inc.
[hidden email]

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: GBS for VA session connection data from a GsDevKit stone?

GLASS mailing list
In reply to this post by GLASS mailing list
On 11/13/2018 08:55 AM, Mariano Martinez Peck via Glass wrote:

> Hi guys,
>
> My GsDevKit created stone .topazini is like this:
>
>  ❯ cat .topazini                                                       
>                                                         
> SET GEMSTONE gs_342
> set user DataCurator
> set password swordfish
> # uncomment the following line before attempting to login using RPC gems
>  set gemnetid !tcp@vm-mint64#netldi:gs_342_ldi#task!gemnetobject
>
>
> I am trying to fill the attached UI for GBS for VA but I am not being
> able to figure out the correct values for "GemStone name" and "Gem
> Service". As usual, I have problems with the NRS hahaha.
>
> Any clue on how those 2 should be?
>

The "GemStone Name" is just the name of the stone, unless you're running
the stone on a different host than the gem.

The "Gem Service" is exactly the gemnetid from Topaz. I would simplify
your topaz example to "!@vm-mint64#netldi:gs_342_ldi!gemnetobject", IIRC
the other things are all default.

On 11/13/2018 09:34 AM, Mariano Martinez Peck via Glass wrote:
> But anyway, where do I specify the netldi/port in that UI window? And
> the host IP??

In the "Gem Service" NRS, you can use a port number instead of a service
name, i.e. "!@vm-mint64#netldi:41625!gemnetobject".

As for the IP address of the gem host, you should be able to use the
name if it resolves from the client host. If it does not resolve,
putting an IP address instead of a name probably works, though I've
never tried that. Like "!@10.27.42.12#netldi:41625!gemnetobject"

-Martin
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: GBS for VA session connection data from a GsDevKit stone?

GLASS mailing list
Thanks Martin. With your help I was able to perfectly log in. So I added "gs_342_ldi      50100/tcp   "   in the server /etc/services. Then, on the GBS side, I had to use the 50100 port. I also linuxmintdev which basically resolves to my server IP.
Attached screenshot is what is working now for me.

Thanks!




On Tue, Nov 13, 2018 at 3:02 PM Martin McClure <[hidden email]> wrote:
On 11/13/2018 08:55 AM, Mariano Martinez Peck via Glass wrote:
> Hi guys,
>
> My GsDevKit created stone .topazini is like this:
>
>  ❯ cat .topazini                                                       
>                                                         
> SET GEMSTONE gs_342
> set user DataCurator
> set password swordfish
> # uncomment the following line before attempting to login using RPC gems
>  set gemnetid !tcp@vm-mint64#netldi:gs_342_ldi#task!gemnetobject
>
>
> I am trying to fill the attached UI for GBS for VA but I am not being
> able to figure out the correct values for "GemStone name" and "Gem
> Service". As usual, I have problems with the NRS hahaha.
>
> Any clue on how those 2 should be?
>

The "GemStone Name" is just the name of the stone, unless you're running
the stone on a different host than the gem.

The "Gem Service" is exactly the gemnetid from Topaz. I would simplify
your topaz example to "!@vm-mint64#netldi:gs_342_ldi!gemnetobject", IIRC
the other things are all default.

On 11/13/2018 09:34 AM, Mariano Martinez Peck via Glass wrote:
> But anyway, where do I specify the netldi/port in that UI window? And
> the host IP??

In the "Gem Service" NRS, you can use a port number instead of a service
name, i.e. "!@vm-mint64#netldi:41625!gemnetobject".

As for the IP address of the gem host, you should be able to use the
name if it resolves from the client host. If it does not resolve,
putting an IP address instead of a name probably works, though I've
never tried that. Like "!@10.27.42.12#netldi:41625!gemnetobject"

-Martin


--
Mariano Martinez Peck
Software Engineer, Instantiations Inc.
[hidden email]

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

Screen Shot 2018-11-13 at 3.23.33 PM.png (87K) Download Attachment