When to apply
Reconnect use for an existing server: after OS reinstallation, agent migration or loss of local credential files.
What to prepare
SERVER_IDserver that is already in the cluster.- Reconnect OTP from this server’s card.
endpointandingress-endpointof your outline.
Reconnect command
./vezha-agent reconnect --server-id <SERVER_ID> --otp <RECONNECT_OTP> --endpoint https://grpc.app.vezha.io --ingress-endpoint https://grpc.app.vezha.io
What happens during reconnect
- The server re-enrolls for the existing one
SERVER_ID. - The agent receives a new bootstrap token and reissues the certificate.
- The configuration is updated without creating a duplicate server in the cluster.
After execution
- Check that the same server is back in status
online. - Make sure live metrics are coming in again.