Contents

The DB Recovery Tool is executed by running recover-database.bat/ recover-database.sh which can be found under %FIORANO_HOME%\fmq\bin.

Using Windows

> recover-database.bat [–propertiesFile <absolute path for configuration file>]

[-fmq.profile <profile name for which DB is to be recovered>]
[-h ]

Using Unix/Linux

$ ./recover-database.sh [–propertiesFile <absolute path for configuration file>]

[-profile <profile name for which DB is to be recovered>]
[-h ]

Parameters

  • Properties file: Configuration file. Default configuration file is located at %FIORANO_HOME%\fmq\profiles\recovery.properties

    Example

    Icon

    > recover-database.bat –propertiesFile c:\db.properties

  • Profile: Profile name for which DB is corrupted and to be recovered.

    Icon

    > recover-database.bat –profile FioranoMQ_XA

  • Help: Brief information on various command line arguments.

    Icon

    > recover-database.bat -h

  • DB Path: Path in which FMQ DB is located.

    Icon

    > recover-database.bat -dbPath %FIORANO_HOME%\fmq\profiles\FioranoMQ_XA\run

  • checkCSP: Analyzes CSP cache specified in path

    Icon

    > recover-database.bat -checkCSP %CSP_CACHE_PATH%

  • Operation: The operation to be performed by the recovery tool. By default the value is RunExtractor.

    Icon

    > recover-database.bat RunExtractor

 

Configuration File Parameters

  • RUN_PTP_ANALYZER: Analyzes whether or not to recover the PTP subsystem database. The default is true.
  • RUN_PUBSUB_ANALYZER: Analyzes whether or not to recover PUBSUB subsystem database. The default is false
  • RUN_SDB_ANALYZER: Analyzes whether or not to recover Security subsystem database. The default is false.
  • TRACE_LEVEL: Trace level for DB recovery tool. The default number is 6 (which is the maximum).
  • PTP_DB_NAME: This is the database name for the PTP Subsystem. The default value is PTP. This default value can be configured from Profile Manager by setting the value of Fiorano.mq.ptp.databases.file.FileDBManager.Path
  • PUBSUB_DB_NAME: This is the database name for the PUBSUB SubSystem. The default value is PUBSUB. This default value can be configured from Profile Manager by setting the value of Fiorano.mq.pubsub.databases.file.FileDBManager.Path
  • SDB_ACL_DB_NAME: This is the database name for SDB ACL Manager. The default value is SDB/REALM.ACL. This default value can be configured from Profile Manager by setting the value of Fiorano.security.AclManager.FileDBManager.Path
  • SDB_PRINCIPAL_DB_NAME: This is the database name for SDB Principal Manager. The default value is SDB/REALM.PRINCIPAL. This default value can be configured from Profile Manager by setting the value of Fiorano.security.PrincipalManager.FileDBManager.Path
  • RENAME_DIRECTORY ANALYZER: Analyzes whether or not to rename the recovered directory to the default name. The default is false.

Default names for PTP, PUBSUB and Security subsystem database are PTP, PUBSUB and SDB respectively.

When 'tool' recovers some of the database it creates a new directory by adding prefix .New to the default name, that is, PTP.New.

If RENAME_DIRECTORY is true, it renames the old (may be corrupted) database with prefix .Old, that is, PTP.Old, and renames the recovered database to the default state by removing prefix .New.

Adaptavist ThemeBuilder EngineAtlassian Confluence