<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>Hi Justin, </div><div><br></div><div>Well..  By what you just said..   No..    I tried to load the the remote connector for GridService and it crashed the GridService..  So I let the GridService just load the </div><div>    AssetService = "OpenSim.Services.AssetService.dll:AssetService" normally (when I setup my Sras I just commented out like Nebadon SRAS instructions said and I would get an error when the GridService would load the AssetService but the Robust would still finish loading).</div><div>  </div><div> I did not try the HGAssetService as I did not want to expose my Sras to the outside..  I thought that would happen..</div><div><br></div><div>What I did is this..   I am not sure it is going to work, but I did not get any errors on Robust start up..  </div><div></div><div><br></div><div>[AssetService]<br> LocalServiceModule = "localhost:8004"   #this is my Sras server 8004 port on same machine<br> DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll"<br> AssetLoaderArgs = "./assets/AssetSets.xml"<br><span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;"></span></div><div><span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;"><br></span></div><div><span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;">; * This configuration loads the inventory server modules. It duplicates</span><br>; * the function of the legacy inventory server<br>; *<br>[InventoryService]<br> LocalServiceModule = "localhost:8005"  #this is my Robust Inventory Server on 8005 port on same server </div><div><br></div><div>Now as I said I did not get an error on Robust start..  And I think the Robust is looking to use both Servers. But I do not know if this will work for hypergrid..  </div><div>because I am having issues with getting a Nginx Reverse Proxy to work..   I have request some help on the users list..  Hopefully I can get it sorted and then I will know if  this works or not..  </div><div><br></div><div>I think the problem with separating Robust services when using Hypergrid is that the  individual Region servers get told what server ports to use, but the Hypergrid in the Robust does not.  I would be interested to hear what Diva's input would be about the subject..  </div><div><br></div><div>I am please to report that I have not ran into serious performance issues between any of the Robust, Inventory Robust or Sras and the Region servers..   And now if I could get the hypergrid to work with Nginx Reverse Proxy.. Lol.  I will report on how this works.. </div><div><br></div><div>Todd</div><div> </div><div><br></div>
<blockquote id="replyBlockquote" webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size:10pt; color:black; font-family:verdana;">
<div id="wmQuoteWrapper">
-------- Original Message --------<br>
Subject: Re: [Opensim-dev] Running Multiple Robust Instances errors and<br>
some questions about running in this configuration<br>
From: Justin Clark-Casey <<a href="mailto:jjustincc@googlemail.com">jjustincc@googlemail.com</a>><br>
Date: Thu, November 07, 2013 6:10 pm<br>
To: <a href="mailto:opensim-dev@lists.berlios.de">opensim-dev@lists.berlios.de</a><br>
<br>
If I look through the current Robust.HG.ini.example, then I see an asset service is referenced in [GridService] and <br>
[HGAssetService].<br>
<br>
These are direct instantiations of copies of the ordinary OpenSimulator asset service class, which it's not possible to <br>
redirect to SRAS.<br>
<br>
Now the one in GridService could theoretically be made to load the remote connector (RemoteAssetServiceConnector) but <br>
I'm not sure how this would work for HGAssetService.  Unfortunately, this isn't something that I've tried to do and I <br>
don't currently know how OSGrid handles this.<br>
<br>
On 29/10/13 23:25, <a href="mailto:opensiminfo@virtualrealmsgrid.com">opensiminfo@virtualrealmsgrid.com</a> wrote:<br>
> Hi all..<br>
><br>
> I have a few questions about Running Multiple Robust services and a couple of errors..<br>
><br>
> My setup is this..<br>
> I have My Asset Server as a SRAS server on the same machine running on port 8004 (I followed the Instructions as<br>
> per Nebadon's PDF on setting up a SRAS server).<br>
> I also have a Instance of my Inventory server running on port 8005<br>
> The rest of the services are on one instance of Robust running on 8003<br>
> The Inventory Robust Instance and the Robust Instance share the same database.<br>
> There are all on the same machine.<br>
><br>
> So here a error I get from the Robust Server log when I start the Robust with or without the SRAS server running.<br>
><br>
> 2013-10-29 16:26:40,479 ERROR - <a href="http://OpenSim.Server.Base.Server">OpenSim.Server.Base.Server</a>Utils [SERVER UTILS]: Error loading plugin<br>
> OpenSim.Services.Interfaces.IAssetService from <a href="http://OpenSim.Services.AssetService.dll">OpenSim.Services.AssetService.dll</a>. Exception: Object reference not set to<br>
> an instance of an object, at <a href="http://System.Reflection.MonoCMethod.Invoke">System.Reflection.MonoCMethod.Invoke</a> (System.Object obj, BindingFlags invokeAttr,<br>
> System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in<br>
> <filename unknown>:0<br>
> at <a href="http://System.Reflection.MonoCMethod.Invoke">System.Reflection.MonoCMethod.Invoke</a> (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[]<br>
> parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0<br>
> at <a href="http://System.Activator.Create">System.Activator.Create</a>Instance (System.Type type, BindingFlags bindingAttr, System.Reflection.Binder binder,<br>
> System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00000] in<br>
> <filename unknown>:0<br>
> at <a href="http://System.Activator.Create">System.Activator.Create</a>Instance (System.Type type, System.Object[] args, System.Object[] activationAttributes)<br>
> [0x00000] in <filename unknown>:0<br>
> at <a href="http://System.Activator.Create">System.Activator.Create</a>Instance (System.Type type, System.Object[] args) [0x00000] in <filename unknown>:0<br>
> at <a href="http://OpenSim.Server.Base.Server">OpenSim.Server.Base.Server</a>Utils.LoadPlugin[IAssetService] (System.String dllName, System.String className,<br>
> System.Object[] args) [0x00000] in <filename unknown>:0<br>
> 2013-10-29 16:26:40,480 ERROR - <a href="http://OpenSim.Server.Base.Server">OpenSim.Server.Base.Server</a>Utils [SERVER UTILS]: Error loading plugin<br>
> <a href="http://OpenSim.Services.AssetService.dll">OpenSim.Services.AssetService.dll</a>: Exception has been thrown by the target of an invocation. args.Length 1<br>
><br>
> So As I look over the Robust.HG.ini file one question comes to mind (I realize that the OpenSims Instances (regions) get<br>
> the server information from the GridCommon.ini), but where does the rest of the Robust services get told of the SRAS<br>
> server?  And in the case of the HG connector get told of the SRAS Asset server..  For I noticed today if I Hypergrid to<br>
> say the OSgrid pick up a item and bring it back to my grid I am not able to rez that item I get a error about asset not<br>
> found and the error message I from the OpenSim log from that region on my grid is:<br>
><br>
> OpenSim.Region.CoreModules.Framework.InventoryAccess.HGInventoryAccessModule [HGScene]: RezObject<br>
> itemID=865b0725-b4c2-40d6-8c9e-ddb824e8ee72 fromTaskID=00000000-0000-0000-0000-000000000000<br>
> 2013-10-29 19:14:23,520 WARN - OpenSim.Region.CoreModules.Framework.InventoryAccess.BasicInventoryAccessModule<br>
> [InventoryAccessModule]: Could not find asset 45c56c10-2ef1-4d94-b523-7664de7d62a9 for item Any Size Mega Prim (boxed)<br>
> 865b0725-b4c2-40d6-8c9e-ddb824e8ee72 for Todd Davis in RezObject()<br>
> 2013-10-29 19:14:23,841 DEBUG - OpenSim.Services.Connectors.Hypergrid.UserAgentServiceConnector [USER AGENT CONNECTOR]:<br>
> Unable to contact remote server http://76.212.124.49:9050/ for GetServerURLs<br>
><br>
> Is this error caused by my step or is there a bug?<br>
><br>
> If this is caused by my setup, I started to look over my Robust.HG.ini file one question comes to mind (I realize that<br>
> the OpenSims Instances (regions) get the server information from the GridCommon.ini), but where does the rest of the<br>
> Robust services get told of the SRAS server?  And in the case of the HG connector get told of the SRAS Asset server..<br>
><br>
> Entries in the Robust like this makes me wonder where the Robust connectors get the information about the SRAS server..<br>
><br>
> As per Nebadon's PDF on SRAS I commented these out..<br>
><br>
><br>
> [GridService]<br>
> LocalServiceModule = "OpenSim.Services.GridService.dll:GridService"<br>
><br>
> HypergridLinker = true<br>
><br>
> ; Realm = "regions"<br>
> ; AllowDuplicateNames = "True"<br>
><br>
> ;; Perform distance check for the creation of a linked region<br>
> ; Check4096 = "True"<br>
><br>
> ;; Needed to display non-default map tile images for linked regions<br>
> AssetService = "<a href="http://OpenSim.Services.AssetService.dll">OpenSim.Services.AssetService.dll</a>:AssetService"   <--- This is not loaded because my SRAS server is the<br>
> asset server<br>
> ;[AssetService]<br>
> ; LocalServiceModule = "<a href="http://OpenSim.Services.AssetService.dll">OpenSim.Services.AssetService.dll</a>:AssetService"<br>
> ; DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll"<br>
> ; AssetLoaderArgs = "./assets/AssetSets.xml"<br>
><br>
> ; * This configuration loads the inventory server modules. It duplicates<br>
> ; * the function of the legacy inventory server<br>
> ; *<br>
> ;[InventoryService]<br>
> ; LocalServiceModule = "OpenSim.Services.InventoryService.dll:XInventoryService"<br>
><br>
> Sorry about the length of this question just trying to get my head around the Robust connectors and Hypergrid<br>
> interaction is all. And I want to make sure I did not miss something setting up different Robust instances to improve<br>
> performance of my grid's Robust server.<br>
><br>
> Thanks<br>
> Todd<br>
><br>
><br>
><br>
><br>
><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">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
><br>
<br>
<br>
-- <br>
Justin Clark-Casey (justincc)<br>
OSVW Consulting<br>
<a href="http://justincc.org">http://justincc.org</a><br>
<a href="http://twitter.com/justincc">http://twitter.com/justincc</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">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>

</div>
</blockquote></span></body></html>