Database Isolation

This feature makes it possible to run multiple instances of the same version of Reality. Each instance runs completely independently of other instances in much the same way as different versions of Reality.

This has two main advantages:

Each instance of Reality requires the same amount of memory and disk space as a normal (non-isolated) Reality installation.

Note: Additional instances are licensed separately from the base instance of Reality. If you want to create a new instance, you must purchase the required number of user licences specifically for that instance number.

On Reality releases other than the live version, additional instances are restricted to a maximum of eight users in the same way as for the base instance.

Creating Instances

You create an additional instance of Reality with the realclone host utility. For example, to create a new instance numbered 3 of the currently selected version of Reality, enter:

realclone -c3

Note: The selected version of Reality will be the live version unless changed with the realroot command.

Once you have created a new instance, you need to associate one or more databases with it.

Note: Once a database is associated with an instance of Reality, it can only be used with that instance. Before using any of the Reality host utilities, you must use realroot to select the correct release and instance.

Deleting Instances

The realclone host utility also allows you to delete the Reality instances you have created. Before doing this, for each database associated with the instance you must either:

realroot 3
rmdbase dbase3

or on UNIX with the Korn shell:

. realroot 3
rmdbase dbase3

You can then run realclone with the –d option to delete the instance:

realclone -d3

Updating the Instance Software

If you update your Reality software (for instance, by installing a patch), you must also update any additional instances. To do this, shut down the Reality central daemon or service as appropriate for that instance (on UNIX, use killreal; on Windows, realserv –e). Then run realclone with the –u option on the base instance. You can then restart the central daemon or service for the instance using realstart (UNIX) or realserv –s (Windows). Use realroot to select the appropriate instance at each stage.

For example, to upgrade instance 3 to the same software version as the base instance on Windows, run:

realroot 3	< select the instance
realserv -e	< stop the services for the instance
realroot		< select the base instance
realclone -pu3	< update the instance
realroot 3	< re-select the instance
realserv -s	< restart the services for the instance

or on UNIX with the Korn shell:

. realroot 3	< select the instance
killreal		< stop the daemons for the instance
. realroot	< select the base instance
realclone -pu3	< update the instance
. realroot 3	< re-select the instance
realstart		< restart the daemons for the instance

Administering a Reality Instance

The realroot host command selects a specified Reality release or instance, by setting the necessary environment variables (REALROOT, PATH, etc.). When using the Reality host utilities, you must first select the required instance.

Using Database Isolation with Resilience

If you are using both Database Isolation and Resilience, the following restrictions apply:

Go to top button