用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/liliang-cn/DRBD-HA --skill deploy-test命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Make an application highly available with DRBD + drbd-reactor — replicated block storage plus automatic failover of a mount + services + VIP. Use when asked to set up HA for MySQL/PostgreSQL/NFS/iSCSI/any systemd service on DRBD, to write or review a drbd-reactor promoter TOML, to plan a 2-node vs 3-node cluster, to run a failover drill, or to debug split-brain, quorum loss, demote failures, or a service that starts on the wrong node. Works with plain drbdadm/drbd-reactorctl on any Linux host — no management product required.
Operate a DRBD-HA cluster (DRBD + drbd-reactor high availability) through the drbd-ha MCP tools. Use when asked to inspect cluster health, create or manage HA service profiles (MySQL/PostgreSQL/NFS/generic systemd services on DRBD storage), perform failover drills, evict services from a node, or troubleshoot DRBD/drbd-reactor problems.
正在显示 SKILL.md
| name | deploy test |
| description | Deploy DRBD-HA to test environment and run basic tests |
使用 ./scipts/deploy-all.sh orange1,orange2,orange3 命令部署DRBD-HA到测试环境,然后运行基本测试以验证部署是否成功。
hosts: orange1,orange2,orange3, 本机已经配置好免密登录到orange1,orange2,orange3和ssh config
部署后,使用 install-mysql.sh 脚本安装MySQL 和 intall-postgresql.sh 脚本安装PostgreSQL。