<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Really, if somebody would be so excellent as to take this whole thread, and out of the questions and answers on it, make a wiki page, called 'OpenSim:Introduction and Definitions' or something, that would be SO golden.<BR>
 <BR>
You seldom get these opportunities to learn from noob confusion. This is an excellent thread.<BR><BR>Best regards,<BR>Stefan Andersson<BR>Tribal Media AB<BR> <BR>Join the 3d web revolution : <A href="http://tribalnet.se/">http://tribalnet.se/</A><BR> <BR><BR><BR><BR><BR><BR>

<HR id=stopSpelling>
<BR>
Date: Sun, 30 Nov 2008 13:16:35 -0800<BR>From: diva@metaverseink.com<BR>To: opensim-users@lists.berlios.de<BR>Subject: Re: [Opensim-users] grid operation<BR><BR>Yes, those are all functions of the 3D space service currently. Scripting and backend modules provide programmable behavior for the objects and agents in the 3D environment.<BR>The scripts are stored in the asset server, just like all other assets. They are brought in to the region when the region starts and run on the same process that runs the region. When you create a new script in a region, that script is cached in that region's asset cache (in memory), and is sent to the asset server for persistent storage.<BR><BR>This is the current architecture. I remember vaguely someone suggesting to move the script engine(s) to a different server, as an alternative physical architecture. In that case, the region wouldn't cache the scripts, they would go to that other server; only the effects of the scripts would be seen inworld. Not sure how far that idea went.<BR><BR>This thread is making suspect that many people might be under the wrong impression that just because they have their own region server connected to someone's grid, they have 100% control over the assets in the region and even in their inventories. That is not correct. The persistent storage of everything is done in the grid-level servers, therefore under the control of whoever runs those servers. If the asset server kaputs, and there were no backups, you will loose just about everything you have in your region and in your inventory. (This is true independent of who has the control over the asset server, so maybe it's a good thing to have them on someone else's asset server, you can blame someone else :-)<BR><BR><BR>Dickson, Mike (ISS Software) wrote: <BR>
<BLOCKQUOTE cite=mid:4646639E08F58B42836FAC24C94624DD5C25910F9F@GVW0433EXB.americas.hpqcorp.net>
<STYLE>@page Section1 {size: 8.5in 11.0in; }
.ExternalClass P.EC_MsoNormal {
        FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; COLOR: black; FONT-FAMILY: 'Times New Roman','serif'
}
.ExternalClass LI.EC_MsoNormal {
        FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; COLOR: black; FONT-FAMILY: 'Times New Roman','serif'
}
.ExternalClass DIV.EC_MsoNormal {
        FONT-SIZE: 12pt; MARGIN-BOTTOM: 0pt; COLOR: black; FONT-FAMILY: 'Times New Roman','serif'
}
.ExternalClass A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
.ExternalClass SPAN.EC_MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
.ExternalClass A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
.ExternalClass SPAN.EC_MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
.ExternalClass PRE {
        FONT-SIZE: 10pt; MARGIN-BOTTOM: 0pt; COLOR: black; FONT-FAMILY: 'Courier New'
}
.ExternalClass SPAN.EC_HTMLPreformattedChar {
        COLOR: black; FONT-FAMILY: Consolas
}
.ExternalClass SPAN.EC_EmailStyle19 {
        COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'
}
.ExternalClass .EC_MsoChpDefault {
        FONT-SIZE: 10pt
}
.ExternalClass DIV.EC_Section1 {
        page: Section1
}
</STYLE>

<DIV class=EC_Section1>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'">Well, it’s running scripts for prims in the region also isn’t it…  And physics for physical items in the scene the region is managing. (These are assumptions, feel free to clarify, like Paul I’m trying to learn.)</SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'">Mike</SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: rgb(181,196,223) 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=EC_MsoNormal><B><SPAN style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Tahoma','sans-serif'"> <A class=EC_moz-txt-link-abbreviated href="mailto:opensim-users-bounces@lists.berlios.de">opensim-users-bounces@lists.berlios.de</A> [<A class=EC_moz-txt-link-freetext href="mailto:opensim-users-bounces@lists.berlios.de">mailto:opensim-users-bounces@lists.berlios.de</A>] <B>On Behalf Of </B>Diva Canto<BR><B>Sent:</B> Sunday, November 30, 2008 11:36 AM<BR><B>To:</B> <A class=EC_moz-txt-link-abbreviated href="mailto:opensim-users@lists.berlios.de">opensim-users@lists.berlios.de</A><BR><B>Subject:</B> Re: [Opensim-users] grid operation</SPAN></P></DIV></DIV>
<P class=EC_MsoNormal> </P>
<P class=EC_MsoNormal>Right.<BR>When your region is connected to a physical grid, your region is *just* a 3D space server, nothing else.<BR>All assets belong to the asset server, all inventories belong to the inventory server, all users belong to the user server.<BR><BR>Paul Fishwick wrote: </P><PRE>Got it. So, the data are stored on the asset server. If this is</PRE><PRE>so, it doesn't seem that my region server (the opensim instance</PRE><PRE>I might run as part of someone's grid) is doing much of</PRE><PRE>anything since any change in prim or agent attribute must be</PRE><PRE>conveyed back to the grid's asset server.</PRE><PRE>-p</PRE><PRE> </PRE><PRE>Diva Canto wrote:</PRE><PRE>  </PRE>
<BLOCKQUOTE style="MARGIN-BOTTOM: 5pt"><PRE>By "assets" I mean the data itself, the blobs/text/etc.</PRE><PRE>The region prims/primitems storage holds only references to that data.</PRE><PRE> </PRE><PRE>Look inside OpenSim.db. There is no "data" there, only meta data and </PRE><PRE>references to the data (by UUID) stored on the asset server.</PRE><PRE> </PRE><PRE>Paul Fishwick wrote:</PRE><PRE>    </PRE>
<BLOCKQUOTE style="MARGIN-BOTTOM: 5pt"><PRE>When you say the prims and primitems are not assets, I am confused.</PRE><PRE>My understanding was that all items are assets, identified by their unique</PRE><PRE>UUIDs. If I follow the point about the asset server, the asset servers</PRE><PRE>stores all asset UUID references by region, but that the specific asset</PRE><PRE>attributes (i.e., position of an object, or its texture) are stored by UUID</PRE><PRE>in the region's DB?</PRE><PRE>-p</PRE><PRE> </PRE><PRE> </PRE><PRE>Diva Canto wrote:</PRE><PRE>  </PRE><PRE>      </PRE>
<BLOCKQUOTE style="MARGIN-BOTTOM: 5pt"><PRE>The asset server holds the assets for the entire collection of regions </PRE><PRE>on that physical grid. For example, when you create an object inworld, </PRE><PRE>the asset corresponding to that object is stored on the asset server.</PRE><PRE> </PRE><PRE>The region caches some assets in memory. For example, in that creation </PRE><PRE>scenario, the asset would be on the cache of the region too.</PRE><PRE> </PRE><PRE>The region also has a database storing "prims" and "primitems". These </PRE><PRE>are not assets; they are the prims that are inworld at any given time. </PRE><PRE>The prims refer to assets (by UUID) that are stored on the asset </PRE><PRE>server. Which, as the previous sentence says, may be cached in memory </PRE><PRE>of the region.</PRE><PRE> </PRE><PRE>Paul Fishwick wrote:</PRE><PRE>    </PRE><PRE>        </PRE>
<BLOCKQUOTE style="MARGIN-BOTTOM: 5pt"><PRE>Right. But what, exactly, are these servers doing?  I guess I am trying</PRE><PRE>to get at more of the architectural details of what types of messages are</PRE><PRE>sent among servers (over the network and to the database(s)). For</PRE><PRE>example, there are the UGAIM servers in grid mode. Does the grid's "A"</PRE><PRE>server hold all of the assets on your region that  you plugged into the</PRE><PRE>grid? Or does your region database (on the same computer as your</PRE><PRE>opensim.instance) take care of that?</PRE><PRE>-paul</PRE><PRE> </PRE><PRE> </PRE><PRE>Ideia Boa wrote:</PRE><PRE>  </PRE><PRE>      </PRE><PRE>          </PRE>
<BLOCKQUOTE style="MARGIN-BOTTOM: 5pt"><PRE>If you run 1 region in a grid, you only run OpenSim server, the others </PRE><PRE>servers (User, Grid, Asset, Inventory and Message) are running on the </PRE><PRE>Grid servers with the grid OpenSim server.</PRE><PRE> </PRE><PRE> </PRE><PRE> </PRE><PRE>Paul Fishwick wrote:</PRE><PRE>  </PRE><PRE>    </PRE><PRE>        </PRE><PRE>            </PRE>
<BLOCKQUOTE style="MARGIN-BOTTOM: 5pt"><PRE>If one hooks a region to a grid, what functions does the</PRE><PRE>region server (operating on your computer) perform? The</PRE><PRE>Grid servers are running asset and inventory management,</PRE><PRE>so does this mean that the grid A and I machines handle</PRE><PRE>the assets and inventory or is that the function of the region</PRE><PRE>server that connects to the grid?</PRE><PRE>-p</PRE><PRE> </PRE><PRE>  </PRE><PRE>    </PRE><PRE>      </PRE><PRE>          </PRE><PRE>              </PRE></BLOCKQUOTE><PRE>  </PRE><PRE>    </PRE><PRE>        </PRE><PRE>            </PRE></BLOCKQUOTE><PRE>  </PRE><PRE>      </PRE><PRE>          </PRE></BLOCKQUOTE><PRE>------------------------------------------------------------------------</PRE><PRE> </PRE><PRE>_______________________________________________</PRE><PRE>Opensim-users mailing list</PRE><PRE><A href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</A></PRE><PRE><A href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</A></PRE><PRE>  </PRE><PRE>    </PRE><PRE>        </PRE></BLOCKQUOTE><PRE> </PRE><PRE>  </PRE><PRE>      </PRE></BLOCKQUOTE><PRE>------------------------------------------------------------------------</PRE><PRE> </PRE><PRE>_______________________________________________</PRE><PRE>Opensim-users mailing list</PRE><PRE><A href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</A></PRE><PRE><A href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</A></PRE><PRE>  </PRE><PRE>    </PRE></BLOCKQUOTE><PRE> </PRE><PRE> </PRE><PRE>  </PRE>
<P class=EC_MsoNormal> </P></DIV><PRE><HR width="90%" SIZE=4>
_______________________________________________
Opensim-users mailing list
<A class=EC_moz-txt-link-abbreviated href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</A>
<A class=EC_moz-txt-link-freetext href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</A>
  </PRE></BLOCKQUOTE><BR></body>
</html>