[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] Re: clusvcadm -M <service> -m <service> fails with "Invalid operation for resource"

Today's Topics:

  1. clusvcadm -M <service> -m <service> fails with "Invalid
     operation for resource" (Thomas Sjolshagen)
  2. Re: Will redhat release the srpms of cluster suite        for
     rhel-4.8 to the public??? (Fabio M. Di Nitto)


Message: 1
Date: Sat, 20 Jun 2009 16:06:11 -0400
From: Thomas Sjolshagen <thomas sjolshagen net>
Subject: [Linux-cluster] clusvcadm -M <service> -m <service> fails
       with "Invalid operation for resource"
To: linux-cluster redhat com
Message-ID: <20090620160611 20273n7qqnh4jd4j www sjolshagen net>
Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";


I'm trying to do a migration to another member of the cluster but it
fails with:

# clusvcadm -M samba -m host2
Trying to migrate service:samba to
virt0-backup.sjolshagen.net...Invalid operation for resource

I'm running Fedora 11 with rgmanager-3.0.0-15.rc1.fc11.x86_64
installed as well as a downloaded copy of the 5/21 version of vm.sh
from the git.fedorahosted.org repository. I've configured the resource
as follows:

  <vm name="kvm06-hvm" domain="cluster" autostart="1"
recovery="relocate" snapshot="/cluster/kvm-guests/snapshots"
use_virsh="1" exclusive="1" hypervisor="qemu"
hypervisor_uri="qemu+ssh:///system" />
<service autostart="1" domain="cluster" name="samba">
  <vm ref="kvn06-hvm"/>

And the guest container files are hosted on a (previously mounted)
gfs2 file system.

Is this a rgmanager shortcoming (rgmanager needs to be coded to
support virsh & live migration) or - more likely - user error?

Thanks in advance
// Thomas


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.
clusvcadm -r <service> -m <host>

I wasn't aware that migration worked for anything other than moving VM's around.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]