stackato [options] command [] [command_options]
Try stackato help, stackato help [command], and stackato options for more information.
Administrative user privileges are required where “(admin)” is noted.
Log in to the targeted server.
If --token-file is used, the authentication token is saved in the specified token file. Subsequent stackato commands will make use of the specified authentication and token file.
--group sets the group and maintains it for following commands.
ssh [–instance <instance>] <appname> [command]
Allows ssh access to an app in an interactive shell:
$ stackato ssh myappIf a command is added, it is run and the connection exited:
$ stackato ssh myapp ls -lBy default, the first instance (0) is targeted. Specify other instances with the --instance parameter:
$ stackato ssh myapp --instance 1 ls -l
Note
This command is considered experimental.
Most server-side Stackato configuration is done using the stackato-admin command-line tool. It consolidates all node management operations (starting, stopping, specialization, configuration, etc.).
Run stackato-admin help to get more information.
stackato-admin <command> [options]
Make this machine a microcloud (all-in-one).
Specialize this machine to fulfill the specified roles.
Available roles: controller router dea mysql postgresql redis mongodb stager
This form of the command turns the Restricted Mode on.
Note
Both ‘-o’ and ‘-n’ must be supplied together in order to trigger the renaming of this node.
Warning
This command might be destructive to the deployed apps. The apps might lose data and most likely will require an update. A full backup is recommended.
Dump all data from Stackato for later restore. You may provide a filename, the default is stackato-[datetime]-dump.zip.
The default is a bare dump (no services are dumped, just the internal Stackato DB and all droplets).
Run stackato-admin export -h for the full options list.
Restore into Stackato from an existing dump file.
Restores nothing by default, you must specify what you want to restore using switches.
Run stackato-admin import -h for the full list of switches.
In Restricted Mode users can’t add themselves. This mode is assumed for all non-microcloud setups. New users can be added either:
- remotely, by a logged-in admin user
- directly on the controller machine