How to run a serious OpenSim grid at home - SLUniverse Forums
 
Navigation » SLUniverse Forums > Community Discussion > Other Grids / Virtual Worlds > OpenSim Discussion » How to run a serious OpenSim grid at home


OpenSim Discussion Discuss development, use, and support issues related to the OpenSim project.

Reply
 
LinkBack Thread Tools Display Modes
Old 04-04-2009, 02:13 AM   #1 (permalink)
Junior Member
 
SkidzTweak's Avatar
 
Join Date: Apr 2009
Location: Riverside Mo
Posts: 1
SL Join Date: April 2006
How to run a serious OpenSim grid at home

Hi all..

I thought I would share a series I been working on in my blog:
How to run a serious OpenSim grid at home

Theres 5 parts to it already, and its by means not finished:
Part 1 - Setting up your database
Part 2 - Setting up opensim
Part 3 - Some overview and general discussion
Part 4 - Starting multiple sims up
Part 5 - Open it up to the internet

I also have a security series on OpenSim using Sandboxie

These were all just written so has the most up to date info on it.

Hope someone finds them useful, and no one finds this as spam. Just sharing something I honestly thought you all might enjoy
SkidzTweak is offline   Reply With Quote
1 User Said Yay!:
Old 04-04-2009, 03:39 AM   #2 (permalink)
Tarot Obsessor
 
CoyoteMomiji's Avatar
Zzzt zzzt zzzt
 
Join Date: Sep 2007
Posts: 3,500
My Mood:
SLShopper Ads: 19
SL Join Date: 01/26/06
Hiya Skidz! Welcome to SLU.
__________________

Slick closed until further notice.

Recidivist Sideways: YOU'LL TAKE MY ROUGH, BUTTERY FRIENDSHIP, AND YOU'LL LIKE IT
CoyoteMomiji is offline   Reply With Quote
Old 04-04-2009, 04:58 AM   #3 (permalink)
The Indomitable
 
Willow Matthews's Avatar
Brooks no nonsense.
 
Join Date: Jun 2007
Location: Australia
Posts: 2,343
My Mood:
SL Join Date: July 2006
Skidz.
Willow Matthews is offline   Reply With Quote
Old 04-04-2009, 12:52 PM   #4 (permalink)
is a pussy.
 
Hypatia Callisto's Avatar
lickin' ur status
 
Join Date: Jun 2007
Posts: 2,724
My Mood:
Blog Entries: 6
great stuff, thanks!
__________________
"To begin with," said the Cat, "a dog's not mad. You grant that?"

"I suppose so," said Alice.

"Well, then," the Cat went on, "you see, a dog growls when it's angry, and wags its tail when it's pleased. Now I growl when I'm pleased, and wag my tail when I'm angry. Therefore I'm mad."

"I call it purring, not growling," said Alice.

"Call it what you like," said the Cat.
Hypatia Callisto is offline   Reply With Quote
Old 04-04-2009, 02:38 PM   #5 (permalink)
is a pussy.
 
Hypatia Callisto's Avatar
lickin' ur status
 
Join Date: Jun 2007
Posts: 2,724
My Mood:
Blog Entries: 6
oh yes, this solved my half hour disconnects like a treat! Putting the Opensim on a different computer from the UGAIM fixed it right up.

Thanks muchly again, and also Sandboxie is a great tip. Opensim is really running very fine for me now on my LAN.
Hypatia Callisto is offline   Reply With Quote
Old 04-07-2009, 09:01 AM   #6 (permalink)
Senior Member
 
Bobby Baudin's Avatar
Editing Status...
 
Join Date: Jan 2009
Location: UK
Posts: 107
My Mood:
Business: Diamond Globe Real Estate
Thanks for the great info Skidz! I'll give this a blast when I get home!
Bobby Baudin is offline   Reply With Quote
Old 04-07-2009, 11:15 AM   #7 (permalink)
Shiny Officer
 
Maxx Monde's Avatar
I can't do this anymore...
 
Join Date: Sep 2007
Location: Washington D.C.
Posts: 201
My Mood:
SL Join Date: 11/14/03
Glad someone did an up-to-date version. I'll check it out. Documentation only helps opensim become even better. Good effort!
Maxx Monde is offline   Reply With Quote
Old 04-10-2009, 03:47 AM   #8 (permalink)
Scripter Most Ordinary
 
Makoto's Avatar
 
Join Date: Mar 2009
Location: Where ever i lay my hat, that's my home
Posts: 394
My Mood:
SL Join Date: 14/03/09 this AV
Business: None
Send a message via MSN to Makoto Send a message via Yahoo to Makoto
Skidz there is a problem in part 4,
you list
sim_location_x="999" sim_location_y="999"
sim_location_x="999" sim_location_y="1000"
sim_location_x="999" sim_location_y="1001"
sim_location_x="1000" sim_location_y="999"
sim_location_x="999" sim_location_y="1001"
sim_location_x="1001" sim_location_y="999"
sim_location_x="1001" sim_location_y="1000"
sim_location_x="1001" sim_location_y="1001"

the second 999 / 1001 should of course be 1000/1001

apart from that amazing,

When i did it there were small islands at the center of each region,
To make a large flat area you can goto the region window (opensim.exe)
and type terrain fill 30 which will make the whole of every region be full of land and flat
if you want the little humps in the middle you could have typed terrain elevate 30
You can also load and save region maps i guess they would be in some form of bitmap image and would work like an alpha map.


Last edited by Makoto; 04-10-2009 at 04:10 AM.
Makoto is offline   Reply With Quote
Old 04-10-2009, 04:46 AM   #9 (permalink)
Scripter Most Ordinary
 
Makoto's Avatar
 
Join Date: Mar 2009
Location: Where ever i lay my hat, that's my home
Posts: 394
My Mood:
SL Join Date: 14/03/09 this AV
Business: None
Send a message via MSN to Makoto Send a message via Yahoo to Makoto
on another note, if i want to have my grid available externally how can i get access internally ?

is it change the 0.0.0.0 internal ips in the files to point to the interlan 192.168 address while the external is pointing to the proper external ip?

Also how do you update the map view in the viewer, its still showing as the little islands?

Last edited by Makoto; 04-10-2009 at 04:53 AM.
Makoto is offline   Reply With Quote
Old 04-10-2009, 06:38 AM   #10 (permalink)
Scripter Most Ordinary
 
Makoto's Avatar
 
Join Date: Mar 2009
Location: Where ever i lay my hat, that's my home
Posts: 394
My Mood:
SL Join Date: 14/03/09 this AV
Business: None
Send a message via MSN to Makoto Send a message via Yahoo to Makoto
I just completed a perl script to allow you to create all the regions easily and quickly with a single config file.

Here it is.

input file has to be as follows
Code:
YOUREXTERNALIP,YOURINTERNALIP,GODFIRSTNAME,GODLASTNAME,GODPASS
REGIONGUID,REGIONNAME,REGIONX,REGIONY,REGIONPORT
Repeat the second line of that ad infinitum then it will create the correct XML files using the script below in about 2 seconds (i did 25 in one go) 5x5 grid.

Code:
$inputfile = "D:\\opensimprod\\regionguids.txt";
$outputdir = "D:\\opensimprod\\Regions\\";

#First read in the first line of the input file which will contain the 
#internal and external ip addresses as well as the realm god name and password
open(INP,$inputfile)|| die("Cannot open input file\n");
$line = <INP>;
chomp($line);
@information = split(/,/,$line);
$externalip = $information[0];
$internalip = $information[1];
$godfirst = $information[2];
$godlast = $information[3];
$godpass = $information[4];

#Open the output files on the fly to match the information loaded in the next part
while($line = <INP>)
{
    chomp($line);
    @information = split(/,/,$line);
    $guid = $information[0];
    $region = $information[1];
    $region_x = $information[2];
    $region_y = $information[3];
    $region_port = $information[4];
    
    open(OUTP,">$outputdir$region_x\-$region_y\-$region.xml") || die("Cannot Create Output File $outputdir\_$region_x\-$region_y\-$region.xml\n");
    print OUTP "\<Root\>\n<Config sim_UUID=\"$guid\" sim_name=\"$region\" sim_location_x=\"$region_x\" sim_location_y=\"$region_y\" ";
    print OUTP " internal_ip_address=\"$internalip\" internal_ip_port=\"$region_port\" allow_alternate_ports=\"false\" external_host_name=\"$externalip\" ";
    print OUTP "master_avatar_uuid=\"00000000-0000-0000-0000-000000000000\" master_avatar_first=\"$godfirst\" master_avatar_last=\"$godlast\" master_avatar_pass=\"$godpass\" "; 
    print OUTP "lastmap_uuid=\"964797ed-84d4-4878-8a2c-2123e0ac3d03\" lastmap_refresh=\"1239303914\" nonphysical_prim_max=\"0\" ";
    print OUTP "physical_prim_max=\"0\" clamp_prim_size=\"false\" object_capacity=\"0\" \/\>\n\<\/Root\>\n";
    close OUTP;
}
close INP;

Last edited by Makoto; 04-10-2009 at 07:26 AM.
Makoto is offline   Reply With Quote
Old 04-28-2009, 12:09 PM   #11 (permalink)
Junior Member
 
Join Date: Mar 2009
Posts: 7
Thanks! This is exactly what I was looking for, Skidz!
GriffinSnowpaw is offline   Reply With Quote
Reply

Tags
opensim grid howto how to

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On