Setting Up Mega-Regions

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Added information about the "fix-phantoms" opensim command for regions with existing content)
Line 71: Line 71:
 
At the top, there is a section like shown here.  Change the setting to true, default is false  
 
At the top, there is a section like shown here.  Change the setting to true, default is false  
 
<blockquote>
 
<blockquote>
;;Combine all contiguous regions into one large region<br>; Order your regions from South to North, West to East in your regions.ini and then set this to true<br>; Warning! Don't use this with regions that have existing content!, This will likely break them<br>CombineContiguousRegions=true
+
;;Combine all contiguous regions into one large region
 +
<br>; Order your regions from South to North, West to East in your regions.ini and then set this to true
 +
<br>; '''Warning'''! If your regions have existing content, joining them may be dangerous -- you risk losing content.
 +
<br>; Please follow the following steps if your regions have content:
 +
<br>; 1) '''Make a backup of your database!'''
 +
<br>; 2) Set "CombineContiguousRegions=true", start Opensim. You'll see a lot of error messages -- ignore them.
 +
<br>; 3) Go to the Opensim console, and type "fix-phantoms"
 +
<br>; 4) Wait some minutes for the backup thread to store everything
 +
<br>; 5) Restart Opensim, and check that everything is there.
 +
<br>; This has worked for me (Zonja) - your mileage may vary.
 +
<br>; Please refer to [http://www.metaverseink.com/blog/?p=28 this post from Diva] for more information
 +
<br>;
 +
<br>CombineContiguousRegions=true
 
</blockquote>
 
</blockquote>
 
'''Step 2:'''&nbsp; bin\regions\RegionConfig.ini  
 
'''Step 2:'''&nbsp; bin\regions\RegionConfig.ini  

Revision as of 05:46, 27 November 2009

Setting up Mega-Regions



There are still some outstanding issues being addressed by the Dev team.  If you wish to incvorporate your eisting regions into a MegaRegion, make OARS and do Full Backups of everything on the current regions.  Restoring OAR will deposit the restored region on the most South West Corner ONLY.  This is being worked out at the time of this writting. (more information needs to be put in this area...)


Here is a Diagram of Possible Configurations. This is not all inclusive but is a good example of layout for the regions.

Mega region Layout Example





























Step 1:   OpenSim.ini

At the top, there is a section like shown here.  Change the setting to true, default is false

Combine all contiguous regions into one large region

; Order your regions from South to North, West to East in your regions.ini and then set this to true
; Warning! If your regions have existing content, joining them may be dangerous -- you risk losing content.
; Please follow the following steps if your regions have content:
; 1) Make a backup of your database!
; 2) Set "CombineContiguousRegions=true", start Opensim. You'll see a lot of error messages -- ignore them.
; 3) Go to the Opensim console, and type "fix-phantoms"
; 4) Wait some minutes for the backup thread to store everything
; 5) Restart Opensim, and check that everything is there.
; This has worked for me (Zonja) - your mileage may vary.
; Please refer to this post from Diva for more information
;
CombineContiguousRegions=true

Step 2:  bin\regions\RegionConfig.ini

The Example Provided here is for a 3x3, 9 Simulator Mega-Region.  Ensure that you fill in the Correct Information in all the required fields.

; 9 Simulator 3x3 Mega-Region Example
; Supply a unique UUID for each region
; Unique InternalPort for Each Region
; Ensure you put your MasterAvatar UUID 
; 
;************************************************
[RegionName_SW]
RegionUUID = "00000000-0000-0000-0000-000000000000"
Location = "5000,5000"
InternalAddress = "0.0.0.0"
InternalPort = 9001
AllowAlternatePorts = False
ExternalHostName = "YourIP_DNSname"
;
MasterAvatarUUID = "00000000-0000-0000-0000-000000000000"
MasterAvatarFirstName = "FirstName"
MasterAvatarLastName = "LastName"
;MasterAvatarSandboxPassword = ""
;
;NonphysicalPrimMax = 0
;PhysicalPrimMax = 0
ClampPrimSize = False
;MaxPrims = 15000
;
;ScopeID = "00000000-0000-0000-0000-000000000000"
;************************************************
[RegionName_W]
RegionUUID = "00000000-0000-0000-0000-000000000000"
Location = "5000,5001"
InternalAddress = "0.0.0.0"
InternalPort = 9002
AllowAlternatePorts = False
ExternalHostName = "YourIP_DNSname"
;
MasterAvatarUUID = "00000000-0000-0000-0000-000000000000"
MasterAvatarFirstName = "FirstName"
MasterAvatarLastName = "LastName"
;MasterAvatarSandboxPassword = ""
; 
;NonphysicalPrimMax = 0
;PhysicalPrimMax = 0
ClampPrimSize = False
;MaxPrims = 15000
; 
;ScopeID = "00000000-0000-0000-0000-000000000000"
;************************************************
[RegionName_NW]
RegionUUID = "00000000-0000-0000-0000-000000000000"
Location = "5000,5002"
InternalAddress = "0.0.0.0"
InternalPort = 9003
AllowAlternatePorts = False
ExternalHostName = "YourIP_DNSname"
; 
MasterAvatarUUID = "00000000-0000-0000-0000-000000000000"
MasterAvatarFirstName = "FirstName"
MasterAvatarLastName = "LastName"
;MasterAvatarSandboxPassword = ""
; 
;NonphysicalPrimMax = 0
;PhysicalPrimMax = 0
ClampPrimSize = False
;MaxPrims = 15000
; 
;ScopeID = "00000000-0000-0000-0000-000000000000"
;
;************************************************
;
[RegionName_S]
RegionUUID = "00000000-0000-0000-0000-000000000000"
Location = "5001,5000"
InternalAddress = "0.0.0.0"
InternalPort = 9004
AllowAlternatePorts = False
ExternalHostName = "YourIP_DNSname"
; 
MasterAvatarUUID = "00000000-0000-0000-0000-000000000000"
MasterAvatarFirstName = "FirstName"
MasterAvatarLastName = "LastName"
;MasterAvatarSandboxPassword = ""
; 
;NonphysicalPrimMax = 0
;PhysicalPrimMax = 0
ClampPrimSize = False
;MaxPrims = 15000
; 
;ScopeID = "00000000-0000-0000-0000-000000000000"
;
;************************************************
[RegionName_Centre]
RegionUUID = "00000000-0000-0000-0000-000000000000"
Location = "5001,5001"
InternalAddress = "0.0.0.0"
InternalPort = 9005
AllowAlternatePorts = False
ExternalHostName = "YourIP_DNSname"
; 
MasterAvatarUUID = "00000000-0000-0000-0000-000000000000"
MasterAvatarFirstName = "FirstName"
MasterAvatarLastName = "LastName"
;MasterAvatarSandboxPassword = ""
; 
;NonphysicalPrimMax = 0
;PhysicalPrimMax = 0
ClampPrimSize = False
;MaxPrims = 15000
; 
;ScopeID = "00000000-0000-0000-0000-000000000000"
;************************************************
[RegionName_N]
RegionUUID = "00000000-0000-0000-0000-000000000000"
Location = "5001,5002"
InternalAddress = "0.0.0.0"
InternalPort = 9006
AllowAlternatePorts = False
ExternalHostName = "YourIP_DNSname"
; 
MasterAvatarUUID = "00000000-0000-0000-0000-000000000000"
MasterAvatarFirstName = "FirstName"
MasterAvatarLastName = "LastName"
;MasterAvatarSandboxPassword = ""
; 
;NonphysicalPrimMax = 0
;PhysicalPrimMax = 0
ClampPrimSize = False
;MaxPrims = 15000
;ScopeID = "00000000-0000-0000-0000-000000000000"
;
;************************************************
;
[RegionName_SE]
RegionUUID = "00000000-0000-0000-0000-000000000000"
Location = "5002,5000"
InternalAddress = "0.0.0.0"
InternalPort = 9007
AllowAlternatePorts = False
ExternalHostName = "YourIP_DNSname"
; 
MasterAvatarUUID = "00000000-0000-0000-0000-000000000000"
MasterAvatarFirstName = "FirstName"
MasterAvatarLastName = "LastName"
;MasterAvatarSandboxPassword = ""
; 
;NonphysicalPrimMax = 0
;PhysicalPrimMax = 0
ClampPrimSize = False
;MaxPrims = 15000
; 
;ScopeID = "00000000-0000-0000-0000-000000000000"
;
;************************************************
[RegionName_E]
RegionUUID = "00000000-0000-0000-0000-000000000000"
Location = "5002,5001"
InternalAddress = "0.0.0.0"
InternalPort = 9008
AllowAlternatePorts = False
ExternalHostName = "YourIP_DNSname"
MasterAvatarUUID = "00000000-0000-0000-0000-000000000000"
MasterAvatarFirstName = "FirstName"
MasterAvatarLastName = "LastName"
;MasterAvatarSandboxPassword = ""
;NonphysicalPrimMax = 0
;PhysicalPrimMax = 0
ClampPrimSize = False
;MaxPrims = 15000
; 
;ScopeID = "00000000-0000-0000-0000-000000000000"
;
;************************************************
[RegionName_NE]
RegionUUID = "00000000-0000-0000-0000-000000000000"
Location = "5002,5002"
InternalAddress = "0.0.0.0"
InternalPort = 9009
AllowAlternatePorts = False
ExternalHostName = "YourIP_DNSname"
; 
MasterAvatarUUID = "00000000-0000-0000-0000-000000000000"
MasterAvatarFirstName = "FirstName"
MasterAvatarLastName = "LastName"
;MasterAvatarSandboxPassword = ""
; 
;NonphysicalPrimMax = 0
;PhysicalPrimMax = 0
ClampPrimSize = False
;MaxPrims = 15000
; 
;ScopeID = "00000000-0000-0000-0000-000000000000"
;
;************************************************
 

 

Good Luck

Hope it Helps. --WhiteStar 08:34, 27 November 2009 (UTC)

 

Personal tools
General
About This Wiki