[ClusterLabs] can't live migrate VirtualDomain which is part of a group
kgaillot at redhat.com
Tue Apr 25 10:53:33 EDT 2017
On 04/25/2017 09:14 AM, Lentes, Bernd wrote:
> ----- On Apr 24, 2017, at 11:11 PM, Ken Gaillot kgaillot at redhat.com wrote:
>> On 04/24/2017 02:33 PM, Lentes, Bernd wrote:
>>> ----- On Apr 24, 2017, at 9:11 PM, Ken Gaillot kgaillot at redhat.com wrote:
>>>>>> primitive prim_vnc_ip_mausdb IPaddr \
>>>>>> params ip=188.8.131.52 nic=br0 cidr_netmask=24 \
>>>>>> meta is-managed=true
>>>> I don't see allow-migrate on the IP. Is this a modified IPaddr? The
>>>> stock resource agent doesn't support migrate_from/migrate_to.
>>> Not modified. I can migrate the resource without the group easily between the
>>> nodes. And also if i try to live-migrate the whole group,
>>> the IP is migrated.
>> Unfortunately, migration is not live migration ... a resource (the VM)
>> can't be live-migrated if it depends on another resource (the IP) that
>> isn't live-migrateable.
>> If you modify IPaddr to be live-migrateable, it should work. It has to
>> support migrate_from and migrate_to actions, and advertise them in the
>> meta-data. It doesn't necessarily have to do anything different from
>> stop/start, as long as that meets your needs.
> Hi Ken,
> that means i have to edit the resource agent ?
Yes, copy it to a new name, and edit that. Best practice is to create
your own subdirectory under /usr/lib/ocf/resource.d and put it there, so
you use it as ocf:<subdirectory-name>:<agent-name>
> Helmholtz Zentrum Muenchen
> Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
> Ingolstaedter Landstr. 1
> 85764 Neuherberg
> Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
> Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen
> Registergericht: Amtsgericht Muenchen HRB 6466
> USt-IdNr: DE 129521671
More information about the Users