Server :: Simulating A Failover Cluster On Fedora?

Jun 8, 2010

We are having a production setup where we are having one SAN storage and two RHEL machines. Now we have created a SAN LUN, say for example trylun. Now we have mounted the same SAN partition on both the machines of RHEL on the same mountpoint path say for example /trylun. After that we have installed RHEL Cluster suite to create a failover cluster.

Now we will be having one Ingres Database service for which data will be stored in SAN storage LUN mounted on both the machine say for example /trylun. When service on one machine will be down then RHEL Cluster Suite failover cluster will takeover and then it will start the same service on another node and handle the failover. Wether Ingres will run from node 1 or node 2 will not make any difference as both are using shared SAN storage i.e /trylun in our example. So same data storage will be used by both the ingres service on both the servers.

Now I have to simulate the same in my office test environment. But the problem is, in office test environment I will not have SAN server as it is additional cost. And I will have fedora operating system.

So I wanted to know is how can we create a shared file system like SAN in fedora (Is NFS a solution). And after creating the shared file system how can we create a failover cluster in fedora if we do not have Red Hat Cluster Suite.

View 1 Replies


ADVERTISEMENT

Server :: Build A 2 Node Failover Nfs Cluster?

Feb 9, 2011

I am using Centos. I have read places that you can use Drbd + heartbeat + nfs to make a simple failover NFS server.I can't find any document that works though. I've tried 20 or so, including some Debian ones.So, does anyone have any other ideas of how to do this?Point me in the right direction please.I want 2 nodes. One to be actively serving an NFS share The other to be ready for failover. If the first one goes out, the second takes over.Meaning, the filesystem is in sync, the IP must change, and NFS must come up

View 7 Replies View Related

Server :: Node Failover And Another Node Take Over Resources On HA Cluster?

Oct 27, 2010

I don't have much experience in clustering. And I'm deploying a cluster system on CentOS.But I don't know how long a node failover and another node take over those resouces to continue running service is good, fast or slow? 1s, 10s or

View 2 Replies View Related

General :: Best Way To Handle Cluster Failover

Sep 30, 2010

We have setup a High Available Cluster on two RHEL 5.4 machines with Redhat Cluster Suite (RHCS) having following configuration.

1. Both machines have Mysql server, Apache web server and Zabbix server.
2. Mysql database and web pages reside in SAN.
3. Active machine holds virtual IP and mounted shared disk.
4. We have also included a script in RHCS which takes care of starting Mysql, Apache and zabbix server on the machine which turns active when cluster switches over.

The above configuration holds good if Active machine goes down as a result of hardware failure or Reboot. What if, If any one service say Apache/Mysql/zabbix running on active hangs or become unresponsive.How can we handle this scenario ? Please advice.

View 3 Replies View Related

General :: NFS Failover - Setting Up Two Server With Shared Storage With Automatic Failover If One Fails

Feb 14, 2010

What is the current state of NFS failover (i.e. setting up two server with shared storage, with automatic failover if one fails?) I've seen a cookbook, but no details that would let me assess how well it works. There are lots of complex issues with data consistency, but the detailed information on that is years old. Our needs are fairly simple: 2 servers, a shared array, and I'm reasonably sure that we don't use locking. However we'd like failover to work reliably without loss of data.

View 3 Replies View Related

Ubuntu Servers :: Create Script To Keep Machine Cluster Synced Properly Until Failover

Apr 26, 2010

I've been reading up on clustering a bit and want to create simple 2 machine cluster of which the 2nd one will turn on and take over traffic at the previous machine's IP (I'm aware there will be a couple minutes of downtime while the failover server boots). I've looked into doing a simple DNS round robin, but I think both machines would need to be online all the time for this to function correctly. I've also looked into linux-HA and GlusterFS but both seem a little intense for the simple failover I'm trying to achieve. One catch if approaching with DNS round robin... the server that I want to setup with a failover also operates as a DNS server. Anyone know the simplest way to complete this? One idea I had (that seemed like a bit of manual work): Create script that runs every 60 secs through CRON on firewall (running pfsense) and have it check if master-server is up. If it's not, it will send a WOL signal to the slave, which has a mirrored image of the first. the problem I have with that is I will also need to create a script to keep both synced properly which seems almost impossible if one is shut down until failover (my thought was periodic rsyncs.) Perhaps creating a FS to direct all files to for the master/slave would be the only way around that.

View 1 Replies View Related

CentOS 5 Networking :: Setup The Cluster To Automatically Failover The Service To Another Node Case One Node Fails?

Mar 1, 2011

I am familiar with windows 2008 cluster servers, and I just started testing with centos cluster. I am creating a simple 2-node cluster, for a simple ping test.

Node 1: 10.0.0.1
Node 2: 10.0.0.1
Virtual ip: 10.0.0.10

So far, I can ping a virtual ip, and manually relocate it between the nodes, but I didn't figure out, how to do this automatically. So this is my question: How can I setup the cluster, to it automatically failover the a service to another node case one node fails?

View 1 Replies View Related

Server :: Install Red Hat New Cluster - Error: Cman Not Started: Cannot Start, Cluster Name Is Too Long

Mar 15, 2011

I'm having a very strange problem with red hat cluster. After testing it in the lab, I tried to install a new cluster and received the following error: cman not started: Cannot start, cluster name is too long or other CCS error /usr/sbin/cman_tool: aisexec daemon didn't start I've checked the internet for that error, but nothing. I decided to to take the example from cluster.conf man, which looks like that :

[Code]...

And still I get the same error. I can find my servers both from DNS (FQDN and short name) and they also appear in /etc/hosts.

View 3 Replies View Related

Server :: Cluster Heartbeat - Add To Cluster.conf?

Sep 3, 2010

configure a separate NIC for the heartbeat. what i need to add to cluster.conf to achieve this?

View 1 Replies View Related

Fedora Servers :: How To Setup GFS2 Without Cluster Suite / How To Configure Cluster.conf

Nov 6, 2010

I am trying to build GFS2 cluster with 2 or 3 Fedora 14 nodes, but I've encountered some problems from the start. First luci does not work at all in Fedora 14. There is no luci_admin and even if I manage to start luci service, I get a blank white screen when I try to open it from the browser. I've googled a bit and found that I'd might be able to setup GFS if I manage to build cluster.conf manually and start the cluster suite, but I cannot find documentation on how to create cluster.conf anywhere. If anyone knows how to setup GFS2 without a cluster suite or how to configure cluster.conf.

View 9 Replies View Related

General :: Simulating Audio Playback On Headless Server?

Jun 9, 2010

We have a headless linux server (Debian 5) we use for running integration tests of our web-page code. Among these tests are ones implemented using Selenium, which practically simulates a user browsing our pages and clicking on things. One of these tests is failing now, because it involves starting a flash-based audio player and checking to see whether the progress bar gets displayed properly. The reason this test fails is that there is no way to play the audio, and no sound card on the machine, which has simple webserver hardware.

So, my question would be: Is there a simple way of giving a program the impression that its audio output is being processed, and playback is taking place? I don't have to record the playback, or redirect it or anything like that, just a dummy soundcard, like the dummy X-server we are using, which actually does not need to display stuff.

I have tried using JACK, but it's too complicated, and the documentation does not even answer this very simple question. I also installed alsa on the server; it 'pretends' to run, but when a program tries to play audio, just spews error and debug information having to do with the non-existence of a soundcard.

View 1 Replies View Related

Red Hat / Fedora :: How To Cluster System Server

Oct 10, 2010

I wanted to know how to cluster linux server. I mean any squid proxy server or apache server cluster or any other service, but I just wanted to know how to do cluster in linux. I have been searching it but there is no hope.

View 4 Replies View Related

Server :: Network Failover / What Is This?

Apr 23, 2010

I am familiar with active to active cluster failover and active to pasive failover, but what is network failover?

View 1 Replies View Related

Server :: Cluster Storage With The Rock Cluster Storage Operating System?

Jun 8, 2010

I am trying to do the cluster storage with the Rock Cluster storage operating system . I have install the rock cluster on the main server . and I want to connect the client with the PXE boot . when I starting the client then it boot from the PXE boot into the mode of compute node. but it ask the where is to be stored the I have give the path..then server says that not able to find the directory path.

Steps:-
1) insert-ethers
2) client is started with the PXE boot.
3) it detects the dhcp .
4) At last it demand where is to be started by cd-rom, harddisk ,nfs etc.

then I started with the nfs and I have given the lanIp of server.and server is detecting the client but client is not finding the filesystem directory. into export partition directory but it is not taking path.

PATH:-
/export/rock/install it is not finding this path then it is not able to start the o/s from PXE boot..Is there any solution and manual of rock or anyother solution then u can reply to me...

View 3 Replies View Related

Networking :: Practive For Implementation Of A Failover Server?

Jan 20, 2011

I'm in need of some advise from you guys. I'm currently running a live production serverA, and last week it went down for a couple of hours which was really bad to say the least.

I've been thinking about building a mirror serverB that will rsync my data nightly. Now I don't want to load balance here, I just need to be able to switch to serverB when serverA goes down for any reason.

Would the best solution for this is to change my main nameserver entry when I want to switch ? I'm just curious if it will be a few hours or an instant change.

I thought I'd ask before attempting this live.

View 3 Replies View Related

CentOS 5 Server :: Setting Up SMB And AFP Failover Between Two Servers

Feb 15, 2011

My question is about setting up SMB and AFP failover between two servers. The plan is to have two servers both running CentOS with one acting as a primary node and one as secondary failover node. I have never set anything like this up before. In the past I have always worked with SAN's primary XSAN/StorNext. Both of which handle failover pretty much automatically. Unfortunately there isn't the budget on this job to install a SAN. Also this is only for temporary use for a week in a production office.

My thoughts where to run the two servers and use rsync on a cron tab to keep the data synchronised between the two. In an ideal world clients would log on to the primary and if that fails, seamlessly moved over to the secondary. I'm guessing however this is not possible outside of a SAN environment. So keeping the two servers synced and the clients manually moving over to the secondary manually is, I'm guessing, my only real option.

View 1 Replies View Related

Fedora Servers :: Build A 3 Node Web Server Cluster To Run A Php Application ?

Feb 24, 2011

I need to build a 3 node web server cluster to run a php application. Since the app requires users to login (which means a session state is to be maintained), I will be sharing sessions save path, I also need to share the application directory across 3 nodes. I having trouble deciding which cluster file system to select.

View 5 Replies View Related

Fedora Installation :: Disks Mirroring Setup For Failover

Nov 10, 2009

Have been tasked with a couple of Sunfire X2100 that I am slapping Fedora 11 onto for some high profile tasks around the office. Have two drives of the same size in each server and would like to have the two disks mirrored for redundancy. Admittedly I am new at Linux administration and am feeling over my head.

1. Can this be managed during the installation process of Fedora 11?
2. If yes, let me know the step by step please.
3. If no, I take it a cron job of rsync is going to be my best option.
4. Alternatives insights etc.

View 2 Replies View Related

Ubuntu Servers :: Setup An Apache Web Cluster Using Red Hat Cluster Suite

Sep 1, 2011

I am working in a project that needs to set up an Apache Web Cluster. The cluster needs to be High-availability (HA) cluster and Load-balancing cluster. Someone mentioned the use of Red Hat Cluster Suite, but, honestly, I can't figure out how it works, I haven't been able to configure it correctly. The project currently have two nodes, but we need to support at least three nodes in the cluster.

View 5 Replies View Related

Red Hat / Fedora :: Whole Cluster Freezes When One Of Nfs Server Freezes / Sort It?

Jun 27, 2011

We are having a cluster with couple of disk servers, compute nodes and a head node. Disk server is nfs mounted on all the compute and head nodes.
The problem is that if any of the disk servers hangs, it freezes rest of the cluster too which is dangerous. Ideally, cluster should not care about the hanged server and run without any problem except files from that server is not visible.
Is there any way I could avoid the problem of freezing cluster because of one hanged server?

View 1 Replies View Related

Server :: How To Cluster KVM For Xen

Oct 21, 2010

Does anyone have any experience with clustering KVM? I know how to do this for Xen, but I would like to know if it can also be accomplished with KVM. I am looking for a solution that is not specific for a distro.

View 3 Replies View Related

Server :: What Is A Cluster?

May 13, 2011

