老外眼中的简单drbd配置
最编程
2024-02-24 19:28:39
...
global {
usage-count yes;
}
common {
protocol C;
syncer { rate 10M; }
}
resource r0 {
on node1.ybn.fr {
device /dev/drbd1;
disk /dev/sdb1;
address 192.168.0.10:7789;
meta-disk internal;
}
on node2.ybn.fr {
device /dev/drbd1;
disk /dev/sdb1;
address 192.168.0.11:7789;
meta-disk internal;
}
startup {
become-primary-on node1.ybn.fr;
}
}
推荐阅读
-
最新、最详细的 Python 开发环境构建与 PyCharm 安装配置教程【图+文】【简单易懂】。
-
完成 Windows 域用户漫游设置配置文件的最简单方法!
-
成功安装 Ubuntu 桌面系统后的简单配置
-
1 美元 30 分钟利用华为云服务器配置云计算机并建立一个简单的网站(步骤截图更详细)
-
足够简单的 Nginx 位置配置说明
-
Apache 的 ProxyPass 使用简单--注意: 顺序很重要:排除指令必须在一般 ProxyPass 指令之前。ProxyPass / http://192.168.0.169:8080/ 配置在其他规则之后,否则子目录可能会被忽略。
-
TMC5160 步进电机驱动器芯片开发和使用说明-1-1.工作原理 TMC5160 提供三种基本工作模式:模式 1 :全功能运动控制和驱动器 所有步进电机逻辑完全由 TMC5160 控制。模式 2 :脉冲和方向驱动器 外部高性能 S-ramp 运动控制器或 CPU(如 TMC 4361)生成脉冲和方向信号,这些信号与系统中的其他组件(如电机)同步。 TMC5160 控制电流和运动模式,并反馈电机状态。microPlyer 会自动平滑运动。模式 3 :简单步进和方向驱动器 TMC5160 根据步进和方向信号控制电机。无需 CPU; 配置由硬件引脚完成。固定保持电流控制由 TMC 5160 完成。可选反馈信号用作错误检测和同步标志的输出。 SPI_MODE 接地,SD_MOD 为高电平以启用该模式。 1.1 关键概念
-
ROS 入门(ROS 安装 + 编译器配置)详细教程 ROSneotic 安装 VScode ROS 开发环境的简单配置
-
自动化工具 - pssh 工具的安装、配置和简单使用说明
-
使用 docker 部署 Nestjs 的简单配置