We are setup in a two node active/passive cluster using pacemaker/corosync.  We shutdown the pacemaker/corosync on both nodes and changed the uname -n on our nodes to show the short name instead of the FQDN.  Started up pacemaker/corosync and ever since we done that, when we run the crm_mon command, we see this below.

============
Last updated: Tue Oct  5 13:28:16 2010
Stack: openais
Current DC: e-magdb2 - partition with quorum
Version: 1.0.9-89bd754939df5150de7cd76835f98fe90851b677
4 Nodes configured, 2 expected votes
2 Resources configured.
============

Online: [ e-magdb2 e-magdb1 ]
OFFLINE: [ e-magdb1.testingpcmk.com e-magdb2.testingpcmkr.com ]

We did edit the crm configuration file to use short names for both nodes.   We can ping both the short name and the FQDN on our internal network and both come back with the right IP address.  We are running on RHEL 5.  Anybody have any ideas why the FQDN shows offline since this change since we configured pacemaker/corosync to use short names?  Is it grabbing it from internal DNS from the IP address we have in the /etc/corosync.conf file?  Everything seems to be working correctly and failing over correctly.  Should this be something to worry about though or is it a display bug maybe?  Below is the corosync.conf file.

# Please read the corosync.conf.5 manual page                                                                                                                                                                                              
compatibility: whitetank                                                                                                                                                                                                                  
                                                                                                                                                                                                                                           
totem {
        version: 2                                                                                                                                                                                                                        
        secauth: off                                                                                                                                                                                                                      
        threads: 0                                                                                                                                                                                                                        
        interface {
                ringnumber: 0                                                                                                                                                                                                              
                bindnetaddr: 172.26.5.167                                                                                                                                                                                                  
                mcastaddr: 226.94.5.1
                mcastport: 5405
        }
}

logging {
        fileline: off
        to_stderr: no
        to_logfile: yes
        to_syslog: yes
        logfile: /var/log/cluster/corosync.log
        debug: off
        timestamp: on
        logger_subsys {
                subsys: AMF
                debug: off
        }
}

amf {
        mode: disabled
}


Thanks,
Mike


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

This e-mail message is intended only for the personal use of the recipient(s)
named above. If you are not an intended recipient, you may not review, copy or
distribute this message. If you have received this communication in error,
please notify the CDS Global Help Desk (cdshelpd...@cds-global.com) immediately
by e-mail and delete the original message.

---------------------------------------------------------
_______________________________________________
Pacemaker mailing list: Pacemaker@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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to