HomeMogDBMogDB StackUqbar

Documentation:v2.0

Supported Versions:

Getting Started

Install

If you have not installed MogDB Stack, please refer to software installation.

Similary, if you do not have the HA component enabled, enable it. For details, see 开启高可用组件.


(Optional) Set the Default Namespace of mgo

Many MogDB Operator (mgo) commands require namespace (-n). You can set the default namesapce of the mgo command using the MGO_NAMESPACE environment variable.

export MGO_NAMESPACE=mogdb-operator-system

The following command shows all MogDB clusters that are deployed in the mogdb-operator-system namespace.

mgo show cluster --all

It is equivalent to:

mgo show cluster -n mogdb-operator-system --all

(Note: -n is prior to MGO_NAMESPACE.)

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