Configure arbitrary Galera parameters

Configure arbitrary Galera parametersΒΆ

Note

This feature is available starting from the MCP 2019.2.13 maintenance update. Before using the feature, follow the steps described in Apply maintenance updates.

This section describes how to configure arbitrary Galera parameters using the wsrep_provider_options Galera variable. For details, see Galera parameters.

To configure arbitrary Galera parameters:

  1. Open your project Git repository with the Reclass model on the cluster level.

  2. In openstack/database/init.yml, specify wsrep_provider_options as required. For example:

    parameters:
        ...
      galera:
        master:
          wsrep_provider_options:
            gcomm.thread_prio: "rr:2"
        slave:
          wsrep_provider_options:
            gcomm.thread_prio: "rr:2"
         ...
    
  3. Log in to the Salt Master node.

  4. Apply the changes to Galera:

    salt -C 'I@galera:master or I@galera:slave' saltutil.refresh_pillar
    salt -C 'I@galera:master or I@galera:slave' state.apply galera