Cloud CM-IPMP Guía para resolver problemas Pagina 26

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 201
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 25
$ /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.
$ /home/user/rhino/create-node.sh 102
Creating new node /home/user/rhino/node-102
Deferring database creation. This should be performed before starting Rhino for the first time.
Run the "/home/user/rhino/node-102/init-management-db.sh" script to create the database.
Created Rhino node in /home/user/rhino/node-102.
$ /home/user/rhino/create-node.sh 103
Creating new node /home/user/rhino/node-103
Deferring database creation. This should be performed before starting Rhino for the first time.
Run the "/home/user/rhino/node-103/init-management-db.sh" script to create the database.
Created Rhino node in /home/user/rhino/node-103.
4.2.10 Initialising the Database
Rhino SLEE uses a PostgreSQL database to keep a back-up of the current state of the SLEE. This database must first be
initialised before Rhino SLEE can be used. The database can be created and initialised by executing the
$RHINO_NODE_HOME/init-management-db.sh
shell script. This script can also be used when the SLEE administrator wants
to wipe all state held within the SLEE.
The
init-management-db.sh
script will produce the following console output.
$ ./init-management-db.sh
CREATE DATABASE
You are now connected to database "rhino".
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "versioning_pkey" for table "versioning"
CREATE TABLE
COMMENT
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "keyspaces_pkey" for table "keyspaces"
CREATE TABLE
COMMENT
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "timestamps_pkey" for table "timestamps"
CREATE TABLE
COMMENT
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "registrations_pkey" for table "registrations"
CREATE TABLE
COMMENT
4.3 Cluster Lifecycle
4.3.1 Creating the Primary Component
The primary component is the set of nodes which know the authoritative state of the cluster. A node will not accept management
commands or perform work until it is in the primary component and a node which is no longer in the primary component will
shut itself down.
At least one node in the cluster must be told to create the primary component, typically only once the first time the cluster is
started. The primary component is created when a node is started with the
-p
switch.
When a node is restarted it will remember whether it was part of the primary component without the need to specify the
-p
switch. It does this by looking at configuration written to the
work
directory. If the primary component already exists then the
-p
switch is ignored.
The following command will start a node and create the primary component. This will start Rhino SLEE in the STOPPED
state, ready to receive management commands.
Open Cloud Rhino 1.4.3 Administration Manual v1.1 17
Vista de pagina 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 200 201

Comentarios a estos manuales

Sin comentarios