Installing and Running Hypergrid

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(fixed for correct display...)
Line 1: Line 1:
__NOTOC__ <IMG class=FCK__MWTemplate src="http://opensimulator.org/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" width=1 height=1 _fckfakelement="true" _fckrealelement="2" _fck_mw_template="true"> <br>
+
= Installing &amp; Running OpenSim in Hypergrid Mode<br> =
  
&nbsp;  
+
'''Revised Jan.07,2010'''. Effective from OpenSim 0.6.7 Post Fixes to 0.6.9 &lt;dev&gt; GIT# a542871 - r11916
  
Revised Jan.07,2010.&nbsp; Effective from OpenSim 0.6.7 Post Fixes&nbsp; to 0.6.9 &lt;dev&gt; GIT# a542871 - r11916
+
Subject to change in future <br>
  
*Subject to change in future
+
<br>
  
=== Installing ===
+
'''Installing '''<br>Checkout OpenSim, prebuild and build as normal or Download and install Binary Packages from the [[Main Page|MAIN&nbsp;Page ]]<br>If you're running your opensim in '''Grid Mode''' mode with&nbsp;servers on other machines, you&nbsp;only need to modify your OpenSim.ini to enable HyperGrid.
  
#Checkout OpenSim, prebuild and build as normal.
+
If you're running in standalone and you want it to be network-able, or if you have your grid on loopback (127.0.0.1) change all the [Network] server addresses to. See below.  
#*If you're running your opensim in grid mode with the UGAIM servers on other machines, you're done. If you're running in standalone and you want it to be network-able, or if you have your grid on loopback (127.0.0.1) change all the [Network] server addresses to <nowiki>"http://&lt;external_host_name&gt;:&lt;http_port&gt;"</nowiki>. See below.
+
#Run opensim like this: <nowiki>[mono] OpenSim.exe -hypergrid=true</nowiki>. To make sure the hypergrid is running type this on your console: '''link-region'''. If you don't hear anything back, the hypergrid is not properly installed.
+
  
<br><br>'''EXAMPLE Network Sections'''<br>Default Network settings for a Stand Alone:
+
== <br>'''EXAMPLE Network Sections''' ==
  
[Network]
+
=== '''<br>Default Example, Network Settings for a Stand Alone:''' ===
http_listener_port = 9000
+
+
grid_server_url = [http://example.com:9000grid_send_key http://example.com:9000
+
]&lt;a href="http://example.com:9000grid_send_key"&gt;grid_send_key&lt;/a&gt; = null
+
grid_recv_key = null
+
+
user_server_url = [http://example.com:9000user_send_key http://example.com:9000
+
  ]&lt;a href="http://example.com:9000user_send_key"&gt;user_send_key&lt;/a&gt; = null
+
user_recv_key = null
+
+
asset_server_url = [http://example.com:9000inventory_server_url http://example.com:9000
+
]&lt;a href="http://example.com:9000inventory_server_url"&gt;inventory_server_url&lt;/a&gt; = [http://example.com:9000messaging_server_url http://example.com:9000
+
messaging_server_url] = [http://example.com:9000 http://example.com:9000
+
  
][http://example.com:9000/
+
<source lang="ini">[Network]
 +
http_listener_port = 9000
  
]
+
grid_server_url = "http://example.com:9000"
 
+
<br>
+
 
+
Network settings for a Grided opensim:
+
<pre>[Network]
+
http_listener_port = 9000
+
  
grid_server_url = http://example.com:8001
 
 
grid_send_key = null
 
grid_send_key = null
 
grid_recv_key = null
 
grid_recv_key = null
  
user_server_url = http://example.com:8002
+
user_server_url = "http://example.com:9000"
 +
 
 
user_send_key = null
 
user_send_key = null
 
user_recv_key = null
 
user_recv_key = null
  
asset_server_url = http://example.com:8003
+
asset_server_url = "http://example.com:9000"
inventory_server_url = [http://example.com:8004messaging_server_url http://example.com:8004
+
messaging_server_url] = [http://example.com:8004messaging_server_url http://example.com:8004
+
messaging_server_url] = [http://example.com:8006 http://example.com:8006
+
  
]</pre>
+
inventory_server_url = "http://example.com:9000"
Network Section for OSGrid Example:
+
messaging_server_url = "http://example.com:9000"</source>&nbsp;  
<pre>[Network]
+
    http_listener_port = 9000
+
&nbsp;&nbsp;&nbsp; grid_server_url = [http://osgrid.org:8001 http://osgrid.org:8001]      &nbsp;;default 8003
+
    grid_send_key = "1234"
+
    grid_recv_key = "1234"
+
  
    user_server_url = [http://osgrid.org:8002 http://osgrid.org:8002]
+
=== <br>'''Default Example, Network Settings for a&nbsp;Grided Server:'''  ===
    user_send_key = "1234"
+
    user_recv_key = "1234"
+
  
    asset_server_url = "http://assets.osgrid.org:8003"  
+
<source lang="ini">[Network]
    inventory_server_url = [http://osgrid.org:8004 http://osgrid.org:8004] &nbsp;;default 8003
+
http_listener_port = 9000
    messaging_server_url = [http://osgrid.org:8006 http://osgrid.org:8006]</pre>
+
'''Modifications needed to be applied to OpenSim.ini to enable Hypergrid'''
+
  
- Change the following line at the top of the OpenSim.ini
+
grid_server_url = "http://example.com:8001"
 +
grid_send_key = null
 +
grid_recv_key = null
  
<span lang="EN-CA"><pre>hypergrid = false  to true</pre></span>
+
user_server_url = "http://example.com:8002"
 +
user_send_key = null
 +
user_recv_key = null
  
- NEXT, Add or Modify the ###&nbsp; WORLD&nbsp; MAP&nbsp; Section as shown
+
asset_server_url = "http://example.com:8003"
<pre>  &nbsp;; ##
+
inventory_server_url = "http://example.com:8003"
  &nbsp;; ## WORLD MAP
+
messaging_server_url = "http://example.com:8006"</source>  
  &nbsp;; ##
+
 
+
    WorldMapModule = "WorldMap"
+
    MapImageModule = "MapImageModule"
+
    WorldMapModule = "HGWorldMapModule" &nbsp;;NOT INCLUDED IN DEFAULT OpenSim.ini.EXAMPLE</pre>
+
''Information:&nbsp; HGWorldMapModule will, after teleporting to another grid, clean up tiles in your map left over from the grid on which you were previously.''
+
  
 
<br>
 
<br>
  
- NEXT, Modify the [Archictecture] Section at the bottom
+
=== '''Network Settings&nbsp;for OSGrid Attched Servers:'''  ===
  
Uncomment the appropriate Include-HG* =&nbsp;&nbsp; line by removing the semi colon and making sure that is the only ONE&nbsp; uncommented. (example shows for a Stand Alone HG enabled installation)
+
<br><source lang="ini">[Network]
<pre>[Architecture]
+
http_listener_port = 9000
  &nbsp;;Include-Standalone    = "config-include/Standalone.ini" &nbsp;; DEFAULT UNCOMMENTED
+
grid_server_url = "http://osgrid.org:8001" ;default 8003
    Include-HGStandalone = "config-include/StandaloneHypergrid.ini"
+
grid_send_key = "1234"
  &nbsp;;Include-Grid        = "config-include/Grid.ini"
+
grid_recv_key = "1234"
  &nbsp;;Include-HGGrid      = "config-include/GridHypergrid.ini"</pre>
+
'''Your OpenSimulator instance should now be ready for inbound &amp; outbound Hypergrid use'''
+
  
<br>
+
user_server_url = "http://osgrid.org:8002"
 +
user_send_key = "1234"
 +
user_recv_key = "1234"
  
'''LIMITATIONS:'''
+
asset_server_url = "http://assets.osgrid.org:8003"
 +
inventory_server_url = "http://osgrid.org:8004" ;default 8003
 +
messaging_server_url = "http://osgrid.org:8006"</source>&nbsp;
  
Due to a viewer issue, you cannot teleport more than 4096 regions away.&nbsp; Some 3rd party Viewers have addressed this limitation.&nbsp; What this means, is that if you wish to teleport from a region located at 1000,1000 XY&nbsp; coordinates you cannot go beyond 5095.&nbsp;&nbsp; For Instance&nbsp;OSGrid is centered @ 10,000x10,000
+
=== <br>'''Modifications needed to be applied to OpenSim.ini to enable Hypergrid'''  ===
  
Refer to &lt;a _fcknotitle="true" href="Public Hypergrid Nodes"&gt;Public Hypergrid Nodes&lt;/a&gt;&nbsp;to see some known grids / StandAlones and others and where they are located.
+
- Change the following line at the top of the OpenSim.ini
 +
<pre>hypergrid = false to true</pre>
 +
<br>- NEXT, Add or Modify the ### WORLD MAP Section as shown
  
<br>'''IMPORTANT NOTES:'''
+
<br><source lang="ini">; ##
 +
; ## WORLD MAP
 +
; ##
  
Make sure you have a 'home' set. If your home region doesn't exist, the hyperlink TPs may not work. To set your home, go to one of your local regions and "Set Home" from the viewer.  
+
WorldMapModule = "WorldMap"
 +
MapImageModule = "MapImageModule"
 +
WorldMapModule = "HGWorldMapModule" ;NOT INCLUDED IN DEFAULT OpenSim.ini.EXAMPLE</source>
  
To Enable scripted Teleporting between regions, standalone, HyperGrid etc, you can use osTeleprtAgent function, Example here: &lt;a _fcknotitle="true" href="OsTeleportAgent"&gt;OsTeleportAgent&lt;/a&gt;
+
<br>''Information: HGWorldMapModule will, after teleporting to another grid, clean up tiles in your map left over from the grid on which you were previously.''
  
 
<br>
 
<br>
  
<br>
+
<br>- NEXT, Modify the [Archictecture] Section at the bottom
  
=== Linking regions (Optional) ===
+
Uncomment the appropriate Include-HG* = line by removing the semi colon and making sure that is the only ONE uncommented. (example shows for a Stand Alone HG enabled installation)  
  
==== Method 1  ====
+
<br><source lang="ini">[Architecture]
 +
;Include-Standalone = "config-include/Standalone.ini" ; DEFAULT UNCOMMENTED
 +
Include-HGStandalone = "config-include/StandaloneHypergrid.ini"
 +
;Include-Grid = "config-include/Grid.ini"
 +
;Include-HGGrid = "config-include/GridHypergrid.ini"
 +
Your OpenSimulator instance should now be ready for inbound & outbound Hypergrid use</source>
  
On the console, type for example:  
+
=== <br><br>'''Limitations:'''  ===
  
link-region &lt;Xloc&gt; &lt;Yloc&gt; osl2.nac.uci.edu:9006
+
Due to a viewer issue, you cannot teleport more than 4096 regions away. Some 3rd party Viewers have addressed this limitation. What this means, is that if you wish to teleport from a region located at 1000,1000 XY coordinates you cannot go beyond 5095. For Instance OSGrid is centered @ 10,000x10,000
  
*Use Xloc and Yloc that make sense to your world, i.e. close to your regions, but not adjacent.
+
Refer to [[Public Hypergrid Nodes|Public Hypergrid Nodes]] to see some known grids / StandAlones and others and where they are located.
*replace osl2.nac.uci.edu and 9006 with the domain name / ip address and the http_listener_port of the simulator where the region is running you want to link to
+
  
You can link to a specific region within an instance, by using the name of the region at the end, for example:  
+
=== <br>'''Important Notes:'''  ===
  
link-region 997 997 osl2.nac.uci.edu:9006:UCI Welcome
+
Make sure you have a 'home' set. If your home region doesn't exist, the hyperlink TPs may not work. To set your home, go to one of your local regions and "Set Home" from the viewer.  
  
==== Method 2 ====
+
To Enable scripted Teleporting between regions, standalone, HyperGrid etc, you can use [[OsTeleprtAgent|osTeleprtAgent]] function, Example here: [[OsTeleportAgent|OsTeleportAgent]]
 +
 
 +
== <br><br>Linking regions (Optional)  ==
 +
 
 +
=== <br>'''Method 1''' ===
 +
 
 +
On the console, type for example:
 +
<pre>link-region &lt;Xloc&gt; &lt;Yloc&gt; osl2.nac.uci.edu:9006</pre>
 +
Use Xloc and Yloc that make sense to your world, i.e. close to your regions, but not adjacent. <br>replace osl2.nac.uci.edu and 9006 with the domain name / ip address and the http_listener_port of the simulator where the region is running you want to link to <br>You can link to a specific region within an instance, by using the name of the region at the end, for example:
 +
<pre>link-region 997 997 osl2.nac.uci.edu:9006:UCI Welcome</pre>
 +
=== '''Method 2'''  ===
  
There is also some initial support for reading the links from a xml file.  
+
'''<br>'''There is also some initial support for reading the links from a xml file.  
  
 
Use the console command: link-region &lt;URI&gt; [&lt;excludeList&gt;]  
 
Use the console command: link-region &lt;URI&gt; [&lt;excludeList&gt;]  
Line 139: Line 127:
 
The format of the xml file is:  
 
The format of the xml file is:  
  
&lt;Nini&gt;
+
<br><source lang="xml"><Nini>
  &lt;Section Name="Region1"&gt; &lt;!-- can be any name but each section should have a different name and have no spaces --&gt;
+
<Section Name="Region1">
    &lt;Key Name="xloc" Value="1002"/&gt;
+
<Key Name="xloc" Value="1002"/>
    &lt;Key Name="yloc" Value="1006" /&gt;
+
<Key Name="yloc" Value="1006" />
    &lt;Key Name="externalPort" Value="9006" /&gt;
+
<Key Name="externalPort" Value="9006" />
    &lt;Key Name="externalHostName" Value="osl2.nac.uci.edu" /&gt;
+
<Key Name="externalHostName" Value="osl2.nac.uci.edu" />
    &lt;Key Name="localName" Value="OSGrid-Gateway" /&gt;
+
<Key Name="localName" Value="OSGrid-Gateway" />
    &lt;Key Name="real-xloc" Value="10222"/&gt; //optional field that gives the region's real location on its home grid
+
<Key Name="real-xloc" Value="10222"/> //optional field that gives the region's real location on its home grid
    &lt;Key Name="real-yloc" Value="10265" /&gt; //optional field that gives the region's real location on its home grid
+
<Key Name="real-yloc" Value="10265" /> //optional field that gives the region's real location on its home grid
  &lt;/Section&gt;
+
</Section>
  &lt;Section Name="Region2"&gt;
+
<Section Name="Region2">
    ...
+
...
  &lt;/Section&gt;
+
</Section>
  ...
+
...
&lt;/Nini&gt;
+
</Nini></source>
  
[Note] The section names can be anything you want, but they all should be different and have no spaces in the name.  
+
<br>[Note] The section names can be anything you want, but they all should be different and have no spaces in the name.  
  
<br>ExcludeList:  
+
==== <br>'''ExcludeList:'''  ====
  
 
The exclude list is a single string paramater with the format: excludeList:&lt;SectionName&gt;[;&lt;SectionName&gt;]  
 
The exclude list is a single string paramater with the format: excludeList:&lt;SectionName&gt;[;&lt;SectionName&gt;]  
Line 167: Line 155:
 
So for example, someone might create a editable online list for the up coming OpenSimulator's 2nd birthday. Which might look something like:  
 
So for example, someone might create a editable online list for the up coming OpenSimulator's 2nd birthday. Which might look something like:  
  
&lt;Nini&gt;
+
<br><source lang="xml"><Nini>
  &lt;Section Name="OSGrid-Party"&gt; &lt;!-- can be any name but each section should have a different name and no spaces --&gt;
+
<Section Name="OSGrid-Party">
    &lt;Key Name="xloc" Value="1002"/&gt;
+
<Key Name="xloc" Value="1002"/>
    &lt;Key Name="yloc" Value="1006" /&gt;
+
<Key Name="yloc" Value="1006" />
    &lt;Key Name="externalPort" Value="9006" /&gt;
+
<Key Name="externalPort" Value="9006" />
    &lt;Key Name="externalHostName" Value="osl2.nac.uci.edu" /&gt;
+
<Key Name="externalHostName" Value="osl2.nac.uci.edu" />
    &lt;Key Name="localName" Value="OSGrid-Gateway" /&gt;
+
<Key Name="localName" Value="OSGrid-Gateway" />
  &lt;/Section&gt;
+
</Section>
  &lt;Section Name="UCIGrid-Party"&gt;
+
<Section Name="UCIGrid-Party">
    ...
+
...
  &lt;/Section&gt;
+
</Section>
&lt;/Nini&gt;
+
</Nini></source> I could then add my own region to the list with the section name "MW-Party". Then when I startup that region that I want to be part of this hypergrid, I use the command:
 +
<pre>"link-region &lt;URI of xml file&gt; excludeList:MW-Party"</pre>
 +
This is so that my region doesn't try to create a hyper link to itself.
  
I could then add my own region to the list with the section name "MW-Party". Then when I startup that region that I want to be part of this hypergrid, I use the command: "link-region &lt;URI of xml file&gt; excludeList:MW-Party"
+
<br>
  
This is so that my region doesn't try to create a hyper link to itself.
+
=== '''Method 3 (dynamic)'''  ===
  
==== Method 3 (dynamic) ====
+
<br>Starting in r8193, if you're in an HG-enabled region, you'll be able to dynamically link sims, and TP there, in any one of these ways (and probably more). All you need to know is the target address, e.g. from the list below.
  
Starting in r8193, if you're in an HG-enabled region, you'll be able to dynamically link sims, and TP there, in any one of these ways (and probably more). All you need to know is the target address, e.g. from the list below.
+
1) Type for example secondlife://ucigrid04.nacs.uci.edu:9007/ in the chat box, pull up the chat history and click on that link
  
1) Type for example secondlife://ucigrid04.nacs.uci.edu:9007/ in the
+
2) Pull up the map and search for things like ucigrid04.nacs.uci.edu:9007  
chat box, pull up the chat history and click on that link
+
  
2) Pull up the map and search for things like  
+
3) Using the embedded browser visit pages that have links like '''secondlife://ucigrid04.nacs.uci.edu:9007'''/ (there's one up at http://www.ics.uci.edu/~lopes/hypergrid/test.html)
ucigrid04.nacs.uci.edu:9007
+
  
3) Using the embedded browser visit pages that have links like  
+
Again, you can link to a specific region within an instance by adding the name of that region at the end, like this: '''secondlife://ucigrid04.nacs.uci.edu:9007:Gateway 7000/'''
secondlife://ucigrid04.nacs.uci.edu:9007/ (there's one up at
+
http://www.ics.uci.edu/~lopes/hypergrid/test.html)
+
  
Again, you can link to a specific region within an instance by adding the name of that region at the end, like this: secondlife://ucigrid04.nacs.uci.edu:9007:Gateway 7000/
+
<br>
  
 
'''Important Note'''  
 
'''Important Note'''  
  
Due to a viewer &lt;a href="https://jira.secondlife.com/browse/SVC-2941"&gt;bug&lt;/a&gt;, you can only TP between regions that are no more than 4096 cells apart in any dimension. What this means in practice is that if you want to link to OSGrid, you must have your own regions reachable from the (10,000; 10,000) point on the map, which is where OSGrid is centered. Place your regions somewhere in the 8,000s or the 12,000s.  
+
Due to a viewer bug, you can only TP between regions that are no more than 4096 cells apart in any dimension. What this means in practice is that if you want to link to OSGrid, you must have your own regions reachable from the (10,000; 10,000) point on the map, which is where OSGrid is centered. Place your regions somewhere in the 8,000s or the 12,000s.  
  
