OpenSim server: Part 4, more regions

So now you want to have more than one region on your Sim? You just had a whole region for free and now you want more! Well we can never get enough it seems…..   ;o)

Well empty regions does not bring to much burden to your computer, it is first when there are lots of action going on with avatars and scripts that can bring your computer to its knees.

If I look at the system monitor on my OS server (on Ubuntu 10.10) I get the numbers below…

CPU1: 24% and CPU2: 20% and memory about 12%
And that is on a Core2Duo MacBook running on 2,2 GHz with 4 GB of memory.

On a Windows machine you will have to use the Task manager to get the same kind of statistics. Look under the performance tab.

These are crude statistics but they will give you a hint if it is any point in considering putting another region on that computer.
The rest is simple…..

1. Shutdown your OpenSim server (not the machine itself). Go to the terminal window and write shutdown…

2. Find a good and unique name for the new regions. Go back to part 2 in this guide to find out how to check that they are unique.

3. Find out where you want the regions to be and get the coordinates for each region. Remember xxxx,yyyy order

4. Get a unique UUID for every new region from: http://famkruithof.net/uuid/uuidgen
Better copy and paste the resulting numbers/letters somewhere for keeping.

5. Be sure that your broadband router is setup with a port for each region. If you followed my advice in part 1 you will have allocated port 9000-9005 already.

6. Go to the bin/Regions folder and edit the file Regions.ini. See below for an example on how my file look like. I guess you will not have a hard time to see where to put the region name, UUID, coordinates and portnumber. The Internal address and external hostname should be the same. Save the file.

————————————————————————-

[Alinja]
RegionUUID = 5f8b9b3a-9071-4d17-8d48-ca869d58a2d7
Location = 9999,9975
InternalAddress = 0.0.0.0
InternalPort = 9000
AllowAlternatePorts = False
ExternalHostName = 213.66.9.134

[Mahe]
RegionUUID = 63ffe9a0-0f49-11e0-ac64-0800200c9a66
Location = 10000,9975
InternalAddress = 0.0.0.0
InternalPort = 9001
AllowAlternatePorts = False
ExternalHostName = 213.66.9.134

[Praslin]
RegionUUID = 35c5e080-0f6c-11e0-ac64-0800200c9a66
Location = 9999,9974
InternalAddress = 0.0.0.0
InternalPort = 9002
AllowAlternatePorts = False
ExternalHostName = 213.66.9.134

[LaDigue]
RegionUUID = 470ffe70-0f6c-11e0-ac64-0800200c9a66
Location = 10000,9974
InternalAddress = 0.0.0.0
InternalPort = 9003
AllowAlternatePorts = False
ExternalHostName = 213.66.9.134

————————————————————————

7. Start your server again (look in part 3 if you don’t remember yet how to do that)

Simple huh! Now you are a multi region owner!

Advertisements
Post a comment or leave a trackback: Trackback URL.

Comments

  • Anna Loom  On January 5, 2011 at 9:40 pm

    Us – this is like a book only even more instructive. I will leave this hard work to you and look after the other Alinja ;o))

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: