Repository navigation
v0.6.0
Minimal cluster setup. Tested on the 3-node AWS lab (Amazon Linux 2027).
New: ober cluster init
sudo ober cluster init 10.0.0.11 10.0.0.12 10.0.0.13 10.0.0.100 \
--backend s3.example.org [--cert fullchain-and-key.pem] [--allow CIDR]- Give the node IPs and the floating IPs in one list. Init logs in to each IP over SSH: an IP that a host has on a NIC is a node, every other IP is a floating IP (keepalived VIP).
- A floating IP that answers ping or ARP but is on no node is refused (an IP conflict otherwise).
- Without
--cert, init uses the certificate that the nodes already have. The S3 hostnames come from the certificate SAN. - It shows the NIC and source address each node uses for each backend, and warns when backend traffic uses the frontend NIC on a host with more NICs.
- Per node, one at a time: install ober and bootstrap if needed, write the cert,
ober.local.yamlandober.yaml, apply (or switch from BGP mode), start. Stops at the first failure. - Public VIPs need
--allow CIDR(internet VIPs deny all other sources). Keepalived mode only.
ober config
With no ober.yaml, it asks only four things (IPs, backend, certificate, client CIDRs) and runs ober cluster init. Answer "no" for the full wizard.
Lab results
- Switch of a running BGP-mode cluster to keepalived: 31 s. A second run (gated
ober apply): 24 s. ober cluster status: all nodes OK, one MASTER per VIP, same config, backend UP.- An address in use (the lab router) was refused.