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


ADVERTISEMENT

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

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

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

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 :: 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 View Related

CentOS 5 Server :: Setting Up Tftp-server - Cisco Switch Configurations Can Be Sent

Feb 15, 2011

I am trying to setup CentOS server 5 with tftp where the Cisco switch configs can be sent. I have the following:

[code]...

View 14 Replies View Related

CentOS 5 Server :: Setting Up CUPS (command Line) On New Server?

Mar 29, 2009

I was using Red Hat 7.3 forever and decided it was time for a change. I went to Fedora 10 but it was really buggy. CentOS 5.2 is VERY stable.Here is my problem.The server is command line only -- I tend to hate GUI"S.I setup Samba no problem disabling the ports needed through the firewall and that was straightforward.CUPS is a nightmare for me since CentOS locks down the cupsd.conf and then the firewall does its thing. I allowed port 631 through the firewall but then got lost on the cupsd.conf. It's been too long and the old redhat one won't work with CentOS (not surprising since it's a VERY old system) straight-forward CUPS tutorial for a command line interface. I just need it to be:

a) do this

b) do that

View 4 Replies View Related

Ubuntu Servers :: Setting Up A Server ?

Mar 23, 2011

I have never used this software at all and am running a Win XP server for a n in house web site using Joomla. My XP box started to give problems as of today. So now I need to rebuild a web server box. I have always been told that Ubuntu is the way to go.

View 9 Replies View Related

CentOS 5 :: What To Consider In Setting Up Server

Feb 22, 2011

I've setup a server for a small office (10 people) before with samba domain and file server with slackware. no problem there. now am tasked to setup a samba domain and file server for 300 users in 5 different locations. I am currently given a 1u rack server and I requested for 2x1tb drives that I plan to with RAID.

Some of the offices will be connected via VPN using sonicwall. Would it be ideal for remote users to login to the server in the HQ? Am not so familiar with how other companies setup their servers if they have multiple remote sites. Am also open to setting up servers in each site but because of the currently limited manpower, i'd rather have it close by so I can work on the server remotely if needed.

are there any things that I should consider or are there any good references on setting up a corporate server? the problem now is that the company uses google's email app as their email provider, I have gotten a host to do that already. But since they use email to share files, its not very efficient, hence the file server. But since there are a lot of mobile employees and employees in different sites, I would want them to be able to access those files being shared access the company or departments also.

Then I have to consider how to backup the files and other apps that the company will be using. SInce we will be primarily using linux, we would need to do virtualize some windows based apps that they are using now.

View 1 Replies View Related

Fedora Servers :: Setting Up An Email Server?

Sep 4, 2009

I will be getting an old and decrepit laptop (the PS2 channel went out). I have decided that I would like to set it up to be an email and minor data server. The only problem exists that I have never setup a server, yet alone a linux server before.

I want the server to allow user authenticated access to a certain folder on the machine where other clients can go and copy and paste files for the data server portions and I want it to download emails from multiple domains (Gmail, a Microsoft Exchange Server, and from a private domain) and then allow other clients to log in and download those messages (I would like to keep each domain's emails separate so the client has to specify which domain's emails to download).

View 2 Replies View Related

Ubuntu Servers :: Setting Up Email Server?

Oct 5, 2010

I recently bought my own domain name and have started working on my website. I am way excited about setting this site up. My question is, what would be the best way to setup an email system where users are able to login and check their email...I guess like, a web-based system? Then they can configure a client if they wish with their email address.

View 6 Replies View Related

Server :: CentOS Setting Up Php / Mysql?

Oct 27, 2010

I'm trying to install php / mysql on a remote Centos server.I've completed the installation stages but when I try ' php -v ' it comes up with these errors:

Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mcrypt.so' - libltdl.so.3: cannot open shared object file: No such file or directory in Unknown on line 0

[code].....

View 2 Replies View Related

Server :: Setting Up CentOS Email

Jan 13, 2011

I'm trying to setup a couple POP accounts in CentOS. I started doing a tutorial that had me install dovecot, and now I have dovecot running but I can't connect at all.Does anyone know of a simple way to get email up and running? It seems like it should be easier than the 14 step tutorials I was finding on Google.Also, should I leave dovecot or try and remove it?

View 6 Replies View Related

CentOS 5 Server :: Setting Up Sub-domains?

Jul 20, 2010

I am still in Linux Diapers. I setup a CENTOS SELINUX box on an internal network. So the only way I know to access it's served pages is by navigating to 10.1.1.40 from a computer within the network. The issue is that I need to create sub-domains for this server but have no Idea how to go about doing that.

Is there a way of creating an alias for the dev server so I can type something like "washington" into the web browser of a computer on the internal network instead of 10.1.1.40? Can I use a fake FQDN that on this server and get served its web pages or do I need to register a FQDN?

Background: I am creating a series of websites using Drupal and am trying to implement the multisites functionality (all the sites are run from a single code base). To do this they suggest setting up each site on a sub-domain during development. We have not yet purchase the FQDN's for the sites so I have no FQDN to setup.

View 1 Replies View Related

Ubuntu Servers :: Setting Up Server To Manage Network?

Mar 31, 2010

I have a server on my home network. It's currently running a DNS server (bind9) and an HTTP caching server (squid).What I would like to do is redirect all outgoing port 80 connections to the squid server and also make the server responsible for managing DHCP on the network.

Do I just need to install a DHCP daemon on the server, disable it on the router, then set my server as the default gateway and configure iptables to route all connections like I want? Or is it more complicated than that? Also, would that mean that all communication between two computers on the network will go through the server?

