[Linux-cluster] Re:redhat cluster installation (LEROUX Ludovic)

Kanthi ch_spicy at yahoo.co.in
Wed Jun 24 04:00:25 UTC 2009



 





________________________________
From: "linux-cluster-request at redhat.com" <linux-cluster-request at redhat.com>
To: linux-cluster at redhat.com
Sent: Tuesday, 23 June, 2009 9:30:11 PM
Subject: Linux-cluster Digest, Vol 62, Issue 22

Send Linux-cluster mailing list submissions to
    linux-cluster at redhat.com

To subscribe or unsubscribe via the World Wide Web, visit
    https://www.redhat.com/mailman/listinfo/linux-cluster
or, via email, send a message with subject or body 'help' to
    linux-cluster-request at redhat.com

You can reach the person managing the list at
    linux-cluster-owner at redhat.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-cluster digest..."


Today's Topics:

   1. Re: Linux-cluster Digest, Vol 62, Issue 21 (Henry Robertson)
   2. Re: Guest MIgration w/rgmanager - WAS:    Linux-cluster Digest,
      Vol 62, Issue 21 (Thomas Sjolshagen)
   3. Re: Re: clusvcadm -M <service> -m <service> fails    with
      "Invalid operation for resource" (Mrugesh Karnik)
   4. redhat cluster installation (LEROUX Ludovic)
   5. Re: redhat cluster installation (remi doubi)
   6. Re: redhat cluster installation (Andrea Modesto Rossi)
   7. Re: Re: clusvcadm -M <service> -m <service> fails    with
      "Invalid operation for resource" (Thomas Sjolshagen)
   8. system-config-cluster, secure, and fence_drac5  (Mario Mech)


----------------------------------------------------------------------

Message: 1
Date: Mon, 22 Jun 2009 18:12:07 -0400
From: Henry Robertson <henry.robertson at hjrconsulting.com>
Subject: [Linux-cluster] Re: Linux-cluster Digest, Vol 62, Issue 21
To: linux-cluster at redhat.com
Message-ID:
    <c0b9f0730906221512m61bbad37v417f42b7b0504d89 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On Mon, Jun 22, 2009 at 12:00 PM, <linux-cluster-request at redhat.com> wrote:

> Send Linux-cluster mailing list submissions to
>        linux-cluster at redhat.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://www.redhat.com/mailman/listinfo/linux-cluster
> or, via email, send a message with subject or body 'help' to
>        linux-cluster-request at redhat.com
>
> You can reach the person managing the list at
>        linux-cluster-owner at redhat.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Linux-cluster digest..."
>
>
> Today's Topics:
>
>   1. Re: clusvcadm -M <service> -m <service> fails with        "Invalid
>      operation for resource" (Henry Robertson)
>   2. Re: Re: clusvcadm -M <service> -m <service> fails with
>      "Invalid operation for resource" (Thomas Sjolshagen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 21 Jun 2009 23:57:34 -0400
> From: Henry Robertson <henry.robertson at hjrconsulting.com>
> Subject: [Linux-cluster] Re: clusvcadm -M <service> -m <service> fails
>        with    "Invalid operation for resource"
> To: linux-cluster at redhat.com
> Message-ID:
>        <c0b9f0730906212057y7cac2c81q252ce4adcfdcb09 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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 at sjolshagen.net>
> > Subject: [Linux-cluster] clusvcadm -M <service> -m <service> fails
> >        with "Invalid operation for resource"
> > To: linux-cluster at redhat.com
> > Message-ID: <20090620160611.20273n7qqnh4jd4j at www.sjolshagen.net>
> > Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";
> >        format="flowed"
> >
> > Hi,
> >
> > 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:
> >
> > <rm>
> > <resources>
> >   <vm name="kvm06-hvm" domain="cluster" autostart="1"
> > recovery="relocate" snapshot="/cluster/kvm-guests/snapshots"
> > use_virsh="1" exclusive="1" hypervisor="qemu"
> > migration_mapping="host1:host2,host2:host1"
> > hypervisor_uri="qemu+ssh:///system" />
> > </resources>
> > <service autostart="1" domain="cluster" name="samba">
> >   <vm ref="kvn06-hvm"/>
> > </service>
> > </rm>
> >
> > 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.
>
> Henry
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www.redhat.com/archives/linux-cluster/attachments/20090621/550b7658/attachment.html
>
> ------------------------------
>
> Message: 2
> Date: Mon, 22 Jun 2009 09:43:43 -0400
> From: Thomas Sjolshagen <thomas at sjolshagen.net>
> Subject: Re: [Linux-cluster] Re: clusvcadm -M <service> -m <service>
>        fails   with "Invalid operation for resource"
> To: linux-cluster at redhat.com
> Message-ID: <20090622094343.10362qjp3x4g1jtb at www.sjolshagen.net>
> Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";
>        format="flowed"
>
>
> Quoting Henry Robertson <henry.robertson at hjrconsulting.com>:
>
> > Today's Topics:
> >>
> >>   1. clusvcadm -M <service> -m <service> fails with "Invalid
> >>      operation for resource" (Thomas Sjolshagen)
>
> ..
>
> >
> >
> > 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.
> >
> > Henry
> >
>
> If you look at the resource definition, you'll see that I'm trying to
> migrate a VM (the KVM guest is called samba since it hosts a Samba
> instance).
>
> // Thomas
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>


Ah. Does manual migration through virsh work rather than clusvcadm?
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.
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)

Good luck
Henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.redhat.com/archives/linux-cluster/attachments/20090622/58fea150/attachment.html

------------------------------

Message: 2
Date: Mon, 22 Jun 2009 22:46:38 -0400
From: Thomas Sjolshagen <thomas at sjolshagen.net>
Subject: [Linux-cluster] Re: Guest MIgration w/rgmanager - WAS:
    Linux-cluster Digest, Vol 62, Issue 21
To: linux-cluster at redhat.com
Message-ID: <20090622224638.20492l2x5u5mbpxq at www.sjolshagen.net>
Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";
    format="flowed"


Quoting Henry Robertson <henry.robertson at hjrconsulting.com>:

> On Mon, Jun 22, 2009 at 12:00 PM, <linux-cluster-request at redhat.com> wrote:
>
...
>
> Ah. Does manual migration through virsh work rather than clusvcadm?

virsh migrate --live <guest> qemu+ssh://2nd node/system

Migrates the guest to the other cluster member w/no objections.

> 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.

Added "-dddd" to /etc/sysconfig/rgmanager, restarted rgmanager and  
verified that rgmanager is running w/the option set. I do not see any  
increase in logging from the default setting of "-d"?

> 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)

Attempted another clusvcadm -M <vm service> -m <2nd cluster node>, and  
I see nothing in either of the /var/log/cluster/rgmanager.log files.  
Not even that the operation was attempted?!?


// Thomas


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




------------------------------

Message: 3
Date: Tue, 23 Jun 2009 12:31:25 +0530
From: Mrugesh Karnik <mrugeshkarnik at gmail.com>
Subject: Re: [Linux-cluster] Re: clusvcadm -M <service> -m <service>
    fails    with "Invalid operation for resource"
To: linux-cluster at redhat.com
Message-ID: <200906231231.25911.mrugeshkarnik at gmail.com>
Content-Type: Text/Plain;  charset="iso-8859-1"

On Monday 22 Jun 2009 19:13:43 Thomas Sjolshagen wrote:
> If you look at the resource definition, you'll see that I'm trying to
> migrate a VM (the KVM guest is called samba since it hosts a Samba
> instance).

Is migration supported on KVM? I've tried it with Xen and works fine. The only 
gotcha was that the `nx' flag on the CPU needed to be available.

Mrugesh



------------------------------

Message: 4
Date: Tue, 23 Jun 2009 11:41:57 +0200
From: "LEROUX Ludovic" <ironludo at free.fr>
Subject: [Linux-cluster] redhat cluster installation
To: <linux-cluster at redhat.com>
Message-ID: <8DF9888392AA48D5960BE531138BB981 at siim94.local>
Content-Type: text/plain; charset="iso-8859-1"

hello all.
I installed two redhat hat 5.2 servers with redhat cluster suite option.
When i want to create a cluster with luci i got an error message: An error occurred when trying to contact any of the nodes in the rh-cluster cluster.
Do you have any ideas?
thanks.
Ludovic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.redhat.com/archives/linux-cluster/attachments/20090623/a56f25e8/attachment.html

------------------------------

Message: 5
Date: Tue, 23 Jun 2009 09:48:42 +0000
From: remi doubi <reggaestar at gmail.com>
Subject: Re: [Linux-cluster] redhat cluster installation
To: LEROUX Ludovic <ironludo at free.fr>,    linux clustering
    <linux-cluster at redhat.com>
Message-ID:
    <3c88c73a0906230248r17c0ec6ct151a484115682e01 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

is the ricci agent started on the two nodes ??

2009/6/23 LEROUX Ludovic <ironludo at free.fr>

>  hello all.
> I installed two redhat hat 5.2 servers with redhat cluster suite option.
> When i want to create a cluster with luci i got an error message: *An
> error occurred when trying to contact any of the nodes in the rh-cluster
> cluster.*
> Do you have any ideas?
> thanks.
> Ludovic
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.redhat.com/archives/linux-cluster/attachments/20090623/3508464b/attachment.html

------------------------------

Message: 6
Date: Tue, 23 Jun 2009 11:51:17 +0200 (CEST)
From: "Andrea Modesto Rossi" <amrossi at linux.it>
Subject: Re: [Linux-cluster] redhat cluster installation
To: "LEROUX Ludovic" <ironludo at free.fr>,    "linux clustering"
    <linux-cluster at redhat.com>
Cc: linux-cluster at redhat.com
Message-ID: <38070.82.105.99.92.1245750677.squirrel at picard.linux.it>
Content-Type: text/plain;charset=iso-8859-1


On Mar, 23 Giugno 2009 11:41 am, LEROUX Ludovic wrote:
> hello all.
> I installed two redhat hat 5.2 servers with redhat cluster suite option.
> When i want to create a cluster with luci i got an error message: An error
> occurred when trying to contact any of the nodes in the rh-cluster
> cluster.
> Do you have any ideas?

hello,

is /etc/hosts configured properly? try with IP address instead of the
hostname.


-- 
Andrea Modesto Rossi
Fedora Ambassador
+---------------------------------------------------------------------+
| Bello. Che gli diciamo? Che sono tutti stronzi monopolisti di merda,|
| con i loro protocolli brevettati e i loro driver finestrosi?        |
| Ci sono!                                                            |
| Alessandro Rubini                                                   |
+---------------------------------------------------------------------+



------------------------------

Message: 7
Date: Tue, 23 Jun 2009 08:07:20 -0400
From: Thomas Sjolshagen <thomas at sjolshagen.net>
Subject: Re: [Linux-cluster] Re: clusvcadm -M <service> -m <service>
    fails    with "Invalid operation for resource"
To: linux-cluster at redhat.com
Message-ID: <20090623080720.9695183ennxm3r08 at www.sjolshagen.net>
Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";
    format="flowed"


Quoting Mrugesh Karnik <mrugeshkarnik at gmail.com>:

> On Monday 22 Jun 2009 19:13:43 Thomas Sjolshagen wrote:
>> If you look at the resource definition, you'll see that I'm trying to
>> migrate a VM (the KVM guest is called samba since it hosts a Samba
>> instance).
>
> Is migration supported on KVM? I've tried it with Xen and works  
> fine. The only
> gotcha was that the `nx' flag on the CPU needed to be available.
>

