[Pacemaker] [Could not determin the current cluster type] in heartbeat+pacemaker on rhel6

Andrew Beekhof andrew at beekhof.net
Tue Apr 29 17:49:40 EDT 2014


On 29 Apr 2014, at 11:06 pm, ESWAR RAO <eswar7028 at gmail.com> wrote:

> 
> Hi All,
> 
> I am trying to install heartbeat and pacemaker on RHEL system.
> The same configuration was working correctly on ubuntu.
> 
> 
> Can someone please help me to correct the configuration??

Remove heartbeat, the pacemaker packages are not built to support it.

http://clusterlabs.org/quickstart-redhat.html

> 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> # cat /etc/ha.d/ha.cf 
> debugfile /var/log/ha-debug
> logfile /var/log/ha-log
> logfacility local0
> keepalive 2
> deadtime 30
> warntime 10
> initdead 50
> udpport 694
> ucast eth1 192.168.2.29
> ucast eth1 192.168.2.91
> node test-redhat-1 test-redhat-2
> # Enable pacemaker
> crm respawn
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> # rpm -qa | grep -i pacemaker
> pacemaker-1.1.10-14.el6_5.3.x86_64
> pacemaker-libs-1.1.10-14.el6_5.3.x86_64
> pacemaker-cluster-libs-1.1.10-14.el6_5.3.x86_64
> pacemaker-cli-1.1.10-14.el6_5.3.x86_64
> 
> # rpm -qa | grep -i heartbeat
> heartbeat-libs-3.0.4-2.el6.x86_64
> heartbeat-3.0.4-2.el6.x86_64
> 
> # rpm -qa | grep -i crm
> crmsh-2.0+git5-1.1.x86_64
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> #/etc/init.d/heartbeat start
> Starting High-Availability services: Done.
> 
> #tail -f /var/log/messages
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3377]: info: Starting child client "/usr/lib64/heartbeat/ccm" (189,189)
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3391]: info: Starting "/usr/lib64/heartbeat/ccm" as uid 189  gid 189 (pid 3391)
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3377]: info: Starting child client "/usr/lib64/heartbeat/cib" (189,189)
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3377]: info: Starting child client "/usr/lib64/heartbeat/lrmd -r" (0,0)
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3377]: info: Starting child client "/usr/lib64/heartbeat/stonithd" (0,0)
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3377]: info: Starting child client "/usr/lib64/heartbeat/attrd" (189,189)
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3377]: info: Starting child client "/usr/lib64/heartbeat/crmd" (189,189)
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3393]: info: Starting "/usr/lib64/heartbeat/lrmd -r" as uid 0  gid 0 (pid 3393)
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3395]: info: Starting "/usr/lib64/heartbeat/attrd" as uid 189  gid 189 (pid 3395)
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3396]: info: Starting "/usr/lib64/heartbeat/crmd" as uid 189  gid 189 (pid 3396)
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3394]: info: Starting "/usr/lib64/heartbeat/stonithd" as uid 0  gid 0 (pid 3394)
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3392]: info: Starting "/usr/lib64/heartbeat/cib" as uid 189  gid 189 (pid 3392)
> Apr 29 17:58:34 nvsd-common-test-redhat lrmd: [3393]: info: G_main_add_SignalHandler: Added signal handler for signal 15
> Apr 29 17:58:34 nvsd-common-test-redhat lrmd: [3393]: info: G_main_add_SignalHandler: Added signal handler for signal 17
> Apr 29 17:58:34 nvsd-common-test-redhat lrmd: [3393]: info: enabling coredumps
> Apr 29 17:58:34 nvsd-common-test-redhat stonith-ng[3394]:   notice: crm_add_logfile: Additional logging available in /var/log/ha-debug
> Apr 29 17:58:34 nvsd-common-test-redhat lrmd: [3393]: info: G_main_add_SignalHandler: Added signal handler for signal 10
> Apr 29 17:58:34 nvsd-common-test-redhat lrmd: [3393]: info: G_main_add_SignalHandler: Added signal handler for signal 12
> Apr 29 17:58:34 nvsd-common-test-redhat lrmd: [3393]: info: Started.
> Apr 29 17:58:34 nvsd-common-test-redhat stonith-ng[3394]:   notice: get_cluster_type: Could not determin the current cluster type
> Apr 29 17:58:34 nvsd-common-test-redhat cib[3392]:   notice: crm_add_logfile: Additional logging available in /var/log/ha-debug
> Apr 29 17:58:34 nvsd-common-test-redhat attrd[3395]:   notice: crm_add_logfile: Additional logging available in /var/log/ha-debug
> Apr 29 17:58:34 nvsd-common-test-redhat stonith-ng[3394]:   notice: get_cluster_type: Could not determin the current cluster type
> Apr 29 17:58:34 nvsd-common-test-redhat stonith-ng[3394]:   notice: crm_cluster_connect: Connecting to cluster infrastructure: unknown
> Apr 29 17:58:34 nvsd-common-test-redhat stonith-ng[3394]:   notice: get_cluster_type: Could not determin the current cluster type
> Apr 29 17:58:34 nvsd-common-test-redhat crmd[3396]:   notice: crm_add_logfile: Additional logging available in /var/log/ha-debug
> Apr 29 17:58:34 nvsd-common-test-redhat stonith-ng[3394]:     crit: main: Cannot sign in to the cluster... terminating
> Apr 29 17:58:34 nvsd-common-test-redhat attrd[3395]:   notice: get_cluster_type: Could not determin the current cluster type
> Apr 29 17:58:34 nvsd-common-test-redhat attrd[3395]:   notice: get_cluster_type: Could not determin the current cluster type
> Apr 29 17:58:34 nvsd-common-test-redhat cib[3392]:   notice: main: Using legacy config location: /var/lib/heartbeat/crm
> Apr 29 17:58:34 nvsd-common-test-redhat cib[3392]:   notice: get_cluster_type: Could not determin the current cluster type
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3377]: WARN: Managed /usr/lib64/heartbeat/stonithd process 3394 exited with return code 100.
> Apr 29 17:58:34 nvsd-common-test-redhat cib[3392]:   notice: get_cluster_type: Could not determin the current cluster type
> Apr 29 17:58:34 nvsd-common-test-redhat ccm: [3391]: info: Hostname: nvsd-common-test-redhat
> Apr 29 17:58:34 nvsd-common-test-redhat attrd[3395]:   notice: crm_cluster_connect: Connecting to cluster infrastructure: unknown
> Apr 29 17:58:34 nvsd-common-test-redhat attrd[3395]:   notice: get_cluster_type: Could not determin the current cluster type
> Apr 29 17:58:34 nvsd-common-test-redhat cib[3392]:  warning: validate_cib_digest: No on-disk digest present
> Apr 29 17:58:34 nvsd-common-test-redhat crmd[3396]:   notice: main: CRM Git Version: 368c726
> Apr 29 17:58:34 nvsd-common-test-redhat crmd[3396]:   notice: get_cluster_type: Could not determin the current cluster type
> 
> 
> Apr 29 17:58:34 nvsd-common-test-redhat attrd[3395]:    error: main: HA Signon failed
> Apr 29 17:58:34 nvsd-common-test-redhat attrd[3395]:    error: main: Aborting startup
> 
> 
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3377]: WARN: Managed /usr/lib64/heartbeat/attrd process 3395 exited with return code 100.
> Apr 29 17:58:34 nvsd-common-test-redhat cib[3392]:   notice: get_cluster_type: Could not determin the current cluster type
> Apr 29 17:58:34 nvsd-common-test-redhat cib[3392]:   notice: crm_cluster_connect: Connecting to cluster infrastructure: unknown
> Apr 29 17:58:34 nvsd-common-test-redhat cib[3392]:   notice: get_cluster_type: Could not determin the current cluster type
> Apr 29 17:58:34 nvsd-common-test-redhat cib[3392]:     crit: cib_init: Cannot sign in to the cluster... terminating
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3377]: WARN: Managed /usr/lib64/heartbeat/cib process 3392 exited with return code 100.
> Apr 29 17:58:34 nvsd-common-test-redhat heartbeat: [3377]: info: the send queue length from heartbeat to client ccm is set to 1024
> Apr 29 17:58:35 nvsd-common-test-redhat crmd[3396]:  warning: do_cib_control: Couldn't complete CIB registration 1 times... pause and retry
> 
> # crm status
> Could not establish cib_ro connection: Connection refused (111)
> ERROR: status: crm_mon exited with code 107. Output: 'Connection to cluster failed: Transport endpoint is not connected'
> 
> # ps -eaf | grep heart
> root      3377     1  0 17:57 ?        00:00:00 heartbeat: master control process
> root      3381  3377  0 17:57 ?        00:00:00 heartbeat: FIFO reader        
> root      3382  3377  0 17:57 ?        00:00:00 heartbeat: write: ucast eth1  
> root      3383  3377  0 17:57 ?        00:00:00 heartbeat: read: ucast eth1   
> root      3384  3377  0 17:57 ?        00:00:00 heartbeat: write: ucast eth1  
> root      3385  3377  0 17:57 ?        00:00:00 heartbeat: read: ucast eth1   
> 189       3391  3377  0 17:58 ?        00:00:00 /usr/lib64/heartbeat/ccm
> root      3393  3377  0 17:58 ?        00:00:00 /usr/lib64/heartbeat/lrmd -r
> 189       3457  3377  0 18:02 ?        00:00:00 /usr/lib64/heartbeat/crmd
> 
> Thanks
> Eswar
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140430/d5fb13b1/attachment-0003.sig>


More information about the Pacemaker mailing list