View 9 Replies View Related

Ubuntu Servers :: Setting Up A Localhost DaviCal Server ?

Aug 12, 2010

Am having trouble setting up a localhost DaviCal server. I've followed the directions here: [url]

And everything seems to be working, but when I go to: [url]

I get the "Not Found" page. How do I tweak this to use it locally from my computer? Have searched and tried to follow various tutorials, but no luck.

What I'm trying to do is setup a CalDav server locally on my computer so I can interface Thunderbird with it. The reason being then I can sync my Android phone with the CalDav server on my computer, thus syncing my Thunderbird calendar with it. Android is great, but currently the only ways to sync your calendar is to go through google's servers (not interested) or use the new CalDav sync software from the market... which is what I'm trying to do.

View 1 Replies View Related

Ubuntu Servers :: Setting Up Mail-server For Web Site

Mar 25, 2011

To setting up the mail server for my site. The situation is such that it is necessary to allow access through the site (built under LAMP) to the mail server. Ligament postfix + dovecot good option? or who have a similar configs mail server.

View 1 Replies View Related

CentOS 5 Server :: Setting Up An Email Server?

May 8, 2010

I have successfully setup Apache,MySql,ftp, and a few other various packages.My question today is setting up an email server.I have past experience with sendmail,and procmail. However only on already installed,configured and working servers.I am trying to setup an email server from scratch.I have Centos 5.4 installed.

procmail.x86_64 3.22-17.1.el5.centos installed
sendmail.x86_64 8.13.8-2.el5 installed

Are those two packages the only ones I need to get a working email server setup? Also I have been trying to configure a procmailrc file for my server under /etc/, but I can't seem to find consistent documentation on how to set up a procmailrc file.I believe my iptables is set to block port 110 and 25 from outside connections. how to open those ports too.

View 4 Replies View Related

CentOS 5 Server :: Setting Up SFTP On Web Server

May 8, 2010

Running CentOS release 5.4

We currently run a web server that allows FTP connections. I want to:

1. Disable FTP on our web server and require sftp only.

2. See if we can create a table of sites that are allowed to connect to the web server using sftp. Or should I just do this at the firewall?

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

General :: Setting Up Fedora DS(389 DS Server) On CentOS 5.4?

Jan 9, 2010

I have been confused with the overall new 389 DS Server Setup.All I did upto now is:yum install 389-ds
and it did all the installation correctly.

All I need is Setup 389 Server with SSL.I did went through http://directory.fedoraproject.org/wiki/Howto:SSL but no Idea how to proceed.I am confused with the following points:

1. Do I also need to run setup-ds-admin.pl and setup-ds-dsgw too?

I tried running setup-ds-admin.pl and it stucked at :

The server 'ldap://389-ds.sap.com:45474/o=NetscapeRoot' is not reachable. Error: unknown error.

2. When Should I run the setupssl2.sh script? After running the above setup-* scripts?What changes I need to make on the script?

View 8 Replies View Related

Server :: Setting Path Shortcuts In CentOS?

Sep 15, 2010

Is there a way to set a short cut so that you don't have to type out the full path to directories in CentOS? For example instead of typing out /var/log to get to log files, can you just type logs and have the OS know to cd to /var/log automatically?

View 7 Replies View Related

CentOS 5 Server :: Setting Up Ldap Ssl Certificates?

Jul 26, 2009

I am having problems creating ssl certificates for use with openLDAP. Does anyone know a good centos tutorial as I am having problems finding ones by searching through google and the forums.

To clarify further I have a small network im trying to setup to use ldap for auth due to the size I figured using kerberos for auth would be a bit overkill.....

I have the server up and running fine however at the moment all auth is done by using clear text (which is fine as the network has no connection to the internet at current) however in the future it will so I am trying to use ssl however I am having confusing as which certificates I point to where in the slapd.conf file

View 2 Replies View Related

CentOS 5 :: Setting Up Small VPN Server For 20 Members?

Aug 24, 2009

I need to setup a small VPN server for about 20 people. Will a VPS with 192mb ram be enough to handle this? The only services I need to run is those necessary for VPN.

View 2 Replies View Related

CentOS 5 Server :: Setting Up Bind For Web-hosting

May 4, 2010

setting up Bind for web-hosting as i am using Webmin to configure it?

View 4 Replies View Related

CentOS 5 :: Setting Up A Bridge For Use By KVM Server On New 5.5 Install?

Jun 3, 2010

I was searching for a doc on the exact steps to setup a bridge for use by my KVM setup. I needed my VMs to be bridge onto the eth0 network. Some docs I found on google seemed to be outdated.

[URL]

View 2 Replies View Related

CentOS 5 Server :: Setting Up Multiple Websites/IPs?

Sep 25, 2010

I've currently got a centos server setup in my home. It has 1 website running on it and I am using DynDNS.com's service to access the server. DynDNS works by redirecting a free url to the IP address of your server. I would like to add a second website under a different url. However, I'm not sure how to add a second IP address (which I would then use with DynDNS to create a new url).

View 3 Replies View Related

Fedora Servers :: Setting Up A Samba File Server With DynDNS?

Oct 14, 2010

I have recently developed the need for having a file server and am interested in setting up my desktop as a Samba File Server. The problem is that I need to be able to access it from outside networks (physically I'm about 10 miles away from my home network),o I need to also set up some sort of DynDNS service so that I can access the server from anywhere.With this, with setting up a DynDNS, setting up Samba, and setting up my machine to be secure enough for these types of actions. (I just want to make sure it is secure enough since it will need to be detectable from the internet.)

View 8 Replies View Related







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