<div>Typically, the issue that you are describing, "When I try to log in using my client viewer it begins the handshake but fails to log in.", is a result of the simulator dns resolving it's own IP address and providing it to the client but providing the IP address on the network that the client is not participating in. Example. The client connects from the public, but the simulator dns resolves the private IP and sends the private IP to the client to connect via UDP. This has been happening pretty much since the beginning of OpenSimulator... </div>
<div> </div><div>Regards</div><div> </div><div>Teravus<br><br></div><div class="gmail_quote">On Tue, Oct 9, 2012 at 7:06 AM, Chuck Lesko <span dir="ltr"><<a href="mailto:chucklesko@msn.com" target="_blank">chucklesko@msn.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div lang="EN-US" vlink="purple" link="blue"><div><p class="MsoNormal">
Hi All: I am having trouble with architecting a scalable ROBUST OpenSimulator solution. I am using 0.7.4 and I am using multiple Ubuntu 12.04 servers. I am trying to setup the Robust solution so that my Robust Server is the only server with a public address. The other Servers are using a private IP 10.10.10.x/24. I have both a public and private IP bound to the Robust Server. For now, all firewalls are turned off so no port issues here and I can successfully run Simulators directly on the Robust Server but when I try to put the Simulators on a different server I can’t get it to work. So here is the set up.<u></u><u></u></p>
<p style="margin-bottom:0pt" class="MsoNormal">Robust Server: <u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal"> Public IP: 20.30.40.50<u></u><u></u></p><p class="MsoNormal"> VLAN IP: 10.10.10.10<u></u><u></u></p>
<p style="margin-bottom:0pt" class="MsoNormal">MySQL Server (MySQL):<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal"> VLAN IP: 10.10.10.20<u></u><u></u></p><p style="text-indent:0.5in;margin-bottom:0pt" class="MsoNormal">
Database: dbRobust<u></u><u></u></p><p style="text-indent:0.5in" class="MsoNormal">Database User: Robust-User pwd:Robust1234<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal">Simulator Server1:<u></u><u></u></p>
<p class="MsoNormal"> VLAN IP: 10.10.10.30<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal">Simulator Server2:<u></u><u></u></p><p class="MsoNormal"> VLAN IP: 10.10.10.40<u></u><u></u></p>
<p class="MsoNormal">First I start up the Robust Server (mono Robust.exe); the only Robust.ini changes I make are:<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal">[DatabaseService]<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal">
StorageProvider = "OpenSim.Data.MySQL.dll"<u></u><u></u></p><p class="MsoNormal"> ConnectionString = "Data Source=10.10.10.20;Database=dbRobust;User ID=Robust-User;Password=Robust1234;Old Guids=true;"<u></u><u></u></p>
<p style="margin-bottom:0pt" class="MsoNormal">[LoginService]<u></u><u></u></p><p class="MsoNormal"> MapTileURL = "<a href="http://20.30.40.50:8002" target="_blank">http://20.30.40.50:8002</a>";<u></u><u></u></p>
<p style="margin-bottom:0pt" class="MsoNormal">[GridInfoService]<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal"> login = "<a href="http://20.30.40.50:8002" target="_blank">http://20.30.40.50:8002</a>";<u></u><u></u></p>
<p style="margin-bottom:0pt" class="MsoNormal"> gridname = ‘My Grid”<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal"> gridnick = “MyGrid”<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">
All appears successful here, no errors, I create an estate user account and move to setting up my first Simulator. On Simulator Server1 in /bin I make no changes to OpenSimDefault.ini and then make the following change to Opensim.ini by commenting out the standalone.ini and uncomment the Grid.ini<u></u><u></u></p>
<p style="margin-bottom:0pt" class="MsoNormal">[Architecture]<u></u><u></u></p><p class="MsoNormal"> Include-Architecture = "config-include/Grid.ini"<u></u><u></u></p><p class="MsoNormal">Next on Simulator Server1 I make a copy of GridCommon.ini.example named GridCommon.ini and make the following changes to the default settings:<u></u><u></u></p>
<p style="margin-bottom:0pt" class="MsoNormal">[DatabaseService]<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal"> StorageProvider = "OpenSim.Data.MySQL.dll"<u></u><u></u></p><p class="MsoNormal">
ConnectionString = "Data Source=10.10.10.20;Database=dbRobust;User ID=Robust-User;Password=Robust1234;Old Guids=true;"<u></u><u></u></p><p class="MsoNormal">Next, in GridCommon.ini, I change all the values “<a href="http://mygridserver.com:8003" target="_blank">http://mygridserver.com:8003</a>” to “<a href="http://10.10.10.10:8003" target="_blank">http://10.10.10.10:8003</a>” and all the values “<a href="http://mygridserver.com:8002" target="_blank">http://mygridserver.com:8002</a>” to “<a href="http://10.10.10.10:8002" target="_blank">http://10.10.10.10:8002</a>” <u></u><u></u></p>
<p class="MsoNormal">When I run mono OpenSim.exe on the Simulator Server1 (10.10.10.30) these are the entries I make that set up the region.ini:<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal">[Sim00]<u></u><u></u></p>
<p style="margin-bottom:0pt" class="MsoNormal"> RegionUUID = 54321740-4321-1234-ba4c-29207b010072<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal"> Location = 1000,1000<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal">
InternalAddress = 10.10.10.30<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal"> InternalPort = 9000<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal"> AllowAlternatePorts = False<u></u><u></u></p>
<p style="margin-bottom:0pt" class="MsoNormal"> ExternalHostName = 20.30.40.50<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I copy the same procedure above and when I run mono OpenSim.exe on the Simulator Server2 (10.10.10.40) these are the entries I make to set up the region.ini:<u></u><u></u></p>
<p style="margin-bottom:0pt" class="MsoNormal">[Sim01]<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal"> RegionUUID = 54321740-4321-1234-ba4c-29207b010094<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal">
Location = 1000,1001<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal"> InternalAddress = 10.10.10.40<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal"> InternalPort = 9000<u></u><u></u></p>
<p style="margin-bottom:0pt" class="MsoNormal"> AllowAlternatePorts = False<u></u><u></u></p><p style="margin-bottom:0pt" class="MsoNormal"> ExternalHostName = 20.30.40.50<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">When I try to log in using my client viewer it begins the handshake but fails to log in. Where am I going wrong here?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br></blockquote></div><br>