update docs

This commit is contained in:
phahulin 2018-01-27 20:59:07 +03:00
parent 5ce560a536
commit 6efac4c27a
2 changed files with 6 additions and 3 deletions

View File

@ -31,15 +31,16 @@ pip install ansible
8. create `group_vars/all` file:
```
cp group_vars/all.example group_vars/all
cp group_vars/backup-parity.example group_vars/all
```
and set the following variables:
* `poa_role` - node's role (one of `bootnode`, `validator`, `moc`, `explorer`, `netstat`)
* `backup_parity_data` - `true`/`false` - backup whole `parity_data` folder "as is" or not (default: `true`)
* `backup_parity_blocks` - `true`/`false` - use or not `parity export blocks` to create a file with exported blocks and backup it (default: `true`)
* `access_key` - s3 access key
* `secret_key` - s3 secret key
* `s3_bucket` - s3 bucket name
you can ignore other variables in this file
* `node_name` - short descriptive name of the node (e.g. `sokol-arche`). It will be used as part of a backup file name, so it must be lowercase, must not contain spaces, commas, etc
9. create `hosts` file:
```

View File

@ -6,6 +6,8 @@ access_key: "KEY_NAME"
secret_key: "KEY_SECRET"
s3_bucket: "BUCKET_NAME"
node_name: "NODE_NAME"
backup_parity_data: true
backup_parity_blocks: true
#For HFs
MAIN_REPO_FETCH: "poanetwork"