117 lines
5.3 KiB
INI
117 lines
5.3 KiB
INI
# Configuration file for Launcher component
|
|
# File format:
|
|
# Empty lines will be ignored
|
|
# All Key fields marked (O) in comments are Optional
|
|
# The other Key fields are manatory. Junk or absence of data could cause abnormal behaviour of the Component
|
|
|
|
# -----------------------------------
|
|
# SPECIFIC MMLAUNCHER ATTRIBUTES
|
|
# -----------------------------------
|
|
# Section Name : [LAUNCHER]
|
|
# DEFINES:
|
|
# MONITOR_TIMEOUT_MS (O) - Timeout value used for process monitoring. Polling Frequency of the process monitor thread
|
|
# SLAY_PROCESS_RETRY_COUNT - Max Number of retry counts to slay a particular process. It sends a SIGKILL after the retry count
|
|
# CHECK_CUSTOM_VERSION - If set to 1, it updates custom version. If set to 0, it does not check the custom version
|
|
# CHECK_HDD_AVAILABILITY - specific checks & updates for MMLauncher support (boolean values) (future use)
|
|
# DELETE_ZONEOUTPUT_CONTENT - If set to 1, it deletes zoneoutput devices entries. If set to 0 it does not delete the zone entries
|
|
# DB_RECOVERY_METHOD - Procedure followed for DB recover method. Options allowed are "remove","format"
|
|
# remove - discards DB files
|
|
# format - formats the specified partitions
|
|
# MIGRATION_SCRIPT_PATH - Absolute path with the filename to the migration script. The Absolute path must also include the filename.
|
|
# QDB_CONFIG_FILEPATH - QDB CONFIG SCRIPT PATH (qdb.cfg) on the target system
|
|
# QDBC_EXE_ABS_PATH - Absolute path to QDBC executable (will be removed once the C API is adapted)
|
|
[LAUNCHER]
|
|
MONITOR_TIMEOUT_MS = 500
|
|
AUTO_START_PROCESS = 0
|
|
SLAY_PROCESS_RETRY_COUNT = 2
|
|
CHECK_CUSTOM_VERSION = 1
|
|
CHECK_HDD_AVAILABILITY = 0
|
|
DELETE_ZONEOUTPUT_CONTENT = 0
|
|
DB_RECOVERY_METHOD = remove
|
|
MIGRATION_SCRIPT_PATH = /opt/mm/etc/update/migration.sh
|
|
QDB_CONFIG_FILEPATH = /opt/mm/etc/qdb.cfg
|
|
QDBC_EXE_ABS_PATH = /bin/qdbc
|
|
|
|
# -----------------------------------
|
|
# GENERIC PROCESSES ATTRIBUTES
|
|
# -----------------------------------
|
|
# Section Name : [PROCESS_X]
|
|
# DEFINES :
|
|
# PROC_ALIAS - Common Alias name for the process of same level origin
|
|
# PROC_NAME - Specific executable name
|
|
# PROC_PATH - Absolute path to executable
|
|
# USE_HDD - boolean for arg support used in presence of HDD
|
|
# ARG_HDD - arguments to be used with HDD for starting a process
|
|
# ARG_WITHOUT_HDD - arguments to be used in absence of HDD for starting a process
|
|
# NODE - /dev/* node created by the process
|
|
# POST_START_SCRIPT (0) - (optional) The absolute path with the filename of the prestart script for the process.
|
|
# PRE_START_SCRIPT (0) - (optional) The absolute path with the filename of the poststart script for the process.
|
|
# ENV_VAR (0) - ENV variable name required for the process
|
|
# ENV_VAR_PATH (0) - ENV variable value to be set.
|
|
|
|
[PROCESS_1]
|
|
PROC_ALIAS = QDB
|
|
PROC_NAME = qdb
|
|
PROC_PATH = /bin/
|
|
USE_HDD = 1
|
|
ARG_HDD = -o tempstore=/ramdisk/mm -v -c /opt/mm/etc/qdb.cfg -o unblock=0,thread=40 -Rset -X /opt/mm/etc/update/recover_db.sh
|
|
ARG_WITHOUT_HDD = -o tempstore=/ramdisk/mm -v -c /opt/mm/etc/qdb_hdd_safe.cfg -o unblock=0,thread=40 -Rset -X /opt/mm/etc/update/recover_db.sh
|
|
NODE = /dev/qdb/mme
|
|
POST_START_SCRIPT =
|
|
PRE_START_SCRIPT =
|
|
ENV_VAR = LD_PRELOAD
|
|
ENV_VAR_PATH = /lib/libm.so.2:/opt/mm/lib/libQdbCollationConvert.so
|
|
|
|
[PROCESS_2]
|
|
PROC_ALIAS = MME
|
|
PROC_NAME = mme-becker
|
|
PROC_PATH = /opt/mm/bin/
|
|
USE_HDD = 1
|
|
ARG_HDD = -c /opt/mm/etc/mme.conf -v -S
|
|
ARG_WITHOUT_HDD = -c /opt/mm/etc/mme.conf -v -S
|
|
NODE = /dev/mme/zone1
|
|
POST_START_SCRIPT =
|
|
PRE_START_SCRIPT =
|
|
ENV_VAR =
|
|
ENV_VAR_PATH =
|
|
|
|
# -----------------------------------
|
|
# CUSTOM DB FILES for update
|
|
# -----------------------------------
|
|
# Section Name : [CUSTOM_MODULE_X]
|
|
# DEFINES:
|
|
# CUSTOM_VERSION_EXP (0) - Expected custom version number
|
|
# CUSTOM_DB_NAME (0) - Database name for the custom upgrade. By default set to mme DB
|
|
# CUSTOM_TABLE_NAME (0) - Table name to query the custom version from DB
|
|
# CUSTOM_COLUMN_NAME (0) - Column name to query the custom version from DB
|
|
# CUSTOM_MIGRATION_SCRIPT_PATH (0) - Absolute path with filename of the custom migration script. It must include the filename of the script
|
|
|
|
[CUSTOM_MODULE_1]
|
|
CUSTOM_VERSION_EXP = 3006
|
|
CUSTOM_DB_NAME =
|
|
CUSTOM_TABLE_NAME = _qdb_info_custom_
|
|
CUSTOM_COLUMN_NAME = version
|
|
CUSTOM_MIGRATION_SCRIPT_PATH = /opt/mm/etc/update/mm_custom_migration.sh
|
|
|
|
[CUSTOM_MODULE_2]
|
|
CUSTOM_VERSION_EXP = 6
|
|
CUSTOM_DB_NAME =
|
|
CUSTOM_TABLE_NAME = _custom_info_
|
|
CUSTOM_COLUMN_NAME = version
|
|
CUSTOM_MIGRATION_SCRIPT_PATH = /opt/mm/etc/update/mm_commco_migration.sh
|
|
|
|
# -----------------------------------
|
|
# FORMAT_PARTITIONS
|
|
# -----------------------------------
|
|
# Section Name : [FORMAT_PARTITIONS]
|
|
# DEFINES :
|
|
# PATH_MME_BACKUP1 - path to format backup1
|
|
# PATH_MME_BACKUP2 - path to format backup2
|
|
# PATH_MME_CACHE - path to format cache
|
|
[FORMAT_PARTITIONS]
|
|
PATH_MME_BACKUP1 = /ramdisk/mm
|
|
PATH_MME_BACKUP2 = /ramdisk/mm
|
|
PATH_MME_CACHE = /ramdisk/mm
|
|
|
|
# eof
|