Thanks Mike for your system.<br><br>Does CB able to split the asset/inventory database on differents servers ? <br><br>Sacha<br><br><br><div class="gmail_quote">On Mon, Feb 16, 2009 at 4:12 AM, Mike Mazur <span dir="ltr"><<a href="mailto:mmazur@gmail.com">mmazur@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
In SVN r8407-8435 you will find the new Asset/Inventory server in the<br>
OpenSim trunk. I don't recommend using any revision between 8407-8435,<br>
they will likely not compile.<br>
<br>
If you want to jump in and use it right away, here's how:<br>
<br>
1. Compile as usual<br>
2. Copy bin/AssetInventoryServer.ini.example to<br>
   bin/AssetInventoryServer.ini and edit it accordingly<br>
3. Instead of running OpenSim.Grid.AssetServer.exe, run<br>
   OpenSim.Grid.AssetInventoryServer.exe<br>
4. Use at your own risk, there may still be bugs<br>
<br>
Hopefully the AssetInventoryServer.ini.example file has clear enough<br>
comments to answer most configuration questions.<br>
<br>
Also, please note that the inventory portion is, for all intents and<br>
purposes, *not implemented*. Please read on for more details.<br>
<br>
What is Currently Implemented<br>
<br>
Currently the AssetInventoryServer can be used as a drop-in replacement<br>
for the existing AssetServer. No configuration changes are needed to<br>
the rest of the grid servers.<br>
<br>
In addition to that there are a handful of plugins included that<br>
provide additional functionality, such as browsing the assets via your<br>
web browser. Actually, the code is there, but it's not "turned on",<br>
which brings us to the next section...<br>
<br>
The plugin system was converted from ExtensionLoader to Mono.Addins.<br>
<br>
What is Missing<br>
<br>
There are a few things I commented out in the interest of getting the<br>
code into core:<br>
<br>
- Cookie & SSL support is commented out until the HttpServer in OpenSim<br>
  supports these features. If it already does, then it should be easy<br>
  to turn those features on again.<br>
- Regex HTTP handlers. Some of the frontends[1][2] support HTTP<br>
  handlers defined as regular expressions to match a UUID. As far as I<br>
  could tell this didn't work with the HTTP server in OpenSim.<br>
- The AssetStorage plugins provide a ForEach() method that iterates<br>
  over a set of assets. See OpenSimAssetStorage[3] for an example. This<br>
  used SQL that's not currently implemented in OpenSim's storage<br>
  backends, so it's commented out.<br>
- Some of the extensions in the Cable Beach SVN[4] are also not<br>
  included, such as the OpenID authentication and Amazon S3 or Memcached<br>
  storage backends.<br>
<br>
These missing features can be supported once the underlying<br>
infrastructure in OpenSim (HttpServer, DB storage) support the features<br>
they require.<br>
<br>
Also the Inventory section is completely commented out. This is because<br>
there's a larger number of functions to map to the existing inventory<br>
storage than with assets; there are only two asset operations (fetch<br>
and create), while there are many with inventory (fetch item, folder,<br>
folder and contents, create item, folder, delete item, folder etc).<br>
These can be implemented over time.<br>
<br>
To Wrap Up<br>
<br>
Thanks to John Hurliman and all the other contributors for their work<br>
on Cable Beach.<br>
<br>
Please test, give feedback, file bugs (if you must) and have fun!<br>
<br>
Thanks,<br>
Mike<br>
<br>
<br>
[1]<br>
<a href="http://opensimulator.org/cgi-bin/viewcvs.cgi/trunk/OpenSim/Grid/AssetInventoryServer/Plugins/ReferenceFrontendPlugin.cs?revision=8435&view=markup&pathrev=8435#l_105" target="_blank">http://opensimulator.org/cgi-bin/viewcvs.cgi/trunk/OpenSim/Grid/AssetInventoryServer/Plugins/ReferenceFrontendPlugin.cs?revision=8435&view=markup&pathrev=8435#l_105</a><br>

[2]<br>
<a href="http://opensimulator.org/cgi-bin/viewcvs.cgi/trunk/OpenSim/Grid/AssetInventoryServer/Plugins/BrowseFrontendPlugin.cs?revision=8435&view=markup&pathrev=8435#l_101" target="_blank">http://opensimulator.org/cgi-bin/viewcvs.cgi/trunk/OpenSim/Grid/AssetInventoryServer/Plugins/BrowseFrontendPlugin.cs?revision=8435&view=markup&pathrev=8435#l_101</a><br>

[3]<br>
<a href="http://opensimulator.org/cgi-bin/viewcvs.cgi/trunk/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetStoragePlugin.cs?revision=8435&view=markup&pathrev=8435#l_116" target="_blank">http://opensimulator.org/cgi-bin/viewcvs.cgi/trunk/OpenSim/Grid/AssetInventoryServer/Plugins/OpenSim/OpenSimAssetStoragePlugin.cs?revision=8435&view=markup&pathrev=8435#l_116</a><br>

[4]<br>
<a href="http://forge.opensimulator.org/gf/project/assetserver/scmsvn/?action=browse&path=%2Ftrunk%2FAssetServer%2FExtensions%2F" target="_blank">http://forge.opensimulator.org/gf/project/assetserver/scmsvn/?action=browse&path=%2Ftrunk%2FAssetServer%2FExtensions%2F</a><br>

_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</blockquote></div><br>