=== Unlinking regions ===
+
<br>
 +
 
 +
== Unlinking regions&nbsp;<br> ==
  
 
On the console, type for example:  
 
On the console, type for example:  
 +
<pre>unlink-region osl2.nac.uci.edu:9006
  
unlink-region osl2.nac.uci.edu:9006
+
or
  
or
+
unlink-region &lt;local region name&gt;
 
+
unlink-region &lt;local region name&gt;
+
 
+
&nbsp;
+
 
+
<br>
+
  
 +
</pre>
 
== Additional References  ==
 
== Additional References  ==
  
Implemented osFunctions:&nbsp; &lt;a _fcknotitle="true" href="OSSL Implemented"&gt;OSSL Implemented&lt;/a&gt;
+
Implemented osFunctions: [[OSSL Implemented|OSSL Implemented]]
  
Enabling osFunctions: &lt;a _fcknotitle="true" href="OSSL Enabling Functions"&gt;OSSL Enabling Functions&lt;/a&gt;
+
Enabling osFunctions: [[OSSL Enabling Functions|OSSL Enabling Functions]]
  
HyperGrid Security: &lt;a _fcknotitle="true" href="Hypergrid Security"&gt;Hypergrid Security&lt;/a&gt;
+
HyperGrid Security: [[Hypergrid Security|Hypergrid Security]]
  
