[Pacemaker] Xen live migrate if destination IP != uname -n

Martin Gombač martin at isg.si
Wed Dec 23 08:58:25 UTC 2009


Hi guys,

i cannot believe no one else has this problem with Xen OCF live 
migration script.
I guess i have to solve it myself. Is there a meta parameter for Xen 
resources something like: migrate-target?
I'll try that, if not i'll just statically set target_node in Xen OCF.

Regards,
M.

Martin Gombač wrote:
> Hi,
>
> i've used meta attribute allow-migrate for Xen OCF script. Now cluster
> attempts to live migrate a node, but fails because node name (uname -n)
> resolves to public IP, while xen is configured to listen only on local
> network for migration.
>
> Is there a way to tell OCF Xen script, to use IP from local network
> instead of node name?
>
> -- 
> Xen_Migrate_To() {
>  target_node="$OCF_RESKEY_CRM_meta_migrate_target"
> -- 
>
> Thank you.
> Regards,
> M.
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker




More information about the Pacemaker mailing list