[Glass] Restart the gs64ldi service
Trussardi Dario Romano via Glass
glass at lists.gemtalksystems.com
Fri Mar 11 07:59:02 PST 2016
Ciao Dale, Mariano,
thanks for your help,
now all works fine.
Questions:
1) i can have two netldi service open for the same environment.
The system when startup open the standard 50377 service.
After, the first time i need to login with ssh forwarding,
i create the : startnetldi - a scandella -g -p 55325:55325 -P 55320 gs64ldi
Can this service run always ? Or i need to stopnetldi this service when i end the ssh sessions?
Can this services ( 50377 and 55320 ) exist together ?
2) For the remote use on internet i remember about compression: alias ssh-x='ssh -c arcfour,blowfish-cbc -XC'
but this is only for X11 forwarding ( it's not for SSH forwarding ) ?
3) when i open a tODE session tode 1 >
what should I do for commit - abort ?
I can leave open the tODE session without worry?
Thanks,
Dario
>
> On 03/10/2016 09:02 AM, Trussardi Dario Romano via Glass wrote:
>> Ciao,
>>
>> ok i read some hold emails.
>>
>> On my macBook ssh shell in the LAN i do:
>>
>> a) /opt/oodb/gsDevKitHome/gemstone/stones/gestionale$ . defStone.env
>>
>> b) /opt/oodb/gsDevKitHome/gemstone/stones/gestionale/product/bin$
>>
>> ./startnetldi -p 50377:50377 -g -a $USER -n -l $GEMSTONE_LOGDIR/gs64ldi.log
>>
>> startnetldi[Info]: GemStone version '3.1.0.6'
>> startnetldi[Info]: Starting GemStone network server 'gs64ldi'.
>> startnetldi[Info]: GEMSTONE is: '/opt/oodb/gsDevKitHome/gemstone/stones/gestionale/product'.
>> startnetldi[Info]: GEMSTONE_NRS_ALL is: '#dir:$GEMSTONE_LOGDIR#log:%N%P.log'.
>> startnetldi[Info]: Log file is '/opt/oodb/gsDevKitHome/gemstone/stones/gestionale/logs/gs64ldi.log'.
>> startnetldi[Info]: GemStone server 'gs64ldi' has been started, process 6426 .
>>
>
> This is not the correct way to start your netldi ... the default netldi port is 50377 and by defining a port range that also includes 50377 could very easily lead to trouble... Note that in the port forwarding documentation[1], you should be using a different set of ports for the port range than the primary port number:
>
> ssh 192.168.100.129 -l dhenrich -L 55320:localhost:55320 -L 55325:localhost:55325 # ssh login setting up local port forwarding
> cd $GS_HOME/gemstone/stones/devKit # cd to your stone directory
> . defStone.env # define the GsDevKit environment variables
> $GEMSTONE/bin/startnetldi -a dhenrich -g -p 55325:55325 -P 55320 devKit_ldi # start the netldi
>
> If you want the primary port to be the default (50377) then you don't need to use the -P option.
>
> It is odd that the netldi would keep on freezing but given the way you were starting the netldi, that would explain the netldi getting locked up ..
>
> Dale
>
> [1] https://github.com/GsDevKit/GsDevKit_home/blob/master/docs/portForwardingForRemoteLogins.md#ssh-port-forwarding-server-side
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20160311/21d17b54/attachment.html>
More information about the Glass
mailing list