Skip to content

First Setup

Olivier van Helden edited this page Nov 23, 2026 · 8 revisions

Run the interactive wizard after installation:

opensim setup

Choose one of these setup types:

  • Grid: a grid service and one or more simulators
  • Standalone: one simulator that also acts as its own grid
  • Simulator: a simulator joining an existing grid

The wizard presents the questions in one form, prefilled with engine defaults. Review the proposed configuration before applying it. In a terminal without dialog support, answers are collected with plain prompts; enter a field number to edit it, :back to return, or :quit to stop.

To prepare answers for review without applying the setup:

opensim setup --prepare setup.json

To prefill the wizard from a saved answer file, use --config. To apply a prepared setup without asking again, use:

opensim setup --apply setup.json

A region the grid has already

To run on this server a region the grid has already (restored, or moved from another server), answer yes to "Take over the region of this name the grid has already" in the wizard, or give --existing. The region keeps its UUID, place, size and owner, as the grid keeps them: no temporary region, nothing left on the map or in search. The setup refuses it while the simulator that runs it elsewhere answers: stop that one first.

opensim setup --existing

The wizard asks the grid to join and the region name as usual; give the name of the region the grid has. On a server that runs a simulator of the grid already, the same in one command:

opensim simulator add my-grid moved --region "Welcome" --existing --apply
opensim region add my-grid my-grid.moved --name "Second" --existing --apply

Without --apply, these say what they would write and change nothing.

Existing region configuration

To stage an existing region from its Region.ini:

opensim setup --region-config /path/to/Region.ini --prepare setup.json
opensim setup --apply setup.json

This preserves the region UUID and settings and leaves the simulator disabled. Restore its database and files, then stop the original source before enabling the migrated instance.

The setup needs write access to the configured OpenSim directories. Package installation and setup run with different privileges: setup should run as the account that owns the OpenSim data.

Clone this wiki locally