<div dir="ltr">This is an especially useful approach for spinning up template-based grids for testing concepts, etc. I use a setup similar to this, but with Environment variables set from a launch script. It will be nice to be able to move some of the config items into the ini files. Here's some of the places I use this approach:<div><br></div><div class="gmail_extra">e.g. Robust.ini</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">[Environment]</div><div class="gmail_extra"> GRID_NICK="" ; should be set by shell script</div><div class="gmail_extra"> GRID_NAME="" ; should be set by shell script</div><div class="gmail_extra"> OPENSIM_HOME="" ; should be set by shell script</div><div class="gmail_extra"> ROBUST_DATABASE="" ; should be set by shell script</div><div class="gmail_extra"> ROBUST_USERNAME="" ; should be set by shell script</div><div class="gmail_extra"> ROBUST_PASSWORD="" ; should be set by shell script</div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">[Startup]</div><div class="gmail_extra"> PIDFile = "${Environment|OPENSIM_HOME}/Custom/Work/ROBUST/Robust.exe.pid"</div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">[DatabaseService]</div><div class="gmail_extra"><span style="background-color:rgb(255,255,255)"> ConnectionString = "Data Source=localhost;Database=${Environment|ROBUST_DATABASE};User ID=${Environment|ROBUST_USERNAME};Password=${Environment|ROBUST_PASSWORD};Old Guids=true;"</span><br></div><div><br></div><div><div>[LoginService]</div><div><span style="background-color:rgb(255,255,255)"> WelcomeMessage = "Welcome to ${Environment|GRID_NICK}"</span><br></div><div><br></div></div><div><br></div><div>e.g. a Region.ini</div><div><br></div><div><div>[Environment]</div><div> GRID_NICK="" ; should be set by shell script</div><div> GRID_NAME="" ; should be set by shell script</div><div> OPENSIM_HOME="" ; should be set by shell script</div><div> REGION_DATABASE="" ; should be set by shell script</div><div> REGION_USERNAME="" ; should be set by shell script</div><div> REGION_PASSWORD ="" ; should be set by shell script</div><div> ESTATE_DATABASE="" ; should be set by shell script</div><div> ESTATE_USERNAME="" ; should be set by shell script</div><div> ESTATE_PASSWORD ="" ; should be set by shell script</div><div> SIM_NAME="" ; should be set by shell script</div><div> ROBUST_SERVER="" ; should be set by shell script</div></div><div><br></div><div><div>[Startup]</div><div><span style="background-color:rgb(255,255,255)"> PIDFile = "${Environment|OPENSIM_HOME}/Custom/Work/${Environment|SIM_NAME}/OpenSim.pid"</span><br></div><div> regionload_regionsdir="${Environment|OPENSIM_HOME}/Custom/GridConfig/${Environment|SIM_NAME}/Regions"</div><div><br></div></div><div><div>[AssetService]</div><div><span style="background-color:rgb(255,255,255)"> AssetServerURI = "http://${Environment|ROBUST_SERVER}:8003"</span><br></div></div><div><br></div></div><div class="gmail_extra"><div class="gmail_extra">[DatabaseService]</div><div class="gmail_extra"><span style="background-color:rgb(255,255,255)"> ConnectionString = "Data Source=localhost;Database=${Environment|REGION_DATABASE};User ID=${Environment|REGION_USERNAME};Password=${Environment|REGION_PASSWORD};Old Guids=true;"</span><br></div><div class="gmail_extra"> EstateConnectionString = "Data Source=localhost;Database=${Environment|ESTATE_DATABASE};User ID=${Environment|ESTATE_USERNAME};Password=${Environment|ESTATE_PASSWORD};Old Guids=true;"</div><div class="gmail_extra"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Date: Fri, 10 Oct 2014 21:18:55 -0400<br>
From: James Hughes <<a href="mailto:jamesh@bluewallgroup.com">jamesh@bluewallgroup.com</a>><br>
To: <a href="mailto:opensim-dev@opensimulator.org">opensim-dev@opensimulator.org</a><br>
Subject: Re: [Opensim-dev] New configuration capabilities<br>
Message-ID: <<a href="mailto:1412990335.11555.5.camel@ascent.bluewallgroup.com">1412990335.11555.5.camel@ascent.bluewallgroup.com</a>><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
On Fri, 2014-10-10 at 20:41 -0400, Robert Martin wrote:<br>
> somebody really should have a set of config files with this setup<br>
> (maybe with localhost/default values?).<br>
><br>
> It would be great to be able to tell my Music Pastor that "Journey to<br>
> Bethlehem" Sim version just needs a single set of switches to be fixed<br>
> to go LIVE ON THE NET YEAR ROUND<br>
><br>
<br>
That is the idea.<br>
<br>
The things that pop out at me are urls, ports and paths for caching,<br>
logging, etc.<br>
<br>
What else?<br>
<br>
Thanks,<br>
BlueWall<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@opensimulator.org">Opensim-dev@opensimulator.org</a><br>
<a href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev" target="_blank">http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev</a><br>
<br>
<br>
End of Opensim-dev Digest, Vol 7, Issue 9<br>
*****************************************<br>
</blockquote></div><br></div></div>