Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Deploying to a Cluster

dmcassel edited this page May 21, 2012 · 4 revisions

The Roxy Deploy tool can be used to deploy to a cluster.

App Servers

The app servers will be deployed to the target host, making them available on servers in that group's cluster.

Databases

A database is present on each host where it has forests and is available to the entire cluster. The content database will be installed with at least one forest on each of the group's hosts. To change the number of forests, use this setting in deploy/build.properties:

#
# Number of forests to create per host in the group for the content-db
#
content-forests-per-host=1

This value is used in deploy/ml-config.xml in place of forest configurations or assignments. To specify the data directory for these forests, add a element under the element in deploy/ml-config.xml:

<database>
  <database-name>@ml.content-db</database-name>
  <forests-per-host>@ml.content-forests-per-host</forests-per-host>
  <forests>
    <data-directory>/space</data-directory>
  </forests>

The setting above will cause the forests to be created under the /space directory. Note that if the /space directory does not exist on all target hosts, forests will be created but will not mount successfully.

Note that the current implementation assumes that the e-nodes and d-nodes are together in the same group. If you'd like support for splitting them, please enter a ticket and I'll add a "content-db-group" property.