Yes, KVM supports both migration & live migration and with KVM-8* and  
libvirt 0.6.4 you can use "virsh migrate --live" to move running  
guests between nodes (live migrate). This fact is reflected in the  
upstream (git repo) version of the vm.sh resource script, but it seems  
like something - rgmanager itself? - is blocking it from even trying.

//Thomas


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




------------------------------

Message: 8
Date: Tue, 23 Jun 2009 16:32:16 +0200
From: Mario Mech <mech at meteo.uni-koeln.de>
Subject: [Linux-cluster] system-config-cluster, secure, and
    fence_drac5 
To: linux-cluster at redhat.com
Message-ID: <4A40E770.9050001 at meteo.uni-koeln.de>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

Hi all,

I'm configuring a FailOver-cluster with CentOS 5.3 on two Dell PowerEdge 
2950 with DRAC5 cards. The basic configuration with 
system-config-cluster worked fine after enabling telnet on the DRACs and 
I got the cluster running. Then I switched to ssh by manually editing 
the cluster.conf file, since system-config-cluster is not aware of 
fence_drac5. Unfortunately now the cluster.conf file is not readable 
anymore by system-config-cluster. I still want to use sys-con-clu, since 
there is still much to configure  (services, failover-domains,....). 
Except of using telnet and fence_drac until the end of the configuration 
process, I have no other idea how to manage that. DOes anyone know how 
to include fence_drac5 and the secure="1" attribute in cluster.conf and 
still using sys-con-clu?

All best

Mario

P.S. Is secure="1" in the right place?

cluster.conf:

<?xml version="1.0"?>
<cluster alias="ninjo_cluster" config_version="9" name="ninjo_cluster">
         <fence_daemon post_fail_delay="0" post_join_delay="3"/>
         <clusternodes>
                 <clusternode name="ninjo" nodeid="1" votes="1">
                         <fence>
                                 <method name="1">
                                         <device name="ninjo-drac"/>
                                 </method>
                         </fence>
                 </clusternode>
                 <clusternode name="ninja" nodeid="2" votes="1">
                         <fence>
                                 <method name="1">
                                         <device modulename="" 
name="ninja-drac"/>
                                 </method>
                         </fence>
                 </clusternode>
         </clusternodes>
         <cman expected_votes="1" two_node="1"/>
         <fencedevices>
                 <fencedevice agent="fence_drac5" 
ipaddr="xxx.xxx.xxx.xxx" login="root" name="ninjo-drac" passwd="xxxx" 
secure="1"/>
                 <fencedevice agent="fence_drac5" 
ipaddr="xxx.xxx.xxx.xxx" login="root" name="ninja-drac" passwd="xxxx" 
secure="1"/>
         </fencedevices>
         <rm>
                 <failoverdomains/>
                 <resources/>
         </rm>
</cluster>

-- 
Dr. Mario Mech

Institute for Geophysics and Meteorology
University of Cologne
Zuelpicherstr. 49a
50674 Cologne
Germany

t: +49 (0)221 - 470 - 1776
f: +49 (0)221 - 470 - 5198
e: mech at meteo.uni-koeln.de
w: http://www.meteo.uni-koeln.de/~mmech/



------------------------------

--
Linux-cluster mailing list
Linux-cluster at redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster

End of Linux-cluster Digest, Vol 62, Issue 22
*********************************************



      Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20090624/0d19c37b/attachment.htm>


More information about the Linux-cluster mailing list