Sponsored Content
Full Discussion: Cluster a custom application
Top Forums UNIX for Beginners Questions & Answers Cluster a custom application Post 303034528 by Peasant on Sunday 28th of April 2019 02:52:31 AM
Old 04-28-2019
Any systemd or init script can be implemented in linux cluster as a resource.
So, you will need to write one of those, it should be fairly simple reading the docs.

Be sure to use resource group, as resources in it will follow constraint order, start from first defined to last, stop from last defined to first.

But, applications are mostly load balanced not clustered in classic way, as stomp mentioned.
Can you elaborate more on your application receiving data on any port, does it listen on thousands of ports Smilie

Using opensource with haproxy and keepalived one can do great things with backend app balancing and failover using VRRP.
Fairly short and simple configuration, unlike linux cluster which is a complex product.
Keep it simple, stupid if you can.

Hope that helps.
Regards
Peasant.
This User Gave Thanks to Peasant For This Post:
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to custom application name in `ps -ef`?

A program named /usr/bin/aa.sh, two parameters: 11, 22. after start it, the row in `ps -ef` is almost like the following: root 12198 10278 0.0 Nov 25 pts/3 0:00.23 /usr/bin/aa.sh 11 22 but I want to change "/usr/bin/aa.sh 11 22" to one rule string, such as: "AA_11_22", how to... (1 Reply)
Discussion started by: linkjack
1 Replies

2. High Performance Computing

Building a Solaris Cluster Express cluster in a VirtualBox on OpenSolaris

Provides a description of how to set up a Solaris Cluster Express cluster in a VirtualBox on OpenSolaris. More... (0 Replies)
Discussion started by: Linux Bot
0 Replies

3. HP-UX

Install application on UNIX cluster

Hi everyone, I have a new engagement where in I would need to install an inhouse server application in a HP_UNIX cluster. Please let me know how this should be done. Satish (4 Replies)
Discussion started by: satish_000
4 Replies

4. High Performance Computing

SUN Cluster Vs Veritas Cluster

Dear All, Can anyone explain about Pros and Cons of SUN and Veritas Cluster ? Any comparison chart is highly appreciated. Regards, RAA (4 Replies)
Discussion started by: RAA
4 Replies

5. AIX

How to add node to the cluster with stoping the application?

In the production hacmp 5.3 is running with three nodes but i want to add new node to cluster with out stopping the application ie with same resource group if any bady know pls help me. (1 Reply)
Discussion started by: manjunath.m
1 Replies

6. Red Hat

Custom HA agent - Red Hat Linux Cluster

Hi experts, I have some custom application which I need to make Highly Available using red hat cluster service. How do I do it? i know in /usr/share/cluster i shall find HA agents for well known services like Apache or Sybase but I want to write HA agent for my own. I tried looking up on... (4 Replies)
Discussion started by: pshaikh
4 Replies

7. Solaris

Sun cluster and Veritas cluster question.

Yesterday my customer told me to expect a vcs upgrade to happen in the future. He also plans to stop using HDS and move to EMC. Am thinking how to migrate to sun cluster setup instead. My plan as follows leave the existing vcs intact as a fallback plan. Then install and build suncluster on... (5 Replies)
Discussion started by: sparcguy
5 Replies

8. Solaris

Sun cluster 4.0 - zone cluster failover doubt

Hello experts - I am planning to install a Sun cluster 4.0 zone cluster fail-over. few basic doubts. (1) Where should i install the cluster s/w binaries ?. ( global zone or the container zone where i am planning to install the zone fail-over) (2) Or should i perform the installation on... (0 Replies)
Discussion started by: NVA
0 Replies
OCF_HEARTBEAT_EVMSSC(7) 					OCF resource agents					   OCF_HEARTBEAT_EVMSSC(7)

NAME
ocf_heartbeat_EvmsSCC - Manages EVMS Shared Cluster Containers (SCCs) (deprecated) SYNOPSIS
EvmsSCC [start | stop | notify | status | monitor | meta-data] DESCRIPTION
Deprecation warning: EVMS is no longer actively maintained and should not be used. This agent is deprecated and may be removed from a future release. -- Resource script for EVMS shared cluster container. It runs evms_activate on one node in the cluster. SUPPORTED PARAMETERS
ignore_deprecation If set to true, suppresses the deprecation warning for this agent. (optional, boolean, default false) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 60. stop Stops the resource. Suggested minimum timeout: 60. notify Suggested minimum timeout: 60. status Performs a status check. Suggested minimum timeout: 10. Suggested interval: 10. monitor Performs a detailed status check. Suggested minimum timeout: 10. Suggested interval: 10. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. EXAMPLE
The following is an example configuration for a EvmsSCC resource using the crm(8) shell: primitive example_EvmsSCC ocf:heartbeat:EvmsSCC op monitor depth="0" timeout="10" interval="10" SEE ALSO
http://www.linux-ha.org/wiki/EvmsSCC_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_EVMSSC(7)
All times are GMT -4. The time now is 08:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy