Overview
Host monitors are the detection layer of Instance HA. They continuously poll registered compute hosts and emit fault notifications when a host becomes unreachable. Polystack Instance HA supports two monitor types: IPMI (out-of-band, recommended for production) and SSH (in-band, for environments without IPMI access). This page covers configuration for both types and the timing parameters that control detection sensitivity.Monitor Types
IPMI (Recommended)
Uses out-of-band management hardware. Detects failures even when the host OS,
kernel, or all network interfaces are completely unresponsive.
SSH
Attempts an SSH TCP connection to the host. Simpler to set up but dependent on
host network stack — may miss hardware failures that leave the SSH port unreachable.
IPMI Host Monitor
The IPMI monitor uses the host’scontrol_attributes JSON field, set when registering
the host in a segment.
Configure IPMI Credentials
- Dashboard
- CLI
When adding a host to a segment, set the Control Attributes field to a JSON
object with the IPMI endpoint:
IPMI control attributes
Validate IPMI Connectivity
Before registering hosts, validate IPMI access from the controller node:Test IPMI connectivity
System Power State: on confirms IPMI access is working.
SSH Host Monitor
The SSH monitor attempts a TCP connection to port 22. It uses the SSH key configured for the Instance HA service account — no password authentication is used.Deploy SSH Keys
Locate the service key
The Instance HA host monitor generates an SSH key pair at service startup. Locate
the public key on the controller node:
Find service public key
Deploy to compute hosts
Append the public key to the
authorized_keys of the user the monitor will connect
as (typically root or a dedicated service account):Deploy key to compute host
Register with SSH attributes
When registering the host in the segment, use the IP address only — no credentials:
Register host for SSH monitoring
Validate connectivity
Test SSH from controller
SSH connection succeeds without password prompt.
Timing Parameters
Adjust monitoring sensitivity through the parameters below:- Web Console
- CLI
Open Advanced Configuration
In the deployment console, navigate to Advanced Configuration. In the Service Tree,
select masakari.
Edit timing parameters
Select or create Click Save Current File.
instance-ha.conf in the Code Editor. Add or modify the
timing parameters:Host monitor timing in the deployment console Advanced Configuration
Apply changes
Navigate to Operations and run a reconfigure action. The host monitor
service restarts automatically with the updated parameters.
Host monitor is running with the new timing configuration.
Monitor Health Check
Verify the host monitor is running and detecting hosts correctly:Check monitor service status
View monitor logs
UNREACHABLE log for a running host indicates a credential or network
configuration issue — not a genuine host failure.
Next Steps
Instance Monitors
Configure guest-level instance heartbeat monitoring for per-instance fault detection.
Failover Segments
Register and manage compute hosts within protection segments.
Engine Configuration
Tune recovery engine timing and retry parameters.
Security
Secure IPMI credentials and restrict access to Instance HA APIs.
