-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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
-
Custom Facts
cluster_id- Cluster identifier from instance tagsdynamodb_table- DynamoDB table name for locks/topologys3_bucket- S3 bucket for backups/binlogs
-
Initial Provisioning
- Install Percona Server
- Install Orchestrator
- Configure based on role (master/replica)
- Register with appropriate NLB target group
-
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