ユーザ用ツール

サイト用ツール


サイドバー

このページの翻訳:



最近の更新



Tag Cloud

01_linux:01_net:54_drbd

54 DRBD

確認

[root@fl8.jp ~]# /etc/init.d/drbd status
drbd driver loaded OK; device status:
version: 8.4.5 (api:1/proto:86-101)
GIT-hash: 1d360bde0e095d495786eaeb2a1ac76888e4db96 build by mockbuild@Build64R5, 2014-08-18 20:00:36
m:res     cs         ro                 ds                 p  mounted         fstype
0:zabbix  Connected  Primary/Secondary  UpToDate/UpToDate  C  /mnt/mysql      ext3
0:zabbix  Connected  Primary/Secondary  UpToDate/UpToDate  C  /var/lib/mysql  ext3

正常:

Secondary/Primary
Primary/Secondary

異常:

Secondary/Secondary
Primary/Unknown
Secondary/Unknown

①DRDB再同期

Secondary側で作業

drbd 切断/接続

# drbdadm down all
# drbdadm up all

②DRDB再同期

Secondary側で作業

# drbdadm down all
# drbdadm invalidate all
# drbdadm up all
# drbdadm connect all

Primary側で作業

# drbdadm connect all
01_linux/01_net/54_drbd.txt · 最終更新: 2017/03/06 16:08 by matsui