Skip to content
Datamotive

Reference

CLI

The Datamotive command-line interfaces — what is documented today (dmcli upgrade operations) and where the full CLI reference stands.

Product
Easy Hybrid DR
Version
v2.0.3
Last updated
Updated
Reading time
1 min read

The Management Server provides a GUI, CLIs, and REST APIs for Day 0–Day N activities. This page documents the CLI operations covered by the current product guides; a complete command reference has not been published yet.

Upgrade nodes — dmcli upgrade

Available on management and replication nodes (prep nodes upgrade through the UI flow only). Download the upgrade bundle to /home/dmadmin, untar it, then run:

bash
./dmupgrade/dmcli upgrade --node-type Management --filepath <absolute file path>
ParameterTypeRequiredDescription
--node-typeenumrequiredType of node to upgrade, e.g. Management.
--filepathpathrequiredAbsolute path to the upgrade package.
--revertflagoptionalReverts the node to the previous version using the last upgrade job file path.

Revert an upgrade

SSH to the management node, change to /home/dmadmin, and run:

bash
./dmupgrade/dmcli upgrade --node-type <NodeType> --filepath <last upgrade job file path> --revert

Upgrade prerequisites, the UI-based flow, and version-mismatch behavior are documented in Upgrades.

Service management

Node services are standard systemd units (dm-mgmt, dm-auth, dm-repl-server, dm-repl-client, dm-mon, plus mysqld and nginx) — status checks and the restart order are in Maintenance.

Related docs

Was this page helpful?