[Linux-cluster] service can not be relocated

Changer Van changerv at gmail.com
Wed Oct 3 03:33:05 UTC 2007


------------------------------

Message: 8
Date: Mon, 01 Oct 2007 10:20:51 -0400
From: Lon Hohberger <lhh at redhat.com>
Subject: Re: [Linux-cluster] service can not be relocated
To: linux clustering <linux-cluster at redhat.com>
Message-ID: <1191248451.4477.15.camel at ayanami.boston.devel.redhat.com>
Content-Type: text/plain
On Mon, 2007-10-01 at 10:14 -0400, Lon Hohberger wrote:
> On Thu, 2007-09-27 at 15:31 +0800, Changer Van wrote:
> > Hi all,
> >
> > Httpd service can not be relocated when I performed the command as
> > follows:
> >
> > # clusvcadm -r httpd
> > Trying to relocate service:httpd...Failure
> > service:httpd is now running on node02
>
> Hi, what release are you using?
RHEL 5 (2.6.18-8el5)
> Right, and are there any logs on node01 indicating why it might not be
> started?
No, there aren't.
But service httpd was relocated to node01 while cluster member was specified

like 'clusvcadm -r httpd  -m node01'.

Now the service was on node01.
I did a test as follows:

I unplugged network cable of node01 for a while then plugged in again.
Service cman was terminated on node02 suddenly,
and it could not stop on node02.

logs on node02:
node02 openais[2813]: [CLM  ] CLM CONFIGURATION CHANGE
node02 openais[2813]: [CLM  ] New Configuration:
node02 openais[2813]: [CLM  ]   r(0) ip(192.168.0.221)
node02 openais[2813]: [CLM  ] Members Left:
node02 openais[2813]: [CLM  ] Members Joined:
node02 openais[2813]: [SYNC ] This node is within the primary component and
will provide service.
node02 openais[2813]: [CLM  ] CLM CONFIGURATION CHANGE
node02 openais[2813]: [CLM  ] New Configuration:
node02 openais[2813]: [CLM  ]   r(0) ip(192.168.0.219)
node02 openais[2813]: [CLM  ]   r(0) ip(192.168.0.221)
node02 openais[2813]: [CLM  ] Members Left:
node02 openais[2813]: [CLM  ] Members Joined:
node02 openais[2813]: [CLM  ]   r(0) ip(192.168.0.219)
node02 openais[2813]: [SYNC ] This node is within the primary component and
will provide service.
node02 openais[2813]: [TOTEM] entering OPERATIONAL state.
node02 openais[2813]: [MAIN ] Killing node node01 because it has rejoined
the cluster without cman_tool join
node02 openais[2813]: [CMAN ] cman killed by node 2 for reason 3
node02 dlm_controld[2843]: groupd is down, exiting
node02 kernel: dlm: closing connection to node 1
node02 gfs_controld[2849]: groupd_dispatch error -1 errno 11
node02 gfs_controld[2849]: groupd connection died
node02 gfs_controld[2849]: cluster is down, exiting
node02 ccsd[2807]: Unable to connect to cluster infrastructure after 30
seconds.
node02 ccsd[2807]: Unable to connect to cluster infrastructure after 60
seconds.
node02 ccsd[2807]: Unable to connect to cluster infrastructure after 90
seconds.

Any help would be greatly appreciated.
-- 
Regards,
Changer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20071003/ae5bd1b8/attachment.htm>


More information about the Linux-cluster mailing list