[Opensim-users] linking regions and hypergrid

Kevin Buckley kevin at buckley70.freeserve.co.uk
Mon Nov 9 02:31:01 UTC 2009


Thanks - I worked that out and now have 2 instances running on my server on
ports 901x and 902x and using 2 separate MySQL schemas.

I have created some (different) users in each instance and I can log into
each instance separately, no problem.

However, when I try to 'link-regions' I get a 'region is too far' error.

The regions (just what was in the diva release) are at 5773,398 and
6282,7391.

I seem to remember reading a while back that linked regions needed to be
within a certain distance from each other (this was/is a bug) - is this the
problem I am seeing?

Cheers, Kevin

-----Original Message-----
From: opensim-users-bounces at lists.berlios.de
[mailto:opensim-users-bounces at lists.berlios.de] On Behalf Of
diva at metaverseink.com
Sent: 09 November 2009 01:26
To: opensim-users at lists.berlios.de
Subject: Re: [Opensim-users] linking regions and hypergrid


[Warning: this is advanced material for the diva distro.]

If you're running several instances on the same machine you need to give 
each one different ports. That includes the HTTP port (set in 
MyWorld.ini) and the regions' UDP ports (set in RegionConfig.ini).

You then have the option of sharing one DB schema among all instances or 
having a separate DB schema for each instance -- again, that is set in 
MyWorld.ini of each instance.

If you separate the DBs, you will have straightfoward hypergrided sims 
-- for going back & forth between them you have to hyperlink them, etc. 
just as you hyperlink with any other HG region out there.

If you share one DB you end up with a hybrid architecture that may be 
very convenient -- a serverless grid. In a serverless grid, all 
instances share the same DB directly. So, for example, all instances 
will be on the same map, etc.
Here's a post I wrote about it a month ago: 
http://www.metaverseink.com/blog/?p=22


