Sponsored Content
Full Discussion: Cluster a custom application
Top Forums UNIX for Beginners Questions & Answers Cluster a custom application Post 303034460 by stomp on Friday 26th of April 2019 11:14:35 AM
Old 04-26-2019
Hi,

what you write should be pretty basic functionality of corosync/pacemaker. Since I'm not very deep into this topic, I would have to read the documentation to give further hints on exactly how to do it.

So that's all I have to give right now. You may want to check google and the documentation for yourself, and I would be happy if you share your experiences and maybe configs afterwards.

Regards,
stomp
 

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
STOMP_ERROR(3)								 1							    STOMP_ERROR(3)

Stomp::error - Gets the last stomp error

       Object oriented style (method):

SYNOPSIS
public string Stomp::error (void ) DESCRIPTION
Procedural style: string stomp_error (resource $link) Gets the last stomp error. PARAMETERS
o $link -Procedural style only: The stomp link identifier returned by stomp_connect(3). RETURN VALUES
Returns an error string or FALSE if no error occurred. EXAMPLES
Example #1 Object oriented style <?php /* connection */ try { $stomp = new Stomp('tcp://localhost:61613'); } catch(StompException $e) { die('Connection failed: ' . $e->getMessage()); } var_dump($stomp->error()); if (!$stomp->abort('unknown-transaction', array('receipt' => 'foo'))) { var_dump($stomp->error()); } /* close connection */ unset($stomp); ?> The above example will output something similar to: bool(false) string(43) "Invalid transaction id: unknown-transaction" Example #2 Procedural style <?php /* connection */ $link = stomp_connect('ssl://localhost:61612'); /* check connection */ if (!$link) { die('Connection failed: ' . stomp_connect_error()); } var_dump(stomp_error($link)); if (!stomp_abort($link, 'unknown-transaction', array('receipt' => 'foo'))) { var_dump(stomp_error($link)); } /* close connection */ stomp_close($link); ?> The above example will output something similar to: bool(false) string(43) "Invalid transaction id: unknown-transaction" PHP Documentation Group STOMP_ERROR(3)
All times are GMT -4. The time now is 02:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy