[ClusterLabs] Pacemaker for Embedded Systems
Hello all: we have implemented large cluster solutions for complex server environments that had databases, application servers, apache web servers and implemented fencing with the IPMI fencing agent. However, we are considering if pacemaker would be a good solution for high availability for an embedded control system that integrates with CAN for vehicles? We will also have Ethernet for cluster communication between the hardware units. My main questions are: 1) Is it common use case to use pacemaker to implement high availability for embedded control systems? 2) What, if any, special considerations should be taken when it comes to fencing in this type of environment? Thank you for any guidance! -- Kindest Regards, Chad Cravens (800) 214-9146 x700 [image: http://www.ossys.com] <http://www.ossys.com> [image: http://www.linkedin.com/company/open-source-systems-llc] <http://www.linkedin.com/company/open-source-systems-llc> [image: https://www.facebook.com/OpenSrcSys] <https://www.facebook.com/OpenSrcSys> [image: https://twitter.com/OpenSrcSys] <https://twitter.com/OpenSrcSys> [image: http://www.youtube.com/OpenSrcSys] <http://www.youtube.com/OpenSrcSys> [image: http://www.ossys.com/feed] <http://www.ossys.com/feed> [image: cont...@ossys.com] <cont...@ossys.com> Chad Cravens (800) 214-9146 x700 chad.crav...@ossys.com http://www.ossys.com ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
[ClusterLabs] Oracle Stopping
Hello fellow Cluster Geeks! I'm having an issue with the standard Oracle RA script that I can't understand why this is happening. I create a Resource using the standard ocf:heartbeat:oracle script included with a Pacemaker install. I do this through the web interface, so setting the standard parameters for the Oracle install such as sid, home, user etc... The databases appear to start just fine, however at what appear to be random intervals (every 5 mins to 8 hours) the Resource is just stopped and started. There is no failover event, and the only constraints are a preferred location constraint and an order constraint with a filesystem resource to make sure that disks are mounted before the database starts. That's it. >From /var/log/messages all I get are the ocf_log messages when the stop() method is invoked. There's nothing about a failed monitor() action. Just a stop() is invoked on the resource which crashes our apps. Any insight into what could be causing this sudden stopping of the resource? Thanks for any help! -- Kindest Regards, Chad Cravens (843) 291-8340 [image: http://www.ossys.com] <http://www.ossys.com> [image: http://www.linkedin.com/company/open-source-systems-llc] <http://www.linkedin.com/company/open-source-systems-llc> [image: https://www.facebook.com/OpenSrcSys] <https://www.facebook.com/OpenSrcSys> [image: https://twitter.com/OpenSrcSys] <https://twitter.com/OpenSrcSys> [image: http://www.youtube.com/OpenSrcSys] <http://www.youtube.com/OpenSrcSys> [image: http://www.ossys.com/feed] <http://www.ossys.com/feed> [image: cont...@ossys.com] <cont...@ossys.com> Chad Cravens (843) 291-8340 chad.crav...@ossys.com http://www.ossys.com ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] Need help in setting up HA cluster for applications/services other than Apache tomcat.
Hello Vijay: it seems you may want to consider developing custom Resource Agents. Take a look at the following guide: http://www.linux-ha.org/doc/dev-guides/ra-dev-guide.html I have created several, it is pretty straightforward and has always worked as expected. I would say one of the most important parts of creating a custom RA script is to make sure you have a good method for determining the state of a resource with monitor() Good luck! On Fri, Feb 17, 2017 at 8:22 AM, vijay singh rathore < vijayrathore.rji...@gmail.com> wrote: > Hi Team, > > Good Morning everyone, hope you all are doing great. > > First of all I would like to apologise, if I have created inconvenience > for team members by sending this mail. > > I have a question and i have tried almost all possible forums and googled > a lot before reaching to this group for help. > > I want to create HA cluster for applications/services which are not in > tomcat or related to Apache or MySQL. Let's say they are written in > different languages such as java, node js, c++, and deployed in certain > path i.e. /home/xyz > > How can i add these applications for high availability in HA cluster using > pcs/pacemaker/corosync. > > If I have to create resource for these applications how to create and if i > have to use some other way, how can i implement it. > > Requesting you to please provide me some suggestions or reference > documents or links or anything which can help me in completing this task > and to test fail over for these applications. > > Thanks a lot in advance, have a great day and time ahead. > > Best Regards > Vijay Singh > > ___ > Users mailing list: Users@clusterlabs.org > http://lists.clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org > > -- Kindest Regards, Chad Cravens (843) 291-8340 [image: http://www.ossys.com] <http://www.ossys.com> [image: http://www.linkedin.com/company/open-source-systems-llc] <http://www.linkedin.com/company/open-source-systems-llc> [image: https://www.facebook.com/OpenSrcSys] <https://www.facebook.com/OpenSrcSys> [image: https://twitter.com/OpenSrcSys] <https://twitter.com/OpenSrcSys> [image: http://www.youtube.com/OpenSrcSys] <http://www.youtube.com/OpenSrcSys> [image: http://www.ossys.com/feed] <http://www.ossys.com/feed> [image: cont...@ossys.com] <cont...@ossys.com> Chad Cravens (843) 291-8340 chad.crav...@ossys.com http://www.ossys.com ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
[ClusterLabs] Resource Priority
Hello Cluster Fans! I've had a great time working with the clustering software. Implementing a HUGE cluster solution now (100+ resources) and it's working great! I had a question regarding prioritizing resources. Say I have three nodes (A,B,C) and 2 database resources (DB1, DB2). Database resources normally run on A and B, and both failover to C. What I would like to do is prioritize resource DB1 over DB2 if both have to failover to node C. For example, if DB2 has failed over and is running on node C, and at a later time DB1 fails over to node C, that DB2 would stop (no longer running at all on any node) and DB1 would run. Essentially DB1 is kicking DB2 off the cluster. I was wondering if there would be a clean way to implement something like this using standard cluster configurations parameters or if I'd have to create a custom RA script that would run cluster commands to do this? Thanks in advance! Happy clustering :) -- Kindest Regards, Chad Cravens (843) 291-8340 [image: http://www.ossys.com] <http://www.ossys.com> [image: http://www.linkedin.com/company/open-source-systems-llc] <http://www.linkedin.com/company/open-source-systems-llc> [image: https://www.facebook.com/OpenSrcSys] <https://www.facebook.com/OpenSrcSys> [image: https://twitter.com/OpenSrcSys] <https://twitter.com/OpenSrcSys> [image: http://www.youtube.com/OpenSrcSys] <http://www.youtube.com/OpenSrcSys> [image: http://www.ossys.com/feed] <http://www.ossys.com/feed> [image: cont...@ossys.com] <cont...@ossys.com> Chad Cravens (843) 291-8340 chad.crav...@ossys.com http://www.ossys.com ___ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] Pacemaker and Oracle ASM
The client has specifically said that they purposefully chosen not to implement Oracle RAC (I'm not sure why). It's a large program and the budget and technology platforms were already put in place before I was involved. In other words, I'm not sure why, not sure there's a reason, but RedHat HA Cluster Suite is what was chosen and it is what I have to make work. :-\ On Mon, Oct 10, 2016 at 11:53 AM, emmanuel segura <emi2f...@gmail.com> wrote: > why you don't use oracle rac with asm? > > 2016-10-07 18:46 GMT+02:00 Chad Cravens <chad.crav...@ossys.com>: > >> Hello: >> >> I'm working on a project where the client is using Oracle ASM (volume >> manager) for database storage. I have implemented a cluster before using >> LVM with ext4 and understand there are resource agents (RA) already >> existing within the ocf:heartbeat group that can manage which nodes connect >> and disconnect to the filesystem and prevents data corruption. For example: >> >> pcs resource create my_lvm LVM volgrpname=my_vg \ >> exclusive=true --group apachegroup >> >> pcs resource create my_fs Filesystem \ >> device="/dev/my_vg/my_lv" directory="/var/www" fstype="ext4" --group \ >> apachegroup >> >> I'm curious if anyone has had a situation where Oracle ASM is used >> instead of LVM? ASM seems pretty standard for Oracle databases, but not >> sure what resource agent I can use to manage the ASM manager? >> >> Thanks! >> >> -- >> Kindest Regards, >> Chad Cravens >> (843) 291-8340 >> >> [image: http://www.ossys.com] <http://www.ossys.com> >> [image: http://www.linkedin.com/company/open-source-systems-llc] >> <http://www.linkedin.com/company/open-source-systems-llc> [image: >> https://www.facebook.com/OpenSrcSys] >> <https://www.facebook.com/OpenSrcSys> [image: >> https://twitter.com/OpenSrcSys] <https://twitter.com/OpenSrcSys> [image: >> http://www.youtube.com/OpenSrcSys] <http://www.youtube.com/OpenSrcSys> >> [image: >> http://www.ossys.com/feed] <http://www.ossys.com/feed> [image: >> cont...@ossys.com] <cont...@ossys.com> >> Chad Cravens >> (843) 291-8340 >> chad.crav...@ossys.com >> http://www.ossys.com >> >> ___ >> Users mailing list: Users@clusterlabs.org >> http://clusterlabs.org/mailman/listinfo/users >> >> Project Home: http://www.clusterlabs.org >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >> Bugs: http://bugs.clusterlabs.org >> >> > > > -- > .~. > /V\ > // \\ > /( )\ > ^`~'^ > > ___ > Users mailing list: Users@clusterlabs.org > http://clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org > > -- Kindest Regards, Chad Cravens (843) 291-8340 [image: http://www.ossys.com] <http://www.ossys.com> [image: http://www.linkedin.com/company/open-source-systems-llc] <http://www.linkedin.com/company/open-source-systems-llc> [image: https://www.facebook.com/OpenSrcSys] <https://www.facebook.com/OpenSrcSys> [image: https://twitter.com/OpenSrcSys] <https://twitter.com/OpenSrcSys> [image: http://www.youtube.com/OpenSrcSys] <http://www.youtube.com/OpenSrcSys> [image: http://www.ossys.com/feed] <http://www.ossys.com/feed> [image: cont...@ossys.com] <cont...@ossys.com> Chad Cravens (843) 291-8340 chad.crav...@ossys.com http://www.ossys.com ___ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
[ClusterLabs] Pacemaker and Oracle ASM
Hello: I'm working on a project where the client is using Oracle ASM (volume manager) for database storage. I have implemented a cluster before using LVM with ext4 and understand there are resource agents (RA) already existing within the ocf:heartbeat group that can manage which nodes connect and disconnect to the filesystem and prevents data corruption. For example: pcs resource create my_lvm LVM volgrpname=my_vg \ exclusive=true --group apachegroup pcs resource create my_fs Filesystem \ device="/dev/my_vg/my_lv" directory="/var/www" fstype="ext4" --group \ apachegroup I'm curious if anyone has had a situation where Oracle ASM is used instead of LVM? ASM seems pretty standard for Oracle databases, but not sure what resource agent I can use to manage the ASM manager? Thanks! -- Kindest Regards, Chad Cravens (843) 291-8340 [image: http://www.ossys.com] <http://www.ossys.com> [image: http://www.linkedin.com/company/open-source-systems-llc] <http://www.linkedin.com/company/open-source-systems-llc> [image: https://www.facebook.com/OpenSrcSys] <https://www.facebook.com/OpenSrcSys> [image: https://twitter.com/OpenSrcSys] <https://twitter.com/OpenSrcSys> [image: http://www.youtube.com/OpenSrcSys] <http://www.youtube.com/OpenSrcSys> [image: http://www.ossys.com/feed] <http://www.ossys.com/feed> [image: cont...@ossys.com] <cont...@ossys.com> Chad Cravens (843) 291-8340 chad.crav...@ossys.com http://www.ossys.com ___ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org