On 2011-06-17 11:10, Papp Tamas wrote:
> hi!
> 
> I'm new to the list and also for corosync:)
> 
> I set up a debian system, will be a node of a firewall cluster.
> There will be two nodes and the secondary one is still not available.
> 
> # crm_mon -1
> ============
> Last updated: Fri Jun 17 11:05:40 2011
> Stack: openais
> Current DC: lantan - partition WITHOUT quorum

you have to explicitly ignore quorum for a two node corosync cluster ...
no-quorum-policy="ignore"

Regards,
Andreas

> Version: 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b
> 2 Nodes configured, 2 expected votes
> 1 Resources configured.
> ============
> 
> Online: [ lantan ]
> OFFLINE: [ actinium ]
> 
> 
> (it does not show resources as standing in examples)
> 
> # crm configure show
> node actinium
> node lantan \
>      attributes standby="off"
> primitive ip_local-254 ocf:heartbeat:IPaddr2 \
>      params ip="10.215.37.254" \
>      op monitor interval="10s" \
>      meta target-role="Started"
> property $id="cib-bootstrap-options" \
>      dc-version="1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b" \
>      cluster-infrastructure="openais" \
>      expected-quorum-votes="2" \
>      stonith-enabled="false"
> 
> 
> So the sresource is configured and started. But actually it's not up.
> 
> corosync.log:
> 
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: - 
> <cib admin_epoch="0" epoch="31" num_updates="1" >
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: - 
> <configuration >
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: - 
> <resources >
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: - 
> <primitive id="ip_local-254" >
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: - 
> <meta_attributes id="ip_local-254-meta_attributes" >
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: - 
> <nvpair value="Stopped" id="ip_local-254-meta_attributes-target-role" />
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: - 
> </meta_attributes>
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: - 
> </primitive>
> Jun 17 11:09:43 lantan crmd: [6803]: info: abort_transition_graph: 
> need_abort:59 - Triggered transition abort (complete=1) : Non-status change
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: - 
> </resources>
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: - 
> </configuration>
> Jun 17 11:09:43 lantan crmd: [6803]: info: need_abort: Aborting on 
> change to admin_epoch
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: - 
> </cib>
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: + 
> <cib admin_epoch="0" epoch="32" num_updates="1" >
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: + 
> <configuration >
> Jun 17 11:09:43 lantan crmd: [6803]: info: do_state_transition: State 
> transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC 
> cause=C_FSA_INTERNAL origin=abort_transition_graph ]
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: + 
> <resources >
> Jun 17 11:09:43 lantan crmd: [6803]: info: do_state_transition: All 1 
> cluster nodes are eligible to run resources.
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: + 
> <primitive id="ip_local-254" >
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: + 
> <meta_attributes id="ip_local-254-meta_attributes" >
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: + 
> <nvpair value="Started" id="ip_local-254-meta_attributes-target-role" />
> Jun 17 11:09:43 lantan crmd: [6803]: info: do_pe_invoke: Query 161: 
> Requesting the current CIB: S_POLICY_ENGINE
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: + 
> </meta_attributes>
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: + 
> </primitive>
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: + 
> </resources>
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: + 
> </configuration>
> Jun 17 11:09:43 lantan cib: [6799]: info: log_data_element: cib:diff: + 
> </cib>
> Jun 17 11:09:43 lantan cib: [6799]: info: cib_process_request: Operation 
> complete: op cib_replace for section resources (origin=local/cibadmin/2, 
> version=0.32.1): ok (rc=0)
> Jun 17 11:09:43 lantan crmd: [6803]: info: do_pe_invoke_callback: 
> Invoking the PE: query=161, ref=pe_calc-dc-1308301783-88, seq=16, quorate=0
> Jun 17 11:09:43 lantan pengine: [6802]: info: unpack_config: Node 
> scores: 'red' = -INFINITY, 'yellow' = 0, 'green' = 0
> Jun 17 11:09:43 lantan pengine: [6802]: WARN: cluster_status: We do not 
> have quorum - fencing and resource management disabled
> Jun 17 11:09:43 lantan pengine: [6802]: info: determine_online_status: 
> Node lantan is online
> Jun 17 11:09:43 lantan pengine: [6802]: notice: native_print: 
> ip_local-254      (ocf::heartbeat:IPaddr2):       Stopped
> Jun 17 11:09:43 lantan pengine: [6802]: notice: LogActions: Start 
> ip_local-254  (lantan)
> Jun 17 11:09:43 lantan crmd: [6803]: info: do_state_transition: State 
> transition S_POLICY_ENGINE -> S_TRANSITION_ENGINE [ input=I_PE_SUCCESS 
> cause=C_IPC_MESSAGE origin=handle_response ]
> Jun 17 11:09:43 lantan crmd: [6803]: info: unpack_graph: Unpacked 
> transition 64: 0 actions in 0 synapses
> Jun 17 11:09:43 lantan crmd: [6803]: info: do_te_invoke: Processing 
> graph 64 (ref=pe_calc-dc-1308301783-88) derived from 
> /var/lib/pengine/pe-input-79.bz2
> Jun 17 11:09:43 lantan crmd: [6803]: info: run_graph: 
> ====================================================
> Jun 17 11:09:43 lantan crmd: [6803]: notice: run_graph: Transition 64 
> (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, 
> Source=/var/lib/pengine/pe-input-79.bz2): Complete
> Jun 17 11:09:43 lantan crmd: [6803]: info: te_graph_trigger: Transition 
> 64 is now complete
> Jun 17 11:09:43 lantan crmd: [6803]: info: notify_crmd: Transition 64 
> status: done - <null>
> Jun 17 11:09:43 lantan crmd: [6803]: info: do_state_transition: State 
> transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS 
> cause=C_FSA_INTERNAL origin=notify_crmd ]
> Jun 17 11:09:43 lantan crmd: [6803]: info: do_state_transition: Starting 
> PEngine Recheck Timer
> Jun 17 11:09:43 lantan pengine: [6802]: info: process_pe_message: 
> Transition 64: PEngine Input stored in: /var/lib/pengine/pe-input-79.bz2
> Jun 17 11:09:43 lantan cib: [8730]: info: write_cib_contents: Archived 
> previous version as /var/lib/heartbeat/crm/cib-25.raw
> Jun 17 11:09:43 lantan cib: [8730]: info: write_cib_contents: Wrote 
> version 0.32.0 of the CIB to disk (digest: 0a98b315fd1cb2326538786ff94142d0)
> Jun 17 11:09:43 lantan cib: [8730]: info: retrieveCib: Reading cluster 
> configuration from: /var/lib/heartbeat/crm/cib.vtbxuK (digest: 
> /var/lib/heartbeat/crm/cib.tieo0D)
> 
> 
> I'm stucked/ Why does it not start it?
> 
> Thank you,
> 
> tamas
> _______________________________________________
> Openais mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/openais


-- 
: Andreas Kurz                                  
: LINBIT | Your Way to High Availability
: Tel +43-1-8178292-64, Fax +43-1-8178292-82
:
: http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.

This e-mail is solely for use by the intended recipient(s). Information
contained in this e-mail and its attachments may be confidential,
privileged or copyrighted. If you are not the intended recipient you are
hereby formally notified that any use, copying, disclosure or
distribution of the contents of this e-mail, in whole or in part, is
prohibited. Also please notify immediately the sender by return e-mail
and delete this e-mail from your system. Thank you for your co-operation.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to