Nick Khamis | 1 Nov 02:02 2011
Picon

Re: [corosync] crm not connecting with cman/corosync instance

I included /etc/corosync/service.d/pcmk:

service {
	# Load the Pacemaker Cluster Resource Manager
	name: pacemaker
	ver:  1
}

/etc/init.d/cman start
Starting cluster:
   Checking if cluster has been disabled at boot... [  OK  ]
   Checking Network Manager... [  OK  ]
   Global setup... [  OK  ]
   Loading kernel modules... [  OK  ]
   Mounting configfs... [  OK  ]
   Starting cman... [  OK  ]
   Waiting for quorum... [  OK  ]
   Starting fenced... [  OK  ]
   Starting dlm_controld... [  OK  ]
   Unfencing self... [  OK  ]
   Joining fence domain... [  OK  ]

pacemakerd -V
pacemakerd[13021]: 2011/10/31_20:53:12 info: config_find_next:
Processing additional service options...
pacemakerd[13021]: 2011/10/31_20:53:12 info: get_config_opt: Found
'corosync_quorum' for option: name
pacemakerd[13021]: 2011/10/31_20:53:12 info: config_find_next:
Processing additional service options...
pacemakerd[13021]: 2011/10/31_20:53:12 info: get_config_opt: Found
(Continue reading)

Andrew Beekhof | 1 Nov 08:59 2011
Picon

Re: Does ANYTHING Work on RHEL6?

On Tue, Nov 1, 2011 at 9:15 AM, Robinson, Eric <eric.robinson <at> psmnv.com> wrote:
>> Florian's suggestion sounds like a good start for you.  After
>> that, try firewalls and selinux.
>>
>
> Well, sheesh, it was selinux. Write that one down, folks. Selinux causes
> "error 6" problem when initializing the ring. And this is all because
> the RHEL 6 installer does not ask whether selinux should be enabled like
> the RHEL 5 installer does, so I didn' think to look (and would not have
> believed it anyway). Thanks for the suggestion.

I /think/ they ended up creating a policy for corosync/selinux recently.
Not sure which 6.x release it made it into though.
Evidently not yours :(

>
> --Eric
>
>
>
>
> Disclaimer - October 31, 2011
> This email and any files transmitted with it are confidential and intended solely for General Linux-HA
mailing list. If you are not the named addressee you should not disseminate, distribute, copy or alter
this email. Any views or opinions presented in this email are solely those of the author and might not
represent those of Physicians' Managed Care or Physician Select Management. Warning: Although
Physicians' Managed Care or Physician Select Management has taken reasonable precautions to ensure no
viruses are present in this email, the company cannot accept responsibility for any loss or damage
arising from the use of this email or attachments.
> This disclaimer was added by Policy Patrol: http://www.policypatrol.com/
(Continue reading)

Andrew Beekhof | 1 Nov 09:01 2011
Picon

Re: [corosync] crm not connecting with cman/corosync instance

On Tue, Nov 1, 2011 at 12:02 PM, Nick Khamis <symack <at> gmail.com> wrote:
> I included /etc/corosync/service.d/pcmk:
>
> service {
>        # Load the Pacemaker Cluster Resource Manager
>        name: pacemaker
>        ver:  1
> }

That doesnt start pacemaker and shouldn't be enabled when attempting
to use pacemaker with cman.
Use the pacemaker init script.

>
>
>
> /etc/init.d/cman start
> Starting cluster:
>   Checking if cluster has been disabled at boot... [  OK  ]
>   Checking Network Manager... [  OK  ]
>   Global setup... [  OK  ]
>   Loading kernel modules... [  OK  ]
>   Mounting configfs... [  OK  ]
>   Starting cman... [  OK  ]
>   Waiting for quorum... [  OK  ]
>   Starting fenced... [  OK  ]
>   Starting dlm_controld... [  OK  ]
>   Unfencing self... [  OK  ]
>   Joining fence domain... [  OK  ]
>
(Continue reading)

Andrew Beekhof | 1 Nov 09:09 2011
Picon

Re: Could not get the ring status, the error is: 6

I think we pointed the finger at selinux in another thread

On Mon, Oct 31, 2011 at 10:48 AM, Robinson, Eric
<eric.robinson <at> psmnv.com> wrote:
> I just installed and configured corosync-1.2.3-21.el6_0.1.x86_64 on
> RHEL6. At startup, the corosync log appears to be complete except for
> the line, " A processor joined or left the membership and a new
> membership was formed." I cannot connect to the cluster, and
> corosync-cfgtool states:
>
> Local node ID 923445440
> Could not get the ring status, the error is: 6
>
> There is precious little about this on Google. Any ideas? I verified
> nothing else was on that mcast group and port, adn iptables is off.
>
> Here is my full corosync config and startup log.
>
> # Please read the corosync.conf.5 manual page
> compatibility: whitetank
>
> totem {
>        version:        2
>        token:          5000
>        token_retransmits_before_loss_const: 10
>        join:           1000
>        consensus:      7500
>        vsftype:        none
>        max_messages:   20
>        secauth:        off
(Continue reading)

Tristan Santore | 1 Nov 11:02 2011
Picon

Re: Does ANYTHING Work on RHEL6?

On 31/10/11 22:15, Robinson, Eric wrote:
>> Florian's suggestion sounds like a good start for you.  After 
>> that, try firewalls and selinux.
>>
> 
> Well, sheesh, it was selinux. Write that one down, folks. Selinux causes
> "error 6" problem when initializing the ring. And this is all because
> the RHEL 6 installer does not ask whether selinux should be enabled like
> the RHEL 5 installer does, so I didn' think to look (and would not have
> believed it anyway). Thanks for the suggestion.
> 
> --Eric
> 
> 
> 
> 
> Disclaimer - October 31, 2011 
> This email and any files transmitted with it are confidential and intended solely for General Linux-HA
mailing list. If you are not the named addressee you should not disseminate, distribute, copy or alter
this email. Any views or opinions presented in this email are solely those of the author and might not
represent those of Physicians' Managed Care or Physician Select Management. Warning: Although
Physicians' Managed Care or Physician Select Management has taken reasonable precautions to ensure no
viruses are present in this email, the company cannot accept responsibility for any loss or damage
arising from the use of this email or attachments. 
> This disclaimer was added by Policy Patrol: http://www.policypatrol.com/
> _______________________________________________
> Linux-HA mailing list
> Linux-HA <at> lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
(Continue reading)

Andrew Beekhof | 1 Nov 11:31 2011
Picon

Re: partial recovery - odd status - help

On Sun, Oct 30, 2011 at 11:35 AM, Miles Fidelman
<mfidelman <at> meetinghouse.net> wrote:
> Hi,
>
> I have a basic 2-node HA cluster - Xen over DRBD, pacemaker, etc.
>
> I've seen this happen several times:
> - reboot a node: VM goes down on one node, fails over to the other node
> cleanly
> - restart the primary node: VM moves back to the primary node
> ---- image on the secondary node seems to be shut down (xm console messages)
> ---- crm status shows the VM started on the primary node
> ---- I can log in just fine, all seems to be working
> BUT.....
> ---- drbd shows the disks to be in primary/primary status
> ---- xm list shows the VM still active on the secondary node
>
> So....
>
> - what's going on?

No idea. Descriptions aren't a good substitute for logs.

> - how do I complete the shut down and transition to primary/secondary
> DRBD status
>
> Thanks very much,
>
> Miles Fidelman
>
(Continue reading)

Nick Khamis | 1 Nov 13:17 2011
Picon

Re: Does ANYTHING Work on RHEL6?

Hello Everyonem

Is their an SELINUX policy for the pcmk cluster posted aywhere? For
example like the following for
CMAN: What ports do I have to enable for the iptables firewall?  We
will need to turn SELINUX
back soon.

Thanks in Advance,

Nick.
_______________________________________________
Linux-HA mailing list
Linux-HA <at> lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Nick Khamis | 1 Nov 14:46 2011
Picon

Re: [corosync] crm not connecting with cman/corosync instance

Hello Andrew,

Thank you so much for your reponse. I only re-included service.d/pcmk
after recieving the following error when starting the init script:

pacemakerd[1256]: 2011/11/01_09:41:13 debug: find_corosync_variant:
Could not initialize Cluster Configuration Database API instance error
6
pacemakerd[1256]: 2011/11/01_09:41:13 info: get_cluster_type: Assuming
a 'heartbeat' based cluster
pacemakerd[1256]: 2011/11/01_09:41:13 CRIT: get_cluster_type: This
installation of Pacemaker does not support the 'heartbeat' cluster
infrastructure.  Terminating.

I do not have Heartbeat installed? This is a
pcmk+cman+openais/corosync cluster. How can I change the value of
get_cluster_type? I should mention, that I do not recall including
anything in terms of a "pacemaker config file".

Thanks in Advance,

Nick.
_______________________________________________
Linux-HA mailing list
Linux-HA <at> lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Dimitri Maziuk | 1 Nov 19:32 2011
Picon

Re: Does ANYTHING Work on RHEL6?

On 11/01/2011 07:17 AM, Nick Khamis wrote:
> We
> will need to turn SELINUX
> back soon.

You know you won't be able to ssh in as root if you do that, right?

--

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

_______________________________________________
Linux-HA mailing list
Linux-HA <at> lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
Nick Khamis | 1 Nov 19:45 2011
Picon

Re: Does ANYTHING Work on RHEL6?

Should be possible to sudo?

On Tue, Nov 1, 2011 at 2:32 PM, Dimitri Maziuk <dmaziuk <at> bmrb.wisc.edu> wrote:
> On 11/01/2011 07:17 AM, Nick Khamis wrote:
>> We
>> will need to turn SELINUX
>> back soon.
>
> You know you won't be able to ssh in as root if you do that, right?
>
> --
> Dimitri Maziuk
> Programmer/sysadmin
> BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA <at> lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
Linux-HA <at> lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Gmane