Server :: Simple Mirroring Networked File System?

Apr 8, 2010

I have two web servers. One is active and one is in reserve. I keep the user data (web pages) in sync by running rsync every 10 minutes or so. This copies any changes from the active machine to the reserve machine. But, it's slow, only gets changes every 10 minutes, bogs down the disk, does strange things to files that are changing during the rsync process etc...

I want something that will automatically copy any changes from the active server to the reserve server as they are made. IE I hit 'save' on the active server, it copies the file to the reserve server. Simple!

I've been looking around and I see GFS which is really vastly more complicated than I need. I'm happy with read-only access on the reserve host, so I don't need distributed lock management.

I could theoretically implement this by setting inotify watchers on every file and running an SCP or rsync command when a file gets saved. So, it can't be that hard.

I do not need a true networked file system, as in something I mount over the network. I just want something to keep my disks in sync.

View 3 Replies


ADVERTISEMENT

Server :: Unioning And Mirroring File System Over The Internet?

Apr 6, 2010

Blue sky thinking at the moment:I have a number of file servers, each at different sites. I would like to be able to make these appear as one, so that files on any server can be accessed from any site, and the user doesn't even see there are multiple servers.Obviously, the internet is slow, especially the upload speeds. So when a file is written the write ought to go to the server on the client's LAN - even if it was previously on another of the servers.However, for robustness, some sort of background mirroring is also wanted. If all the servers were left on and connected, they eventually end up all in sync. But this mirroring needs to be mindful of bandwidth usage; if someone writes a big file to their local server, copying that to the other servers can't interfere with normal internet usage.I think UnionFS or similar might be able to handle the unioning side, but not the mirroring stuff.

View 2 Replies View Related

Ubuntu Servers :: Disc Mirroring Between Local And Remote File System

Nov 5, 2010

Is there any software that will do full mirroring between a local and a remote file system. I have a server (9.04) and a laptop (9.10). Each user has shared a shared directory on the server, and on the laptop. Updates to files may be done on either system. I want to keep both copies syncronised. Currently I use a script based on rsync (scheduled by cron) to keep the local and remote copies in sync.

The problem with this approach is that rsync only seems to be able to handle deletion of files if one file system is the master, which is not the case in my set-up. If I move a file to a different directory, rsync will reinstate the old file as well as copying the new one. I was hoping there was some software that could do proper mirroring between the 2 systems, but6 so far I cannot find anything.

View 3 Replies View Related

Server :: Setup A Simple File Server With Mandrake 10.0?

Jul 19, 2010

Gentlemen/Ladies; I checked the existing information on this site and found that it is pretty widespread and confusing to me. I am a Linux Newbie so please be patient. I use Mandriva Linux 10.0 and want to setup a simple file server. I also want to connect a Windows XP computer to access files on the Linux server. I have a spare router I can use. My ultimate goal is to learn MySQL and PHP programming; I am pursuing a Web Development curriculum at a local University but am just starting out.

Am I making sense and can I do it with the equipment I have? Can you point me to some resources,documents, etc. I can use to accomplish this?

View 1 Replies View Related

Security :: UFW Settings For Simple File Server

Dec 20, 2010

I would like to set the firewall in Ubuntu Server 10.10 up to be very secure but perform these tasks:

1. File server to windows 7 and windows xp machines both over ethernet and wireless via a router.
2. Print server for these 2 machines.
3. Auto backup these 2 machines.

So far I have set the server up with a static ip, do the 2 windows machines need static ip's as well? I don't need remote access to the server, only over the lan. I thought this may be all I needed to do:

Code:
$ sudo ufw default deny incoming
$ sudo ufw default allow outgoing
$ sudo ufw allow ssh
$ sudo ufw allow Samba
$ sudo ufw allow rsync
$ sudo ufw enable

But would this block auto updates to the server and auto backup of my files?

View 4 Replies View Related

CentOS 5 Networking :: Simple File Server With AD PDC?

Sep 15, 2010

I am trying to deploy a very simple file server in my company's network.The goal is just to have a file server with DAT backup, nothing more.I managed to configure Samba to show a share visible in the Windows network, with free read and write to everyone. For this I configured "Autentication Mode = user", and read/write access to all users in the specified share.

Of course, I would like to have the possibility to establish permissions based in AD-users. For that, I tried to add my CentOS machine to AD.I followed the guide in:

[URL]

I can get the kerberos "kinit" command to autenticate in Windows AD: I can access the Windows machines in the network as administrator and "klist" shows the valid ticket.But, when trying the "join", I always get the "No logon servers" error.I googled around for this, and it seems that this is a common error and there is no "magic approach" for it...

So, my questions are:

- Can this be achieved only by the Samba configuration tool (Gui)? I think not, as we need to change kerberos settins

- What would be the correct settings for krb5.conf?

- Are there any other services/files needed to adjust?

View 1 Replies View Related

CentOS 5 Server :: FreeRadius Simple Shadow / Passwd UNIX System Authentication

Nov 7, 2010

Its 2 weeks i'm trying to configure freeradius2 on centos5 64bit after installed it from yum.all seems working, but i cant authenticate unix users.after digging in many sites its simply cant find user name and password ( ++[unix] returns notfound )Also how can i paste here all the radiusd -X log lines? i can't find any
radius.log file.

View 10 Replies View Related

Ubuntu :: Web Script For Apache As A Simple File Sharing Server?

May 23, 2010

Quite often I need someone to transfer a file to my laptop, and it's often different OS to different OS, and setting file-sharing, sshd/ssh, ftpd/ftp, and whatever else not is often not worth it. A USB key is also not always handy or big enough.

But, it's easy to be on the same network, just hard to get service working on top of it in less than 3 minutes if you've never dealt with that person's computer before.

What I was thinking would be the simplest thing would be if I could run apache, and have a very simple web script that simply allows file uploads. Something that would serve a web page that has a "choose file" button which brings up the file dialog, pretty standard I guess. I wouldn't say no to a few more functions on top of that.

Given that, does anyone know of a simple apache modules, or a web server script (language doesn't matter) that would allow for this?

View 2 Replies View Related

Software :: Mirroring System Folders Between Two Computers

Sep 7, 2010

I'm trying to mirror an apt-cacher-ng cache between two computers. I have apt-cacher-ng installed on my laptop, and I have another machine running apt-cacher-ng. In order to keep them both up to date with each other and to make sure all the computers have all the updates, I've been trying to find effective ways to keep them matched.

- Unison looks like what I want, it would delete files that are deleted, and it would add files that are added. (the assumption is if they're deleted from one, they'd be deleted from others).
- Rsync seemed quite a bit easier, especially with the advanced permissions issues. Apt-cacher-ng uses a user called apt-cacher-ng.

Instead of giving root an ssh password, I wanted to just ssh as apt-cacher-ng. Then I can still get the files over the network, but without the root account being open.
So I ran:
passwd apt-cacher-ng
and when I sshed, it looked like it was working until it logged me out (almost immediately). So that's not working. What am I missing? Maybe there's a better tool then rsync for this?

View 2 Replies View Related

Software :: CentOS 5 - Mirroring System Using Rsync

Mar 30, 2011

I believe it was rsync was the tool. I have a box running CentOS 5. It has a 250GB HD in it. I have another drive with the exact model. Currently it has a as a said a 250GB IDE drive. I want to shutdown the machine, install this other hard drive and set up a cron job that will backup my main drive at times that I set. This way if the main drive fails, I do not loose all the data and have to rebuild the server from scratch as I have been custom configuring it for years. I can't remember if there was an issue with the main drive being mounted to back it up or not. I have looked at some of the how's on rsync but they seem to only talk about using another server for this. If I shit down the box, install the new drive, and the box boots back up, is it going to ask about that drive or what do I need to do to get rsync going and does it partition the drive as such? And can I do it this way. This way if the main drive fails, I can just swap the drive and be on my marry way.

View 2 Replies View Related

Ubuntu Servers :: Setup Simple File Server In A Native Environment?

Dec 7, 2010

I have two computers on my home lan I am trying to share files between...My desktop which is running Ubuntu Server 10.10 (x64) with a GUI, and my laptop which is running Ubuntu Desktop 10.04. I have tried a million different tutorials regarding SAMBA setup, but they never work.

In addition, most of those tutorials are geared towards hybrid Linux/Windows environment. I do not have any microsoft product in my home. I have created the share on my server, but I'm not sure how to connect to it from the laptop (once again at this point in the tutorials it explains how to access it from a Windows PC). I tried using the menu doing this:

Places-->Connect To Server-->Service Type-->Windows Share (for the server I tried my server hostname and IP) to no avail. Does anyone know of a recent step by step tutorial for setting up a complete Ubuntu environment? Is there a simpler method I can use since I do not particularly need to use SMB protocol?

All I want to do is share my music folder from my server so I can access it (from the same LAN) on my laptop...Arrrghhh frustrating.

View 8 Replies View Related

Ubuntu :: File Preview In Nautilus On 11.04 On Networked Home Drive

Aug 2, 2011

We have recently upgraded to ubuntu 11.04 64bit from 10.04 and 10.10 in a networked office in which our home directories are mounted on a server raid array. Ubuntu considers that the home directory is a local drive rather than on a networkWe have noticed that file preview are very very slow in 11.04 for pdf's and pictures in nautilus, causing a lag of around 10 seconds for each file. This can cause a problem for folders which hold multiple files which can be previewed. Preview worked fine in previous versions of ubuntu on the same machine, with the same network setup. Previewing of actual local files works faster, but is slower on 11.04, than previous versions.

Both the 10.10 and 11.04 systems are up to date with available updates (11.04 - 2.32.2.1 and 2.30.1 on ubuntu 10)Obviously, there is a work around for this problem - turn off preview. But, it would be nice to turn it on as its a useful feature.

View 1 Replies View Related

Server :: How To Mirroring Two Hard Disk Drive In Rhel9 Server?

Jul 3, 2010

pls suggest me how to mirroring two hard disk drive in rhel9 server.i can do raid on those hard drive but user requer mirroring.so pls help how could i do this, mirror two hard drive.

View 2 Replies View Related

Software :: Log File Size When Mirroring With LVM2

Feb 11, 2010

I'm going to be using LVM2 to mirror 2 250GB drives for redundancy and fault-tolerance. As per the best docs I have found on mirroring [URL], I am going to keep the log file on a separate physical volume, however I can't seem to find anywhere a good reference for how much size I need to save for the log file. Everything says "small," but "small" doesn't really help in the real world :-).

I have plenty of space on the 3rd pv but want to leave as much of it as possible for other stuff. Should I leave 32MB ? 500MB ? 1GB?

View 1 Replies View Related

Server :: Mirroring A Mail That Is On Fedora 8?

Feb 11, 2010

I have a mail server on Fedora 8. I would like to have a mirror to this server so that it takes over in case my server goes down.I dont know how to go about it.

View 1 Replies View Related

Server :: Root Mirroring In SUSE 10.1?

Dec 27, 2010

I want to mirror root hard disk in SUSE LINUX 10.1.I have two 80G hard disks, I searched in google but I did not find any good link to describe this.

Code:

Server1:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 16G 1.2G 14G 8% /
udev 1.3G 140K 1.3G 1% /dev

[code]....

View 8 Replies View Related

Server :: Root Mirroring On Redhat?

Jan 20, 2010

Is root mirroring is supported in RHEL /RHAS operating systems? If so, how to find out whether the root mirroring is enabled or not?

View 4 Replies View Related

Server :: Mirroring A Mail Server That Is On Fedora 8?

Feb 11, 2010

I have a mail server on Fedora 8. I would like to have a mirror to this server so that it takes over in case my server goes down

View 3 Replies View Related

Server :: Network Disk Mirroring Of >16TB XFS Volumes?

Jul 29, 2011

I'm setting up two media servers - one will be primary and the second will be the failover box if the first one dies. My original plan was to use Heartbeat and DRBD to replicate the first to the second, but it turns out DRBD has a limitation of 16TB per volume, and my RAID 6 is 30TB in size. I'm trying to figure out some options.

One is to split the partition into two, so it's under the 16TB limit of DRBD, share both partitions, and then use LVM to join them as a single volume at the OS level. I'm not sure what kind of performance hit that will make on read/write access since now it will need to go through LVM *and* DRBD.

Two is to use something like GlusterFS or XtreemFS. However, I am wary of both of those as the first is a FUSE-based system and isn't really tuned for performance, and XtreemFS is still kind of beta-ish.

Three is good old rsync, but that is a bit too asynchronous in my opinion. I'd like to be able to fail over virtually instantly and not lose any content.This is a production system and performance of the disk systems are paramount, followed by reliability.

View 2 Replies View Related

Ubuntu Servers :: Deciding File System For File Server (samba)?

Jan 7, 2011

I'm planning to add 1tb sata disk to my lovely file-server under ubuntu 10.10,what i want is use this disk as additional storage for network user,indows and ubuntu?I mean when my ubuntu server down (worse case) I can easily take out the disk from ubuntu machine and plug in on windows machine

View 2 Replies View Related

Ubuntu :: Samba - Windows Read Files From A Home File Server With An Ext4 File System?

Jan 28, 2011

Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?

View 4 Replies View Related

Server :: Build A Redundant, High-availability File Server System?

Mar 23, 2010

I am kinda stuck while providing solution for the above problem. I have achieved the fail over using keepalived but not sure how can we replicate the data from one server to other seamlessly and have them in sync with each other. My prime requirement for this project is end user should not notice the fail over and replicated copy of data should be available on the secondary as well.

View 3 Replies View Related

CentOS 5 Server :: NFS Performance With Files Not Yet Cached By The Server File System?

Feb 25, 2009

I have a weird performance issue with a centos 5 running a nfs server and a rh8 client. I think the fact that it is rh8 client should be downplayed. It is just that with rh8 client the performance degradation seems more clear. See test details below OS in server is Centos 5 x86_64 kernel 2.6.18-92.1.22.el5

1Gb connection between machines File to test over NFS is a 1GB file. First of all I wanted to measure how the network alone performs while using NFS. So in the server side I run a "cat" command on the 1GB file to /dev/null. Please note that the disk read speed is about 98MBs. At this point the file system has the 1GB file cached in memory. In the client side a "cat" on the same file gives me a speed of about 113MBs. It seems then that the bottleneck in this instance is the network and it is very close to nominal speed. So the network performance is really good. (BTW I know that the server got that file from cache because a vmstat or iostat shows no disk activity.)

The second test is reading from disk with no caching involve. In the server I flushed the 1GB file from the memory. For instance by reading another 5GB file and I repeat the same thing as above in the client (a cat on the 1GB file). Now, the server has to go to disk.(vmstat or iostat shows the disk activity). However the performance, now, is about 20MBs, I was expecting something closer so 90MBs. (since the reading speed in the server in the first test showed 98MBs).

This second test was repeated for ext2, ext3, xfs with no significant differences. A similar test using a RH8 NFS server and client gets me close to 60MBs for a 1GB file not cache by the file system in the serverSince network speeds and disk read speeds are not the bottlenecks ... what or where is the limiting factor then?

View 4 Replies View Related

General :: Simple Way To Umount NFS Mount In System?

Oct 25, 2010

I've mounted a share using standard nomenclature for the NFS mount command with the following command line:

mount -t nfs -o rw {IP address1}:/ /mnt_for_70 / {IP address2}(rw)

mnt_for_70 is a mount point I created on {IP address2}

I'm confuse and want to be sure I use the correct command on the correct host to correctly umount the nfs share.

Would I execute umount /mnt_for_70 on {IP address2}

Not sure if such a simple command will work. As this is a semi-production host pair, I hesitate to just umount so simply & I have no test systems to try this on...

View 2 Replies View Related

Server :: File System Type For An Application Server Appliance?

Feb 8, 2010

We are trying to define an appliance for an application server so I would like to know which should be the best file system type for this kind of use, basically our web applications uses libraries of 50 KB and our web apps.creates temp and logs files not bigger than 3 MB.

View 1 Replies View Related

Fedora :: Configuring Fedora Directory Server For Mirroring?

Mar 16, 2010

I have installed fedora-ds-1.0.4-1.FC6.x86_64.opt.rpm on RHEL 5 Enterprise, which I use for Oracle BIEE. Now I need to install the FDS in another RHEL 5 and mirror only the FDS.

configure the mirroring part for the Fedora Directory Server.

View 3 Replies View Related

Server :: Proxy Server Software Based On Simple Logging Requirements

May 18, 2010

we need to log web access of a certain set of users for analysis. We decided to setup a proxy server which just logs all the requests but does not do anything else like caching/access control etc.All users will be using a fixed set of computers and hence we can redirect their requests to the proxy. I came across Squid, but found it to be too heavy for our requirements. Is there any other proxy-server software that is good enough for what we want or is Squid the only way?

View 1 Replies View Related

Server :: Make Application Server That Would Contain Simple Ones Like Edit / Openoffice / Gim

Mar 16, 2011

I am trying to make an application server that would contain simple ones like edit, openoffice, gimp, so on and so forth. I know how to access these using ssh but what I want is that the application runs on that server as it already does, but to open local files and save them locally.

View 7 Replies View Related

General :: Make Simple Website In System Using Bash Scripting?

Apr 3, 2011

How to made a simple website in linux using bash scripting.

View 3 Replies View Related

Slackware :: What Is The Most Streamlined And Reliable, Simple, Rock Solid System?

Jan 20, 2010

I would like to ask your opinion on what is the most streamlined and reliable, simple, rock solid system :1.) OpenSolaris2.) Slackware3.) FreeBSDMy personal opinion is that Slackware is the best......but I want to know other's opinions, since, i know nothing on OpenSolaris, and FreeBSD.

View 14 Replies View Related







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