AKAI TSUKI

System development or Technical something

Cluster-HA

study pacemaker(resouce setting, failover)

cluster resource for pacemaker There is a cluster by pacemaker/corosync. The cluster consist of 3 node and doesn't have any cluster resources. Let's try to set dummy resource. Before load crm file, initial status is below [root@vm01 ~]# cr…

corosync and pacemaker on CentOS 7

バージョン等は以下のようになっているみたいです。 # yum info corosync pacemaker 読み込んだプラグイン:fastestmirror base | 3.6 kB 00:00:00 extras | 3.4 kB 00:00:00 updates | 3.4 kB 00:00:00 (1/4): extras/7/x86_64/primary_db | 26 kB 00:00:05 …

install heartbeat

やってみよう # wget 'http://sourceforge.jp/frs/redir.php?m=osdn&f=%2Flinux-ha%2F60151%2Fpacemaker-1.0.13-1.2.el6.x86_64.repo.tar.gz' # tar xvfz pacemaker-1.0.13-1.2.el6.x86_64.repo.tar.gz # mv pacemaker-1.0.13-1.2.el6.x86_64.repo /tmp/ # c…

configure heartbeat / pacemaker for apache on CentOS 6.5.

CentOS 6.5 でheartbeat/pacemakerの組み合わせを利用して apacheの冗長構成を試してみた。 仮想IPは設定していないけど。■ heartbeatの設定 # cat /etc/ha.d/ha.cf pacemaker on logfacility local1 use_logd on debug 0 udpport 694 keepalive 2 warntime …

pacemaker OCF setting

OCF(Open Cluster Framework)という形式のファイルがある。/usr/lib/ocf/resource.d/heartbeat