Sponsored Content
Full Discussion: linux cluster
Top Forums Shell Programming and Scripting linux cluster Post 302638391 by arrals_vl on Thursday 10th of May 2012 08:14:47 AM
Old 05-10-2012
linux cluster

Hi all,

we have setup one cluster with two nodes.
-drbd
-corosync
-pacemaker
-mysql
-piranha

sometimes, we loose connection between the two nodes (node 1 and node 2). When this happens, the two nodes starts both the services as masters,because they don't see each other.
is there any way to tell to one node when connection is lost, for example " see if sec_vip of mysql is up. If so, do start the service drbd but not as master, do not start mysql, and do not start sec_vip. So in such way, only one node will be the master and we wouldnt have duplicated logs on databases or lost transactions.

Thank u very much for your time!!

Ervin

ps. i dont know if this is the right forum to post such thread, im new to this forum.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

linux cluster

I have created a linux cluster using ROCKS. I have 4 comps hooked up now. front-end plus 3 nodes. Looking for way to test the system to see how effective it is (and if it actually works). Any help would be appreciated. (1 Reply)
Discussion started by: skatinsky
1 Replies

2. Linux

How to setup Parallel Cluster in Linux

Hi, Hi, I work in NGO. They are migrating from windows to Linux. They can't spend so much money on servers. They have around 50 PCs. So I want to setup cluster on 2-3 PCs or more than that for setting up server. I am excepted to get their collective output. So that it will be compatible with... (5 Replies)
Discussion started by: neel.gurjar
5 Replies

3. High Performance Computing

Building a Linux Virtual Server cluster

Hi Guys, I'm busy building a LVS-NAT cluster on Red-Hat server 5.1 and I need a kernel that has LVS capabilities for a red-hat server 5.1. Is the anyone who can advise me where I can get this kernel. I have already visited the following site Ultra Monkey: and this has old kernels e.g. 2.4.20... (2 Replies)
Discussion started by: Linux Duke
2 Replies

4. High Performance Computing

Linux cluster

Hi, I am not sure if the term "cluster" fits my situation or not. I have 5 Linux computers, each has different a host-name, and my users have to remember those the computer names to login and find out which computers have free CPUs, so they can run their jobs on those computers have free CPUs. ... (4 Replies)
Discussion started by: hiepng
4 Replies

5. Red Hat

HA Cluster solution for Linux - which one to use?

Hi all experts, I need your kind suggestions or feedback on choice of clustering software for red hat linux nodes running certain applications which I need to make highly available. Minimum requirement is 2 nodes; all nodes shall be active-active running distinct applications e.g. node 1 runs... (1 Reply)
Discussion started by: pshaikh
1 Replies

6. Red Hat

Linux Cluster failover issue

Hi Guys, I am not much aware of clusters but i have few questions can someone provide the overview as it would be very helpful for me. How can i perform cluster failover test to see all the services are failing back to other node ? If it is using veritas cluster then what kind of... (2 Replies)
Discussion started by: munna529
2 Replies

7. UNIX for Dummies Questions & Answers

Linux Cluster or HA

hi guys Back in 2009 and 2010 I configured some clusters using Linux HA Heartbeat version 2.1.4 for suse 10 SP3 now I see Linux HA heartbeat is kind of outdated last release 2011, since I have to configure 2 new clusters I was wondering what do you recommend for cluster tool nowadays? I... (0 Replies)
Discussion started by: karlochacon
0 Replies
VOTEQUORUM_OVERVIEW(8)				    Corosync Cluster Engine Programmer's Manual 			    VOTEQUORUM_OVERVIEW(8)

NAME
votequorum_overview - Votequorum Library Overview OVERVIEW
The votequuorum library is delivered with the corosync project. It is the external interface to the vote-based quorum service. This service is optionally loaded into all ndes in a corosync cluster to avoid split-brain situations. It does this by having a number of votes assigned to each system in the cluster and ensuring that only when a majority of the votes are present, cluster operations are allowed to proceed. The library provides a mechanism to: * Query the quorum status * Get a list of nodes known to the quorum service * Receive notifications of quorum state changes * Change the number of votes assigned to a node * Change the number of expected votes for a cluster to be quorate * Connect an additional quorum device to allow small clusters to remain quorate during node outages. votequorum reads its configuration from the objdb. The following keys are read when it starts up: * quorum.expected_votes * quorum.votes * quorum.quorumdev_poll * quorum.disallowed * quorum.two_node Most of those values can be changed while corosync is running with the following exceptions: quorum.disallowed cannot be changed, and two_node cannot be set on-the-fly, though it can be cleared. ie you can start with two nodes in the cluster and add a third without reboot- ing all the nodes. BUGS
This software is not yet production, so there may still be some bugs. SEE ALSO
corosync-quorumtool(8), votequorum_initialize(3), votequorum_finalize(3), votequorum_fd_get(3), votequorum_dispatch(3), votequorum_con- text_get(3), votequorum_context_set(3), corosync Man Page 2009-01-26 VOTEQUORUM_OVERVIEW(8)
All times are GMT -4. The time now is 12:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy