Hello,
I'm facing the following with implementing failover.
I will simplify our infrastructure up to 2 nodes (all services have
some related checks). All services are up and used by
applications.
Node1:
master-service-A
master-service-B
Node2:
slave-service-A
slave-service-B
Let say at some time the service "master-service-A" will crash and
have to move it to Node2 but on the other hand I do not want to
move service B on Node2.
I didn't find any option to migrate a single service from node
using HTTP API. I found only the way to deregister and register
once again node with different name but I'm trying to build service
oriented infrastructure rather than node oriented.
On the other hand I can't "just move service" using curl to move
service + related checks to another node.
curl -X PUT -d '{"Node": "node2", "Address": "new_api",
"ServiceId": "master-service-A"}'
http://localhost:8500/v1/catalog/register
Any thoughts or suggestions?
thanks in advance
.
Behavior in violation of those guidelines may result in your
removal from this mailing list.
You received this message because you are subscribed to the Google
Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to
.
.