Il giorno Lun 17 Mag 2010 08:54:42 CET, Andrew Beekhof ha scritto:
> On Sat, May 15, 2010 at 10:11 PM, RaSca<[email protected]>  wrote:
>> Il giorno Sab 15 Mag 2010 20:31:22 CET, Andrew Beekhof ha scritto:
>>> If the first node is up long enough to start resources, then
>>> default-resource-stickiness="INFINITY" is going to stop then from
>>> being moved to satisfy your location constraints.
>> Thank you Andrew,
>> I made some tests with default-resource-stickiness="0" and nothing's
>> changed.
>> Am I miss something else?
> Hard to say without knowing what the system did.

I try to be more exhaustive:

The two nodes are running Ubuntu 10.4, with pacemaker 
1.0.8+hg15494-2ubuntu2 and corosync 1.2.0-0ubuntu1.

The system comes up on the first node and not all the resources are up, 
in this way:

# crm status
============
Last updated: Mon May 17 11:34:33 2010
Stack: openais
Current DC: ubuntu-nodo1 - partition WITHOUT quorum
Version: 1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd
2 Nodes configured, 2 expected votes
5 Resources configured.
============

Online: [ ubuntu-nodo1 ]
OFFLINE: [ ubuntu-nodo2 ]

  Master/Slave Set: ms_drbd1
      Masters: [ ubuntu-nodo1 ]
      Stopped: [ drbd1:1 ]
  Master/Slave Set: ms_drbd0
      Masters: [ ubuntu-nodo1 ]
      Stopped: [ drbd0:1 ]
  Clone Set: pingd_clone
      Started: [ ubuntu-nodo1 ]
      Stopped: [ pingd:1 ]

This situation is a a bit strange for me: why not all the resources come 
up on the only active node? I'm wrong about something? It's a quorum 
issue? But then why the clone set and the ms resources start?
Anyway, when i turn up the other node, after a while the situation is 
this one:

# crm status
============
Last updated: Mon May 17 11:38:58 2010
Stack: openais
Current DC: ubuntu-nodo1 - partition with quorum
Version: 1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd
2 Nodes configured, 2 expected votes
5 Resources configured.
============

Online: [ ubuntu-nodo1 ubuntu-nodo2 ]

  Master/Slave Set: ms_drbd1
      Masters: [ ubuntu-nodo1 ]
      Slaves: [ ubuntu-nodo2 ]
  Resource Group: share-b
      share-b-ip        (ocf::heartbeat:IPaddr2):       Started ubuntu-nodo1
      share-b-fs        (ocf::heartbeat:Filesystem):    Started ubuntu-nodo1
  Resource Group: share-a
      share-a-ip        (ocf::heartbeat:IPaddr2):       Started ubuntu-nodo1
      share-a-fs        (ocf::heartbeat:Filesystem):    Started ubuntu-nodo1
  Master/Slave Set: ms_drbd0
      Masters: [ ubuntu-nodo1 ]
      Slaves: [ ubuntu-nodo2 ]
  Clone Set: pingd_clone
      Started: [ ubuntu-nodo1 ubuntu-nodo2 ]

So the quorum now is active and every resource is running on the DC.
But if i try to move a resource:

# crm resource move share-b ubuntu-nodo2

Nothing is happening.
 From the logs, the only thing I can see is this:

May 17 11:40:00 ubuntu-nodo1 crm_resource: [2925]: info: Invoked: 
crm_resource -M -r share-b --node=ubuntu-nodo2
May 17 11:40:00 ubuntu-nodo1 cib: [630]: info: cib_process_request: 
Operation complete: op cib_delete for section constraints 
(origin=local/crm_resource/3, version=0.197.29): ok (rc=0)
May 17 11:40:00 ubuntu-nodo1 cib: [630]: info: cib_process_request: 
Operation complete: op cib_modify for section constraints 
(origin=local/crm_resource/4, version=0.197.29): ok (rc=0)

Nothing else.

# crm_verify -VL

gives also empty output.

What should else can i check?

Thanks for your help,

-- 
RaSca
Mia Mamma Usa Linux: Niente รจ impossibile da capire, se lo spieghi bene!
[email protected]
http://www.miamammausalinux.org
_______________________________________________
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