<br clear="all"><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Today's Topics:<br>
<br>
   1. clusvcadm -M <service> -m <service> fails with "Invalid<br>
      operation for resource" (Thomas Sjolshagen)<br>
   2. Re: Will redhat release the srpms of cluster suite        for<br>
      rhel-4.8 to the public??? (Fabio M. Di Nitto)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 20 Jun 2009 16:06:11 -0400<br>
From: Thomas Sjolshagen <<a href="mailto:thomas@sjolshagen.net">thomas@sjolshagen.net</a>><br>
Subject: [Linux-cluster] clusvcadm -M <service> -m <service> fails<br>
        with "Invalid operation for resource"<br>
To: <a href="mailto:linux-cluster@redhat.com">linux-cluster@redhat.com</a><br>
Message-ID: <<a href="mailto:20090620160611.20273n7qqnh4jd4j@www.sjolshagen.net">20090620160611.20273n7qqnh4jd4j@www.sjolshagen.net</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";<br>
        format="flowed"<br>
<br>
Hi,<br>
<br>
I'm trying to do a migration to another member of the cluster but it<br>
fails with:<br>
<br>
# clusvcadm -M samba -m host2<br>
Trying to migrate service:samba to<br>
virt0-backup.sjolshagen.net...Invalid operation for resource<br>
<br>
I'm running Fedora 11 with rgmanager-3.0.0-15.rc1.fc11.x86_64<br>
installed as well as a downloaded copy of the 5/21 version of vm.sh<br>
from the <a href="http://git.fedorahosted.org" target="_blank">git.fedorahosted.org</a> repository. I've configured the resource<br>
as follows:<br>
<br>
<rm><br>
<resources><br>
   <vm name="kvm06-hvm" domain="cluster" autostart="1"<br>
recovery="relocate" snapshot="/cluster/kvm-guests/snapshots"<br>
use_virsh="1" exclusive="1" hypervisor="qemu"<br>
migration_mapping="host1:host2,host2:host1"<br>
hypervisor_uri="qemu+ssh:///system" /><br>
</resources><br>
<service autostart="1" domain="cluster" name="samba"><br>
   <vm ref="kvn06-hvm"/><br>
</service><br>
</rm><br>
<br>
And the guest container files are hosted on a (previously mounted)<br>
gfs2 file system.<br>
<br>
Is this a rgmanager shortcoming (rgmanager needs to be coded to<br>
support virsh & live migration) or - more likely - user error?<br>
<br>
Thanks in advance<br>
// Thomas<br>
<br>
----------------------------------------------------------------</blockquote><div><br></div><div>Are you sure you don't mean to relocate the service to host2 instead of Migrate? -R will stop/start a service like samba onto another node.</div>
<div>clusvcadm -r <service> -m <host></div><div><br></div><div>I wasn't aware that migration worked for anything other than moving VM's around.</div><div><br></div><div>Henry </div></div>