Kevin Buckley wrote:
> So - if I want to test this by running separate, hyperlinked, standalone 
> grids on a single server:
>  
> 
> O I guess I need to give each instance its own Port base: 900x, 901x, 
> 902x etc.?
> 
> O I guess each instance needs a separate MySQL schema: opensim1, 
> opensim2, opensim3 etc.?
> 
>  
> 
> Thanks, Kevin
> 
>  
> 
> -----Original Message-----
> From: opensim-users-bounces at lists.berlios.de 
> [mailto:opensim-users-bounces at lists.berlios.de] On Behalf Of 
> diva at metaverseink.com
> Sent: 08 November 2009 23:28
> To: opensim-users at lists.berlios.de
> Subject: Re: [Opensim-users] linking regions and hypergrid
> 
>  
> 
>  
> 
> Configure.exe simply produces the configuration files:
> 
> config-include/MyWorld.ini
> 
> Regions/RegionConfig.ini
> 
> You can edit those file afterwards and change whatever you want there.
> 
>  From what you say below, you seem to have enough experience with
> 
> OpenSim to fiddle with those files manually. (In general I don't
> 
> recommend it, but if you know what you're doing that's fine)
> 
>  
> 
> Kevin Buckley wrote:
> 
>  > Karen
> 
>  >
> 
>  > I had a quick look at the diva hypergrid distribution.  I'm interested
> 
>  > because ultimately I think hypergrid is the way to go and also, right 
> now,
> 
>  > I'm fed up with the grey avatar/white eyes syndrome and maybe doing
> 
>  > something different might fix it (hahaha).
> 
>  >
> 
>  > I have a question though: what does 'configure.exe' actually do?
> 
>  >
> 
>  > I'm already running a standalone with multi-regions, using MySQL, which
a
> 
>  > few of us are using and doing some building and asset generation.
> 
>  >
> 
>  > I can't use Port-9000 because it's used for something else on my 
> server.  So
> 
>  > I use Ports 91xx for a 'Production Grid' and, if I want to test 
> something, I
> 
>  > snapshot the /bin directory and the MySQL schema and run an identical
> 
>  > version on Ports 92xx.  If that works, then I migrate the changes to
the
> 
>  > Production Grid.  And I do an automated back-up of EVERYTHING! Every
day,
> 
>  > lol.
> 
>  >
> 
>  > I don't want to try playing with the diva release and find 
> 'configure.com'
> 
>  > trashes my existing setup or MySQL database.
> 
>  >
> 
>  > Thanks, Kevin
> 
>  >
> 
>  > -----Original Message-----
> 
>  > From: opensim-users-bounces at lists.berlios.de
> 
>  > [mailto:opensim-users-bounces at lists.berlios.de] On Behalf Of Karen
Palen
> 
>  > Sent: 27 October 2009 14:12
> 
>  > To: opensim-users at lists.berlios.de
> 
>  > Subject: Re: [Opensim-users] linking regions and hypergrid
> 
>  >
> 
>  >
> 
>  > Probably the best way to answer your questions is to install the diva
> 
>  > distibution and try out the hypergrid option!
> 
>  >
> 
>  >>From the wiki:
> 
>  > Diva Distribution
> 
>  >
> 
>  >     * Preconfigured hypergrided standalone. Easy to setup and to keep 
> up to
> 
>  > date. Windows and Linux/Unix. Download the file diva-rNNNN.zip, unzip
it,
> 
>  > read README.txt and take it from there.
> 
>  >
> 
>  > http://github.com/diva/diva-distribution/downloads
> 
>  >
> 
>  > I found it very easy to install with complete and explicit 
> instructions in
> 
>  > README files. The READMEs direct you to the wiki and other places where
> 
>  > fairly complete instructions for using the hypergird can be found.
> 
>  >
> 
>  > WARNING: Opensim is "alpha" software, Hypergid is "pre-alpha" and all 
> kinds
> 
>  > of thing work or don't work for no apparent reason. In particular 
> hypergrid
> 
>  > availability depends on who has their grid turn on when you try to 
> connect -
> 
>  > this varies hourly!
> 
>  >
> 
>  > For all of that hypergrid is a lot of fun to experiment with, and the 
> diva
> 
>  > distribution is stable enough to do development and content creation
> 
>  > provided you keep good backups!
> 
>  >
> 
>  > I do a backupPC backup every night PLUS a complete dump of my MySQL 
> database
> 
>  > every night! I was bitten once with database corruption and do NOT 
> intend to
> 
>  > lose my work again!
> 
>  >
> 
>  > Good Luck and have fun!
> 
>  >
> 
>  > Karen
> 
>  >
> 
>  > --- On Tue, 10/27/09, Ken Grunke <kenearlg at gmail.com> wrote:
> 
>  >
> 
>  >> From: Ken Grunke <kenearlg at gmail.com>
> 
>  >> Subject: [Opensim-users] linking regions and hypergrid
> 
>  >> To: opensim-users at lists.berlios.de
> 
>  >> Date: Tuesday, October 27, 2009, 12:15 AM
> 
>  >> Is the link-region command from the
> 
>  >> console in a standalone necessary to
> 
>  >> hypergrid from the SA to, say, a region in OSGrid for
> 
>  >> example?
> 
>  >> 
> 
>  >> And is the link-region command needed the other way? From
> 
>  >> the grid
> 
>  >> region to the standalone, that is, to be able to hypergrid
> 
>  >> back to the SA?
> 
>  >> 
> 
>  >> Ken Grunke aka Key Gruin
> 
>  >> _______________________________________________
> 
>  >> Opensim-users mailing list
> 
>  >> Opensim-users at lists.berlios.de
> 
>  >> https://lists.berlios.de/mailman/listinfo/opensim-users
> 
>  >> 
> 
>  >
> 
>  >
> 
>  >      
> 
>  > _______________________________________________
> 
>  > Opensim-users mailing list
> 
>  > Opensim-users at lists.berlios.de
> 
>  > https://lists.berlios.de/mailman/listinfo/opensim-users
> 
>  >
> 
>  >
> 
>  >
> 
>  >
> 
>  >
> 
>  > _______________________________________________
> 
>  > Opensim-users mailing list
> 
>  > Opensim-users at lists.berlios.de
> 
>  > https://lists.berlios.de/mailman/listinfo/opensim-users
> 
>  >
> 
> _______________________________________________
> 
> Opensim-users mailing list
> 
> Opensim-users at lists.berlios.de
> 
> https://lists.berlios.de/mailman/listinfo/opensim-users
> 
> 
> 
_______________________________________________
Opensim-users mailing list
Opensim-users at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-users








More information about the Opensim-users mailing list