From eivind at aminor.no Tue May 24 08:45:26 2016 From: eivind at aminor.no (Eivind Olsen) Date: Tue, 24 May 2016 10:45:26 +0200 Subject: [Linux-cluster] How to add an unimportant resource to an important cluster? Message-ID: I have a cluster, running RHEL 6.7, with Ricci, Luci, rgmanager etc. This is a 2 node cluster, where services are running on one node. The service is an Oracle database, and the cluster controls several resources: * LVM volume (using clvmd) * file system on a logical volume * IP address * Oracle listener * Oracle RDBMS instance I have now been asked to put another resource (another Oracle RBMS instance) but with the requirement that this new resource shouldn't cause the rest of the cluster resources to fail over to the other node. Basically, what's been asked is to have another resource which will be started by the cluster, but if it fails the health check it will be left alone. Is it possible to somehow mark one of the resources as "Not really important, attempt to restart if down but don't migrate the entire service with all the resources to the other node"? My gut feeling tells me the better (correct, only etc.) way is probably to set up a separate service for this new less important RDBMS instance, giving it its own IP address, LVM volume, filesystem, listener etc. Regards Eivind Olsen From emi2fast at gmail.com Tue May 24 13:01:49 2016 From: emi2fast at gmail.com (emmanuel segura) Date: Tue, 24 May 2016 15:01:49 +0200 Subject: [Linux-cluster] How to add an unimportant resource to an important cluster? In-Reply-To: References: Message-ID: You need to use __independent_subtree if the resource that you want to use is in the same group of the important resource 2016-05-24 10:45 GMT+02:00 Eivind Olsen : > I have a cluster, running RHEL 6.7, with Ricci, Luci, rgmanager etc. > This is a 2 node cluster, where services are running on one node. The > service is an Oracle database, and the cluster controls several resources: > * LVM volume (using clvmd) > * file system on a logical volume > * IP address > * Oracle listener > * Oracle RDBMS instance > > I have now been asked to put another resource (another Oracle RBMS instance) > but with the requirement that this new resource shouldn't cause the rest of > the cluster resources to fail over to the other node. Basically, what's been > asked is to have another resource which will be started by the cluster, but > if it fails the health check it will be left alone. > > Is it possible to somehow mark one of the resources as "Not really > important, attempt to restart if down but don't migrate the entire service > with all the resources to the other node"? > My gut feeling tells me the better (correct, only etc.) way is probably to > set up a separate service for this new less important RDBMS instance, giving > it its own IP address, LVM volume, filesystem, listener etc. > > Regards > Eivind Olsen > > -- > Linux-cluster mailing list > Linux-cluster at redhat.com > https://www.redhat.com/mailman/listinfo/linux-cluster -- .~. /V\ // \\ /( )\ ^`~'^ From theophanis_kontogiannis at yahoo.gr Wed May 25 05:02:00 2016 From: theophanis_kontogiannis at yahoo.gr (=?UTF-8?B?zpjOtc6/z4bOrM69zrfPgiDOms6/zr3PhM6/zrPOuc6szr3Ovc63z4I=?=) Date: Wed, 25 May 2016 05:02:00 +0000 (UTC) Subject: [Linux-cluster] =?utf-8?b?zqPPh861z4Q6ICBIb3cgdG8gYWRkIGFuIHVu?= =?utf-8?q?important_resource_to_an_important=09cluster=3F?= In-Reply-To: References: Message-ID: <971174126.157187.1464152520225.JavaMail.yahoo@mail.yahoo.com> Hi, I believe that what you need is the rgmanager's __independent_subtree tag. Check here: https://fedorahosted.org/cluster/wiki/ResourceTrees Specifically chech the section called "Independent Subtrees" Hope it helpsRegards,Theophanis Kontogiannis ???? 12:22 ?.?. ?????, 24 ????? 2016, ?/? Eivind Olsen ??????: I have a cluster, running RHEL 6.7, with Ricci, Luci, rgmanager etc. This is a 2 node cluster, where services are running on one node. The service is an Oracle database, and the cluster controls several resources: * LVM volume (using clvmd) * file system on a logical volume * IP address * Oracle listener * Oracle RDBMS instance I have now been asked to put another resource (another Oracle RBMS instance) but with the requirement that this new resource shouldn't cause the rest of the cluster resources to fail over to the other node. Basically, what's been asked is to have another resource which will be started by the cluster, but if it fails the health check it will be left alone. Is it possible to somehow mark one of the resources as "Not really important, attempt to restart if down but don't migrate the entire service with all the resources to the other node"? My gut feeling tells me the better (correct, only etc.) way is probably to set up a separate service for this new less important RDBMS instance, giving it its own IP address, LVM volume, filesystem, listener etc. Regards Eivind Olsen -- 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: