Hello,
I just had a look on the logfile and saw the following:

Dec 30 18:24:03 postgres-02 cib: [14436]: info: log_data_element: cib:diff: - 
<cib epoch="27" num_updates="2"/>
Dec 30 18:24:03 postgres-02 tengine: [14954]: info: update_abort_priority: 
Abort priority upgraded to 1000000
Dec 30 18:24:03 postgres-02 cib: [14436]: info: log_data_element: cib:diff: + 
<cib epoch="28" num_updates="1">
Dec 30 18:24:03 postgres-02 cib: [14436]: info: log_data_element: cib:diff: +   
<configuration>
Dec 30 18:24:03 postgres-02 cib: [14436]: info: log_data_element: cib:diff: +   
  <constraints>
Dec 30 18:24:03 postgres-02 cib: [14436]: info: log_data_element: cib:diff: +   
    <rsc_location id="cli-prefer-pgsql0" rsc="pgsql0">
Dec 30 18:24:03 postgres-02 cib: [14436]: info: log_data_element: cib:diff: +   
      <rule id="cli-prefer-rule-pgsql0" score="INFINITY">
Dec 30 18:24:03 postgres-02 cib: [14436]: info: log_data_element: cib:diff: +   
        <expression id="cli-prefer-expr-pgsql0" attribute="#uname" 
operation="eq" value="postgres-02" type="string"/>
Dec 30 18:24:03 postgres-02 cib: [14436]: info: log_data_element: cib:diff: +   
      </rule>
Dec 30 18:24:03 postgres-02 cib: [14436]: info: log_data_element: cib:diff: +   
    </rsc_location>
Dec 30 18:24:03 postgres-02 cib: [14436]: info: log_data_element: cib:diff: +   
  </constraints>
Dec 30 18:24:03 postgres-02 cib: [14436]: info: log_data_element: cib:diff: +   
</configuration>
Dec 30 18:24:03 postgres-02 cib: [14436]: info: log_data_element: cib:diff: + 
</cib>
Dec 30 18:24:03 postgres-02 crmd: [14440]: info: do_state_transition: State 
transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_IPC_MESSAGE 
origin=route_message ]
Dec 30 18:24:03 postgres-02 crmd: [14440]: info: do_state_transition: All 2 
cluster nodes are eligible to run resources.
Dec 30 18:24:03 postgres-02 pengine: [14955]: info: determine_online_status: 
Node postgres-01 is online
Dec 30 18:24:03 postgres-02 pengine: [14955]: info: determine_online_status: 
Node postgres-02 is online
Dec 30 18:24:03 postgres-02 pengine: [14955]: info: unpack_find_resource: 
Internally renamed drbd0:0 on postgres-02 to drbd0:1
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: clone_print: Master/Slave 
Set: ms-drbd0
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: native_print:     
drbd0:0^I(heartbeat::ocf:drbd):^IMaster postgres-01
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: native_print:     
drbd0:1^I(heartbeat::ocf:drbd):^ISlave postgres-02
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: native_print: 
fs0^I(heartbeat::ocf:Filesystem):^IStarted postgres-01
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: native_print: 
ip0^I(heartbeat::ocf:IPaddr2):^IStarted postgres-01
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: native_print: 
pgsql0^I(heartbeat::ocf:pgsql):^IStarted postgres-01
Dec 30 18:24:03 postgres-02 pengine: [14955]: info: master_promotion_order: 
Merging weights for ms-drbd0
Dec 30 18:24:03 postgres-02 pengine: [14955]: info: master_color: Promoting 
drbd0:0
Dec 30 18:24:03 postgres-02 pengine: [14955]: info: master_color: ms-drbd0: 
Promoted 1 instances of a possible 1 to master
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: DemoteRsc: 
postgres-01^IDemote drbd0:0
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: NoRoleChange: Leave 
resource drbd0:0^I(postgres-01)
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: DemoteRsc: 
postgres-02^IDemote drbd0:1
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: NoRoleChange: Leave 
resource drbd0:1^I(postgres-02)
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: DemoteRsc: 
postgres-01^IDemote drbd0:0
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: NoRoleChange: Leave 
resource drbd0:0^I(postgres-01)
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: DemoteRsc: 
postgres-02^IDemote drbd0:1
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: NoRoleChange: Leave 
resource drbd0:1^I(postgres-02)
Dec 30 18:24:03 postgres-02 pengine: [14955]: info: master_color: ms-drbd0: 
Promoted 1 instances of a possible 1 to master
Dec 30 18:24:03 postgres-02 pengine: [14955]: WARN: native_assign_node: 2 nodes 
with equal score (+INFINITY) for running the listed resources (chose 
postgres-02):
Dec 30 18:24:03 postgres-02 pengine: [14955]: WARN: native_color: Resource fs0 
cannot run anywhere
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: StopRsc:   
postgres-01^IStop fs0
Dec 30 18:24:03 postgres-02 pengine: [14955]: WARN: native_color: Resource ip0 
cannot run anywhere
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: StopRsc:   
postgres-01^IStop ip0
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: NoRoleChange: Move  
resource pgsql0^I(postgres-01 -> postgres-02)
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: StopRsc:   
postgres-01^IStop pgsql0
Dec 30 18:24:03 postgres-02 pengine: [14955]: notice: StartRsc:  
postgres-02^IStart pgsql0
Dec 30 18:24:03 postgres-02 crmd: [14440]: info: do_state_transition: State 
transition S_POLICY_ENGINE -> S_TRANSITION_ENGINE [ input=I_PE_SUCCESS 
cause=C_IPC_MESSAGE origin=route_message ]
Dec 30 18:24:03 postgres-02 tengine: [14954]: info: unpack_graph: Unpacked 
transition 23: 4 actions in 4 synapses
Dec 30 18:24:03 postgres-02 tengine: [14954]: info: send_rsc_command: 
Initiating action 38: pgsql0_stop_0 on postgres-01
Dec 30 18:24:03 postgres-02 cib: [18864]: info: retrieveCib: Reading cluster 
configuration from: /var/lib/heartbeat/crm/cib.xml (digest: 
/var/lib/heartbeat/crm/cib.xml.sig)
Dec 30 18:24:03 postgres-02 cib: [18864]: info: retrieveCib: Reading cluster 
configuration from: /var/lib/heartbeat/crm/cib.xml (digest: 
/var/lib/heartbeat/crm/cib.xml.sig)
Dec 30 18:24:03 postgres-02 cib: [18864]: info: retrieveCib: Reading cluster 
configuration from: /var/lib/heartbeat/crm/cib.xml.last (digest: 
/var/lib/heartbeat/crm/cib.xml.sig.last)
Dec 30 18:24:03 postgres-02 pengine: [14955]: WARN: process_pe_message: 
Transition 23: WARNINGs found during PE processing. PEngine Input stored in: 
/var/lib/heartbeat/pengine/pe-warn-29.bz2
Dec 30 18:24:03 postgres-02 pengine: [14955]: info: process_pe_message: 
Configuration WARNINGs found during PE processing.  Please run "crm_verify -L" 
to identify issues.
Dec 30 18:24:03 postgres-02 cib: [18864]: info: write_cib_contents: Wrote 
version 0.28.1 of the CIB to disk (digest: 82685f41dc50939570150623ea2e8590)
Dec 30 18:24:03 postgres-02 cib: [18864]: info: retrieveCib: Reading cluster 
configuration from: /var/lib/heartbeat/crm/cib.xml (digest: 
/var/lib/heartbeat/crm/cib.xml.sig)
Dec 30 18:24:03 postgres-02 cib: [18864]: info: retrieveCib: Reading cluster 
configuration from: /var/lib/heartbeat/crm/cib.xml.last (digest: 
/var/lib/heartbeat/crm/cib.xml.sig.last)
Dec 30 18:24:03 postgres-01 lrmd: [18105]: info: rsc:pgsql0: stop
Dec 30 18:24:03 postgres-01 crmd: [18108]: info: do_lrm_rsc_op: Performing 
op=pgsql0_stop_0 key=38:23:93753ca6-78fc-4b11-88f1-58f609c89ab0)
Dec 30 18:24:03 postgres-01 cib: [22004]: info: retrieveCib: Reading cluster 
configuration from: /var/lib/heartbeat/crm/cib.xml (digest: 
/var/lib/heartbeat/crm/cib.xml.sig)
Dec 30 18:24:03 postgres-01 cib: [22004]: info: retrieveCib: Reading cluster 
configuration from: /var/lib/heartbeat/crm/cib.xml (digest: 
/var/lib/heartbeat/crm/cib.xml.sig)
Dec 30 18:24:03 postgres-01 cib: [22004]: info: retrieveCib: Reading cluster 
configuration from: /var/lib/heartbeat/crm/cib.xml.last (digest: 
/var/lib/heartbeat/crm/cib.xml.sig.last)
Dec 30 18:24:04 postgres-01 cib: [22004]: info: write_cib_contents: Wrote 
version 0.28.1 of the CIB to disk (digest: a5733cfcc4e4a7c44ee9cae0432a7d0c)
Dec 30 18:24:04 postgres-01 cib: [22004]: info: retrieveCib: Reading cluster 
configuration from: /var/lib/heartbeat/crm/cib.xml (digest: 
/var/lib/heartbeat/crm/cib.xml.sig)
Dec 30 18:24:04 postgres-01 cib: [22004]: info: retrieveCib: Reading cluster 
configuration from: /var/lib/heartbeat/crm/cib.xml.last (digest: 
/var/lib/heartbeat/crm/cib.xml.sig.last)

it says "Resource ip0 cannot run anywhere" but that is wrong. It just has to
move the Master of drbd over to postgres-02.

        Thomas
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to