No subject
Mon Mar 29 07:57:18 UTC 2010
Pcmk and corosync should able to write the log in corosync.log
Sep 17 00:39:07 corosync [pcmk ] info: pcmk_peer_update: MEMB: property01-b
80259264
Sep 17 00:39:07 corosync [pcmk ] info: send_member_notification: Sending
membership update 72 to 2 children
Sep 17 00:39:07 corosync [pcmk ] info: update_member: 0x5275c50 Node
80259264 ((null)) born on: 72
Sep 17 00:39:07 corosync [TOTEM ] A processor joined or left the membership
and a new membership was formed.
Sep 17 00:39:07 corosync [pcmk ] info: update_member: 0x527cec0 Node
63482048 (property01-a) born on: 72
Sep 17 00:39:07 corosync [pcmk ] info: update_member: 0x527cec0 Node
63482048 now known as property01-a (was: (null))
Sep 17 00:39:07 corosync [pcmk ] info: update_member: Node property01-a now
has process list: 00000000000000000000000000013312 (78610)
Sep 17 00:39:08 corosync [pcmk ] info: update_member: Node property01-a now
has 1 quorum votes (was 0)
Sep 17 00:39:08 corosync [pcmk ] info: send_member_notification: Sending
membership update 72 to 2 children
Sep 17 00:39:08 corosync [MAIN ] Completed service synchronization, ready
to provide service.
The cluster was just setup and the current configure is so simple, but I
can't find out what did I do to cause this issue. Can anyone help me to get
rid of the permission issue? I have no clue to find out the cause.
Thank you very much.
Regards,
Alister
------=_NextPart_000_00E1_01CB5602.359E4800
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:PMingLiU;
panose-1:2 2 3 0 0 0 0 0 0 0;}
@font-face
{font-family:PMingLiU;
panose-1:2 2 3 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:PMingLiU;
panose-1:2 2 3 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
/* Page Definitions */
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DZH-TW link=3Dblue vlink=3Dpurple =
style=3D'text-justify-trim:punctuation'>
<div class=3DSection1>
<p class=3DMsoNormal><span lang=3DEN-US>Hi, all,<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US> I
just setup a 2 node clusters in 2 RHEL server(5.5 =
x86_64).<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US> After
I setup and it looked fine. However, I found in /var/log/messages I =
found some
logs showed that it failed to append to corosync.log. I run the corosync =
as
root. <o:p></o:p></span></p>
<p class=3DMsoNormal><span =
lang=3DEN-US> =
e.g.<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Sep 17 00:39:14 property01-b crmd: [17332]: info:
do_state_transition: State transition S_TRANSITION_ENGINE -> S_IDLE [
input=3DI_TE_SUCCESS cause=3DC_FSA_INTERNAL origin=3Dnotify_crmd =
]<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Sep 17 00:39:14 property01-b crmd: Cannot append to
/var/log/cluster/corosync.log: Permission denied<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Sep 17 00:39:14 property01-b crmd: [17332]: info:
do_state_transition: Starting PEngine Recheck =
Timer<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Sep 17 00:39:14 property01-b crmd: Cannot append to
/var/log/cluster/corosync.log: Permission denied<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Below is corosync.conf and crm configure =
result.<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Corosync.conf<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US># Please read the corosync.conf.5 manual =
page<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>compatibility: whitetank<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>totem {<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> version: =
2<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> secauth: =
off<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> threads: =
0<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> interface =
{<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> =
ringnumber: 0<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> =
bindnetaddr: 192.168.200.15<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> =
mcastaddr: 226.94.1.1<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> =
mcastport:
5405<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> =
}<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>}<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>logging {<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> fileline: =
off<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> to_stderr: =
no<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> to_logfile: =
yes<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> to_syslog: =
yes<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> logfile:
/var/log/cluster/corosync.log<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> debug: =
off<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> timestamp: =
on<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> logger_subsys =
{<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> =
subsys: AMF<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> =
debug: off<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> =
}<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>}<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>amf {<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US> mode: =
disabled<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>}<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>aisexec{<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>user: root<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>group: root<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>}<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>service{<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US># Load the Pacemaker Cluster Resource =
Manager<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>name: pacemaker<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>ver: 0<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>}<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Crm configure:<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>node property01-a<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>node property01-b<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>property $id=3D"cib-bootstrap-options" =
\<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>
dc-version=3D"1.0.9-89bd754939df5150de7cd76835f98fe90851b677" =
\<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>
cluster-infrastructure=3D"openais" \<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>
expected-quorum-votes=3D"2"<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Here is the /var/log/corosync/corosync.log permission =
info:<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>[root at property01-b corosync]# ls -l =
/var/log/cluster/<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>total 148<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>-rw-rw---- 1 root root 145285 Sep 17 00:39 =
corosync.log<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>From corosync.log<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Pcmk and corosync should able to write the log in =
corosync.log<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Sep 17 00:39:07 corosync [pcmk ] info: =
pcmk_peer_update: MEMB:
property01-b 80259264<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Sep 17 00:39:07 corosync [pcmk ] info:
send_member_notification: Sending membership update 72 to 2 =
children<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Sep 17 00:39:07 corosync [pcmk ] info: update_member:
0x5275c50 Node 80259264 ((null)) born on: 72<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Sep 17 00:39:07 corosync [TOTEM ] A processor joined or =
left the
membership and a new membership was formed.<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Sep 17 00:39:07 corosync [pcmk ] info: update_member:
0x527cec0 Node 63482048 (property01-a) born on: 72<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Sep 17 00:39:07 corosync [pcmk ] info: update_member:
0x527cec0 Node 63482048 now known as property01-a (was: =
(null))<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Sep 17 00:39:07 corosync [pcmk ] info: update_member: =
Node
property01-a now has process list: 00000000000000000000000000013312 =
(78610)<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Sep 17 00:39:08 corosync [pcmk ] info: update_member: =
Node
property01-a now has 1 quorum votes (was 0)<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Sep 17 00:39:08 corosync [pcmk ] info:
send_member_notification: Sending membership update 72 to 2 =
children<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Sep 17 00:39:08 corosync [MAIN ] Completed service
synchronization, ready to provide service.<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>The cluster was just setup and the current configure is so =
simple,
but I can’t find out what did I do to cause this issue. Can anyone =
help
me to get rid of the permission issue? I have no clue to find out the =
cause.<o:p></o:p></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:24.0pt;mso-para-margin-left:2.0gd'><span
lang=3DEN-US>Thank you very much.<o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>Regards,<o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DEN-US>Alister<o:p></o:p></span></p>
</div>
</body>
</html>
------=_NextPart_000_00E1_01CB5602.359E4800--
More information about the Pacemaker
mailing list