Configuration

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Database)
m (Robot: Cosmetic changes)
Line 1: Line 1:
 
{{Quicklinks}}
 
{{Quicklinks}}
 
<br />
 
<br />
==OpenSim simulator configuration file==
+
== OpenSim simulator configuration file ==
The region simulator configuration is managed using a file called OpenSim.ini. This file is used regardless of whether the sim is running in standalone or grid mode. This file references some additional configuration information from the config-include/ directory. Information about the various settings is contained in the OpenSim.ini file itself (or OpenSim.ini.example for reference).
+
The region simulator configuration is managed using a file called OpenSim.ini. This file is used regardless of whether the sim is running in standalone or grid mode. This file references some additional configuration information from the config-include/ directory. Information about the various settings is contained in the OpenSim.ini file itself (or OpenSim.ini.example for reference).
  
 
Please note, that the name OpenSim.ini can be changed via [[OpenSim.exe Command Line Options|command line arguments]].
 
Please note, that the name OpenSim.ini can be changed via [[OpenSim.exe Command Line Options|command line arguments]].
  
It is also possible to distribute the inifile settings over two files. This is useful if you want to run several OpenSim processes where most of your settings are identical except for a few. The master file is read first, then the inifile is read. Settings given in the inifile overrule settings given in the master file. The master file has the same format and the same keywords as the inifile, so the same documentation applies.
+
It is also possible to distribute the inifile settings over two files. This is useful if you want to run several OpenSim processes where most of your settings are identical except for a few. The master file is read first, then the inifile is read. Settings given in the inifile overrule settings given in the master file. The master file has the same format and the same keywords as the inifile, so the same documentation applies.
  
== Database ==
+
== Database ==
  
 
Opensim supports the following database-engines. Information about setting these up can be found in the OpenSim.ini.example file and the other various example files in bin/config-include. See [[Database Settings]] to know the detailed settings for each database.
 
Opensim supports the following database-engines. Information about setting these up can be found in the OpenSim.ini.example file and the other various example files in bin/config-include. See [[Database Settings]] to know the detailed settings for each database.
  
*'''SQLite''' (default) - a lightweight database that comes bundled with OpenSim and can be used without requiring any extra configuration. It is mostly intended to get you up and running quickly, not for production use. It is significantly slower than MySQL. A few features here (such as attachment persistence) have not yet been fully implemented.  
+
* '''SQLite''' (default) - a lightweight database that comes bundled with OpenSim and can be used without requiring any extra configuration. It is mostly intended to get you up and running quickly, not for production use. It is significantly slower than MySQL. A few features here (such as attachment persistence) have not yet been fully implemented.  
  
