質問編集履歴

1

pcs config showの追記

2015/11/17 08:56

投稿

isamua
isamua

スコア20

test CHANGED
File without changes
test CHANGED
@@ -1 +1,105 @@
1
1
  pacemakerを動かしているのですがserver1側をAct系にしてServer2側をStb系にしたいのですがどうしても2側がActになり、サービスを落としたらsbtになるのですがまた起動するとActになるのでうがどこを直せばよいのかわかりません。
2
+
3
+
4
+
5
+ >追記
6
+
7
+
8
+
9
+ # pcs config show
10
+
11
+ Cluster Name: hacluster
12
+
13
+ Corosync Nodes:
14
+
15
+ Server01 Server02
16
+
17
+ Pacemaker Nodes:
18
+
19
+ test01 test02 Server01 Server02
20
+
21
+
22
+
23
+ Resources:
24
+
25
+ Resource: dbvip (class=ocf provider=heartbeat type=IPaddr2)
26
+
27
+ Attributes: ip=192.168.0.10 cidr_netmask=24 nic=eth0
28
+
29
+ Operations: start interval=0s timeout=20s (dbvip-start-interval-0s)
30
+
31
+ stop interval=0s timeout=20s (dbvip-stop-interval-0s)
32
+
33
+ monitor interval=30s (dbvip-monitor-interval-30s)
34
+
35
+ Resource: Web_Cluster (class=ocf provider=heartbeat type=apache)
36
+
37
+ Attributes: configfile=/etc/httpd/conf/httpd.conf
38
+
39
+ Operations: start interval=0s timeout=40s (Web_Cluster-start-interval-0s)
40
+
41
+ stop interval=0s timeout=60s (Web_Cluster-stop-interval-0s)
42
+
43
+ monitor interval=1min (Web_Cluster-monitor-interval-1min)
44
+
45
+ Resource: Virtual_IP (class=ocf provider=heartbeat type=IPaddr2)
46
+
47
+ Attributes: ip=192.168.0.10 cidr_netmask=32
48
+
49
+ Operations: start interval=0s timeout=20s (Virtual_IP-start-interval-0s)
50
+
51
+ stop interval=0s timeout=20s (Virtual_IP-stop-interval-0s)
52
+
53
+ monitor interval=30s (Virtual_IP-monitor-interval-30s)
54
+
55
+
56
+
57
+ Stonith Devices:
58
+
59
+ Fencing Levels:
60
+
61
+
62
+
63
+ Location Constraints:
64
+
65
+ Ordering Constraints:
66
+
67
+ start Virtual_IP then start Web_Cluster (kind:Mandatory) (id:order-Virtual_IP-Web_Cluster-mandatory)
68
+
69
+ Colocation Constraints:
70
+
71
+ Web_Cluster with Virtual_IP (score:INFINITY) (id:colocation-Web_Cluster-Virtual_IP-INFINITY)
72
+
73
+ dbvip with Virtual_IP (score:INFINITY) (id:colocation-dbvip-Virtual_IP-INFINITY)
74
+
75
+
76
+
77
+ Resources Defaults:
78
+
79
+ resource-stickiness: INFINITY
80
+
81
+ Operations Defaults:
82
+
83
+ No defaults set
84
+
85
+
86
+
87
+ Cluster Properties:
88
+
89
+ cluster-infrastructure: classic openais (with plugin)
90
+
91
+ dc-version: 1.1.11-97629de
92
+
93
+ expected-quorum-votes: 2
94
+
95
+ last-lrm-refresh: 1447718920
96
+
97
+ no-quorum-policy: ignore
98
+
99
+ stonith-enabled: false
100
+
101
+
102
+
103
+ test01 test02はホスト名変更する前のノード名です。
104
+
105
+ ついでに消したいです。