Banning Foreign Users in Hypergrid: &lt;a _fcknotitle="true" href="Banning Foreign Users in Hypergrid"&gt;Banning Foreign Users in Hypergrid&lt;/a&gt;
+
Banning Foreign Users in Hypergrid: [[Banning Foreign Users in Hypergrid|Banning Foreign Users in Hypergrid]]
  
Public HyperGrid Nodes Listing: &lt;a _fcknotitle="true" href="Public Hypergrid Nodes"&gt;Public Hypergrid Nodes&lt;/a&gt;
+
Public HyperGrid Nodes Listing: [[Public Hypergrid Nodes|Public Hypergrid Nodes]]
  
Hypergrid Inventory Access: &lt;a _fcknotitle="true" href="Hypergrid Inventory Access"&gt;Hypergrid Inventory Access&lt;/a&gt;&nbsp;(proposal)  
+
Hypergrid Inventory Access: [[Hypergrid Inventory Access|Hypergrid Inventory Access (proposal)]]
  
CATAGORY: &lt;a href="Hypergrid"&gt;Hypergrid&lt;/a&gt;
+
CATEGORY: [[Hypergrid|Hypergrid ]]<br>

Revision as of 12:44, 7 January 2010

Contents

Installing & Running OpenSim in Hypergrid Mode

Revised Jan.07,2010. Effective from OpenSim 0.6.7 Post Fixes to 0.6.9 <dev> GIT# a542871 - r11916

Subject to change in future


Installing
Checkout OpenSim, prebuild and build as normal or Download and install Binary Packages from the MAIN Page
If you're running your opensim in Grid Mode mode with servers on other machines, you only need to modify your OpenSim.ini to enable HyperGrid.

If you're running in standalone and you want it to be network-able, or if you have your grid on loopback (127.0.0.1) change all the [Network] server addresses to. See below.


EXAMPLE Network Sections


Default Example, Network Settings for a Stand Alone:

[Network]
http_listener_port = 9000
 
grid_server_url = "http://example.com:9000"
 
grid_send_key = null
grid_recv_key = null
 
user_server_url = "http://example.com:9000"
 
user_send_key = null
user_recv_key = null
 
asset_server_url = "http://example.com:9000"
 
inventory_server_url = "http://example.com:9000"
messaging_server_url = "http://example.com:9000"
 


Default Example, Network Settings for a Grided Server:

[Network]
http_listener_port = 9000
 
grid_server_url = "http://example.com:8001"
grid_send_key = null
grid_recv_key = null
 
user_server_url = "http://example.com:8002"
user_send_key = null
user_recv_key = null
 
asset_server_url = "http://example.com:8003"
inventory_server_url = "http://example.com:8003"
messaging_server_url = "http://example.com:8006"


Network Settings for OSGrid Attched Servers:


[Network]
http_listener_port = 9000
grid_server_url = "http://osgrid.org:8001" ;default 8003
grid_send_key = "1234"
grid_recv_key = "1234"
 
user_server_url = "http://osgrid.org:8002" 
user_send_key = "1234"
user_recv_key = "1234"
 
asset_server_url = "http://assets.osgrid.org:8003" 
inventory_server_url = "http://osgrid.org:8004" ;default 8003
messaging_server_url = "http://osgrid.org:8006"
 


Modifications needed to be applied to OpenSim.ini to enable Hypergrid

- Change the following line at the top of the OpenSim.ini

hypergrid = false to true


- NEXT, Add or Modify the ### WORLD MAP Section as shown


; ##
; ## WORLD MAP
; ##
 
WorldMapModule = "WorldMap"
MapImageModule = "MapImageModule"
WorldMapModule = "HGWorldMapModule" ;NOT INCLUDED IN DEFAULT OpenSim.ini.EXAMPLE


Information: HGWorldMapModule will, after teleporting to another grid, clean up tiles in your map left over from the grid on which you were previously.



- NEXT, Modify the [Archictecture] Section at the bottom

Uncomment the appropriate Include-HG* = line by removing the semi colon and making sure that is the only ONE uncommented. (example shows for a Stand Alone HG enabled installation)


[Architecture]
;Include-Standalone = "config-include/Standalone.ini" ; DEFAULT UNCOMMENTED
Include-HGStandalone = "config-include/StandaloneHypergrid.ini"
;Include-Grid = "config-include/Grid.ini"
;Include-HGGrid = "config-include/GridHypergrid.ini"
Your OpenSimulator instance should now be ready for inbound & outbound Hypergrid use



Limitations:

Due to a viewer issue, you cannot teleport more than 4096 regions away. Some 3rd party Viewers have addressed this limitation. What this means, is that if you wish to teleport from a region located at 1000,1000 XY coordinates you cannot go beyond 5095. For Instance OSGrid is centered @ 10,000x10,000

Refer to Public Hypergrid Nodes to see some known grids / StandAlones and others and where they are located.


Important Notes:

Make sure you have a 'home' set. If your home region doesn't exist, the hyperlink TPs may not work. To set your home, go to one of your local regions and "Set Home" from the viewer.

To Enable scripted Teleporting between regions, standalone, HyperGrid etc, you can use osTeleprtAgent function, Example here: OsTeleportAgent



Linking regions (Optional)


Method 1

On the console, type for example:

link-region <Xloc> <Yloc> osl2.nac.uci.edu:9006

Use Xloc and Yloc that make sense to your world, i.e. close to your regions, but not adjacent.
replace osl2.nac.uci.edu and 9006 with the domain name / ip address and the http_listener_port of the simulator where the region is running you want to link to
You can link to a specific region within an instance, by using the name of the region at the end, for example:

link-region 997 997 osl2.nac.uci.edu:9006:UCI Welcome

Method 2


There is also some initial support for reading the links from a xml file.

Use the console command: link-region <URI> [<excludeList>]

The uri can be either the path of a local xml file or a xml document on a http server.

The format of the xml file is:


<Nini>
<Section Name="Region1"> 
<Key Name="xloc" Value="1002"/>
<Key Name="yloc" Value="1006" />
<Key Name="externalPort" Value="9006" />
<Key Name="externalHostName" Value="osl2.nac.uci.edu" />
<Key Name="localName" Value="OSGrid-Gateway" />
<Key Name="real-xloc" Value="10222"/> //optional field that gives the region's real location on its home grid
<Key Name="real-yloc" Value="10265" /> //optional field that gives the region's real location on its home grid
</Section>
<Section Name="Region2"> 
...
</Section>
...
</Nini>


[Note] The section names can be anything you want, but they all should be different and have no spaces in the name.


ExcludeList:

The exclude list is a single string paramater with the format: excludeList:<SectionName>[;<SectionName>]

This means that while reading from the xml file any sections that are listed in the excludeList will be ignored and no HyperGrid link created for them.

This could allow, link lists to be created on a webserver that everyone could add their own regions to, and then they just make sure they add their own section name(s) to the exclude list on their own region(s).

So for example, someone might create a editable online list for the up coming OpenSimulator's 2nd birthday. Which might look something like:


<Nini>
<Section Name="OSGrid-Party"> 
<Key Name="xloc" Value="1002"/>
<Key Name="yloc" Value="1006" />
<Key Name="externalPort" Value="9006" />
<Key Name="externalHostName" Value="osl2.nac.uci.edu" />
<Key Name="localName" Value="OSGrid-Gateway" />
</Section>
<Section Name="UCIGrid-Party"> 
...
</Section>
</Nini>
I could then add my own region to the list with the section name "MW-Party". Then when I startup that region that I want to be part of this hypergrid, I use the command:
"link-region <URI of xml file> excludeList:MW-Party"

This is so that my region doesn't try to create a hyper link to itself.


Method 3 (dynamic)


Starting in r8193, if you're in an HG-enabled region, you'll be able to dynamically link sims, and TP there, in any one of these ways (and probably more). All you need to know is the target address, e.g. from the list below.

1) Type for example secondlife://ucigrid04.nacs.uci.edu:9007/ in the chat box, pull up the chat history and click on that link

2) Pull up the map and search for things like ucigrid04.nacs.uci.edu:9007

3) Using the embedded browser visit pages that have links like secondlife://ucigrid04.nacs.uci.edu:9007/ (there's one up at http://www.ics.uci.edu/~lopes/hypergrid/test.html)

Again, you can link to a specific region within an instance by adding the name of that region at the end, like this: secondlife://ucigrid04.nacs.uci.edu:9007:Gateway 7000/


Important Note

Due to a viewer bug, you can only TP between regions that are no more than 4096 cells apart in any dimension. What this means in practice is that if you want to link to OSGrid, you must have your own regions reachable from the (10,000; 10,000) point on the map, which is where OSGrid is centered. Place your regions somewhere in the 8,000s or the 12,000s.


Unlinking regions 

On the console, type for example:

unlink-region osl2.nac.uci.edu:9006

or

unlink-region <local region name>

 

Additional References

Implemented osFunctions: OSSL Implemented

Enabling osFunctions: OSSL Enabling Functions

HyperGrid Security: Hypergrid Security

Banning Foreign Users in Hypergrid: Banning Foreign Users in Hypergrid

Public HyperGrid Nodes Listing: Public Hypergrid Nodes

Hypergrid Inventory Access: Hypergrid Inventory Access (proposal)

CATEGORY: Hypergrid

Personal tools
General
About This Wiki