genvid-services-local¶
Installation of supervisor services as background processes
usage: genvid-services-local [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}]
{version,env,uninstall,install,start,stop,status,restart,reinstall}
...
Positional Arguments¶
command | Possible choices: version, env, uninstall, install, start, stop, status, restart, reinstall |
Named Arguments¶
--loglevel | Possible choices: DEBUG, INFO, WARNING, ERROR Set the script log level |
Sub-commands:¶
uninstall¶
Uninstall the service
genvid-services-local uninstall [-h]
[{consul,vault,nomad,} [{consul,vault,nomad,} ...]]
Positional Arguments¶
services | Possible choices: consul, vault, nomad, [] The service to update between consul, vault, nomad or nothing for all. |
install¶
Install the service
genvid-services-local install [-h] [-n NAME] [-m {dev,client,server}]
[-d DATACENTER] [-r REGION] [-b BIND] [-w WAN]
[-c NODE_CLASS] [-s SERVERS]
[--bootstrap BOOTSTRAP] [--replace-dns]
[--ec2-tag EC2_TAG] [--ec2-value EC2_VALUE]
[--vault-enabled]
[{consul,vault,nomad,} [{consul,vault,nomad,} ...]]
Positional Arguments¶
services | Possible choices: consul, vault, nomad, [] The service to update between consul, vault, nomad or nothing for all. |
Named Arguments¶
-n, --name | Name of the service (hostname by default) |
-m, --mode | Possible choices: dev, client, server Running mode (“dev”) Default: “dev” |
-d, --datacenter | |
Datacenter (“dc1”) Default: “dc1” | |
-r, --region | Region for nomad (“global”). Default: “global” |
-b, --bind | IP to bind |
-w, --wan | Wan address (None) |
-c, --class | class for nomad clients |
-s, --servers | List of servers to join by default |
--bootstrap | Number of bootstrap servers 1 Default: 1 |
--replace-dns | Used the service as default DNS (False) Default: False |
--ec2-tag | EC2 Tag to check for servers |
--ec2-value | EC2 Value to check for servers |
--vault-enabled | |
Enable vault in nomad Default: False |
start¶
Start an installed service
genvid-services-local start [-h]
[{consul,vault,nomad,} [{consul,vault,nomad,} ...]]
Positional Arguments¶
services | Possible choices: consul, vault, nomad, [] The service to update between consul, vault, nomad or nothing for all. |
stop¶
Stop a service
genvid-services-local stop [-h]
[{consul,vault,nomad,} [{consul,vault,nomad,} ...]]
Positional Arguments¶
services | Possible choices: consul, vault, nomad, [] The service to update between consul, vault, nomad or nothing for all. |
status¶
Check the status of the service
genvid-services-local status [-h]
[{consul,vault,nomad,} [{consul,vault,nomad,} ...]]
Positional Arguments¶
services | Possible choices: consul, vault, nomad, [] The service to update between consul, vault, nomad or nothing for all. |
restart¶
Restart a service
genvid-services-local restart [-h]
[{consul,vault,nomad,} [{consul,vault,nomad,} ...]]
Positional Arguments¶
services | Possible choices: consul, vault, nomad, [] The service to update between consul, vault, nomad or nothing for all. |
reinstall¶
Reinstall the services
genvid-services-local reinstall [-h] [-n NAME] [-m {dev,client,server}]
[-d DATACENTER] [-r REGION] [-b BIND] [-w WAN]
[-c NODE_CLASS] [-s SERVERS]
[--bootstrap BOOTSTRAP] [--replace-dns]
[--ec2-tag EC2_TAG] [--ec2-value EC2_VALUE]
[--vault-enabled]
[{consul,vault,nomad,} [{consul,vault,nomad,} ...]]
Positional Arguments¶
services | Possible choices: consul, vault, nomad, [] The service to update between consul, vault, nomad or nothing for all. |
Named Arguments¶
-n, --name | Name of the service (hostname by default) |
-m, --mode | Possible choices: dev, client, server Running mode (“dev”) Default: “dev” |
-d, --datacenter | |
Datacenter (“dc1”) Default: “dc1” | |
-r, --region | Region for nomad (“global”). Default: “global” |
-b, --bind | IP to bind |
-w, --wan | Wan address (None) |
-c, --class | class for nomad clients |
-s, --servers | List of servers to join by default |
--bootstrap | Number of bootstrap servers 1 Default: 1 |
--replace-dns | Used the service as default DNS (False) Default: False |
--ec2-tag | EC2 Tag to check for servers |
--ec2-value | EC2 Value to check for servers |
--vault-enabled | |
Enable vault in nomad Default: False |