2017-12-03 12:49:06 -08:00
|
|
|
# Australis
|
|
|
|
|
|
|
|
A light-weight client for [Apache Aurora](https://aurora.apache.org/) built using [gorealis](https://github.com/paypal/gorealis).
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```
|
2018-09-16 21:28:12 -07:00
|
|
|
A light-weight command line client for use with Apache Aurora built using gorealis.
|
|
|
|
|
2017-12-03 12:49:06 -08:00
|
|
|
Usage:
|
|
|
|
australis [command]
|
|
|
|
|
|
|
|
Available Commands:
|
|
|
|
create Create an Aurora Job
|
2018-03-13 17:05:02 -07:00
|
|
|
fetch Fetch information from Aurora
|
2017-12-03 12:49:06 -08:00
|
|
|
help Help about any command
|
|
|
|
kill Kill an Aurora Job
|
2018-09-16 21:28:12 -07:00
|
|
|
start Start a service, maintenance on a host (DRAIN), a snapshot, or a backup.
|
2017-12-03 12:49:06 -08:00
|
|
|
stop Stop a service or maintenance on a host (DRAIN).
|
|
|
|
|
|
|
|
Flags:
|
2018-09-16 21:28:12 -07:00
|
|
|
-a, --caCertsPath string CA certificates path to use.
|
|
|
|
-c, --clientCert string Client certificate to use to connect to Aurora.
|
|
|
|
-k, --clientKey string Client key to use to connect to Aurora.
|
2018-03-13 17:05:02 -07:00
|
|
|
-h, --help help for australis
|
2018-09-16 21:28:12 -07:00
|
|
|
-i, --insecureSkipVerify Skip verification.
|
2018-03-13 17:05:02 -07:00
|
|
|
-p, --password string Password to use for API authentication
|
|
|
|
-s, --scheduler_addr string Aurora Scheduler's address.
|
|
|
|
-u, --username string Username to use for API authentication
|
|
|
|
-z, --zookeeper string Zookeeper node(s) where Aurora stores information.
|
2017-12-03 12:49:06 -08:00
|
|
|
|
|
|
|
Use "australis [command] --help" for more information about a command.
|
|
|
|
```
|
|
|
|
|
2018-04-29 18:56:13 -04:00
|
|
|
## Sample commands:
|
|
|
|
|
|
|
|
### Fetching current leader
|
|
|
|
`australis fetch leader [ZK NODE 1] [ZK NODE 2]...[ZK NODE N]`
|
|
|
|
|
2018-09-21 14:25:12 +05:30
|
|
|
### Fetching status/mode of a agent
|
|
|
|
`australis fetch status [HOST 1] [HOST 2]...[HOST N]`
|
|
|
|
|
2018-04-29 18:56:13 -04:00
|
|
|
### Setting host to DRAIN:
|
|
|
|
`australis start drain [HOST 1] [HOST 2]...[HOST N]`
|
|
|
|
|
|
|
|
### Taking hosts out of DRAIN (End maintenance):
|
|
|
|
`australis stop drain [HOST 1] [HOST 2]...[HOST N]`
|
2017-12-03 12:49:06 -08:00
|
|
|
|
2018-10-23 12:55:46 -07:00
|
|
|
### Force a snapshot
|
|
|
|
`australis force snapshot`
|
|
|
|
|
|
|
|
### Force a backup
|
|
|
|
`australis force backup`
|
|
|
|
|
2017-12-03 12:49:06 -08:00
|
|
|
## Status
|
2018-03-13 17:05:02 -07:00
|
|
|
Australis is a work in progress and does not support all the features of Apache Aurora.
|
2018-12-05 15:12:49 -08:00
|
|
|
|
|
|
|
|
|
|
|
### Building debian file
|
|
|
|
From root of the repository run:
|
|
|
|
|
|
|
|
`debuild -d -us -uc -b`
|