Important! Please read the announcement at http://myst.dustbird.net/uru-account.htm
Also! Please read the retirement announcement at http://myst.dustbird.net/uru-retirement.htm

Dual-Mode Sandbox Shard - New!

From UamWiki
Revision as of 14:45, 7 December 2011 by Phoenix (talk | contribs) (added body)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Dual-Mode Sandbox Shard

For Non-Programmers

License: GNU GPL v3


You may copy and distribute this document as long as the name of the original author, version number and date stays in place.


by Phoenix Rising

Version 0.1

December 2011


What is a Dual-Mode Sandbox Shard?

Well, for one thing it is a first for the URU community. If you are the kind of person who wants to run your own shard one day, this wiki will show you how to do that.

The dual-mode sandbox is based on two previous wiki pages on UAM namely http://dusty.homeunix.net/wiki/Tiny_Sandbox_Shard_Howto and http://dusty.homeunix.net/wiki/Setting_Up_A_Sandbox_Shard_with_Dataserver.

The key advantage of a dual-mode shard is that the owner can switch between the two types of shard without a reboot. If you got your Tiny Sandbox and Full Sandbox working what you may have found out is they will happily run on the same server, but obviously not at the same time. Just use the same dirtsand installation when you build up your full dataserver.

<per>/opt/dirtsand</per>

To switch between the two shard setups all you need to do is edit the dirtsand.ini file in your dirtsand directory on your ubuntu box.

Here is how.

For full dataserver:

<per> File.Root = /opt/dirtsand/data Auth.Root = /opt/dirtsand/authdata </per>

For tiny mode:

<per> File.Root = /opt/dirtsand/tiny/data Auth.Root = /opt/dirtsand/tiny/authdata </per>

You do not need to change anything else in the file (if you followed the two wiki's) so save it and relaunch dirtsand with

<per>bin/dirtsand dirtsand.ini </per>

I am sure a linux guru can write a little script to make this dummy proof.

Enjoy

Phoenix

PS: More good news to come