Title: Re: [Sysadmins] linux cluster GATEWAY #part 2 - corosync

Help

пытаюсь настроить corosync - не стартует, логов своих не пишет.

в логах мессайджах и службах или пусто, или вразумительного ничего нет...

гугл вразумительного ответа не принес.


/etc/init.d/corosync start

Starting corosync daemon: corosynccorosync [MAIN  ] Corosync Cluster Engine ('1.2.1'): started and ready to provide service.

corosync [MAIN  ] Corosync built-in features: nss

corosync [MAIN  ] service: Can't add subsection different then service

corosync [MAIN  ] Corosync Cluster Engine exiting with status -9 at main.c:1374.

 failed!


подскажите на что он хоть ругается?



corosync.conf - практически дефолтный, в принципе пытался запустить и с дефолтным - не помогло...  

# Please read the openais.conf.5 manual page


totem {

        version: 2


        # How long before declaring a token lost (ms)

        token: 3000


        # How many token retransmits before forming a new configuration

        token_retransmits_before_loss_const: 10


        # How long to wait for join messages in the membership protocol (ms)

        join: 60


        # How long to wait for consensus to be achieved before starting a new round of membership configuration (ms)

        consensus: 3600


        # Turn off the virtual synchrony filter

        vsftype: none


        # Number of messages that may be sent by one processor on receipt of the token

        max_messages: 20


        # Limit generated nodeids to 31-bits (positive signed integers)

        clear_node_high_bit: yes


        # Disable encryption

        secauth: off


        # How many threads to use for encryption/decryption

        threads: 0


        # Optionally assign a fixed node id (integer)

        # nodeid: 1234


        # This specifies the mode of redundant ring, which may be none, active, or passive.

        rrp_mode: none


        interface {

                # The following values need to be set based on your environment

                ringnumber: 0

                # bindnetaddr: 127.0.0.1

                bindnetaddr: 10.0.0.0   /подсеть с сетевухой 10.0.0.2

                mcastaddr: 226.94.1.1

                mcastport: 5405

        }

}


amf {

        mode: disabled

}


service {

        # Load the Pacemaker Cluster Resource Manager

        ver:       0

        name:      pacemaker

}


aisexec {

        user:   root

        group:  root

}


logging {

        fileline: off

        to_stderr: yes

        to_logfile: yes

        logfile: /var/log/corosync.log

        to_syslog: yes

        syslog_facility: daemon

        debug: off

        timestamp: on

        logger_subsys {

                subsys: AMF

                debug: off

                tags: enter|leave|trace1|trace2|trace3|trace4|trace6

        }

}


_______________________________________________
Sysadmins mailing list
[email protected]
https://lists.altlinux.org/mailman/listinfo/sysadmins

Ответить