<br><br><div class="gmail_quote">On Mon, Jun 22, 2009 at 12:00 PM,  <span dir="ltr"><<a href="mailto:linux-cluster-request@redhat.com">linux-cluster-request@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Send Linux-cluster mailing list submissions to<br>
        <a href="mailto:linux-cluster@redhat.com">linux-cluster@redhat.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:linux-cluster-request@redhat.com">linux-cluster-request@redhat.com</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:linux-cluster-owner@redhat.com">linux-cluster-owner@redhat.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Linux-cluster digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: clusvcadm -M <service> -m <service> fails with        "Invalid<br>
      operation for resource" (Henry Robertson)<br>
   2. Re: Re: clusvcadm -M <service> -m <service> fails with<br>
      "Invalid operation for resource" (Thomas Sjolshagen)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 21 Jun 2009 23:57:34 -0400<br>
From: Henry Robertson <<a href="mailto:henry.robertson@hjrconsulting.com">henry.robertson@hjrconsulting.com</a>><br>
Subject: [Linux-cluster] Re: 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:<br>
        <<a href="mailto:c0b9f0730906212057y7cac2c81q252ce4adcfdcb09@mail.gmail.com">c0b9f0730906212057y7cac2c81q252ce4adcfdcb09@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
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>
> ----------------------------------------------------------------<br>
<br>
<br>
Are you sure you don't mean to relocate the service to host2 instead<br>
of Migrate? -R will stop/start a service like samba onto another node.<br>
clusvcadm -r <service> -m <host><br>
<br>
I wasn't aware that migration worked for anything other than moving VM's around.<br>
<br>
Henry<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="https://www.redhat.com/archives/linux-cluster/attachments/20090621/550b7658/attachment.html" target="_blank">https://www.redhat.com/archives/linux-cluster/attachments/20090621/550b7658/attachment.html</a><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 22 Jun 2009 09:43:43 -0400<br>
From: Thomas Sjolshagen <<a href="mailto:thomas@sjolshagen.net">thomas@sjolshagen.net</a>><br>
Subject: Re: [Linux-cluster] Re: clusvcadm -M <service> -m <service><br>
        fails   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:20090622094343.10362qjp3x4g1jtb@www.sjolshagen.net">20090622094343.10362qjp3x4g1jtb@www.sjolshagen.net</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";<br>
        format="flowed"<br>
<br>
<br>
Quoting Henry Robertson <<a href="mailto:henry.robertson@hjrconsulting.com">henry.robertson@hjrconsulting.com</a>>:<br>
<br>
> Today's Topics:<br>
>><br>
>>   1. clusvcadm -M <service> -m <service> fails with "Invalid<br>
>>      operation for resource" (Thomas Sjolshagen)<br>
<br>
..<br>
<br>
><br>
><br>
> Are you sure you don't mean to relocate the service to host2 instead<br>
> of Migrate? -R will stop/start a service like samba onto another node.<br>
> clusvcadm -r <service> -m <host><br>
><br>
> I wasn't aware that migration worked for anything other than moving<br>
> VM's around.<br>
><br>
> Henry<br>
><br>
<br>
If you look at the resource definition, you'll see that I'm trying to<br>
migrate a VM (the KVM guest is called samba since it hosts a Samba<br>
instance).<br>
<br>
// Thomas<br>
<br>
<br>
<br>
----------------------------------------------------------------<br>
This message was sent using IMP, the Internet Messaging Program.<br>
</blockquote><div> </div><div><br></div><div>Ah. Does manual migration through virsh work rather than clusvcadm?</div><div>If it does -- I'd put rgmanager into some extra logging by editing /etc/init.d/rgmanager with RGMGR_OPTS="-dddd" under the RGMGRD part.</div>
<div>Then restart rgmanager and check logs for more info after trying clusvcadm -M again. (add debug to host / target servers and see if you catch anything new)</div><div><br></div><div>Good luck</div><div>Henry</div><div>
<br></div><div><br></div></div>