Latest binaries for PR hashicorp/consul#2978
Binaries cross compiled with the standard gox; and will be used for Nomad-Box (https://github.com/leowmjw/nomad-box) until it gets reviewed and incorporated into master branch.
Config (config.json inside consul.d) looks like below:
{
"addresses": {
"http": "10.0.51.4"
},
"retry_join_azure": {
"tag_name": "type",
"tag_value": "Foundation",
"subscription_id": "a-b-c-d",
"tenant_id": "e-f-g-h",
"client_id": "i-j-k-l",
"secret_access_key": "mnop-123456"
}
}
}
Running it is now simplified (all nodes of Tag-Name: "type" with Tag-Value: "Foundation") for launching cluster:
./consul agent -bind=10.0.51.4 -data-dir=/tmp/consul -config-dir=./consul.d
After running it, check that the new consul agent client is running:
testadmin@acme-nomad-dev-director-node-1:/opt/consul-ng$ CONSUL_HTTP_ADDR=http://10.0.51.4:8500 ./consul members
Node Address Status Type Build Protocol DC
acme-nomad-dev-director-node-1 10.0.51.4:8301 alive client 0.8.2dev 2 dc1
acme-nomad-dev-foundation-node-1 10.0.1.4:8301 alive server 0.8.1 2 dc1
acme-nomad-dev-foundation-node-2 10.0.2.4:8301 alive server 0.8.1 2 dc1
acme-nomad-dev-foundation-node-3 10.0.3.4:8301 alive server 0.8.1 2 dc1