跳到内容

github/puppet-orchestrator-for-mysql

文件夹和文件

姓名姓名
上次提交消息
上次提交日期

最新提交

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

用于mysql的木偶或机器

本模块通过puppet安装名为Orchestrator的MySQL工具。Orchestrator用于管理复制拓扑。请参阅https://github.com/github/orchator(https://github.com/github/编配器)有关适当配置和设置的说明。

用法

$config_override={“调试”=>true,“只读”=>false,“MySQLOrchestratorHost”=>“orchestrator.example.com”,“MySQLOrchestratorPort”=>3306,“MySQLOrchestratorDatabase”=>“编排器”,“RemoveTextFromHostnameDisplay”=>“.example.com:3306”,“SlaveLagQuery”=>“从test.heartbeat_table中选择滞后”,“DiscoverByShowSlaveHosts”=>false,“DetectClusterAliasQuery”=>“从test.cluster_info_table中选择cluster_alias,其中1=1”,“DetectClusterDomainQuery”=>“从test.cluster_info_table中选择cluster_domain,其中1=1”,“数据中心模式”=>“.*-(.*)-.*[.].*[..]示例[.]com”,“物理环境模式”=>“.*-.*-(.*)[.].*[.]示例[.]com”,“伪GTIDPattern”=>“heartbeat`(ts,server_id,file,position,relay_master_log_file,exec_master.log_pos)VALUES”,“伪GTIDPatternIsFixedSubstring”=>true,“伪GTIDMonotonicHint”=>“heartbeat”,“DetectPseudoGTIDQuery”=>“从test.heartbeat_table中选择count(*)>0作为pseudo_gtid_exists,其中ts>NOW()-INTERVAL 2 DAY;”,“ProblemIgnoreHostnameFilters”=>[“test-server-mysql”,],“PromotionIgnoreHostnameFilters”=>[“test-server-mysql”,],“AuditLogFile”=>“”,“AuthenticationMethod”=>“token”,“FailureDetectionPeriodBlockMinutes”=>60,“RecoveryPollSeconds”=>5,“RecoveryPeriodBlockSeconds”=>600,“RecoveryIgnoreHostnameFilters”=>[],“RecoverMasterClusterFilters”=>[“mysqla”,“mysqlb”,],“RecoverIntermediateMasterClusterFilters”=>[“mysqlb”,“mysqlc”,],“OnFailureDetectionProcesses”=>[“sudo-i恢复处理程序-t“检测”-f“{failureType}”-h“{failedHost}”-C“{failureCluster}”-n“{countSlaves}”],“故障转移前进程”=>[“sudo-i恢复处理程序-t“预故障转移”-f“{failureType}”-h“{failedHost}”-C“{failureCluster}”-n“{countSlaves}”],“故障转移后进程”=>[“sudo-i恢复处理程序-t“故障转移后”-f“{failureType}”-h“{失败主机}”-h“{successorHost}”-C“{failureCluster}”-n“{countSlaves}”],“PostUnsuccessfulFailoverProcesses”=>[],“PostMasterFailoverProcesses”=>[“sudo setuidgid orc_user ssh{failedHost}'sudo-i do_something_on_failed_host>/dev/null 2>/dev/null'”,“sudo setuidgid orc_user ssh{successorHost}'sudo-i do_something_on_new_host>/dev/null 2>/dev/null'”,],“PostIntermediateMasterFailoverProcesses”=>[],“CoMasterRecoveryMustPromoteOtherCoMaster”=>true,“DetachLostSlavesAfterMasterFailover”=>true,“ApplyMySQLPromotionAfterMasterFailover”=>false,“MasterFailoverLostInstancesDowntimeMinutes”=>60,'PostponeSlaveRecoveryOnLagMinutes'=>10,“GraphitePollSeconds”=>60,“GraphiteAddr”=>“graphite.example.com:2113”,“GraphitePath”=>“主机。{hostname}.协调器',“GraphiteConvertHostnameDotsToUnderscores”=>true,}类{“::编排器”:config_override=>$config_overlide,package_ensure=>“最新”,package_ manage=>真,}

假设

  • 此模块使用Puppetlab的stdlib。

  • 如果满足以下条件,则编排器deb/rpm包可用于puppet编排器::params::package_manage真实的.

  • 木偶将管理Orchestrator Packagecloud回购如果编排器::params::repo_manage真实的.注释:此功能需要计算/包云模块依赖性。

状态

稳定且积极发展。

贡献

鼓励捐款。请参阅贡献.md了解更多信息。

许可证

根据麻省理工学院许可证.完整的许可证文本位于许可证.

关于

与Orchestrator一起使用的木偶模块

资源

许可证

行为准则

安全政策

星星

观察者

叉子

包装

未发布包