After installing Rhino on a machine, you can create a new node by executing the $RHINO_HOME/create-node.sh
shell script.
When a node-NNN
directory is created, the default configuration for the node is copied from $RHINO_HOME/etc/default
.
Ideally any configuration changes should be made in the etc/defaults
directory before creating new node directories (and made at the same time in any existing node-NNN
directories).
See also Configuring the Installation.
Once a node has been created, its configuration cannot be transferred to another machine. It must be created on the host on which it will run. |
In the following example, node 101
is created:
$ /home/user/rhino/create-node.sh Chose a Node ID (integer 1..255) Node ID [101]: 101 Creating new node /home/user/rhino/node-101 Deferring database creation. This should be performed before starting Rhino for the first time. Run the "/home/user/rhino/node-101/init-management-db.sh" script to create the database. Created Rhino node in /home/user/rhino/node-101.
You can also use a node-id argument with create-node.sh
, for example:
$ /home/user/rhino/create-node.sh 101 Creating new node /home/user/rhino/node-101 Deferring database creation. This should be performed before starting Rhino for the first time. Run the "/home/user/rhino/node-101/init-management-db.sh" script to create the database.