*'''MySQL''' (fully supported) - This is the recommended database for any use beyond experimentation or small standalone applications. The minimum MySQL version is 5.1.
+
* '''MySQL''' (fully supported) - This is the recommended database for any use beyond experimentation or small standalone applications. The minimum MySQL version is 5.1.
::*'''Windows x64 systems:''' &nbsp;There is currently an unresolved [http://opensimulator.org/mantis/bug_view_advanced_page.php?bug_id=5294 bug_id=5294] found when running OpenSim with MySQL 5.5 on Windows x64 systems.
+
::* '''Windows x64 systems:''' &nbsp;There is currently an unresolved [http://opensimulator.org/mantis/bug_view_advanced_page.php?bug_id=5294 bug_id=5294] found when running OpenSim with MySQL 5.5 on Windows x64 systems.
::*'''Opensim 0.7.0.2:''' &nbsp;Some users have reported problems with MySQL 5.1.55 and up with Opensim 0.7.0.2, see [http://opensim-users.2152040.n2.nabble.com/OpenSim-1-7-0-2-and-MySQL-Versions-td6155064.html this thread] for more information. The issue can be resolved by using an updated version of MySql.Data.dll OR installing an older version of MySQL such as [http://downloads.mysql.com/archives.php?p=mysql-5.1&v=5.1.52 MySQL 5.1.52] with Opensim version 0.7.0.2. &nbsp;
+
::* '''Opensim 0.7.0.2:''' &nbsp;Some users have reported problems with MySQL 5.1.55 and up with Opensim 0.7.0.2, see [http://opensim-users.2152040.n2.nabble.com/OpenSim-1-7-0-2-and-MySQL-Versions-td6155064.html this thread] for more information. The issue can be resolved by using an updated version of MySql.Data.dll OR installing an older version of MySQL such as [http://downloads.mysql.com/archives.php?p=mysql-5.1&v=5.1.52 MySQL 5.1.52] with Opensim version 0.7.0.2. &nbsp;
  
*'''MSSQL''' (fairly supported) - persistence support for some recent OpenSim features may not yet be implemented though the vast majority of them are supported.
+
* '''MSSQL''' (fairly supported) - persistence support for some recent OpenSim features may not yet be implemented though the vast majority of them are supported.
  
==Standalone vs. Grid==
+
== Standalone vs. Grid ==
We recommend that you first get OpenSim running in standalone mode before you attempt to connect it to a grid or run your own grid. OpenSim will start up in standalone mode out-of-the-box on the binary distributions.
+
We recommend that you first get OpenSim running in standalone mode before you attempt to connect it to a grid or run your own grid. OpenSim will start up in standalone mode out-of-the-box on the binary distributions.
  
 
An OpenSim configuration consists of regions (run by region simulators) and backend data services (such as user, assets and inventory management).
 
An OpenSim configuration consists of regions (run by region simulators) and backend data services (such as user, assets and inventory management).
  
A system running in '''standalone mode''' runs both the region simulator and all the data services in a single process when you run OpenSim.exe. In this mode you can run as many regions as you like but only on a single machine.
+
A system running in '''standalone mode''' runs both the region simulator and all the data services in a single process when you run OpenSim.exe. In this mode you can run as many regions as you like but only on a single machine.
  
[[image:Opensim-standalone.png|frame|center|OpenSim running in standalone mode. Both simulator and services run in the same process (OpenSim.exe).]]
+
[[Image:Opensim-standalone.png|frame|center|OpenSim running in standalone mode. Both simulator and services run in the same process (OpenSim.exe).]]
  
In '''grid mode''', the data services are not part of the region server process. Instead, they are run in a separate executable called Robust.exe. A Robust shell can run all the services or they can be split amongst any number of Robust instances. This allows them to be run on entirely separate machines if necessary. In this mode, the OpenSim.exe acts solely as the region server, serving one or more regions that communicate with the separate data services. At this point you can run multiple OpenSim.exe region simulators on different machines.
+
In '''grid mode''', the data services are not part of the region server process. Instead, they are run in a separate executable called Robust.exe. A Robust shell can run all the services or they can be split amongst any number of Robust instances. This allows them to be run on entirely separate machines if necessary. In this mode, the OpenSim.exe acts solely as the region server, serving one or more regions that communicate with the separate data services. At this point you can run multiple OpenSim.exe region simulators on different machines.
  
[[image:Opensim-grid-simple.png|frame|center|OpenSim running in grid mode. In this case, all the services are being run within a Robust.exe process. Multiple copies of OpenSim.exe (usually running on different machines) all use the same set of common services.]]
+
[[Image:Opensim-grid-simple.png|frame|center|OpenSim running in grid mode. In this case, all the services are being run within a Robust.exe process. Multiple copies of OpenSim.exe (usually running on different machines) all use the same set of common services.]]
  
Running in grid mode is more complicated than running in standalone mode. It requires an understanding of UUID, X,Y location, server handshake passwords, estates and estate owners, and a couple of other settings. These require more care and patience to set up. We strongly recommend that you don't attempt this unless you are extremely patient and very technically proficient.
+
Running in grid mode is more complicated than running in standalone mode. It requires an understanding of UUID, X,Y location, server handshake passwords, estates and estate owners, and a couple of other settings. These require more care and patience to set up. We strongly recommend that you don't attempt this unless you are extremely patient and very technically proficient.
  
 
= Running OpenSim in Standalone mode =
 
= Running OpenSim in Standalone mode =
Line 42: Line 42:
  
 
# Change into the '''''bin''''' folder
 
# Change into the '''''bin''''' folder
# Copy the file '''''OpenSim.ini.example''''' to '''''OpenSim.ini'''''. This configures the 3D simulator itself.
+
# Copy the file '''''OpenSim.ini.example''''' to '''''OpenSim.ini'''''. This configures the 3D simulator itself.
 
# Change into the '''''bin/config-include''''' folder
 
# Change into the '''''bin/config-include''''' folder
 
# Copy the file '''''StandaloneCommon.ini.example''''' to '''''StandaloneCommon.ini'''''. This configures the in-process data services used by the standalone configuration.
 
# Copy the file '''''StandaloneCommon.ini.example''''' to '''''StandaloneCommon.ini'''''. This configures the in-process data services used by the standalone configuration.
Line 62: Line 62:
 
== Running OpenSim for the first time ==
 
== Running OpenSim for the first time ==
  
If you're running OpenSim for the first time, it will ask you several questions at the console that will set up a single region for you. The configuration options you enter will be written to the bin/Regions/Regions.ini file, which you can then edit at a later date if you need to make changes.
+
If you're running OpenSim for the first time, it will ask you several questions at the console that will set up a single region for you. The configuration options you enter will be written to the bin/Regions/Regions.ini file, which you can then edit at a later date if you need to make changes.
  
Many of the questions have defaults. Here are some explanations of the questions asked:
+
Many of the questions have defaults. Here are some explanations of the questions asked:
  
 
* '''New region name'''
 
* '''New region name'''
::The name for your region. Don't leave this blank!
+
::The name for your region. Don't leave this blank!
 
* '''Region UUID'''
 
* '''Region UUID'''
::The unique ID of your region. In pretty much all cases you will want to accept the randomly generated default in the square brackets. The only time when you wouldn't is if you were trying to set up a configuration to point to pre-existing region data. But in this case you are probably better off editing the Regions.ini file directly anyway
+
::The unique ID of your region. In pretty much all cases you will want to accept the randomly generated default in the square brackets. The only time when you wouldn't is if you were trying to set up a configuration to point to pre-existing region data. But in this case you are probably better off editing the Regions.ini file directly anyway
 
* '''Region Location'''
 
* '''Region Location'''
::This is the location of the region on the grid. In standalone mode you can safely leave these as the default (1000,1000). If you were to set up additional regions later on in Regions.ini then they would need different grid co-ordinates (e.g. 1000,1001). OpenSim regions can be placed anywhere on a 65536 by 65536 grid, but [[Hypergrid]] enabled regions may need special consideration for region location. See [[Installing_and_Running_Hypergrid#The_4096_Regions_Limit]] for more information.
+
::This is the location of the region on the grid. In standalone mode you can safely leave these as the default (1000,1000). If you were to set up additional regions later on in Regions.ini then they would need different grid co-ordinates (e.g. 1000,1001). OpenSim regions can be placed anywhere on a 65536 by 65536 grid, but [[Hypergrid]] enabled regions may need special consideration for region location. See [[Installing and Running Hypergrid#The 4096 Regions Limit]] for more information.
 
* '''Internal IP address'''
 
* '''Internal IP address'''
::In virtually all cases this can be left as 0.0.0.0 (this is a wildcard that allows OpenSim to listen for UDP connections on any of the server's network interfaces). If you want to restrict UDP connections to only one network interface then you can specify an explicit IP address. This address is only used internally - the '''External host name''' is the one that is actually passed to the viewer (and hence is the important one).
+
::In virtually all cases this can be left as 0.0.0.0 (this is a wildcard that allows OpenSim to listen for UDP connections on any of the server's network interfaces). If you want to restrict UDP connections to only one network interface then you can specify an explicit IP address. This address is only used internally - the '''External host name''' is the one that is actually passed to the viewer (and hence is the important one).
 
* '''Internal port'''
 
* '''Internal port'''
::This is the IP port for all incoming client connections. The name is a bit misleading since it will be used externally (by a Second Life viewer, for instance) as well as internally. You can make this any port you want, but it is safe to leave at the default 9000. Each region on your server must have a unique port.
+
::This is the IP port for all incoming client connections. The name is a bit misleading since it will be used externally (by a Second Life viewer, for instance) as well as internally. You can make this any port you want, but it is safe to leave at the default 9000. Each region on your server must have a unique port.
 
* '''Allow alternate ports'''
 
* '''Allow alternate ports'''
::This is currently experimental. Please leave it at the default of False.
+
::This is currently experimental. Please leave it at the default of False.
 
* '''External host name'''
 
* '''External host name'''
::If you leave this at the default 'SYSTEMIP' then this will become the LAN network address of the machine (e.g. 192.168.1.2). This is fine if you are connecting only from within your LAN. If you want to connect to it from a client on the internet, this should be the External IP Address of your router. Fully Qualified Domain Names (FQDNs) can also be used though they will be converted to a numeric IP address before being sent to the viewer.
+
::If you leave this at the default 'SYSTEMIP' then this will become the LAN network address of the machine (e.g. 192.168.1.2). This is fine if you are connecting only from within your LAN. If you want to connect to it from a client on the internet, this should be the External IP Address of your router. Fully Qualified Domain Names (FQDNs) can also be used though they will be converted to a numeric IP address before being sent to the viewer.
  
 
The following details are also asked in OpenSim 0.6.9 and earlier.
 
The following details are also asked in OpenSim 0.6.9 and earlier.
  
 
* '''Master Avatar UUID'''
 
* '''Master Avatar UUID'''
::This is a legacy OpenSim feature and can be left at the default of 00000000-0000-0000-0000-000000000000. Later on, you may want to change this to your own avatar's UUID in Regions.ini if you have problems editing terrain.
+
::This is a legacy OpenSim feature and can be left at the default of 00000000-0000-0000-0000-000000000000. Later on, you may want to change this to your own avatar's UUID in Regions.ini if you have problems editing terrain.
 
* '''Master Avatar first name'''
 
* '''Master Avatar first name'''
::This is an alternative way of specifying the master avatar by avatar name rather than UUID. If you press enter here then both this field and the last name field will be left blank. Accepting the blank default is fine - this can always be changed later in Regions.ini file.
+
::This is an alternative way of specifying the master avatar by avatar name rather than UUID. If you press enter here then both this field and the last name field will be left blank. Accepting the blank default is fine - this can always be changed later in Regions.ini file.
 
* '''Master Avatar last name'''
 
* '''Master Avatar last name'''
 
::The last name of the master avatar.
 
::The last name of the master avatar.
Line 92: Line 92:
 
::The password of the master avatar.
 
::The password of the master avatar.
  
In OpenSim 0.7 and later, OpenSim will ask you to assign each region to an estate during the setup process. If an estate needs to be created then it will also ask you to assign an estate manager. In standalone mode, an estate manager can also be created during the setup process.
+
In OpenSim 0.7 and later, OpenSim will ask you to assign each region to an estate during the setup process. If an estate needs to be created then it will also ask you to assign an estate manager. In standalone mode, an estate manager can also be created during the setup process.
  
Don't forget the account details you use to set up the master avatar (in 0.6.9) or the estate manager (in 0.7 and later). Only this user will initially be able to configure the in-world settings for your region. This is also a user account that you can use to perform your initial login test.
+
Don't forget the account details you use to set up the master avatar (in 0.6.9) or the estate manager (in 0.7 and later). Only this user will initially be able to configure the in-world settings for your region. This is also a user account that you can use to perform your initial login test.
  
 
See [[Configuring Regions]] for more information about the Regions.ini file that these questions generate.
 
See [[Configuring Regions]] for more information about the Regions.ini file that these questions generate.
Line 119: Line 119:
 
Then enter the user name and password you set up in the previous step and your new user should login.
 
Then enter the user name and password you set up in the previous step and your new user should login.
  
Be aware of [http://osgrid.org/forums/viewtopic.php?f=5&t=400&start=0&st=0&sk=t&sd=a loopback] problems when Running viewer &amp; server(s) on the same machine (LAN) by using the "external" configuration. (<u>'''You might notice endless waiting for region handshake'''</u>.) See also [[Troubleshooting|troubleshoot hints]]. If you're having Connectivity problems, [[Network_Settings|be sure to read the Network Configuration Page]]. This is important if you see Region handshake issues
+
Be aware of [http://osgrid.org/forums/viewtopic.php?f=5&t=400&start=0&st=0&sk=t&sd=a loopback] problems when Running viewer &amp; server(s) on the same machine (LAN) by using the "external" configuration. (<u>'''You might notice endless waiting for region handshake'''</u>.) See also [[Troubleshooting|troubleshoot hints]]. If you're having Connectivity problems, [[Network Settings|be sure to read the Network Configuration Page]]. This is important if you see Region handshake issues
  
 
= Running OpenSim in Grid mode =
 
= Running OpenSim in Grid mode =
Line 125: Line 125:
 
| style="background:LavenderBlush; color:black" |
 
| style="background:LavenderBlush; color:black" |
 
[[Image:Exclamation.png|left]]
 
[[Image:Exclamation.png|left]]
NOTE: 0.7 is the first OpenSim release that fully migrates all services to the ROBUST server shell.  OpenSim.Grid.UserServer.exe and MessageServer.exe from OpenSim 0.6.9 are no longer necessary.  Please see the [[0.7_Release|0.7 release notes]] for more details.  For details on how to set up grid services in OpenSim 0.6.9 and earlier please see [[OpenSim 0.6.9 Grid Mode Configuration]]
+
NOTE: 0.7 is the first OpenSim release that fully migrates all services to the ROBUST server shell.  OpenSim.Grid.UserServer.exe and MessageServer.exe from OpenSim 0.6.9 are no longer necessary.  Please see the [[0.7 Release|0.7 release notes]] for more details.  For details on how to set up grid services in OpenSim 0.6.9 and earlier please see [[OpenSim 0.6.9 Grid Mode Configuration]]
 
|}
 
|}
  
Running OpenSim in grid mode is considerably more complicated than running a standalone instance. Instead of running everything in the same process, backend data services (asset, inventory, etc.) run in one or more separate processes, often on a different machine. This allows multiple OpenSim.exe simulator instances to use the same asset and inventory data.
+
Running OpenSim in grid mode is considerably more complicated than running a standalone instance. Instead of running everything in the same process, backend data services (asset, inventory, etc.) run in one or more separate processes, often on a different machine. This allows multiple OpenSim.exe simulator instances to use the same asset and inventory data.
  
 
== Step 1: Set up a ROBUST services instance ==
 
== Step 1: Set up a ROBUST services instance ==
  
1. In the bin directory, copy Robust.ini.example to Robust.ini. The example file is configured to run all the services in a single ROBUST instance.
+
1. In the bin directory, copy Robust.ini.example to Robust.ini. The example file is configured to run all the services in a single ROBUST instance.
  
2. Configure the [DatabaseService] section of Robust.ini to use your MySQL database. Only MySQL is supported for running grid services.
+
2. Configure the [DatabaseService] section of Robust.ini to use your MySQL database. Only MySQL is supported for running grid services.
  
3. Start up Robust.exe.
+
3. Start up Robust.exe.  
  
 
  mono Robust.exe (Linux, BSD, Mac OS X)
 
  mono Robust.exe (Linux, BSD, Mac OS X)
Line 146: Line 146:
 
If you don't see any errors (in red) on the console then you can move on to the next step.
 
If you don't see any errors (in red) on the console then you can move on to the next step.
  
4. Every region must belong to an estate, and every estate must have an owner which is a valid user account in OpenSim's user account service. Create a user on the ROBUST command console with the following command.
+
4. Every region must belong to an estate, and every estate must have an owner which is a valid user account in OpenSim's user account service. Create a user on the ROBUST command console with the following command.
  
 
  create user
 
  create user
  
This will ask you for the user's name, password and an optional e-mail. Remember this name since you will need it when you start up the simulator for the first time.
+
This will ask you for the user's name, password and an optional e-mail. Remember this name since you will need it when you start up the simulator for the first time.
  
== Step 2: Configure an OpenSim.exe to use the ROBUST services ==
+
== Step 2: Configure an OpenSim.exe to use the ROBUST services ==
  
 
In grid mode, as in standalone mode, you need to configure OpenSim.ini which controls the 3D simulator itself.
 
In grid mode, as in standalone mode, you need to configure OpenSim.ini which controls the 3D simulator itself.
Line 160: Line 160:
 
The steps for both these operations are as follows.
 
The steps for both these operations are as follows.
  
1. Copy bin/OpenSim.ini.example to OpenSim.ini
+
1. Copy bin/OpenSim.ini.example to OpenSim.ini
  
2. Find the [Architecture] section at the very bottom of OpenSim.ini. Make sure that one of the following lines is uncommented:
+
2. Find the [Architecture] section at the very bottom of OpenSim.ini. Make sure that one of the following lines is uncommented:
  
 
  Include-Architecture = "config-include/Grid.ini" (in OpenSim 0.7.1 and later)
 
  Include-Architecture = "config-include/Grid.ini" (in OpenSim 0.7.1 and later)
Line 172: Line 172:
 
The others should remain commented.
 
The others should remain commented.
  
3. Go to bin/config-include and copy GridCommon.ini.example to GridCommon.ini.
+
3. Go to bin/config-include and copy GridCommon.ini.example to GridCommon.ini.
  
4. Open GridCommon.ini in a text editor. You will see lots of URL entries, each of which have dummy defaults of http://myassetserver.com:8003, http://myinventoryserver.com:8003, etc. You will need to change each of these to point towards the address of your ROBUST instance. For instance, if you're running ROBUST on a machine with a local IP address of 192.168.1.2, you will need to change AssetServerURI to the setting
+
4. Open GridCommon.ini in a text editor. You will see lots of URL entries, each of which have dummy defaults of http://myassetserver.com:8003, http://myinventoryserver.com:8003, etc. You will need to change each of these to point towards the address of your ROBUST instance. For instance, if you're running ROBUST on a machine with a local IP address of 192.168.1.2, you will need to change AssetServerURI to the setting
  
 
  AssetServerURI = "http://192.168.1.2:8003"
 
  AssetServerURI = "http://192.168.1.2:8003"
  
5. Run OpenSim.exe. If you're running OpenSim.exe for the first time you will get the same questions about setting up the region that occur on a first-run in standalone mode. Please see the standalone section for instructions on how to answer these, or read more information about the Regions.ini file on the [[Configuring Regions]] page.
+
5. Run OpenSim.exe. If you're running OpenSim.exe for the first time you will get the same questions about setting up the region that occur on a first-run in standalone mode. Please see the standalone section for instructions on how to answer these, or read more information about the Regions.ini file on the [[Configuring Regions]] page.
  
If everything is set up correctly, when starting up OpenSim.exe you shouldn't see any errors. You should also see the ROBUST console display log lines saying that the region has registered with the grid service. For example,
+
If everything is set up correctly, when starting up OpenSim.exe you shouldn't see any errors. You should also see the ROBUST console display log lines saying that the region has registered with the grid service. For example,
  
 
  21:43:45 - [GRID SERVICE]: Region t1 (176cc95e-f693-4b02-8e08-af86e2372faa) registered successfully at 256000-256000
 
  21:43:45 - [GRID SERVICE]: Region t1 (176cc95e-f693-4b02-8e08-af86e2372faa) registered successfully at 256000-256000
 
  21:43:47 - [GRID SERVICE]: region t1 has 0 neighbours
 
  21:43:47 - [GRID SERVICE]: region t1 has 0 neighbours
  
6. Login with a client. Your client startup line will look something like
+
6. Login with a client. Your client startup line will look something like
  
 
  -loginuri http://192.168.1.2:8002
 
  -loginuri http://192.168.1.2:8002
  
The loginuri needs to be the address to the login service. In standalone mode, this was the same address as the region simulator and the port was 9000 by default. However, in grid mode it will be the address to login service hosted on the ROBUST instance. In this case, the address will be 192.168.1.2. The port number of 8002 is the traditional one for the grid login service and is the default in Robust.ini.example.
+
The loginuri needs to be the address to the login service. In standalone mode, this was the same address as the region simulator and the port was 9000 by default. However, in grid mode it will be the address to login service hosted on the ROBUST instance. In this case, the address will be 192.168.1.2. The port number of 8002 is the traditional one for the grid login service and is the default in Robust.ini.example.
  
7. If the login is successful, you will see log lines on the ROBUST console (for the login itself) and then log lines on the region simulator console (as the login process tells the simulator to expect the avatar, tells the viewer the address of the region simulator and then when the viewer starts talking to the simulator directly).
+
7. If the login is successful, you will see log lines on the ROBUST console (for the login itself) and then log lines on the region simulator console (as the login process tells the simulator to expect the avatar, tells the viewer the address of the region simulator and then when the viewer starts talking to the simulator directly).
  
==Attaching your sim to someone else's grid==
+
== Attaching your sim to someone else's grid ==
  
To set up the region server (i.e., <tt>OpenSim.exe</tt>) to connect to an external grid, follow the [[Configuration#Step_2:_Configure_an_OpenSim.exe_to_use_the_ROBUST_services]] instructions above.
+
To set up the region server (i.e., <tt>OpenSim.exe</tt>) to connect to an external grid, follow the [[Configuration#Step 2: Configure an OpenSim.exe to use the ROBUST services]] instructions above.
  
The grid will have already provided with the required services. In step 2 you will need to use the provided URLs for their services.
+
The grid will have already provided with the required services. In step 2 you will need to use the provided URLs for their services.
  
In your bin/Regions.ini file (or other region config file) you will also need to set the grid co-ordinates to your regions provided from the grid operator. See [[Configuring Regions]] for more information.
+
In your bin/Regions.ini file (or other region config file) you will also need to set the grid co-ordinates to your regions provided from the grid operator. See [[Configuring Regions]] for more information.
  
=Running an OpenSim standalone or grid installation with Hypergrid enabled=
+
= Running an OpenSim standalone or grid installation with Hypergrid enabled =
[[Hypergrid]] is an emerging architecture supported by OpenSimulator that allows a user with an account on one standalone or grid to visit other Hypergrid-enabled standalones or grids, and for users from those grids to visit the home grid. This does not require the two installations to share a central set of data services (assets, inventory, etc.). Please see [[Installing and Running Hypergrid]] for more details.
+
[[Hypergrid]] is an emerging architecture supported by OpenSimulator that allows a user with an account on one standalone or grid to visit other Hypergrid-enabled standalones or grids, and for users from those grids to visit the home grid. This does not require the two installations to share a central set of data services (assets, inventory, etc.). Please see [[Installing and Running Hypergrid]] for more details.
  
=Further notes=
+
= Further notes =
  
==Troubleshooting==
+
== Troubleshooting ==
  
 
See [[Troubleshooting]]  
 
See [[Troubleshooting]]  
  
==Running OpenSim 0.6.7 and onwards in 64 bit Windows==
+
== Running OpenSim 0.6.7 and onwards in 64 bit Windows ==
 
[[Image:Exclamation.png|left]]
 
[[Image:Exclamation.png|left]]
As of OpenSim 0.6.7, the default physics engine for OpenSim was changed to the ODE engine. This is because ODE is by far the most advanced physics engine plugin currently in OpenSim. Unfortunately, it has the drawback in that its library is not compilable under 64-bit in Windows.
+
As of OpenSim 0.6.7, the default physics engine for OpenSim was changed to the ODE engine. This is because ODE is by far the most advanced physics engine plugin currently in OpenSim. Unfortunately, it has the drawback in that its library is not compilable under 64-bit in Windows.  
  
 
Therefore, in order to launch the region simulator, 64-bit Windows users may need to run:  
 
Therefore, in order to launch the region simulator, 64-bit Windows users may need to run:  
Line 224: Line 224:
 
An alternative is to use the basicphysics engine instead or one of the other alternative physics engines bundled with OpenSim, though all these are far less functional than the ODE plugin.
 
An alternative is to use the basicphysics engine instead or one of the other alternative physics engines bundled with OpenSim, though all these are far less functional than the ODE plugin.
  
==Note About Mono==
+
== Note About Mono ==
  
''This only applies for Mono before 2.6. More recent versions of Mono have better thread handling. For more information, see [http://www.mono-project.com/ThreadPool_DeadLocks ThreadPool_Deadlocks at the mono-project website].''
+
''This only applies for Mono before 2.6. More recent versions of Mono have better thread handling. For more information, see [http://www.mono-project.com/ThreadPool_DeadLocks ThreadPool_Deadlocks at the mono-project website].''
  
 
If you're using mono, you should increase the value of the mono environment variable MONO_THREADS_PER_CPU from its default of 5 to some number that works for your sim. The exact number depends on many factors including: the number of CPUs in your machine, what else you use that machine for, how many regions you have in your sim, how many of them are adjacent, how many scripts you have, and how many avatars you expect to serve at the same time. As a reference, Wright Plaza in OSGrid, which is running as a single region on a sim and routinely hosts meetings with 20 avatars, uses the value 125.  
 
If you're using mono, you should increase the value of the mono environment variable MONO_THREADS_PER_CPU from its default of 5 to some number that works for your sim. The exact number depends on many factors including: the number of CPUs in your machine, what else you use that machine for, how many regions you have in your sim, how many of them are adjacent, how many scripts you have, and how many avatars you expect to serve at the same time. As a reference, Wright Plaza in OSGrid, which is running as a single region on a sim and routinely hosts meetings with 20 avatars, uses the value 125.  
Line 234: Line 234:
 
For example: $ export MONO_THREADS_PER_CPU=125
 
For example: $ export MONO_THREADS_PER_CPU=125
  
==Increasing the stack reserve level when using OpenDynamicsEngine on *nix==
+
== Increasing the stack reserve level when using OpenDynamicsEngine on *nix ==
  
 
If you have problems using the OpenDynamicsEngine on *nix, try setting your stack reserve level higher than the default with the following command;
 
If you have problems using the OpenDynamicsEngine on *nix, try setting your stack reserve level higher than the default with the following command;
Line 250: Line 250:
 
== Additional Optional Configuration Tasks ==
 
== Additional Optional Configuration Tasks ==
  
===Further configure OpenSim===
+
=== Further configure OpenSim ===
If you've looked through OpenSim.ini.example or any other of the config files, you'll see that there's a very large number of configurable parameters. See [[Configuring Simulator Parameters]] for more details.
+
If you've looked through OpenSim.ini.example or any other of the config files, you'll see that there's a very large number of configurable parameters. See [[Configuring Simulator Parameters]] for more details.
  
===Set up a second region to run on the same simulator===
+
=== Set up a second region to run on the same simulator ===
 
See [[Configuring Regions]].
 
See [[Configuring Regions]].
  
 
=== Run Multiple Standalone Instances of OpenSim on the Same Server ===
 
=== Run Multiple Standalone Instances of OpenSim on the Same Server ===
For each subsequent instance of OpenSim, change the 'http_listener_port' in OpenSim.ini to the value excluding 9000, and 'InternalPort' in Regions.ini to the value excluding 9000. Also, make sure your regions are using different ports, as explained in [[Configuring Regions]].
+
For each subsequent instance of OpenSim, change the 'http_listener_port' in OpenSim.ini to the value excluding 9000, and 'InternalPort' in Regions.ini to the value excluding 9000. Also, make sure your regions are using different ports, as explained in [[Configuring Regions]].
  
 
=== Load region content ===
 
=== Load region content ===
You can load content onto regions by using the [[OpenSim Archives|load oar command]]. To load individual OAR files into each region, use the 'change region [regionname]' command and then 'load oar [oar-location]'.
+
You can load content onto regions by using the [[OpenSim Archives|load oar command]]. To load individual OAR files into each region, use the 'change region [regionname]' command and then 'load oar [oar-location]'.
  
===OpenSim.exe command line options===
+
=== OpenSim.exe command line options ===
OpenSim.exe has command line options which allow you to perform actions such as reading configuration files from a different directory. See [[OpenSim.exe Command Line Options]] for more details.
+
OpenSim.exe has command line options which allow you to perform actions such as reading configuration files from a different directory. See [[OpenSim.exe Command Line Options]] for more details.
  
===Script engine===
+
=== Script engine ===
OpenSim supports multiple script engines. See [[ScriptEngines]] for details. If you don't know what this means then the default script engine will be fine. In fact, recent versions of OpenSim only ship with one script engine, the XEngine.
+
OpenSim supports multiple script engines. See [[ScriptEngines]] for details. If you don't know what this means then the default script engine will be fine. In fact, recent versions of OpenSim only ship with one script engine, the XEngine.
  
===Permissions Configuration===
+
=== Permissions Configuration ===
OpenSim has a quite elaborate set of permissions. See [[Permissions (Server)]] for details. By default, permissions are active on region simulators.
+
OpenSim has a quite elaborate set of permissions. See [[Permissions (Server)]] for details. By default, permissions are active on region simulators.
  
 
=== Logging ===
 
=== Logging ===
By default, OpenSim logs information to a file called OpenSim.log in the bin directory. See [[Logging]] for details on how to further configure this if required.
+
By default, OpenSim logs information to a file called OpenSim.log in the bin directory. See [[Logging]] for details on how to further configure this if required.
  
 
=== Configuration of region modules ===
 
=== Configuration of region modules ===
 
* [[IRCBridgeModule]]
 
* [[IRCBridgeModule]]
* [[Freeswitch_Module]]
+
* [[Freeswitch Module]]
 
* [[Offline Messaging]]
 
* [[Offline Messaging]]
 
* [[Profile]]
 
* [[Profile]]
 
* [[Enabling Groups]]
 
* [[Enabling Groups]]
  
=== Configuration of Web Server and Pages===
+
=== Configuration of Web Server and Pages ===
OpenSim contains a web server that can serve up a variety of pages. Some which come from external files and some are generated internally.
+
OpenSim contains a web server that can serve up a variety of pages. Some which come from external files and some are generated internally.
 
* [[External Files]]
 
* [[External Files]]
 
* [[Internally Generated]]
 
* [[Internally Generated]]
Line 288: Line 288:
 
= Where to go from here =
 
= Where to go from here =
  
*[[Upgrading]] to mySQL from SQLite.
+
* [[Upgrading]] to mySQL from SQLite.
  
*[[Server Commands]] for creating users and controlling the system.
+
* [[Server Commands]] for creating users and controlling the system.
  
*Fix the bent knees bug: [[FAQ#Why_are_my_knees_bent_when_I_stand_idle.3F]]
+
* Fix the bent knees bug: [[FAQ#Why are my knees bent when I stand idle.3F]]
  
  
=References=
+
= References =
  
 
* [http://dist.opensimulator.org/wiki/opensim-standalone.odg OpenOffice draw file for OpenSim standalone diagram]
 
* [http://dist.opensimulator.org/wiki/opensim-standalone.odg OpenOffice draw file for OpenSim standalone diagram]

Revision as of 18:53, 3 March 2012


Contents

OpenSim simulator configuration file

The region simulator configuration is managed using a file called OpenSim.ini. This file is used regardless of whether the sim is running in standalone or grid mode. This file references some additional configuration information from the config-include/ directory. Information about the various settings is contained in the OpenSim.ini file itself (or OpenSim.ini.example for reference).

Please note, that the name OpenSim.ini can be changed via command line arguments.

It is also possible to distribute the inifile settings over two files. This is useful if you want to run several OpenSim processes where most of your settings are identical except for a few. The master file is read first, then the inifile is read. Settings given in the inifile overrule settings given in the master file. The master file has the same format and the same keywords as the inifile, so the same documentation applies.

Database

Opensim supports the following database-engines. Information about setting these up can be found in the OpenSim.ini.example file and the other various example files in bin/config-include. See Database Settings to know the detailed settings for each database.

  • SQLite (default) - a lightweight database that comes bundled with OpenSim and can be used without requiring any extra configuration. It is mostly intended to get you up and running quickly, not for production use. It is significantly slower than MySQL. A few features here (such as attachment persistence) have not yet been fully implemented.
  • MySQL (fully supported) - This is the recommended database for any use beyond experimentation or small standalone applications. The minimum MySQL version is 5.1.
  • Windows x64 systems:  There is currently an unresolved bug_id=5294 found when running OpenSim with MySQL 5.5 on Windows x64 systems.
  • Opensim 0.7.0.2:  Some users have reported problems with MySQL 5.1.55 and up with Opensim 0.7.0.2, see this thread for more information. The issue can be resolved by using an updated version of MySql.Data.dll OR installing an older version of MySQL such as MySQL 5.1.52 with Opensim version 0.7.0.2.  
  • MSSQL (fairly supported) - persistence support for some recent OpenSim features may not yet be implemented though the vast majority of them are supported.

Standalone vs. Grid

We recommend that you first get OpenSim running in standalone mode before you attempt to connect it to a grid or run your own grid. OpenSim will start up in standalone mode out-of-the-box on the binary distributions.

An OpenSim configuration consists of regions (run by region simulators) and backend data services (such as user, assets and inventory management).

A system running in standalone mode runs both the region simulator and all the data services in a single process when you run OpenSim.exe. In this mode you can run as many regions as you like but only on a single machine.

OpenSim running in standalone mode. Both simulator and services run in the same process (OpenSim.exe).

In grid mode, the data services are not part of the region server process. Instead, they are run in a separate executable called Robust.exe. A Robust shell can run all the services or they can be split amongst any number of Robust instances. This allows them to be run on entirely separate machines if necessary. In this mode, the OpenSim.exe acts solely as the region server, serving one or more regions that communicate with the separate data services. At this point you can run multiple OpenSim.exe region simulators on different machines.

OpenSim running in grid mode. In this case, all the services are being run within a Robust.exe process. Multiple copies of OpenSim.exe (usually running on different machines) all use the same set of common services.

Running in grid mode is more complicated than running in standalone mode. It requires an understanding of UUID, X,Y location, server handshake passwords, estates and estate owners, and a couple of other settings. These require more care and patience to set up. We strongly recommend that you don't attempt this unless you are extremely patient and very technically proficient.

Running OpenSim in Standalone mode

Binary distributions of OpenSim are by default configured to run in standalone mode.

However, if you build OpenSim from the source distribution or from the git repository then you will need to:

  1. Change into the bin folder
  2. Copy the file OpenSim.ini.example to OpenSim.ini. This configures the 3D simulator itself.
  3. Change into the bin/config-include folder
  4. Copy the file StandaloneCommon.ini.example to StandaloneCommon.ini. This configures the in-process data services used by the standalone configuration.
  5. In the [Architecture] section of OpenSim.ini, near the bottom of the file, uncomment the Standalone.ini line. To uncomment a line of code, remove the semi-colon (;) comment symbol preceding the line so that it says:
Include-Architecture = "config-include/Standalone.ini"


Running OpenSim is then a matter of launching OpenSim.exe. However, you need to have installed all dependencies before that. See Dependencies for details. After that, open a command prompt (for Windows users, Start menu > Run > cmd) and navigate to the Opensim /bin directory.

On a Windows 32-bit command prompt:

OpenSim.exe

Under Windows 64-bit, ODE cannot yet be compiled for 64 bit mode, so if using the default ODE physics plugin run:

OpenSim.32BitLaunch.exe

On Linux run:

mono OpenSim.exe

This can be done under both 32 and 64 bit modes with the ODE physics engine.

Running OpenSim for the first time

If you're running OpenSim for the first time, it will ask you several questions at the console that will set up a single region for you. The configuration options you enter will be written to the bin/Regions/Regions.ini file, which you can then edit at a later date if you need to make changes.

Many of the questions have defaults. Here are some explanations of the questions asked:

  • New region name
The name for your region. Don't leave this blank!
  • Region UUID
The unique ID of your region. In pretty much all cases you will want to accept the randomly generated default in the square brackets. The only time when you wouldn't is if you were trying to set up a configuration to point to pre-existing region data. But in this case you are probably better off editing the Regions.ini file directly anyway
  • Region Location
This is the location of the region on the grid. In standalone mode you can safely leave these as the default (1000,1000). If you were to set up additional regions later on in Regions.ini then they would need different grid co-ordinates (e.g. 1000,1001). OpenSim regions can be placed anywhere on a 65536 by 65536 grid, but Hypergrid enabled regions may need special consideration for region location. See Installing and Running Hypergrid#The 4096 Regions Limit for more information.
  • Internal IP address
In virtually all cases this can be left as 0.0.0.0 (this is a wildcard that allows OpenSim to listen for UDP connections on any of the server's network interfaces). If you want to restrict UDP connections to only one network interface then you can specify an explicit IP address. This address is only used internally - the External host name is the one that is actually passed to the viewer (and hence is the important one).
  • Internal port
This is the IP port for all incoming client connections. The name is a bit misleading since it will be used externally (by a Second Life viewer, for instance) as well as internally. You can make this any port you want, but it is safe to leave at the default 9000. Each region on your server must have a unique port.
  • Allow alternate ports
This is currently experimental. Please leave it at the default of False.
  • External host name
If you leave this at the default 'SYSTEMIP' then this will become the LAN network address of the machine (e.g. 192.168.1.2). This is fine if you are connecting only from within your LAN. If you want to connect to it from a client on the internet, this should be the External IP Address of your router. Fully Qualified Domain Names (FQDNs) can also be used though they will be converted to a numeric IP address before being sent to the viewer.

The following details are also asked in OpenSim 0.6.9 and earlier.

  • Master Avatar UUID
This is a legacy OpenSim feature and can be left at the default of 00000000-0000-0000-0000-000000000000. Later on, you may want to change this to your own avatar's UUID in Regions.ini if you have problems editing terrain.
  • Master Avatar first name
This is an alternative way of specifying the master avatar by avatar name rather than UUID. If you press enter here then both this field and the last name field will be left blank. Accepting the blank default is fine - this can always be changed later in Regions.ini file.
  • Master Avatar last name
The last name of the master avatar.
  • Master Avatar sandbox password
The password of the master avatar.

In OpenSim 0.7 and later, OpenSim will ask you to assign each region to an estate during the setup process. If an estate needs to be created then it will also ask you to assign an estate manager. In standalone mode, an estate manager can also be created during the setup process.

Don't forget the account details you use to set up the master avatar (in 0.6.9) or the estate manager (in 0.7 and later). Only this user will initially be able to configure the in-world settings for your region. This is also a user account that you can use to perform your initial login test.

See Configuring Regions for more information about the Regions.ini file that these questions generate.

If you want to create a user other than the estate manager, then in the server console type:

create user

This will ask you a series of questions for creating a user (such as first name, last name and password).

Connecting to OpenSim

To connect to your new sim with your user, start up a Second Life viewer with the following command line switches:

Client on same machine as OpenSim:

-loginuri http://127.0.0.1:9000

Client on same LAN as OpenSim:

-loginuri http://lan_ip:9000

Client on different machine or internet:

-loginuri http://external_ip:9000

Then enter the user name and password you set up in the previous step and your new user should login.

Be aware of loopback problems when Running viewer & server(s) on the same machine (LAN) by using the "external" configuration. (You might notice endless waiting for region handshake.) See also troubleshoot hints. If you're having Connectivity problems, be sure to read the Network Configuration Page. This is important if you see Region handshake issues

Running OpenSim in Grid mode

Exclamation.png

NOTE: 0.7 is the first OpenSim release that fully migrates all services to the ROBUST server shell. OpenSim.Grid.UserServer.exe and MessageServer.exe from OpenSim 0.6.9 are no longer necessary. Please see the 0.7 release notes for more details. For details on how to set up grid services in OpenSim 0.6.9 and earlier please see OpenSim 0.6.9 Grid Mode Configuration

Running OpenSim in grid mode is considerably more complicated than running a standalone instance. Instead of running everything in the same process, backend data services (asset, inventory, etc.) run in one or more separate processes, often on a different machine. This allows multiple OpenSim.exe simulator instances to use the same asset and inventory data.

Step 1: Set up a ROBUST services instance

1. In the bin directory, copy Robust.ini.example to Robust.ini. The example file is configured to run all the services in a single ROBUST instance.

2. Configure the [DatabaseService] section of Robust.ini to use your MySQL database. Only MySQL is supported for running grid services.

3. Start up Robust.exe.

mono Robust.exe (Linux, BSD, Mac OS X)

or

Robust.exe (Windows)

If you don't see any errors (in red) on the console then you can move on to the next step.

4. Every region must belong to an estate, and every estate must have an owner which is a valid user account in OpenSim's user account service. Create a user on the ROBUST command console with the following command.

create user

This will ask you for the user's name, password and an optional e-mail. Remember this name since you will need it when you start up the simulator for the first time.

Step 2: Configure an OpenSim.exe to use the ROBUST services

In grid mode, as in standalone mode, you need to configure OpenSim.ini which controls the 3D simulator itself.

However, instead of using and configuring the file config-include/StandaloneCommon.ini, a simulator connecting to a grid needs to use and configure the config-include/GridCommon.ini file, in order to connect to the ROBUST hosted remote data services rather than in-process local ones.

The steps for both these operations are as follows.

1. Copy bin/OpenSim.ini.example to OpenSim.ini

2. Find the [Architecture] section at the very bottom of OpenSim.ini. Make sure that one of the following lines is uncommented:

Include-Architecture = "config-include/Grid.ini" (in OpenSim 0.7.1 and later)

or

Include-Grid         = "config-include/Grid.ini" (in OpenSim 0.7.0.2 and earlier)

The others should remain commented.

3. Go to bin/config-include and copy GridCommon.ini.example to GridCommon.ini.

4. Open GridCommon.ini in a text editor. You will see lots of URL entries, each of which have dummy defaults of http://myassetserver.com:8003, http://myinventoryserver.com:8003, etc. You will need to change each of these to point towards the address of your ROBUST instance. For instance, if you're running ROBUST on a machine with a local IP address of 192.168.1.2, you will need to change AssetServerURI to the setting

AssetServerURI = "http://192.168.1.2:8003"

5. Run OpenSim.exe. If you're running OpenSim.exe for the first time you will get the same questions about setting up the region that occur on a first-run in standalone mode. Please see the standalone section for instructions on how to answer these, or read more information about the Regions.ini file on the Configuring Regions page.

If everything is set up correctly, when starting up OpenSim.exe you shouldn't see any errors. You should also see the ROBUST console display log lines saying that the region has registered with the grid service. For example,

21:43:45 - [GRID SERVICE]: Region t1 (176cc95e-f693-4b02-8e08-af86e2372faa) registered successfully at 256000-256000
21:43:47 - [GRID SERVICE]: region t1 has 0 neighbours

6. Login with a client. Your client startup line will look something like

-loginuri http://192.168.1.2:8002

The loginuri needs to be the address to the login service. In standalone mode, this was the same address as the region simulator and the port was 9000 by default. However, in grid mode it will be the address to login service hosted on the ROBUST instance. In this case, the address will be 192.168.1.2. The port number of 8002 is the traditional one for the grid login service and is the default in Robust.ini.example.

7. If the login is successful, you will see log lines on the ROBUST console (for the login itself) and then log lines on the region simulator console (as the login process tells the simulator to expect the avatar, tells the viewer the address of the region simulator and then when the viewer starts talking to the simulator directly).

Attaching your sim to someone else's grid

To set up the region server (i.e., OpenSim.exe) to connect to an external grid, follow the Configuration#Step 2: Configure an OpenSim.exe to use the ROBUST services instructions above.

The grid will have already provided with the required services. In step 2 you will need to use the provided URLs for their services.

In your bin/Regions.ini file (or other region config file) you will also need to set the grid co-ordinates to your regions provided from the grid operator. See Configuring Regions for more information.

Running an OpenSim standalone or grid installation with Hypergrid enabled

Hypergrid is an emerging architecture supported by OpenSimulator that allows a user with an account on one standalone or grid to visit other Hypergrid-enabled standalones or grids, and for users from those grids to visit the home grid. This does not require the two installations to share a central set of data services (assets, inventory, etc.). Please see Installing and Running Hypergrid for more details.

Further notes

Troubleshooting

See Troubleshooting

Running OpenSim 0.6.7 and onwards in 64 bit Windows

Exclamation.png

As of OpenSim 0.6.7, the default physics engine for OpenSim was changed to the ODE engine. This is because ODE is by far the most advanced physics engine plugin currently in OpenSim. Unfortunately, it has the drawback in that its library is not compilable under 64-bit in Windows.

Therefore, in order to launch the region simulator, 64-bit Windows users may need to run:

OpenSim.32BitLaunch.exe

instead of:

OpenSim.exe

An alternative is to use the basicphysics engine instead or one of the other alternative physics engines bundled with OpenSim, though all these are far less functional than the ODE plugin.

Note About Mono

This only applies for Mono before 2.6. More recent versions of Mono have better thread handling. For more information, see ThreadPool_Deadlocks at the mono-project website.

If you're using mono, you should increase the value of the mono environment variable MONO_THREADS_PER_CPU from its default of 5 to some number that works for your sim. The exact number depends on many factors including: the number of CPUs in your machine, what else you use that machine for, how many regions you have in your sim, how many of them are adjacent, how many scripts you have, and how many avatars you expect to serve at the same time. As a reference, Wright Plaza in OSGrid, which is running as a single region on a sim and routinely hosts meetings with 20 avatars, uses the value 125.

If this number is too low, the operation of your sim will start to break in all sorts of different ways. A common symptom is the freezing of all activity upon login of a new avatar. Other symptoms are a lot more subtle.

For example: $ export MONO_THREADS_PER_CPU=125

Increasing the stack reserve level when using OpenDynamicsEngine on *nix

If you have problems using the OpenDynamicsEngine on *nix, try setting your stack reserve level higher than the default with the following command; ulimit -s 262144 Or, run the opensim-ode.sh to start up OpenSimulator.

Firewalls

Some operation systems or distributions run their own firewall by default. If you can't access to OpenSimulator from remote client, you'll need to check their settings. See Firewall Settings for details.

Legacy Configuration Information

These are some pages containing some legacy configuration information of unknown accuracy.

OpenSim 0.6.6 legacy configuration information


Additional Optional Configuration Tasks

Further configure OpenSim

If you've looked through OpenSim.ini.example or any other of the config files, you'll see that there's a very large number of configurable parameters. See Configuring Simulator Parameters for more details.

Set up a second region to run on the same simulator

See Configuring Regions.

Run Multiple Standalone Instances of OpenSim on the Same Server

For each subsequent instance of OpenSim, change the 'http_listener_port' in OpenSim.ini to the value excluding 9000, and 'InternalPort' in Regions.ini to the value excluding 9000. Also, make sure your regions are using different ports, as explained in Configuring Regions.

Load region content

You can load content onto regions by using the load oar command. To load individual OAR files into each region, use the 'change region [regionname]' command and then 'load oar [oar-location]'.

OpenSim.exe command line options

OpenSim.exe has command line options which allow you to perform actions such as reading configuration files from a different directory. See OpenSim.exe Command Line Options for more details.

Script engine

OpenSim supports multiple script engines. See ScriptEngines for details. If you don't know what this means then the default script engine will be fine. In fact, recent versions of OpenSim only ship with one script engine, the XEngine.

Permissions Configuration

OpenSim has a quite elaborate set of permissions. See Permissions (Server) for details. By default, permissions are active on region simulators.

Logging

By default, OpenSim logs information to a file called OpenSim.log in the bin directory. See Logging for details on how to further configure this if required.

Configuration of region modules

Configuration of Web Server and Pages

OpenSim contains a web server that can serve up a variety of pages. Some which come from external files and some are generated internally.

Where to go from here


References

Personal tools
General
About This Wiki