Alphaus | Documentation
WebsiteRepoTech blog (JP)Tech blog (EN)
ALM v3.0
ALM v3.0
  • What is ALM?
  • Getting started
    • Login for the first time
    • Adding AWS account
    • Adding Azure account
    • Adding Alibaba account
    • Adding GCP account
    • Adding Fujitsu K5 account
  • ALM Template
    • What is ALM Template?
    • Reference (2017-03-03)
    • ALM Template Language
    • Example ALM Templates
  • ALM Agent
    • Overview
    • Getting Started
    • Agent
    • Commands
    • Add-ons
    • Contributing
  • RBAC
    • Overview
    • What is RBAC?
    • Getting started
    • Working with RBAC
    • Release history
    • Example RBAC roles
Powered by GitBook
On this page
  • register
  • ensure
  • stop
  • noop
  • help

Was this helpful?

  1. ALM Agent

Commands

register

Initialize ALM-agent self register and start containers.

The necessary folders for ALM-agent are created, and if the provider is any value other than localtest, cron job will be created. Then, ALM-agent starts the containers.

$ alm-agent register -h
NAME:
   alm-agent register - initialize alm-agent and start containers

USAGE:
   alm-agent register [command options] [arguments...]

OPTIONS:
   --config FILE, -c FILE        Load configuration from FILE (default: "/opt/mobingi/etc/alm-agent.cfg")
   --serverconfig URL, --sc URL  Load ServerConfig from URL. ask to API by default

ensure

Start or update containers.

$ alm-agent ensure -h
NAME:
   alm-agent ensure - start or update containers

USAGE:
   alm-agent ensure [command options] [arguments...]

OPTIONS:
   --config FILE, -c FILE        Load configuration from FILE (default: "/opt/mobingi/etc/alm-agent.cfg")
   --serverconfig URL, --sc URL  Load ServerConfig from URL. ask to API by default

stop

Stop active containers.

$ alm-agent stop -h
NAME:
   alm-agent stop - stop active container

USAGE:
   alm-agent stop [command options] [arguments...]

OPTIONS:
   --config FILE, -c FILE        Load configuration from FILE (default: "/opt/mobingi/etc/alm-agent.cfg")
   --serverconfig URL, --sc URL  Load ServerConfig from URL. ask to API by default

noop

Run without container actions.

$ alm-agent noop -h
NAME:
   alm-agent noop - run without container actions.

USAGE:
   alm-agent noop [command options] [arguments...]

OPTIONS:
   --config FILE, -c FILE        Load configuration from FILE (default: "/opt/mobingi/etc/alm-agent.cfg")
   --serverconfig URL, --sc URL  Load ServerConfig from URL. ask to API by default

help

Shows a list of commands or help for one command.

$ alm-agent help
NAME:
   alm-agent

USAGE:
   alm-agent [global options] command [command options] [arguments...]

VERSION:
   v0.3.1504270893

COMMANDS:
     register  initialize alm-agent and start containers
     ensure    start or update containers
     stop      stop active container
     noop      run without container actions.
     help, h   Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --autoupdate, -U                  auto update before run
   --disablereport, -N               Do not send crash report to rollbar.
   --provider Provider, -P Provider  set Provider (default: "aws")
   --verbose, -V                     show debug logs
   --help, -h                        show help
   --version, -v                     print the version
PreviousAgentNextAdd-ons

Last updated 6 years ago

Was this helpful?