Skip to content

16.4.9 machdeployeradmin

machdeployeradmin directly manages Deployer nodes in Machbase Cluster Edition. A Deployer distributes packages and performs installation on each node as instructed by the Coordinator.

Use machcoordinatoradmin to control Deployers under normal conditions. Use machdeployeradmin directly when control through machcoordinatoradmin is unavailable.

Included only in the Cluster Edition package.

Options

machdeployeradmin -h
OptionDescription
-u, --startupStart the Deployer process
-s, --shutdownShut down the Deployer process gracefully
-k, --killForce the Deployer process to stop
-c, --createdbCreate Deployer metadata
-d, --destroydbDelete Deployer metadata
-e, --checkCheck whether the Deployer process is running
-i, --silentRun without a banner

Process Management

Start

machdeployeradmin -u

Graceful Shutdown

machdeployeradmin -s

Forced Stop

machdeployeradmin -k

Check Status

machdeployeradmin -e

Displays the PID if the process is running.

Machbase Deployer is running with pid(29373)!

Metadata Management

Create new Deployer metadata.

machdeployeradmin -c

Delete Deployer metadata.

machdeployeradmin -d

Deployer Responsibilities

The Deployer performs the following tasks under Coordinator instructions.

  • Distribute and install Machbase packages on Broker, Warehouse, and Lookup nodes
  • Create and manage node configuration files
  • Forward node startup/shutdown instructions
  • Support node upgrades

Examples

# Initialize the Deployer
machdeployeradmin -c
machdeployeradmin -u

# Check status
machdeployeradmin -e

# Shut down gracefully
machdeployeradmin -s

# Force a stop if a problem occurs
machdeployeradmin -k

Notes

Use machcoordinatoradmin for most cluster configuration and node management tasks. Use machdeployeradmin for direct intervention when communication with the Coordinator is unavailable or the Deployer itself has a problem.

For cluster management details, see machcoordinatoradmin.

Last updated on