[Glass] remote configuration for topaz?
Dale K. Henrichs
dale.henrichs at gemtalksystems.com
Mon Dec 2 12:30:41 PST 2013
----- Original Message -----
| From: "Mariano Martinez Peck" <marianopeck at gmail.com>
| To: "Dale K. Henrichs" <dale.henrichs at gemtalksystems.com>
| Cc: glass at lists.gemtalksystems.com
| Sent: Tuesday, November 26, 2013 5:39:47 PM
| Subject: Re: [Glass] remote configuration for topaz?
| On Tue, Nov 26, 2013 at 7:20 PM, Dale K. Henrichs <
| dale.henrichs at gemtalksystems.com > wrote:
| | Welcome to the world of GemStone NRS (Network Resource Strings) ...
| | the syntax for the NRS is documented in Appendix C of the SysAdmin
| | Guide, but that isn't very helpful.
|
| | For connecting to a remote host from topaz, you need to define
| | something called the `gemnetid` before you login. For example, the
| | following tells topaz to connect to a netldi server on port 30733 :
|
| | set gemnetid !#netldi:30733!gemnetobject
|
| ohhh wow... I would have never guesses that ;)
| | For remote servers, you need to supply a remote host name. Here's
| | one
| | I use for connecting from my mac to my workstation in the office:
|
| | set gemnetid !tcp at foos#netldi:41779#task!gemnetobject
|
| | The good news is that I didn't have to figure out the magic
| | sequence
| | for the above, I generated the above from the
| | OGStandardSessionDescription that I used with GemTools and you can
| | do the same by printing the result of sending the #gemNRS message
| | to
| | your session descirption instance:
|
| | (OGStandardSessionDescription new
|
| | name: 'commandLineGemstoneRemote';
|
| | stoneHost: 'localhost';
|
| | stoneName: 'seaside';
|
| | gemHost: 'localhost';
|
| | netLDI: '50330';
|
| | userId: 'DataCurator';
|
| | password: 'swordfish';
|
| | backupDirectory: '/opt/gemstone/product/seaside/data/backups/';
|
| | yourself) gemNRS
|
| | produces:
|
| | '!tcp at localhost#netldi:50330#task!gemnetobject'
|
| | which you can use to `set gemnetid` for topaz:
|
| | set gemnetid !tcp at localhost#netldi:50330#task!gemnetobject
|
| Cool, good to know about # gemNRS. In fact, it looked weird to me not
| to have a way to get a topaz ini file out from the
| OGStandardSessionDescription...
| | BTW the #stoneNRS message will produce a string suitable to `set
| | gemstone` for topaz:
|
| | set gemstone !tcp at localhost#server!seaside
|
| Thanks, I could connect now :)
| Quite slow but it works!
Yeah, GemTools is almost unusable over the WAN ... tODE will do much better and I am continuing to make progress on tODE ... now that I've hit my internal deadline, I will have a bit more time to devote to tODE ...
Dale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20131202/5130528a/attachment.html>
More information about the Glass
mailing list