Sponsored Content
Full Discussion: Cluster a custom application
Top Forums UNIX for Beginners Questions & Answers Cluster a custom application Post 303034410 by stomp on Thursday 25th of April 2019 02:34:51 AM
Old 04-25-2019
Well if your application is not a service, that other clients can send requests to, then a loadbalancer is just not needed. You just have to make sure, that your service is up and healthy(scripting) and if not to fence(forcefully remote initiated shutdown/disconnect) the failed server/vm/container.

Common fencing methods are for example:
  • shutdown by baseboard power control(IPMI,AMT,iDrac,iLo,Remote Controllable Rack Power Distributor,..)
  • shutdown switch port of a managed switch
  • executing an arbitrary command(ssh vmhost kill vm, ...)

Further there is a need for clusters to have an unequal number of nodes within the cluster, so if there are different views of the system state on the different nodes, the cluster can reliably decide which node is failing. So you need at least 3 instances.

My practical experience of the pacemaker stack is a bit limited. I have read some about it and created several test setups, but I did not operate those directly managed systems. I have some few prebuilt solutions like proxmox(preferred, Open Source Variant available) or XCP NG(Open Source, Clone of Citrix XenServer aka Citrix Hypervisor), that offer HA-functionality for virtual machines.

Last edited by hicksd8; 04-25-2019 at 01:27 PM.. Reason: Remove typo
This User Gave Thanks to stomp 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
FENCE_AGENT(8)						      System Manager's Manual						    FENCE_AGENT(8)

NAME
fence_xenapi - XenAPI based fencing for the Citrix XenServer virtual machines. DESCRIPTION
fence_cxs is an I/O Fencing agent used on Citrix XenServer hosts. It uses the XenAPI, supplied by Citrix, to establish an XML-RPC sesssion to a XenServer host. Once the session is established, further XML-RPC commands are issued in order to switch on, switch off, restart and query the status of virtual machines running on the host. fence_xenapi accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent. fence_xenapi can be run by itself with command line options. This is useful for testing and for turning outlets on or off from scripts. PARAMETERS
-o, --action=<action> Fencing Action (Default Value: reboot) -l, --username=<name> Login Name -p, --password=<password> Login password or passphrase -S, --password-script=<script> Script to retrieve password -n, --plug=<id> Physical plug number or name of virtual machine This parameter is always required. -s, --session-url The URL of the XenServer host. This parameter is always required. -U, --uuid The UUID of the virtual machine to fence. -v, --verbose Verbose mode -D, --debug-file=<debugfile> Write debug information to given file -V, --version Display version information and exit -h, --help Display help and exit -C, --separator=<char> Separator for CSV created by operation list (Default Value: ,) --power-timeout Test X seconds for status change after ON/OFF (Default Value: 20) --shell-timeout Wait X seconds for cmd prompt after issuing command (Default Value: 3) --login-timeout Wait X seconds for cmd prompt after login (Default Value: 5) --power-wait Wait X seconds after issuing ON/OFF (Default Value: 0) --delay Wait X seconds before fencing is started (Default Value: 0) --retry-on Count of attempts to retry power on (Default Value: 1) ACTIONS
on Power on machine. off Power off machine. reboot Reboot machine. status This returns the status of the plug/virtual machine. list List available plugs with aliases/virtual machines if there is support for more then one device. Returns N/A otherwise. monitor Check if fencing device is running. List available plugs/virtual machines or get status of machine (if it does not support more). metadata The operational behavior of this is not known. STDIN PARAMETERS
action Fencing Action (Default Value: reboot) login Login Name passwd Login password or passphrase passwd_script Script to retrieve password port Physical plug number or name of virtual machine This parameter is always required. session_url The URL of the XenServer host. This parameter is always required. uuid The UUID of the virtual machine to fence. verbose Verbose mode debug Write debug information to given file version Display version information and exit help Display help and exit separator Separator for CSV created by operation list (Default Value: ,) power_timeout Test X seconds for status change after ON/OFF (Default Value: 20) shell_timeout Wait X seconds for cmd prompt after issuing command (Default Value: 3) login_timeout Wait X seconds for cmd prompt after login (Default Value: 5) power_wait Wait X seconds after issuing ON/OFF (Default Value: 0) delay Wait X seconds before fencing is started (Default Value: 0) retry_on Count of attempts to retry power on (Default Value: 1) fence_xenapi (Fence Agent) 2009-10-20 FENCE_AGENT(8)
All times are GMT -4. The time now is 12:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy