[Opensim-dev] Suggestion for ini-files

Klaus-E. Klingner klingner at silverday.de
Tue May 29 09:18:35 UTC 2012


 

Hallo, 

that is exactly how I set up my grid, when switching from
standalone to grid: OpenSim.ini includes the GridHypergrid.ini, this
includes the GridCommon.ini. In these I changed only the most basic
settings (hostname, etc.). The GridCommon.ini includes a MySettings.ini
which holds the settings that apply to every simulator. Last but not
least this includes a SimSettings.ini where I have set specific
Simsettings like Network-port and command prompt. 

OpenSim.ini
 -
GridHypergrid.ini
 - GridCommon.ini
 - MySettings.ini
 - SimSettings.ini


This may sound a bit complicated, but this way I can make changes in
MySettings.ini. Drop it inot each Simulator and do a rolling restart,
without having to change anything individually for each sim. 

Regards,


SilverDay 

On 29.05.2012 08:13, Void Pipe wrote: 

> If you do
modifications to opensim.ini or gridcommon.ini you have to do them again
manually every time the syntax or disposition of those file changes or
every time a new version is out of OpenSim or OSGrid. As it is easy to
make small mistakes that is a quite common source of problems. 
> 
> My
idea is to use two set of files instead. opensim.ini contains the
current standard settings and personal.ini (just as an example) contains
the few lines with my personal changes of the settings in opensim.ini.
The only line needed to set in opensim.ini is the path to the directory
where personal.ini, regions.ini and personal_grid.ini is located. 
> 
>
After opensim.ini is read the personal.ini is read and the few changed
settings are performed. The same way for gridcommon.ini and
personal_grid.ini for the database settings. 
> 
> This makes it much
easier to update the version of the sim. Just rename the old bin and
option directories, unpack the new file and edit that one line with the
path to settings directory. Done! 
> 
> Hopefully that will mean that
more people will keep their sims up to date and that will improve the
general impression of the grids.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20120529/060f8251/attachment-0001.html>


More information about the Opensim-dev mailing list