Skip to Content
Browse documentation

setupmongodb — Command Reference

Install Percona MongoDB or reset its administrative password.

Install Percona MongoDB or reset its administrative password.

Requirements

Run as root on the Eenos server. Supported repository/OS and backups of databases/configuration. Review dependent credentials before reset.

Usage

The following example uses the operation described below; replace example identities and paths before use:

/usr/local/eenos/scripts/setupmongodb --install

Arguments and options

SyntaxMeaning
-i, --installInstall Percona MongoDB.
-rp, --resetrootpwdReset the MongoDB administrative password.

This uses a positional/legacy parser. Choose one operation and keep its value order. Do not assume argparse-style --option=value, option combinations or --help support.

Operational effects

Installs database packages/configuration or replaces administrative credentials. Password reset can affect integrations and service availability.

Verify the result

Check database health and Eenos/database authentication without exposing credentials.

Check operation output and the relevant service/application state. Several legacy wrappers exit successfully after logging a handler failure, so a zero shell exit status alone is not proof of completion.

Back to Service Setup · All command-line tools