
$Id: mmc-python-plugin-dyngroup-configuration.xml 132 2009-05-12 16:27:50Z nrueff $
Copyright © 2009 Mandriva
| Revision History | ||
|---|---|---|
| Revision 1.2.1 | 2009-05-12 | OR |
|
||
Abstract
This document explains the content of the MMC dyngroup plugin configuration file
Table of Contents
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
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 |
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 |
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 |