While the code is in place for the migration of kvm host I am having a
problem getting migration to work.  It instead stop and restarts all vm on
the opposite host.


Crm config is:

node kvm1 \

        attributes standby="off"
node kvm2 \
        attributes standby="off"
primitive sawmill ocf:heartbeat:VirtualDomain \
        params config="/etc/libvirt/qemu/sawmill.xml"
hypervisor="qemu:///system" force_stop="0" migration_transport="+tcp"
\

        op start interval="0" timeout="90"
\
        op stop interval="0" timeout="90"
\
        op status interval="10" timeout="30" depth="0"
\
        op monitor interval="10" timeout="30" depth="0"
\
        op migrate_from interval="0" timeout="60"
\
        op migrate_to interval="0" timeout="120"
\
        op meta-data interval="0" timeout="5" \
        op validate-all interval="0" timeout="5" \
        meta is-managed="true" target-role="Started"
primitive test1 ocf:heartbeat:VirtualDomain \
        params config="/etc/libvirt/qemu/test1.xml"
hypervisor="qemu:///system" migration_transport="+tcp" force_stop="0" \
        op start interval="0" timeout="90" \
        op stop interval="0" timeout="90" \
        op status interval="10" timeout="30" depth="0" \
        op monitor interval="10" timeout="30" depth="0" \
        op migrate_from interval="0" timeout="60" \
        op migrate_to interval="0" timeout="120" \
        op meta-data interval="0" timeout="5" \
        op validate-all interval="0" timeout="5"
location cli-standby-test1 test1 \
        rule $id="cli-standby-rule-test1" -inf: #uname eq kvm1
property $id="cib-bootstrap-options" \
        dc-version="1.0.5-3840e6b5a305ccb803d29b468556739e75532d56" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        last-lrm-refresh="1262802813" \
        stonith-enabled="false" \
        no-quorum-policy="ignore"


using :   crm resource migrate test1

this causes both vm's to be restarted on the opposite host.

this is on ubuntu karmic 9.10  assistance would be appreciated!

if you need more information i can make it available....

Thank you

Mark
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to