Thursday 14 October 2010

Running a LAN grid


I don't want to clutter this post with the background reasoning, but I would argue that the majority of educational uses of virtual worlds can be addressed by running 1 student per grid, or ad-hoc multi-user set-ups. The second of those seems to be a lot easier now than the last time that I tried it.

The instructions in this post will allow you to set-up a loca
l OpenSim grid, for use within an institution's firewall. You can walk into a lab, start the server on one PC, and have the students connect to it through other PCs.

Server setup:
  1. Download OpenSim and run it once in order to configure it - as described here.
  2. You will need to use the 'create user' command to create an account for each student.
  3. Copy the 'bin' folder to a USB stick.
Running the server:
  1. Plug in the USB stick
  2. Run OpenSim.exe (OpenSim.32BitLaunch.exe on 64bit machines).
  3. **Update** In the OpenSim window, type: 'show region regionName'.
  4. Note down the text that starts with http://
If you've forgotten the name that you gave to your region, then it is shown in brackets within the OpenSim window, i.e. Region (regionName) #


Viewer setup:
  1. If you already have Second Life viewers installed then skip to the next bit
  2. Alternatively you can install a viewer on any PC, and then copy the viewer's folder from the 'Program Files' directory (typically on the C drive) onto a USB stick. The just run the executable in this folder.
You (or the students) will need to configure the viewers so that they connect to your server. If the server is run from the same PC each time, then you should only need to do this once.

Running the viewer (easy way):
  1. Viewers such as Imprudence and Hippo include a grid manager where the ip address of the server can be added. Be sure to include 'http://' at the front and ':9000' at the end.

Running the viewer (slightly harder):
  1. Copy your existing shortcut to the viewer (assuming it's installed - if running from a USB right-click on the exe and choose 'create shortcut').
  2. Right-click on the new shortcut and choose 'Properties'.
  3. On the 'Shortcut' tab, look for the 'Target' option.
  4. At the end of the text in the 'Target' box add: '-loginuri http://11.5.2.54:9000/' where 11.5.2.54 is the ip address of the server.

There is of course a huge variety in networks and institutional setups, but hopefully these steps should work in most cases. You should consider involving your IT or eLearning department when trying to setup OpenSim in this way. They probably won't like running things from USB sticks, but their alternative might be a more robust system.

No comments: