alizowghi
(Ali Zowghi)
July 5, 2019, 1:07am
1
Hi
How can i reach to api from another server that is in different datacenter to lxd server with clustering enabled?
Hello,
not sure what you mean, but probably you want this (the " Separate REST API and clustering networks" section):
# Clustering
LXD can be run in clustering mode, where any number of LXD instances
share the same distributed database and can be managed uniformly using
the lxc client or the REST API.
Note that this feature was introduced as part of the API extension
"clustering".
## Forming a cluster
First you need to choose a bootstrap LXD node. It can be an existing
LXD instance or a brand new one. Then you need to initialize the
bootstrap node and join further nodes to the cluster. This can be done
interactively or with a preseed file.
Note that all further nodes joining the cluster must have identical
configuration to the bootstrap node, in terms of storage pools and
networks. The only configuration that can be node-specific are the
`source` and `size` keys for storage pools and the
This file has been truncated. show original
alizowghi
(Ali Zowghi)
July 5, 2019, 1:18pm
3
Thank you @freeekanayaka
I mean i can connect to lxd api from 0.0.0.0 or a specific server and of course with clustering enabled.
@freeekanayaka when I played with forming clusters with the API it switched the database and revoked certificates that had been approved could this be the same problem ?