[ovs-dev] [PATCH V2] Fix ovndb_servers master and VirtualIP are not on the same node.

Andrew Beekhof abeekhof at redhat.com
Wed Dec 7 01:33:01 UTC 2016


Based on the description, the amended constraint looks correct.

On Tue, Dec 6, 2016 at 11:49 PM, Babu Shanmugam <bschanmu at redhat.com> wrote:
> + Andrew.
>
> Hi Andrew,
>
> Please see below. Your comments are most welcome.
>
> --
>
> Babu
>
> On Saturday 03 December 2016 01:08 PM, Guoshuai Li wrote:
>>
>> PCS man page says role=Stopped/Started/Master/Slave.
>> A role can be master or slave (if no role is specified, it defaults to
>> 'started').
>>
>> Command line "$pcs constraint colocation add ovndb_servers-master with
>> master VirtualIP"
>> means that the Started role node of ovsdb follows the master node of
>> VirtualIP.
>> But we actually want the ovsdb master node to follow the VirtualIP's
>> Started node.
>> ---
>>   IntegrationGuide.rst | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/IntegrationGuide.rst b/IntegrationGuide.rst
>> index 8c3cca7..1a8e82c 100644
>> --- a/IntegrationGuide.rst
>> +++ b/IntegrationGuide.rst
>> @@ -259,5 +259,5 @@ with the active server.
>>         pcs constraint order VirtualIP then ovndb_servers-master
>>   -    pcs constraint colocation add ovndb_servers-master with master
>> VirtualIP \
>> +    pcs constraint colocation add master ovndb_servers-master with
>> VirtualIP \
>>           score=INFINITY
>
>


More information about the dev mailing list