This topic describes the usage of eaccmd.

eaccmd usage is as follows:

eaccmd host:eac_port <cmd> [--async] [-verbose]

where settings in square brackets ([ ]) are optional and <cmd> is one of:

[Provisioning commands:]
  define-app [--app app_id] [--def def_file]
  describe-app --app app_id [--canonical]
  remove-app [--force] --app app_id
  list-apps
[Incremental Provisioning commands:]
  add-component --app app_id [--comp comp_id] --def def_file
  add-host --app app_id [--host host_id] --def def_file
  add-script --app app_id --script script_id (--def def_file |
    [--wd working_dir] [--log-file log_file] --cmd command [args...])
  remove-component [--force] --app app_id --comp comp_id
  remove-host [--force] --app app_id --host host_id
  remove-script --app app_id --script script_id
  update-component [--force] --app app_id [--comp comp_id] --def def_file
  update-host [--force] --app app_id [--host host_id] --def def_file
  update-script [--force] --app app_id --script script_id 
    (--def def_file | [--wd working_dir] [--log-file log_file] 
    --cmd command [args...])
[Synchronization commands:]
  set-flag --app app_id --flag flag
  remove-flag --app app_id --flag flag
  remove-all-flags --app app_id
  list-flags --app app_id
[Component and Script Control commands:]
  start --app app_id [--comp comp_id | --script script_id]
  stop --app app_id [--comp comp_id | --script script_id]
  status --app app_id [--comp comp_id | --script script_id]
[Utility commands:]
  ls --app app_id --host host_id --pattern file_pattern
  start-util --type shell --app app_id [--token token] 
    --host host_id [--wd working_dir] --cmd command [args...]
  start-util --type copy --app app_id [--token token] [--recursive] 
    --from host_id --to host_id --src src_path --dest dest_path
  start-util --type backup --app app_id [--token token] --host host_id
    --dir ls [--method <copy|move>] [--backups num_backups]
  start-util --type rollback --app app_id [--token token] --host host_id
   	--dir ls
  stop-util --app app_id --token token
  status-util --app app_id --token token

Copyright © Legal Notices