[Opensim-dev] Question/Suggestion regarding *.ini files
Adams, Robert
robert.adams at intel.com
Tue Oct 4 20:07:04 UTC 2011
If you want to create your own organization of ini files, OpenSimulator provides several mechanisms:
OpenSimDefaults.ini is always read on startup
OpenSim.ini is read after
Ini files that exist in the bin/config/ directory are read
There is an include mechanism (checkout out then architecture section of the stock OpenSim.ini for examples)
XML formatted configuration files can be read from an URL (using the include mechanism)
The possibilities are endless.
The downside to building your own ini files is that, as OpenSimulator adds and modifies new parameters, your configuration files become stale and it gets harder and harder to verify that your configuration is reasonable for the current OpenSimulator sources.
-- ra
From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-bounces at lists.berlios.de] On Behalf Of Markus Metzmacher
Sent: Tuesday, October 04, 2011 11:41 AM
To: opensim-dev at lists.berlios.de
Subject: Re: [Opensim-dev] Question/Suggestion regarding *.ini files
I do not speak about a paradigm change (OpenSim as is, is super and the progress you developer are showing, is tremendous) - i only speak about the possibility, to extract specific configuration sections into separate files. Maybe it is possible (you mentioned, that it can be done by the admin?!). Thats's all, what needed. Maybe only a hint to the explanation of this possibility and a how to is enough? As I said - maybe I missed something?
But, of course, I only speak for me and myself and that's only my outcome of my experience.
Markus
________________________________
[cid:image001.jpg at 01CC8296.1DC448D0]
Melanie<mailto:melanie at t-data.com>
4. Oktober 2011 19:58
The way the system is working now means the user can merge a working
configuration and then edit only a subset. There is no need for a
paradigm change because the goal is already achievable. It doesn't
do this out of the box but can easily be made to do it by the admin
of the system. Grids are too different from each other to
accommodate their hypothetical needs in the base distro.
Melanie
_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de<mailto:Opensim-dev at lists.berlios.de>
https://lists.berlios.de/mailman/listinfo/opensim-dev
________________________________
[cid:image001.jpg at 01CC8296.1DC448D0]
Markus Metzmacher<mailto:info at secondlearning.de>
4. Oktober 2011 18:24
Dear All,
I've a question regarding the OpenSim.ini, *Common.ini, etc. These ini files are heavily influenced by the implementations and developments you make. Some parameters never change (i.e. Database settings, Group settings etc.) but others do.
Is it possible, to inject the code, which is more static by including files? Example: the port, which is used for a region/simulation is configured in the [Network] section and never changes because, once it is running on this port, you will never change it - especially if you host regions on one server. I think, it might be a good idea to call a separate (static) file like 'include network_section "path/network.ini"' to inject the code like you do to distinguish between HyperGrid, Standalone, etc.
The user (Grid Admin or, if on another server and allowed by the Grid Admin, the region admin) then has only to enable/disable the features in the (new) OpenSim.ini without taking care about the settings, which depends on that specific region like database, port , groups, etc ...
In fact, this will reduce upgrade times needed for upgrading a full grid from day's to hours. Especially most tasks can be automated. Maybe this option is available today (i don't know) but if not, it might be a good idea to implement it? If I missed something, perhaps only a hint of this possibility is missing on opensimulator.org?
Also, I think, the possibilities of the switches within ROBUST.ini are not that good described. I do not know, if robust.ini is the file, which plays the only role for the asset/inventory/user..... server environment. Does OpenSim.ini plays a role for robust server only as well? I think, others are puzzling exactly the same.
What do you think? Sorry - if there's a better place, to place my questions, please tell me.
With kind Regards
Markus
_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de<mailto:Opensim-dev at lists.berlios.de>
https://lists.berlios.de/mailman/listinfo/opensim-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20111004/1a3f410e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 770 bytes
Desc: image001.jpg
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20111004/1a3f410e/attachment-0001.jpg>
More information about the Opensim-dev
mailing list