Having an issue with live migrates:

When I migrate a single domU (ie. crm_resource -M -r domU) the source dom0 
calls "migrate_to" and the target dom0 calls "migrate_from" - as expected.
If I execute several migrates at once, the source dom0 calls "migrate_to" 
whereas the target now calls "migrate_from" for the first domU and "start" for 
the remainder...

All domU's have allowed_migrate set to 1

I added the following code to the xen script to dump the calls/variables.

if [ "${DEBUG_MODE}" -eq "1" ]
then
        echo "============================="  >> /tmp/xen.log
        echo "`date +%r`"           >> /tmp/xen.log
        echo "$*"                       >> /tmp/xen.log
        env | grep OCF | sort       >> /tmp/xen.log
fi



Is this behaviour correct?


=============================
03:37:34 PM
migrate_to
OCF_RA_VERSION_MAJOR=1
OCF_RA_VERSION_MINOR=0
OCF_RESKEY_CRM_meta_id=op_lpdhcp01_stop
OCF_RESKEY_CRM_meta_migrate_source=lpxenhost16
OCF_RESKEY_CRM_meta_migrate_target=lpxenhost15
OCF_RESKEY_CRM_meta_name=stop
OCF_RESKEY_CRM_meta_timeout=300000
OCF_RESKEY_allow_migrate=1
OCF_RESKEY_crm_feature_set=2.0
OCF_RESKEY_internal_ip=10.10.202.101
OCF_RESKEY_shutdown_timeout=280
OCF_RESKEY_xmfile=/proj/xenconfigs/lpdhcp01
OCF_RESOURCE_INSTANCE=lpdhcp01
OCF_RESOURCE_PROVIDER=cml
OCF_RESOURCE_TYPE=xen
OCF_ROOT=/usr/lib/ocf

=============================
03:37:34 PM
start
OCF_RA_VERSION_MAJOR=1
OCF_RA_VERSION_MINOR=0
OCF_RESKEY_CRM_meta_id=op_lddhcp01_start
OCF_RESKEY_CRM_meta_name=start
OCF_RESKEY_CRM_meta_timeout=180000
OCF_RESKEY_allow_migrate=1
OCF_RESKEY_crm_feature_set=2.0
OCF_RESKEY_internal_ip=10.10.176.75
OCF_RESKEY_shutdown_timeout=280
OCF_RESKEY_xmfile=/proj/xenconfigs/lddhcp01
OCF_RESOURCE_INSTANCE=lddhcp01
OCF_RESOURCE_PROVIDER=cml
OCF_RESOURCE_TYPE=xen
OCF_ROOT=/usr/lib/ocf







David H Pinkerton
Systems Engineer - Linux Team/Platform Services
745 Springvale Road
Mulgrave 3170
*  8544 6827
*  0488 904 232
*  david.h.pinker...@colesgroup.com.au

Unix Team Site: 
http://portal.cmlconnect.org/portal/wps/portal/retail_support/it/teams/unix_systems





This email and any attachments may contain privileged and confidential 
information
and are intended for the named addressee only. If you have received this e-mail 
in
error, please notify the sender and delete this e-mail immediately. Any
confidentiality, privilege or copyright is not waived or lost because this 
e-mail
has been sent to you in error. It is your responsibility to check this e-mail 
and
any attachments for viruses.  No warranty is made that this material is free 
from
computer virus or any other defect or error.  Any loss/damage incurred by using 
this
material is not the sender's responsibility.  The sender's entire liability 
will be
limited to resupplying the material.

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to