ユーザ用ツール

サイト用ツール


サイドバー



最近の更新



Tag Cloud

タグ#
6
10
1
3
1
2
17
7
1
1
6
12
4
1
2
225
1
6
2
7
16
5
1
27
3
3
1
6
1
1
43
1
3
3
1
1
1
1
1
1
27
46
7
9
10
6
10
3
3
2
9
2
2
6
5
1
1
4
10
4
3
3
2
1
8
2
4
1
5
27
2
12
2
3
1
1
2
2
1
1
1
4
3
2
4
2
2
1
1
2
1
2
1
2
1
27
2
1
2
2
2
1
1
2
3
15
5
8
1
1
2
13
1
5
1
2
7
1
1
1
1
4
8
1
5
2
1
1
1
3
3
11
1
2
1
1
9
3
1
10
1
1
4
1
2
1
2
8
2
2
3
1
1
3
1
2
1
2
2
2
1
2
3
1
3
3
4
1
3
1
3
3
2
1
1
7
1
3
3
1
1
1
1
5
1
34
2
2
2
1
2
2
3
1
1
1
3
1
2
1
3
1
3
1
1
1
2
4
2
1
1
1
3
1
2
4
2
1
2
1
7
1
1
2
2
1
1
2
1
1
2
1
1
1
1
1
1
1
1
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

Yesterday:2047 Today:070 Total:31801