Can a Cluster, made up of 5 Dell Poweredge computers, each with a NIC and a HDD, be a file-server that is highly available? If I go over, and break one of the computers with a sledgehammer, will the cluster continue to operate without data loss?Goes on to say how fancy the cluster is,

View 3 Replies View Related

SUSE :: Simulating NIC Fail?

Dec 21, 2010

I have setup bonded interfaces but I'm not at the machine to pull a cable - is there a way I can simulate a failure - I've had a look at ip/ipconfig without anything obvious.

View 3 Replies View Related

Server :: Redhat Cluster NFS Mounting?

Jul 19, 2011

I'm trying to build cluster computer system using redhat linux enterprise 5.5. And I'm on the step to set up the NFS mounting. (step 3 of part VI on this paper: However, I kept getting "permission denied" when I used the command "mount -t" to mount the slave node onto the hard drive of the master node. Even when I edited /etc/fstab file to make it automatically set up during booting, I still receive the same result. By the way, I've already logged in as a root user on both slave and master nodes.

View 1 Replies View Related

Server :: LVM On 2 Node Cluster - Getting Error

Oct 26, 2010

I am having an issue with LVM on a 2 node cluster. We are using powerpath for external drives. We had a request to increase /apps filesystem which is EXT3.

On the first node we did:
pvcreate /dev/emcpowercx1 and /dev/emcpowercw2
Then....
vgextend apps_vg /dev/emcpowercw2 /dev/emcpowercx1
lvresize -L +60G /dev/apps_vg/apps_lv
resize2fs /dev/apps_vg/apps_lv
Everything went on well , we got the /apps increased. But on the second node when I do pvs.

I am getting following error:
WARNING: Duplicate VG name apps_vg: RnD1W1-peb1-JWay-MyMa-WJfb-41TE-cLwvzL (created here) takes precedence over ttOYXY-dY4h-l91r-bokz-1q5c-kn3k-MCvzUX
How can I proceed from here?

View 1 Replies View Related

Server :: MySQL Cluster With Heartbeat?

Dec 26, 2010

I have setup a MySQL High Availability Cluster with two nodes using DRBD & Heartbeat. I have successfully installed the cluster but one question which is still not solved is that Heartbeat monitors failover of network or server failure, etc.

What will happen if MySQL service gets stopped or do not start. This heartbeat-DRBD cluster does not take any action on that part. Now I want to enable this feature too which also monitors MySQL service. I have gone through MON help on web but could not find out any good step by step tutorial.

View 11 Replies View Related

Server :: Setup Cluster Over Different Network

Nov 11, 2010

I have a HA cluster, all nodes have same network supplied by one ISP. And if the error occur with ISP the system will fail. So I want to set up HA cluster with different network (supplied by different ISP) between nodes. How can I do this?

View 5 Replies View Related

CentOS 5 Server :: GFS With Little 'Cluster' As Possible / No CLVM

Mar 15, 2010

What I did not realize was, that DLM uses the external Ethernet Interface even when talking to the local machine/node. So iptables was blocking my DLM daemon. With iptables down or the TCP port for DLM opened, cman starts, mount works.What I have here is a fibrechannel SAN which will be directly attached to several servers in the near future. Thise servers should be enabled access to a single filesystem on the SAN (shared).I heard that the right filesystem choice for this kind of setup would be GFS, because it has a Distributed Lock Manager and one FS journal for each node.

But I am having trouble setting up GFS. I have managed to create a GFS on a small testvolume (local HDD so far), but am unable to mount it. It seems that GFS/DLM needs a lot of cluster services to run, which I do not all understand / know how to correctly setup. Also: Will the lock_dlm stuff need Ethernet communications to handle file locks? And if so, will it fetch the node list from /etc/cluster/cluster.conf to determine who to talk to?

View 1 Replies View Related

CentOS 5 Server :: The Cluster Does Not Work?

Nov 26, 2010

I created a cluster with two nodes and a machine for managers with luci, if a machine reboot the cluster function by transferring the resource (IP address), if forced to stop the machine (pull the plug) the cluster does not work.

View 1 Replies View Related

General :: Simulating Blackhole Attack In Ns-29

Apr 21, 2010

I want to implement blackhole attack in ns-2 using the aodv protocol. I dont know how implement and i dont have code(c and tcl)

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved