Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # cat /var/log/cluster/corosync.log
- Jan 25 11:19:39 corosync [MAIN ] Corosync Cluster Engine ('1.3.0'): started and ready to provide service.
- Jan 25 11:19:39 corosync [MAIN ] Corosync built-in features: nss rdma
- Jan 25 11:19:39 corosync [MAIN ] Successfully read main configuration file '/etc/corosync/corosync.conf'.
- Jan 25 11:19:39 corosync [TOTEM ] Initializing transport (UDP/IP Unicast).
- Jan 25 11:19:39 corosync [TOTEM ] Initializing transmit/receive security: libtomcrypt SOBER128/SHA1HMAC (mode 0).
- Jan 25 11:19:39 corosync [TOTEM ] Initializing transport (UDP/IP Unicast).
- Jan 25 11:19:39 corosync [TOTEM ] Initializing transmit/receive security: libtomcrypt SOBER128/SHA1HMAC (mode 0).
- Jan 25 11:19:39 corosync [TOTEM ] The network interface [10.0.2.11] is now up.
- Jan 25 11:19:39 corosync [pcmk ] info: process_ais_conf: Reading configure
- Jan 25 11:19:39 corosync [pcmk ] info: config_find_init: Local handle: 2697991128409440260 for logging
- Jan 25 11:19:39 corosync [pcmk ] info: config_find_next: Processing additional logging options...
- Jan 25 11:19:39 corosync [pcmk ] info: get_config_opt: Found 'off' for option: debug
- Jan 25 11:19:39 corosync [pcmk ] info: get_config_opt: Found 'yes' for option: to_logfile
- Set r/w permissions for uid=0, gid=0 on /var/log/cluster/corosync.log
- Jan 25 11:19:39 corosync [pcmk ] info: get_config_opt: Found '/var/log/cluster/corosync.log' for option: logfile
- Jan 25 11:19:39 corosync [pcmk ] info: get_config_opt: Found 'no' for option: to_syslog
- Jan 25 11:19:39 corosync [pcmk ] info: process_ais_conf: User configured file based logging and explicitly disabled syslog.
- Jan 25 11:19:39 corosync [pcmk ] info: config_find_init: Local handle: 7114519016932114437 for service
- Jan 25 11:19:39 corosync [pcmk ] info: config_find_next: Processing additional service options...
- Jan 25 11:19:39 corosync [pcmk ] info: get_config_opt: Defaulting to 'pcmk' for option: clustername
- Jan 25 11:19:39 corosync [pcmk ] info: get_config_opt: Found 'no' for option: use_logd
- Jan 25 11:19:39 corosync [pcmk ] info: get_config_opt: Found 'yes' for option: use_mgmtd
- Jan 25 11:19:39 corosync [pcmk ] info: pcmk_startup: CRM: Initialized
- Jan 25 11:19:39 corosync [pcmk ] Logging: Initialized pcmk_startup
- Jan 25 11:19:39 corosync [pcmk ] info: pcmk_startup: Maximum core file size is: 18446744073709551615
- Jan 25 11:19:39 corosync [pcmk ] info: pcmk_startup: Service: 9
- Jan 25 11:19:39 corosync [pcmk ] info: pcmk_startup: Local hostname: cluster1
- Jan 25 11:19:39 corosync [pcmk ] info: pcmk_update_nodeid: Local node id: 184680458
- Jan 25 11:19:39 corosync [pcmk ] info: update_member: Creating entry for node 184680458 born on 0
- Jan 25 11:19:39 corosync [pcmk ] info: update_member: 0x179fbec0 Node 184680458 now known as cluster1 (was: (null))
- Jan 25 11:19:39 corosync [pcmk ] info: update_member: Node cluster1 now has 1 quorum votes (was 0)
- Jan 25 11:19:39 corosync [pcmk ] info: update_member: Node 184680458/cluster1 is now: member
- Jan 25 11:19:39 corosync [pcmk ] info: spawn_child: Forked child 9717 for process stonithd
- Jan 25 11:19:39 corosync [pcmk ] info: spawn_child: Forked child 9718 for process cib
- Jan 25 11:19:39 corosync [pcmk ] info: spawn_child: Forked child 9719 for process lrmd
- Jan 25 11:19:39 corosync [pcmk ] info: spawn_child: Forked child 9720 for process attrd
- Jan 25 11:19:39 cluster1 stonithd: [9717]: info: G_main_add_SignalHandler: Added signal handler for signal 10
- Jan 25 11:19:39 cluster1 stonithd: [9717]: info: G_main_add_SignalHandler: Added signal handler for signal 12
- Jan 25 11:19:39 cluster1 cib: [9718]: info: Invoked: /usr/lib64/heartbeat/cib
- Jan 25 11:19:39 cluster1 cib: [9718]: info: G_main_add_TriggerHandler: Added signal manual handler
- Jan 25 11:19:39 cluster1 cib: [9718]: info: G_main_add_SignalHandler: Added signal handler for signal 17
- Jan 25 11:19:39 cluster1 cib: [9718]: info: retrieveCib: Reading cluster configuration from: /var/lib/heartbeat/crm/cib.xml (digest: /var/lib/heartbeat/crm/cib.xml.sig)
- Jan 25 11:19:39 cluster1 stonithd: [9717]: info: crm_cluster_connect: Connecting to OpenAIS
- Jan 25 11:19:39 corosync [pcmk ] info: spawn_child: Forked child 9721 for process pengine
- Jan 25 11:19:39 cluster1 stonithd: [9717]: info: init_ais_connection_once: Creating connection to our AIS plugin
- Jan 25 11:19:39 cluster1 lrmd: [9429]: info: lrmd is shutting down
- Jan 25 11:19:39 cluster1 lrmd: [9719]: info: Signal sent to pid=9429, waiting for process to exit
- Jan 25 11:19:39 cluster1 attrd: [9720]: info: Invoked: /usr/lib64/heartbeat/attrd
- Jan 25 11:19:39 cluster1 attrd: [9720]: info: main: Starting up
- Jan 25 11:19:39 cluster1 attrd: [9720]: info: crm_cluster_connect: Connecting to OpenAIS
- Jan 25 11:19:39 cluster1 attrd: [9720]: info: init_ais_connection_once: Creating connection to our AIS plugin
- Jan 25 11:19:39 corosync [pcmk ] info: spawn_child: Forked child 9722 for process crmd
- Jan 25 11:19:39 corosync [pcmk ] info: spawn_child: Forked child 9723 for process mgmtd
- Jan 25 11:19:39 corosync [SERV ] Service engine loaded: Pacemaker Cluster Manager 1.0.9
- Jan 25 11:19:39 cluster1 pengine: [9721]: info: Invoked: /usr/lib64/heartbeat/pengine
- Jan 25 11:19:39 cluster1 crmd: [9722]: info: Invoked: /usr/lib64/heartbeat/crmd
- Jan 25 11:19:39 cluster1 pengine: [9721]: WARN: main: Terminating previous PE instance
- Jan 25 11:19:39 cluster1 crmd: [9722]: info: main: CRM Hg Version: da7075976b5ff0bee71074385f8fd02f296ec8a3
- Jan 25 11:19:39 cluster1 pengine: [9431]: WARN: process_pe_message: Received quit message, terminating
- Jan 25 11:19:39 cluster1 crmd: [9722]: info: crmd_init: Starting crmd
- Jan 25 11:19:39 cluster1 crmd: [9722]: info: G_main_add_SignalHandler: Added signal handler for signal 17
- Jan 25 11:19:39 corosync [SERV ] Service engine loaded: corosync extended virtual synchrony service
- Jan 25 11:19:39 corosync [SERV ] Service engine loaded: corosync configuration service
- Jan 25 11:19:39 corosync [SERV ] Service engine loaded: corosync cluster closed process group service v1.01
- Jan 25 11:19:39 corosync [SERV ] Service engine loaded: corosync cluster config database access v1.01
- Jan 25 11:19:39 corosync [SERV ] Service engine loaded: corosync profile loading service
- Jan 25 11:19:39 corosync [SERV ] Service engine loaded: corosync cluster quorum service v0.1
- Jan 25 11:19:39 corosync [MAIN ] Compatibility mode set to none. Using V2 of the synchronization engine.
- Jan 25 11:19:39 corosync [TOTEM ] The network interface [192.168.146.11] is now up.
- Jan 25 11:19:39 cluster1 cib: [9718]: info: startCib: CIB Initialization completed successfully
- Jan 25 11:19:39 cluster1 cib: [9718]: info: crm_cluster_connect: Connecting to OpenAIS
- Jan 25 11:19:39 cluster1 cib: [9718]: info: init_ais_connection_once: Creating connection to our AIS plugin
- Jan 25 11:19:39 cluster1 stonithd: [9717]: info: init_ais_connection_once: AIS connection established
- Jan 25 11:19:39 corosync [pcmk ] info: pcmk_ipc: Recorded connection 0x17a05da0 for stonithd/9717
- Jan 25 11:19:39 cluster1 attrd: [9720]: info: init_ais_connection_once: AIS connection established
- Jan 25 11:19:39 cluster1 stonithd: [9717]: info: get_ais_nodeid: Server details: id=184680458 uname=cluster1 cname=pcmk
- Jan 25 11:19:39 cluster1 stonithd: [9717]: info: crm_new_peer: Node cluster1 now has id: 184680458
- Jan 25 11:19:39 cluster1 stonithd: [9717]: info: crm_new_peer: Node 184680458 is now known as cluster1
- Jan 25 11:19:39 cluster1 stonithd: [9717]: notice: /usr/lib64/heartbeat/stonithd start up successfully.
- Jan 25 11:19:39 cluster1 cib: [9718]: info: init_ais_connection_once: AIS connection established
- Jan 25 11:19:39 cluster1 stonithd: [9717]: info: G_main_add_SignalHandler: Added signal handler for signal 17
- Jan 25 11:19:39 corosync [pcmk ] info: pcmk_ipc: Recorded connection 0x17a0a100 for attrd/9720
- Jan 25 11:19:39 cluster1 attrd: [9720]: info: get_ais_nodeid: Server details: id=184680458 uname=cluster1 cname=pcmk
- Jan 25 11:19:39 corosync [pcmk ] info: pcmk_ipc: Recorded connection 0x17a0ea80 for cib/9718
- Jan 25 11:19:39 corosync [pcmk ] info: update_member: Node cluster1 now has process list: 00000000000000000000000000053312 (340754)
- Jan 25 11:19:39 corosync [pcmk ] info: pcmk_ipc: Sending membership update 0 to cib
- Jan 25 11:19:39 cluster1 attrd: [9720]: info: crm_new_peer: Node cluster1 now has id: 184680458
- Jan 25 11:19:39 cluster1 cib: [9718]: info: get_ais_nodeid: Server details: id=184680458 uname=cluster1 cname=pcmk
- Jan 25 11:19:39 cluster1 attrd: [9720]: info: crm_new_peer: Node 184680458 is now known as cluster1
- Jan 25 11:19:39 cluster1 cib: [9718]: info: crm_new_peer: Node cluster1 now has id: 184680458
- Jan 25 11:19:39 cluster1 attrd: [9720]: info: main: Cluster connection active
- Jan 25 11:19:39 cluster1 cib: [9718]: info: crm_new_peer: Node 184680458 is now known as cluster1
- Jan 25 11:19:39 cluster1 attrd: [9720]: info: main: Accepting attribute updates
- Jan 25 11:19:39 cluster1 attrd: [9720]: info: main: Starting mainloop...
- Jan 25 11:19:39 cluster1 cib: [9718]: info: cib_init: Starting cib mainloop
- Jan 25 11:19:39 cluster1 cib: [9718]: info: ais_dispatch: Membership 0: quorum still lost
- Jan 25 11:19:39 cluster1 cib: [9718]: info: crm_update_peer: Node cluster1: id=184680458 state=member (new) addr=(null) votes=1 (new) born=0 seen=0 proc=00000000000000000000000000053312 (new)
- Jan 25 11:19:39 cluster1 cib: [9727]: info: write_cib_contents: Archived previous version as /var/lib/heartbeat/crm/cib-4.raw
- Jan 25 11:19:39 cluster1 cib: [9727]: info: write_cib_contents: Wrote version 0.4.0 of the CIB to disk (digest: ca63e9835b30e13fa7dbdcf172f7ddd9)
- Jan 25 11:19:39 cluster1 cib: [9727]: info: retrieveCib: Reading cluster configuration from: /var/lib/heartbeat/crm/cib.w4wzvY (digest: /var/lib/heartbeat/crm/cib.3FsIS9)
- Jan 25 11:19:40 corosync [pcmk ] ERROR: pcmk_wait_dispatch: Child process mgmtd exited (pid=9723, rc=100)
- Jan 25 11:19:40 corosync [pcmk ] notice: pcmk_wait_dispatch: Child process mgmtd no longer wishes to be respawned
- Jan 25 11:19:40 corosync [pcmk ] info: update_member: Node cluster1 now has process list: 00000000000000000000000000013312 (78610)
- Jan 25 11:19:40 cluster1 lrmd: [9719]: info: G_main_add_SignalHandler: Added signal handler for signal 15
- Jan 25 11:19:40 cluster1 lrmd: [9719]: info: G_main_add_SignalHandler: Added signal handler for signal 17
- Jan 25 11:19:40 cluster1 lrmd: [9719]: info: enabling coredumps
- Jan 25 11:19:40 cluster1 lrmd: [9719]: info: G_main_add_SignalHandler: Added signal handler for signal 10
- Jan 25 11:19:40 cluster1 lrmd: [9719]: info: G_main_add_SignalHandler: Added signal handler for signal 12
- Jan 25 11:19:40 cluster1 lrmd: [9719]: info: Started.
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: do_cib_control: CIB connection established
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: crm_cluster_connect: Connecting to OpenAIS
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: init_ais_connection_once: Creating connection to our AIS plugin
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: init_ais_connection_once: AIS connection established
- Jan 25 11:19:40 corosync [pcmk ] info: pcmk_ipc: Recorded connection 0x17a150b0 for crmd/9722
- Jan 25 11:19:40 corosync [pcmk ] info: pcmk_ipc: Sending membership update 0 to crmd
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: get_ais_nodeid: Server details: id=184680458 uname=cluster1 cname=pcmk
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: crm_new_peer: Node cluster1 now has id: 184680458
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: crm_new_peer: Node 184680458 is now known as cluster1
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: do_ha_control: Connected to the cluster
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: do_started: Delaying start, CCM (0000000000100000) not connected
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: crmd_init: Starting crmd's mainloop
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: config_query_callback: Checking for expired actions every 900000ms
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: config_query_callback: Sending expected-votes=2 to corosync
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: ais_dispatch: Membership 0: quorum still lost
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: crm_update_peer: Node cluster1: id=184680458 state=member (new) addr=(null) votes=1 (new) born=0 seen=0 proc=00000000000000000000000000013312 (new)
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: do_started: The local CRM is operational
- Jan 25 11:19:40 cluster1 crmd: [9722]: info: do_state_transition: State transition S_STARTING -> S_PENDING [ input=I_PENDING cause=C_FSA_INTERNAL origin=do_started ]
- Jan 25 11:19:41 cluster1 pengine: [9721]: info: main: Starting pengine
- Jan 25 11:19:41 cluster1 crmd: [9722]: info: ais_dispatch: Membership 0: quorum still lost
- Jan 25 11:19:44 cluster1 attrd: [9720]: info: cib_connect: Connected to the CIB after 1 signon attempts
- Jan 25 11:19:44 cluster1 attrd: [9720]: info: cib_connect: Sending full refresh
- Jan 25 11:20:41 cluster1 crmd: [9722]: info: crm_timer_popped: Election Trigger (I_DC_TIMEOUT) just popped!
- Jan 25 11:20:41 cluster1 crmd: [9722]: WARN: do_log: FSA: Input I_DC_TIMEOUT from crm_timer_popped() received in state S_PENDING
- Jan 25 11:20:41 cluster1 crmd: [9722]: info: do_state_transition: State transition S_PENDING -> S_ELECTION [ input=I_DC_TIMEOUT cause=C_TIMER_POPPED origin=crm_timer_popped ]
- Jan 25 11:22:41 cluster1 crmd: [9722]: ERROR: crm_timer_popped: Election Timeout (I_ELECTION_DC) just popped!
- Jan 25 11:22:41 cluster1 crmd: [9722]: info: do_state_transition: State transition S_ELECTION -> S_INTEGRATION [ input=I_ELECTION_DC cause=C_TIMER_POPPED origin=crm_timer_popped ]
- Jan 25 11:22:41 cluster1 crmd: [9722]: info: do_te_control: Registering TE UUID: 9c1beca9-e6da-4c56-8b85-e99564611087
- Jan 25 11:22:41 cluster1 crmd: [9722]: WARN: cib_client_add_notify_callback: Callback already present
- Jan 25 11:22:41 cluster1 crmd: [9722]: info: set_graph_functions: Setting custom graph functions
- Jan 25 11:22:41 cluster1 crmd: [9722]: info: unpack_graph: Unpacked transition -1: 0 actions in 0 synapses
- Jan 25 11:22:41 cluster1 crmd: [9722]: info: do_dc_takeover: Taking over DC status for this partition
- Jan 25 11:22:41 cluster1 cib: [9718]: info: cib_process_readwrite: We are now in R/W mode
- Jan 25 11:22:41 cluster1 cib: [9718]: info: cib_process_request: Operation complete: op cib_master for section 'all' (origin=local/crmd/6, version=0.4.0): ok (rc=0)
- Jan 25 11:22:41 cluster1 cib: [9718]: info: cib_process_request: Operation complete: op cib_modify for section cib (origin=local/crmd/7, version=0.4.0): ok (rc=0)
- Jan 25 11:22:41 cluster1 cib: [9718]: info: cib_process_request: Operation complete: op cib_modify for section crm_config (origin=local/crmd/9, version=0.4.0): ok (rc=0)
- Jan 25 11:22:41 cluster1 crmd: [9722]: info: do_dc_join_offer_all: join-1: Waiting on 1 outstanding join acks
- Jan 25 11:22:41 cluster1 crmd: [9722]: info: ais_dispatch: Membership 0: quorum still lost
- Jan 25 11:22:41 cluster1 cib: [9718]: info: cib_process_request: Operation complete: op cib_modify for section crm_config (origin=local/crmd/11, version=0.4.0): ok (rc=0)
- Jan 25 11:22:41 cluster1 crmd: [9722]: info: crm_ais_dispatch: Setting expected votes to 2
- Jan 25 11:22:41 cluster1 crmd: [9722]: info: config_query_callback: Checking for expired actions every 900000ms
- Jan 25 11:22:41 cluster1 crmd: [9722]: info: config_query_callback: Sending expected-votes=2 to corosync
- Jan 25 11:22:41 cluster1 crmd: [9722]: info: ais_dispatch: Membership 0: quorum still lost
- Jan 25 11:22:41 cluster1 cib: [9718]: info: cib_process_request: Operation complete: op cib_modify for section crm_config (origin=local/crmd/14, version=0.4.0): ok (rc=0)
- Jan 25 11:22:41 cluster1 crmd: [9722]: info: crm_ais_dispatch: Setting expected votes to 2
- Jan 25 11:22:41 cluster1 crmd: [9722]: info: te_connect_stonith: Attempting connection to fencing daemon...
- Jan 25 11:22:41 cluster1 cib: [9718]: info: cib_process_request: Operation complete: op cib_modify for section crm_config (origin=local/crmd/16, version=0.4.0): ok (rc=0)
- Jan 25 11:22:42 cluster1 crmd: [9722]: info: te_connect_stonith: Connected
- # crm_mon -fr1
- ============
- Last updated: Tue Jan 25 11:24:31 2011
- Stack: openais
- Current DC: NONE
- 0 Nodes configured, 2 expected votes
- 0 Resources configured.
- ============
- Full list of resources:
- Migration summary:
- # netstat -tupan | grep corosync
- udp 0 0 10.0.2.11:5405 0.0.0.0:* 9712/corosync
- udp 0 0 192.168.146.11:5407 0.0.0.0:* 9712/corosync
- udp 0 0 0.0.0.0:54316 0.0.0.0:* 9712/corosync
- udp 0 0 0.0.0.0:55759 0.0.0.0:* 9712/corosync
- # cat /etc/corosync/corosync.conf
- # Please read the corosync.conf.5 manual page
- compatibility: none
- aisexec {
- # Run as root - this is necessary to be able to manage resources with Pacemaker
- user: root
- group: root
- }
- service {
- # Load the Pacemaker Cluster Resource Manager
- ver: 0
- name: pacemaker
- use_mgmtd: yes
- use_logd: no
- }
- totem {
- version: 2
- # How long before declaring a token lost (ms)
- token: 5000
- # 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: 1000
- # How long to wait for consensus to be achieved before starting a new round of membership configuration (ms)
- consensus: 2500
- # 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: 25
- # Stagger sending the node join messages by 1..send_join ms
- send_join: 45
- # Limit generated nodeids to 31-bits (positive signed integers)
- clear_node_high_bit: yes
- # Disable encryption
- secauth: on
- # How many threads to use for encryption/decryption
- threads: 16
- # set transport mode for udpu (User Datagram Protocol Unicast)
- transport: udpu
- # set Redundant Ring Protocol mode
- rrp_mode: active
- interface {
- member {
- memberaddr: 10.0.1.11
- }
- member {
- memberaddr: 10.0.1.12
- }
- ringnumber: 0
- bindnetaddr: 10.0.1.0
- mcastport: 5405
- }
- interface {
- member {
- memberaddr: 192.168.146.11
- }
- member {
- memberaddr: 192.168.146.12
- }
- ringnumber: 1
- bindnetaddr: 192.168.146.0
- mcastport: 5407
- }
- }
- logging {
- debug: off
- fileline: off
- to_syslog: no
- to_stderr: no
- syslog_facility: local6
- to_logfile: yes
- logfile: /var/log/cluster/corosync.log
- timestamp: on
- logger_subsys {
- subsys: AMF
- debug: off
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement