I'm new to this forum and need urgently help with a problem:
So, I'm trying to build an active/active cluster with CentOS 7 (VMware), which uses a shared storage for websites.
Currently I got 2 nodes. I followed the tutorial on http://www.thefallenphoenix.net/2015/02 ... -centos-7/ to build the pacemaker cluster, which works so far:
Code: Select all
[root@gfs01 ~]# pcs status
Cluster name: gfs_cluster
WARNING: no stonith devices and stonith-enabled is not false
Last updated: Tue May 5 13:55:22 2015
Last change: Tue May 5 13:55:21 2015
Stack: corosync
Current DC: gfs02 (2) - partition with quorum
Version: 1.1.12-a14efad
2 Nodes configured
0 Resources configured
Online: [ gfs01 gfs02 ]
Full list of resources:
PCSD Status:
gfs01: Online
gfs02: Online
Daemon Status:
corosync: active/enabled
pacemaker: active/enabled
pcsd: active/enabled
I followed another tutorial, seen on http://www.thefallenphoenix.net/2015/02 ... stered-fs/ and here begin the problems:
When I want to create the resources for DLM and CLVMD, after creating, the resources are stopped and I don't know how to get them running.
Code: Select all
[root@gfs2-node1 ~]# pcs resource create res_dlm ocf:pacemaker:controld op monitor interval=3s on-fail=fence clone interleave=true ordered=true
[root@gfs2-node1 ~]# pcs resource create res_clvmd ocf:heartbeat:clvm op monitor interval=3s on-fail=fence clone interleave=true ordered=true
[root@gfs01 ~]# pcs status resources
Clone Set: res_dlm-clone [res_dlm]
Stopped: [ gfs01 gfs02 ]
Clone Set: res_clvmd-clone [res_clvmd]
Stopped: [ gfs01 gfs02 ]
Can you guys tell, how to configure the fence device configured and get the resources running?
Code: Select all
[root@gfs01 ~]# pcs stonith create stonith01 fence_vmware_soap
Error: missing required option(s): 'port, ipaddr, login' for resource type: stonith:fence_vmware_soap (use --force to override)
Kind regards,
Marcus