mandriva
 

MMC Dyngroup plugin configuration file

Olivier Roussy

$Id: mmc-python-plugin-dyngroup-configuration.xml 156 2009-07-23 13:43:05Z nrueff $

Revision History
Revision 1.2.3 2009-07-22 NR
  • New Pulse 2 Release, but no new option

Revision 1.2.2 2009-05-19 NR
  • New Pulse 2 Release, but no new option

Revision 1.2.1 2009-05-12 OR
  • Initial official release

Abstract

This document explains the content of the MMC dyngroup plugin configuration file


1. Introduction

The « dyngroup » plugin is the MMC plugin in charge of creating, modifying and deleting groups of machine.

The plugin configuration file is /etc/mmc/plugins/dyngroup.ini.

Like all MMC related configuration file, its file format is INI style. The file is made of sections, each one starting with a « [sectionname] » header. In each section options can be defined like this: « option = value ».

For example:

[section1]
option1 = 1
option2 = 2

[section2]
option1 = foo
option2 = plop      

2. Configuration file sections

For now four sections are available in this configuration file:

Table 1. dyngroup.ini available sections

Section name Description Optional
main Mostly MMC related behaviors no
database Needed options to connect to the database no
querymanager Describe how it react as a potential queriable plugin yes

3. « main » section

This section is used to give directives to the MMC agent.

Table 2. Available options for the "main" section

Option name Description Optional Default value
disable Whenever use this plugin (or not) yes 0
dyngroup_activate Tell if the dynamic group part is activated or if there is only the static group part yes 1

4. « database » section

This section defines the database options.

Table 3. Available options for the "database" section

Option name Description Optional Default value
dbdriver DB driver to use no mysql
dbhost Host which hosts the DB no 127.0.0.1
dbport Port on which to connect to reach the DB no 3306 (aka "default MySQL port")
dbname DB name no dyngroup
dbuser Username to give while conencting to the DB no mmc
dbpasswd Password to give while connecting to the DB no mmc
dbdebug Whenever log DB related exchanges yes ERROR
dbpoolrecycle DB connection time-to-live yes 60 (seconds)
dbpoolsize The number of connections to keep open inside the connection pool yes 5
dbsslenable SSL connection to the database yes 0
dbsslca CA certificate for SSL connection yes  
dbsslcert Public key certificate for SSL connection yes  
dbsslkey Private key certificate for SSL connection yes  

5. « querymanager » section

This section define how this plugin react as a potential queriable plugin.

Table 4. Available options for the "querymanager" section

Option name Description Optional Default value
activate If queries on the group name are possible. yes 1