drbd配置安装

    Read

接上篇文章:https://note.t4x.org/system/heartbeat-compile-install/
基础环境:

[root@DB1 ~]# uname -a
Linux DB1.MySQL.hz.t4x.org 2.6.32-642.4.2.el6.x86_64 #1 SMP Tue Aug 23 19:58:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@DB1 ~]# uname -n
DB1.mysql.hz.t4x.org
[root@DB1 ~]# uname -r
2.6.32-642.4.2.el6.x86_64
[root@DB1 ~]# cat /etc/redhat-release
CentOS release 6.8 (Final) SourceByrd's Weblog-https://note.t4x.org/system/drbd-configure-install/

IP地址规划:SourceByrd's Weblog-https://note.t4x.org/system/drbd-configure-install/

[root@DB1 ~]# ifconfig | grep "inet addr:"
inet addr:1.1.1.110 Bcast:1.1.1.255 Mask:255.255.255.0 eth0
inet addr:10.162.32.110 Bcast:10.162.47.255 Mask:255.255.240.0 eth1
inet addr:172.16.0.110 Bcast:172.16.255.255 Mask:255.255.0.0 eht2SourceByrd's Weblog-https://note.t4x.org/system/drbd-configure-install/

[root@DB2 ~]# ifconfig | grep "inet addr:"
inet addr:1.1.1.111 Bcast:1.1.1.255 Mask:255.255.255.0 eth0
inet addr:10.162.32.111 Bcast:10.162.47.255 Mask:255.255.240.0 eth1
inet addr:172.16.0.111 Bcast:172.16.255.255 Mask:255.255.0.0 eht2 SourceByrd's Weblog-https://note.t4x.org/system/drbd-configure-install/

硬盘分区:

SourceByrd's Weblog-https://note.t4x.org/system/drbd-configure-install/

编译安装drbd+drbd-utils:

SourceByrd's Weblog-https://note.t4x.org/system/drbd-configure-install/

配置drbd:

SourceByrd's Weblog-https://note.t4x.org/system/drbd-configure-install/ SourceByrd's Weblog-https://note.t4x.org/system/drbd-configure-install/
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Byrd
  • by Published on October 6, 2017
  • 原文链接:https://note.t4x.org/system/drbd-configure-install/
匿名

Comment

Anonymous

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: