Customize your Installation

Inventory files

~/nodeum/inventory/

Before to launch the playbook, you have to configure your deployment settings.

To configure the cluster architecture, you need to configure, according to the architecture guide, these 3 mains sections:

Configuration of ‘hosts’ files

‘hosts’ files - Refer you to the architecture guide

Different files templates are available, you can go through each of them and decide how you want these services deployed across all different available nodes:

Services configuration

Service mapping

Configure the network interface mapping in group_vars/all/options.yml, this following example configure the default interface as em0 and a specific service (rails) to the interface em1.

Web server name

There is the option to define a specifc web server name instead of the default ‘nodename’.

Configure OpenID

Define listening ports

This is available for all the following services Front, Scheduler, Monitoring, Dispatcher, Mover, Finalizer

Without specific configuration, it is a random listening port which is used for each service. The port range is defined into the architecture guide.

The option exists to specify specific port which will be used by each service.

For doing this, in the file group_vars/all/options.yml in each service definition, there is an option to define the listening port of the services.

Example for the front service which has the port 8093 defined.

Define the # of parallel movement for the mover

These informations are defined in the file group_vars/all/options.yml in the mover section.

The number of mover processes deployed on the server can be configured (default is 1), and the maximal number of parallel mover execution can also be configured. Either a formula based on the number of processor can be used or a defined number can also be set.

Define the # of parallel movement for the finalizer

(see architecture guide for more details)

These informations are defined in the file group_vars/all/options.yml in the finalizer section.

The number of finalizer processes deployed on the server can be configured (default is 1), and the maximal number of parallel finalizer execution can also be configured. Either a formula based on the number of processor can be used or a defined number can also be set.

Activate LDAP plugin

This section is to describe how to configure the LDAP plugin to allow to retrieve a user's uid - gid based on a JWT token.

Activate S3 and SWIFT plugins

To activate the Object Storage plugins, go in the group_vars/all/options.yml

This section is in the Mover configuration part of the file:

Activate Mounted File System Storage connections

To configure the Mounted File System Storage, go in the group_vars/all/options.yml in the Mover section.

It's important to complete the following options :

  • type: this is the type of storage

  • parent_name: logical name of the storage that will be recognized in the task movement

  • always_mounted: is the storage being mounted outside the data mover

Activate Object Storage using OpenID authentication

To configure the object storage, go in the group_vars/all/options.yml in the Mover section.

It's important to complete the following options :

  • region_name: default region

  • Auth_url: url of the keystone

  • Identity_provider: your idendity provider

  • Auth_protocol: openid

Configure Prometheus

In the group_vars/all/options.yml, you have the option to configure Prometheus and Node Exporter.

Different options are available to fine tune your node exporter and prometheus deployment: interface binding and port mapping.

In addition others settings can be configured such as the prometheus_scrap_interval.

Configure Fluentd Loki exporter

In the group_vars/all/options.yml you have the option to configure Nodeum Logs export to a Grafana Loki.

Where:

  • localhost is your Grafana Loki server name

  • 3100 is the listening port of your Grafana Loki server name

Password encryption

It is possible to encrypt the password file in using the ansible-vault option.

Different options of encryption are available :

With a prompted password

To encrypt the password file

To edit the encrypted file

To change the vault password

With a password_file

To encrypt the password file

To edit the encrypted file

To change the vault password

Last updated

Was this helpful?