jump to navigation

Pretty OpenSim 0.7 diagrams and updated grid setup instructions July 30, 2010

Posted by justincc in hypergrid, opensim, opensim-dev, opensim-grid, opensim-tech-basics, opinion, secondlife, virtual-environments, virtual-worlds.

Hi folks.  Just thought I’d let you know that I’ve once again undertaken the sisyphean task of updating the OpenSimulator configuration instructions 🙂  This time, I’ve updated the grid setup instructions to reflect the current situation in OpenSimulator 0.7.  In fact, I wrote a whole new set of steps based on my experiences in setting up a very small multi-machine grid from scratch, so hopefully they should be reasonably accurate!  Of course, any improvements are very, very welcome – feel free to just edit the wiki page!

I also included some diagrams to illustrate the basic differences between standalone and grid configurations.  Here’s the standalone diagram.

As you can see, in standalone mode both grid services (login, assets, inventory, etc.) and the region simulator itself are contained within the same process (OpenSim.exe).  Viewers simply connect to this one instance.

On the other hand, even a very simple grid setup is considerably more complicated.

In OpenSimulator 0.7 a process called Robust.exe runs all the grid services.  Instead of using their own local services, each simulator (OpenSim.exe) connects to this common set of services, usually across a network.  And once a network gets involved there’s considerably more to go wrong – simulators may encounter both network congestion and a delayed response from the central services if they’re overloaded with requests.

In grid mode, simulators also need to communicate with each other.  For instance, since all regions are on a common grid, an avatar may teleport to a region running on another machine, or cross an in-world border between regions hosted on different computers.  Both teleports and border crossings involve an intricate data handoff between the origin simulator and the destination simulator.  The less reliable the network between the simulators, the worse the teleport or crossing experience will be.  Naturallly, this is often worst in the case where these simulators are communicating over the Internet.

Another interesting thing to note about this diagram is that all communication between the viewer and the virtual environment (apart from initial login, which isn’t shown here) occurs through the region simulator that the avatar is currently in.  This applies not only to things such as walking about and creating objects (both of which naturally belong there anyway), but also to operations such as inventory retrieval and texture fetch.

This is one reason why the current grid model is a centralized one, even though OpenSim instances themselves are distributed across different machines.  Anyone wanting to add a new region simulator to a grid is forced to store their assets and inventory in the single set of services provided by that grid operator – they can’t choose some independent third party or provide their own data store.  Equally, anyone adding a simulator has to be trusted by the grid operator since the guy (or gal) running the simulator potentially gains access to the assets and inventory of that grid.

That’s what makes efforts like the hypergrid, http texture fetching and VWRAP so interesting – I think that they’re all trying to lever open the door to a genuinely distributed, more web-like network of virtual environments.  A network where anybody can set up their own simulator without requiring the trust of every other operator, yet receive visitors with the same ease that one can click on a web hyperlink today.  A network where visitors retain their own appearance and are safe in the knowledge that the items in their inventory are not exposed to the simulator that they happen to be visiting (unless they rez them there).  It’s a massive challenge but one that could really transform the landscape.

Anyway, enough architectural rambling :-).  The OpenOffice draw source files for the diagrams above are linked from the configuration wiki page if anybody wants to use them further.



1. Tweets that mention Pretty OpenSim 0.7 diagrams and updated grid setup instructions | justincc.org -- Topsy.com - July 30, 2010

[…] This post was mentioned on Twitter by vrmex and fox, Justin Clark-Casey. Justin Clark-Casey said: Pretty OpenSim 0.7 diagrams and updated grid setup instructions – http://bit.ly/dsiOYs […]

2. Ai Austin - July 30, 2010

Excellent, nicely laid out and clear instructions. Very many thanks Justin.

3. Marcus Llewellyn - July 31, 2010

Awesome, Justin! You’re a hero. 🙂 Just one tiny lil thing… did you mean to link to a wiki article primarily about Snowglobe for your HTTP Texture link? Or did you maybe want http://wiki.secondlife.com/wiki/HTTP_Texture ?

One other thing I’d like to see someone write a wiki page on (not necessarily you, but by anybody in the know) is setting up estates for 0.7. I’ve been a lil confused on it myself.

4. Breen Whitman - August 2, 2010

Its a new day in Opensimulator. This article(about the new 0.7 release) consolidates huge behind the scenes technical work done by OS coders, but also a guiding group who brought forward a strategic structure.

“A network where anybody can set up their own simulator without requiring the trust of every other operator, yet receive visitors with the same ease that one can click on a web hyperlink today.”

Theres the meat of the sandwich. A new day indeed!

5. justincc - August 3, 2010

@Marcus – Thanks very much, that is a much better link. I’ve updated the post.

I agree with you about estates, OpenSim’s functionality here is very poor at the moment. In fact, I don’t think there are any console commands to change or even show them – everything has to be changed directly in the database (though perhaps there are third party tools that are putting a GUI on top of this). This really needs to be improved.

@Breen – That statement is where I think that we could eventually go – at the moment we’re still a long, long way off. If we can get to a situation where people can visit different simulators by clicking a link without requiring trust between simulator owners, then that opens the way for a genuine distributed internet of environments.

6. rjs - August 9, 2010

Very Nice.


7. Maitreyi - October 15, 2010


IS there any way to restrict the number of simultaneous unique logins in SecondLife? Can we set a parameter somewhere for the same?


8. justincc - October 19, 2010

@Maitreyi. Sorry, this isn’t yet possible. It is possible to set a number in the region dialog on the client but nothing is done with this yet.

9. Michael Blade - April 27, 2011

I wrote a detailed post explaining How to Build Your Own Virtual World using the Diva Distribution Hypergrid Standalone on a Windows 2008 Server or Windows 7. It can be found at http://rocketvirtual.com
Check it out if you want detailed instructions for simply (this is a relative term) setting up your own opensim.

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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: