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)
m
Line 80: Line 80:
 
<br>; 4) Wait some minutes for the backup thread to store everything
 
<br>; 4) Wait some minutes for the backup thread to store everything
 
<br>; 5) Restart Opensim, and check that everything is there.
 
<br>; 5) Restart Opensim, and check that everything is there.
<br>; This has worked for me (Zonja) - your mileage may vary.
+
<br>; This has worked for me ([[User:Zonja]]) - your mileage may vary.
 
<br>; Please refer to [http://www.metaverseink.com/blog/?p=28 this post from Diva] for more information
 
<br>; Please refer to [http://www.metaverseink.com/blog/?p=28 this post from Diva] for more information
 
<br>;  
 
<br>;  

Revision as of 04:48, 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 (User: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