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
clinfo(1M)						  System Administration Commands						clinfo(1M)

NAME
clinfo - display cluster information SYNOPSIS
clinfo [-nh] DESCRIPTION
The clinfo command displays cluster configuration information about the node from which the command is executed. Without arguments, clinfo returns an exit status of 0 if the node is configured and booted as part of a cluster. Otherwise, clinfo returns an exit status of 1. OPTIONS
The following options are supported: -h Displays the highest node number allowed to be configured. This is different from the maximum number of nodes supported in a given cluster. The current highest configured node number can change immediately after the command returns since new nodes can be dynam- ically added to a running cluster. For example, clinfo -h might return 64, meaning that the highest number you can use to identify a node is 64. See the Sun Cluster 3.0 System Administration Guide for a description of utilities you can use to determine the number of nodes in a cluster. -n Prints the number of the node from which clinfo is executed. EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 An error occurred. This is usually because the node is not configured or booted as part of a cluster. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) SunOS 5.10 12 Mar 2002 clinfo(1M)
All times are GMT -4. The time now is 04:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy