zato quickstart

Overview

Quickly creates a fully operational Zato cluster that can be used for any purposes, from development, testing, up to product production.

On a successful completion, an environment comprised of the following components will be created.

path/z
├── ca
├── load-balancer
├── scheduler
├── server1
├── web-admin
├── zato-qs-restart.sh
├── zato-qs-start.sh
└── zato-qs-stop.sh

The CA will generate crypto certificates and all the components will be configured to make use of them.

The Dashboard's user to log in with is 'admin' and its randomly generated password will be printed out to screen (indicated as <password> in usage examples below). If needed, use zato update password to change it.

Usage examples

This example uses an embedded SQLite database by default, which means that the example is self-contained and it does not need any prerequisites.

$ zato quickstart ~/env/production1
Creating directory `/home/zato/env/production1`
[1/8] Certificate authority created
[2/8] ODB schema created
[3/8] ODB initial data created
[4/8] server1 created
[5/8] Load-balancer created
Superuser created successfully.
[6/8] Dashboard created
[7/8] Scheduler created
[8/8] Management scripts created
Quickstart cluster quickstart-663294 created
Dashboard user:[admin], password:[<password>]
Start the cluster by issuing the /home/zato/env/production1/zato-qs-start.sh command
Visit https://zato.io/support for more information and support options
$

This example creates a new quickstart cluster using a standalone MySQL database which must exist prior to the execution of the quickstart command:

$ zato quickstart ~/env/production2 \
    --odb-type mysql \
    --odb-host localhost \
    --odb-port 3306 \
    --odb-user zato1 \
    --odb-db-name zato1

ODB database password (will not be echoed):
Enter the odb_password again (will not be echoed):

[1/8] Certificate authority created
[2/8] ODB schema created
[3/8] ODB initial data created
[4/8] server1 created
[5/8] server2 created
[6/8] Load-balancer created
Superuser created successfully.
[7/8] Web admin created
[8/8] Management scripts created
Quickstart cluster quickstart-555016 created
Dashboard user:[admin], password:[<password>]
Start the cluster by issuing the /home/zato/env/production2/zato-qs-start.sh command
Visit https://zato.io/support for more information and support options
$