Script Commands
This page provides a reference for all commands available in Rumi Controller deployment scripts.
The xvm and xvms keywords are still accepted as aliases for container and containers in all script commands for backward compatibility.
Command Overview
provision
Prepare containers on target hosts
launch
Start container JVM processes
start
Start microservices within containers
stop
Gracefully stop microservices
shutdown
Terminate container JVM processes
configure
Apply runtime configuration changes
deploy
Install application modules into running containers
collect
Gather runtime statistics from containers
instruct
Send control messages to applications
validate
Verify system state
wait
Pause execution for synchronization
cleanup
Remove provisioned files from target hosts
Command Reference
provision
Copies the Rumi distribution and configuration files to the target host and sets up the provisioning directory structure.
Syntax:
Targets: All containers or a specific container by name.
Actions:
Copies the Rumi distribution to the target host via SCP.
Creates the provisioning directory (
.rumi/provisioning/<system>/<container>/).Localizes configuration files (DDL, JVM parameters, XCS, environment).
Executes the
rucpreppreparation script on the target host.
launch
Starts a container JVM process on the target host.
Syntax:
Targets: A specific container by name.
Options:
NUMA node — Optionally bind the container to a specific NUMA node for CPU pinning.
Actions:
Executes the
ruclaunchscript on the target host via SSH.Starts the JVM with the container's configured parameters.
Waits for the container to become available (subject to launch timeout).
start
Starts the microservices within a running container.
Syntax:
Targets: A specific container by name.
Actions:
Sends a start command to the container over Rumi messaging.
The container's AEP engines begin processing messages.
stop
Gracefully stops the microservices within a container.
Syntax:
Targets: A specific container by name.
Actions:
Sends a stop command to the container over Rumi messaging.
The container's AEP engines stop processing messages.
shutdown
Terminates a container JVM process.
Syntax:
Targets: A specific container by name.
Actions:
Sends a shutdown signal to the container.
The JVM process is terminated.
configure
Applies runtime configuration changes to a system or container.
Syntax:
Targets: System-level or specific container.
Actions:
Modifies the specified configuration parameters.
Configuration changes may take effect immediately or require a restart depending on the parameter.
deploy
Installs application modules into running containers.
Syntax:
Targets: A specific container by name.
Actions:
Deploys the specified application module to the container.
collect
Gathers runtime statistics from containers.
Syntax:
Targets: A specific container by name.
Actions:
Records application and container metrics.
instruct
Sends control messages to applications.
Syntax:
Targets: A specific application in a specific container.
Actions:
Delivers the specified command to the target application.
validate
Verifies that the system state meets expected conditions.
Targets: System-level or specific container.
Actions:
Checks the current state against the specified expected state.
Returns success or failure based on the validation result.
wait
Pauses script execution for synchronization purposes.
Actions:
Waits for the specified condition or duration.
cleanup
Removes provisioned files from target hosts.
Syntax:
Targets: All containers or a specific container by name.
Actions:
Removes the provisioning directory and files from the target host.
Last updated