HomeMogDBMogDB StackUqbar
v5.0

Documentation:v5.0

Supported Versions:

Other Versions:

cm_install and cm_uninstall Tools

The cm_install tool can be used to deploy CMs in the MogDB database cluster. The cm_uninstall tool can be used to uninstall CMs from the MogDB database cluster without affecting the DN cluster.

Precautions

  • After cm_install is executed, the cluster is started by default.
  • This tool must be used as an individual user.

Prerequisites

  • The OM tool is required for installing the MogDB cluster.
  • Generally, the cluster installed using the OM tool can ensure that mutual trust exists between nodes in the cluster.
  • The version of the MogDB cluster to be installed is the same as that of the CM to be installed.

Usage

Installation

cm_install -? | --help
cm_install -X XMLFILE [-e envFile] --cmpkg=cmpkgPath

Uninstallation

cm_uninstall -? | --help
cm_uninstall -X XMLFILE [-e envFile] [--deleteData] [--deleteBinary]

Description:

  • -X

    Specifies the path of the XML file. The value must be an absolute path.

  • -e

    Specifies the path of the environment variable file. The value must be an absolute path. The default value is ~/.bashrc.

  • –cmpkg

    Specifies the path of the CM package. The value must be an absolute path.

  • –deleteData

    Deletes the CM data directory. By default, the CM data directory is not deleted.

  • –deleteBinary

    Delete CM-related binary files, including om_monitor, cm_agent, cm_server, and cm_ctl. By default, the binary files are not deleted.

  • -?, –help

    Displays help information.

Copyright © 2011-2024 www.enmotech.com All rights reserved.