このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
Tag Cloud
このページへのアクセス
今日: 4 / 昨日: 0
総計: 809
- Dokuwiki.fl8.jp(248)
- 13 CentOS6メール設定(14)
- 02 ProFTPD(12)
- 34 UnboundでHA構成(11)
- FreeBSD カーネル再構築(11)
最近の更新
このページへのアクセス
今日: 4 / 昨日: 0
総計: 809
host | IP |
---|---|
nfs-1 | 10.0.0.31 |
nfs-2 | 10.0.0.32 |
| | vip: 10.0.0.30 +--------+--------+ | | | eth0:10.0.0.31 | eth0:10.0.0.32 +-----+-----+ +-----+-----+ | nfs-1 | | nfs-2 | +-----+-----+ +-----+-----+
property no-quorum-policy="ignore" \ stonith-enabled="false" \ crmd-transition-delay="2s" rsc_defaults resource-stickiness="INFINITY" \ migration-threshold="1" primitive p_drbd_nfs ocf:linbit:drbd \ params drbd_resource="nfs" \ op monitor interval="30" role="Slave" timeout="60" \ op monitor interval="15" role="Master" timeout="60" \ op start interval="0" timeout="240" \ op stop interval="0" timeout="100" ms ms_drbd_nfs p_drbd_nfs \ meta master-max="1" master-node-max="1" clone-max="2" \ clone-node-max="1" notify="true" primitive p_lsb_nfsserver \ lsb:nfs \ op monitor interval="20s" timeout="60s" primitive p_vip_nfs ocf:heartbeat:IPaddr2 \ params ip="10.0.0.30" cidr_netmask="24" \ op monitor interval="20" timeout="60" primitive p_mount_nfs ocf:heartbeat:Filesystem \ params device="/dev/drbd0" directory="/data" fstype="xfs" \ op monitor interval="40s" \ op start interval="0" timeout="60s" \ op stop interval="0" timeout="120s" \ meta target-role="started" primitive p_check_dummy ocf:heartbeat:Dummy \ op start interval="0s" timeout="240s" on-fail="restart" \ op monitor interval="20s" timeout="40s" on-fail="restart" \ op stop interval="0s" timeout="240s" on-fail="block" group group1 \ p_mount_nfs \ p_lsb_nfsserver \ p_vip_nfs \ p_check_dummy location rsc_location1 group1 \ rule 100: #uname eq nfs-1 \ rule 200: #uname eq nfs-2 colocation rsc_colocation1 \ inf: group1 ms_drbd_nfs:Master order rsc_order1 \ inf: ms_drbd_nfs:promote group1:start
[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