Skip to content

[Epic] Percona Server Puppet Integration #232

@akuzminsky

Description

@akuzminsky

Overview

Puppet-based configuration management for Percona Server and Orchestrator.

Related Terraform Module: infrahouse/terraform-aws-percona-server
Migrated from infrahouse/terraform-aws-percona-server#7

Components

  • Custom facts for cluster_id, dynamodb_table, s3_bucket
  • NLB target group registration logic
  • Percona Server configuration management
  • Orchestrator configuration management

Puppet Responsibilities

  1. Custom Facts

    • cluster_id - Cluster identifier from instance tags
    • dynamodb_table - DynamoDB table name for locks/topology
    • s3_bucket - S3 bucket for backups/binlogs
  2. Initial Provisioning

    • Install Percona Server
    • Install Orchestrator
    • Configure based on role (master/replica)
    • Register with appropriate NLB target group
  3. Target Group Registration

    • Master -> Write TG
    • Replica -> Read TG

Target Group Registration Events

Event Who Handles Action
Initial master boot Puppet Register to write TG
Initial replica boot Puppet Register to read TG
Replica dies (replacement) Puppet on new instance Register to read TG

Acceptance Criteria

  • Custom facts populated correctly
  • Percona Server configured via Puppet
  • Orchestrator configured via Puppet
  • NLB registration automated
  • Configuration idempotent

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions