Back to Blog

RAM - Resilient Adaptive Manager

Automated PostgreSQL failover and cluster management

pgElephant Team
January 12, 2024
6 min read
Management, Monitoring, PostgreSQL

What is RAM?

RAM (Resilient Adaptive Manager) is the management layer that orchestrates PostgreSQL clusters using RALE consensus. It provides automated failover, resource monitoring, and cluster health management for production PostgreSQL deployments.

Key Features

Resource Monitoring

Real-time monitoring of CPU, memory, disk, and network usage

Health Checks

Continuous health monitoring with automatic recovery actions

Multi-Zone Management

Manage clusters across multiple availability zones

PostgreSQL Integration

Native PostgreSQL integration with automatic configuration

RAM Architecture

RAM acts as the control plane for your PostgreSQL cluster, managing failover decisions, resource allocation, and cluster state. It integrates with RALE for consensus and provides a unified management interface.

Management Components

  • Cluster Manager: Orchestrates failover and manages cluster state
  • Resource Monitor: Tracks system resources and performance metrics
  • Health Checker: Performs continuous health assessments
  • Configuration Manager: Manages PostgreSQL and cluster configurations

Monitoring & Alerting

RAM provides comprehensive monitoring capabilities with built-in alerting and integration with popular monitoring systems like Prometheus and Grafana.

Key Metrics

# Cluster Health
ramctl status --detailed

# Resource Usage
ramctl metrics --resource

# Performance Stats
ramctl metrics --performance

# Alert Configuration
ramctl alerts --configure

Getting Started

RAM is designed to work seamlessly with RALE and provides simple commands for cluster management. It's production-ready and battle-tested in high-availability environments.