Questions tagged [mirroring]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
15 votes
6 answers
50k views

How to build a high availability Postfix system?

I'm needing to set up a remote mirror for a postfix server (where the content of both mail servers should be the same at any time). The idea is that if the main server comes down at some point the ...
VanHackman's user avatar
15 votes
5 answers
24k views

mirrored filesystem across a few servers

I'm looking for a solution to mirror or replicate one directory (or one filesystem) across a few Linux servers. Ideal solution would be one, which permits all servers read-write access. I also want it ...
vartec's user avatar
  • 6,237
14 votes
7 answers
17k views

What is a practical way to mirror an Amazon S3 bucket?

I want to mirror my Amazon S3 buckets. I want to do this because 1) I don't want all my data only existing with one provider; and 2) in case of software error or security breach I want to have the ...
Ben's user avatar
  • 173
12 votes
4 answers
4k views

Do disks in Raid-1 function outside of the raid?

Raid-1 is mirroring two disks (if I haven't messed up completely here :p). Does that mean that I could take one disk out and put it into another machine and it would work like a normal disk? Or does ...
Svish's user avatar
  • 7,237
11 votes
5 answers
18k views

LVM mirroring VS RAID1

Having learned a bit about LVM mirroring, I thought about replacing the current RAID-1 scheme I'm using to gain some flexibility. Problem is that according to what I found on the Internet, LVM is: ...
SyRenity's user avatar
  • 3,189
10 votes
2 answers
8k views

What's the difference between "mirror" and "raid1" in LVM?

On the lvconvert(8) man page it says: --type SegmentType Used to convert a logical volume to another segment type or to explicitly state the desired RAID1 segment type ("mirror" ...
Julian's user avatar
  • 222
8 votes
4 answers
966 views

Can RHEL6 servers be "copied"?

My company needs to setup a development server and we already have 2 production RHEL 6 servers working under a L4 switch. One of the solutions to setup the dev server was to simple copy all files ...
yhware's user avatar
  • 249
8 votes
1 answer
5k views

Can wget convert links within a local html document?

I know that wget can fetch a remote page and its dependencies and rewrite the html so that image src attributes reference the newly downloaded images. I am trying to convert local html files that ...
Kevin L.'s user avatar
  • 213
8 votes
1 answer
197 views

Configure Juniper M320 as Ethernet/STM transparent converter

There is Juniper M320. We need to move ALL the traffic from one port to another. Everything that comes to one port goes to another and vice versa. No snooping or any other processing is required. One ...
Konstantin's user avatar
7 votes
2 answers
811 views

convert 1x2TB HDD with LVM into 2x2TB HDD with RAID1+LVM or with LVM mirroring?

I have Ubuntu server with 1x2TB HDD and 1x128GB SSD (unused). There are 2 partitions: /boot, and a physical volume for LVM, which has 1 group and 5 logical volumes: /, /var/log, /home, /srv, /tmp. ...
chronos's user avatar
  • 578
7 votes
2 answers
2k views

How to implement partial mirroring in nginx?

I want to test an early new version of a server, and to do so I want to mirror part of the real requests that come to the production server on my testing server. The mirror module allows me do to ...
smellyarmpits's user avatar
6 votes
8 answers
10k views

Looking for a small, portable, port-mirroring ethernet switch

I recently had a mac go haywire, taking half a minute or more to get www.google.com loaded. Getting its owner to give up the machine for repair was like pulling teeth - they were insisting that it ...
user37244's user avatar
  • 312
6 votes
1 answer
2k views

High Availability NFS Server (Heartbeat/DRBD) long hang on clients when takeover occurs

We have a High Availability NFS environment using DRBD, heartbeat and nfs exposed to clients (Simular to the following https://help.ubuntu.com/community/HighlyAvailableNFS ). This seems to be a ...
leenix's user avatar
  • 81
5 votes
4 answers
1k views

Geographical DB synchronus mirroring

An architect in our company has designed a solution based on 64 bit SQL2005 Standard edition synchronous mirroring between a physical (4 quad core, 32GB RAM) server and a virtual DR server (4 virtual ...
SuperCoolMoss's user avatar
5 votes
5 answers
4k views

Sync/mirror directory with Rackspace Cloud files bucket

What tool can I use to synchronize the content of a local directory with that of a Rackspace Cloud Files bucket? I need a rsync-like application to do a mirror, not a backup application. What I want ...
gioele's user avatar
  • 194
5 votes
3 answers
9k views

Any disadvantages of using built-in software-RAID-1 on a Windows Server?

I have had some problems using hardware-RAID on a server. Now I'm planning to use the Windows Server built-in software-RAID-1 instead. The server will only be used for Business Administrations, so I ...
Jonas's user avatar
  • 1,223
5 votes
1 answer
5k views

lftp, setting for ignoring time-stamp?

I am using lftp for mirroring the files on a server to a PC. The problem for me is that as I put a batch of files on the PC that are exactly the same as the ones on the server, the mirroring starts of ...
user avatar
5 votes
1 answer
2k views

Selective mirroring over FTP

I need to keep my web page synchronized with a local directory. A very effective tool is lftp, which I use with the script: #!/bin/bash HOST='ftp.remote.it' USER='username' PASS='password'...
Massimo2013's user avatar
4 votes
4 answers
4k views

Statically mirroring a heavy trafficked site, CloudFlare as DNS

I run a fairly heavy trafficked website and due to some unfortunate incidents the machines that are in my cloud at Linode went down. And I have only a single Load Balancer machine exposed to the ...
Quintin Par's user avatar
  • 4,443
4 votes
2 answers
12k views

include/exclude files for "scp -r"

Supposed local folder as below: /test/subfolder /test/subfolder/file1.txt /test/subfolder/page1.htm /test/subfolder/page2.htm /test/.hiddenfolder /test/./hidenfolder/file2 How to exclude ....
jack's user avatar
  • 1,725
4 votes
6 answers
12k views

Oracle real time database mirroring

Does Oracle have any built-in features to support a master-slave mirroring mechanism ? I am looking to mirror/replicate the production server on to a read-only database. The read-only database would ...
Sathya's user avatar
  • 157
4 votes
2 answers
7k views

Mirroring harddisk with compressed files with Robocopy

I tried to mirroring an existing disks on a new disks with less space. It is very important that the file structure, attributes and ACL's are exact as on the source disk. For this I tried robocopy....
larkee's user avatar
  • 191
4 votes
4 answers
6k views

How do I mirror a MySQL database?

I'm running two load balanced servers for one website, and I'd like the databases to be synchronized. Queries may be run on either of the two servers because they are both production sites, so the ...
Matt's user avatar
  • 655
4 votes
2 answers
247 views

Build mirroring on top of SQL2008R2 SQL cluster

On our SharePoint 2010 farm, we are using SQL 2008 R2. Currently, a SQL cluster (with 2 SQL server sitting at same data center) is built to provide auto-failover. However, it has no DR ability. We ...
Mark's user avatar
  • 217
4 votes
1 answer
1k views

Redundancy level on a per file basis with BTRFS?

I would like to have one storage pool with multiple disks. Raid5 for metadata of course. But for user-data I would like to set the level of redundancy on a per file or per subvolume level. Can BTRFS ...
TilmanBaumann's user avatar
4 votes
3 answers
3k views

Clone/Mirror Live Linux (Debian) Server

I've probably read every serverfault article on this matter, but none seems to answer my specific question or they seem like dated methods. I have a live running debian (Lenny) system on Dell ...
Stephen Sotelo's user avatar
4 votes
1 answer
5k views

SQL mirroring or log-shipping - which has the least impact on a replicated database?

We're planning a server which is a clustered SQL2005 Enterprise 64bit with a database of which a subset of tables are replicated one way via transactional replication to single subscriber located at ...
SuperCoolMoss's user avatar
4 votes
1 answer
1k views

Error when add mirror in disk management window server 2012

I have a problem when add mirror in disk management window server 2012 The problem is: The operation failed to complete because the Disk Management console view is not up-to-date. Refresh the view by ...
hoan's user avatar
  • 41
4 votes
2 answers
393 views

Mirror/Cache Websites on a Mobile Server

I have been asked to determine the feasibility of mirroring or caching websites on a mobile server on a train. Unfortunately, this has been dropped on me at the last minute and I have to come up with ...
John Judd's user avatar
  • 173
4 votes
2 answers
3k views

How to handle one-way synchronization of two Oracle databases with no network connection?

Here's the situation: I have two Oracle 10g databases (with the same tables, etc.) that cannot be connected by network. At some regular intervals (say, once a day) I need to be able to update the ...
ColinD's user avatar
  • 143
4 votes
1 answer
4k views

Server 2012 (R2) - mirroring the boot drive... what is the state?

I struggle to find modern documentation here. So far we have been booting our servers from the main RAID controllers. Worked nice, but not we get the first of a new generation that hs in the back 2 ...
TomTom's user avatar
  • 51.9k
4 votes
1 answer
2k views

iptables + TEE doesn't work correctly

On my server, I want to duplicate all the traffic to an other host. I use iptables with TEE module: iptables -t mangle -A PREROUTING -i eth0 -j TEE --gateway IP_SERVER2 I check the rule: iptables -...
user155731's user avatar
3 votes
2 answers
20k views

SQL 2008 Mirroring, how to failover from the mirror database?

I have configured a database mirroring setup in SQL 2008 using the High-safety, Synchronous mode, without automatic failover. I don't have a Witness instance. Regarding high availability, I ...
user avatar
3 votes
2 answers
7k views

Copy/Mirror traffic to WAN interfaces without "iptables tee" support

I want to copy every outgoing packet to others WAN interfaces but my iptables (v1.2.7) has not TEE target support. I wonder if there is another way (maybe using iproute2 or ebtables) to copy every ...
MABC's user avatar
  • 203
3 votes
4 answers
3k views

How good is Server 2008's built-in Mirroring Solution?

I am using Server 2008 R2 on a Dell Poweredge T110 for a non-critical media server for a school. Since the PE does not have any kind of RAID capability, I am considering using Windows built in ...
Josh Brower's user avatar
  • 1,669
3 votes
2 answers
12k views

Hot swapping under RAID 1

I have a server that supports hot swapping (such as HP ProLiant DL160 G6 with hot swap) (spec) and I configure it for RAID 1 mirroring across 2 disks. Say one of the raid'ed disks then fails. Can I ...
52d6c6af's user avatar
  • 444
3 votes
2 answers
283 views

can I replicate systems using a RAID1 array?

I have four DL380-G5 servers. one is currently running RH5.2 using a RAID1 drive set. I want to replicate the first server to the other three. I am thinking I can yank one of the drives from the first ...
user avatar
3 votes
1 answer
1k views

Hyper-V Virtual Switch not recieving any packets

I have a virtual machine set up with two network cards, one card is connected to a virtual switch for connection to the main network, the second is connected to another external port on the host ...
reidi2000's user avatar
  • 131
3 votes
2 answers
1k views

Raid 1 or Windows Mirroring: Can I just detach one of the HDDs and use it?

I am deciding on RAID level and one feature (requirement) I like to have is to be able to (have the freedom) detach one of the RAID HDDs, plug it as a USB disk to my laptop and read/backup/recover its ...
Allan Xu's user avatar
  • 695
3 votes
1 answer
1k views

How do I specify what PVs are used for mirroring when adding a mirror in LVM to an existing LV?

I've got an existing VG containing a single LV on a RHEL server that consists of a handful of SAN disks. In an effort to migrate the server to a newer SAN, I'd like to mirror the existing storage to ...
warhorus's user avatar
3 votes
0 answers
1k views

Hyper-V and physical switch trunk port SPAN/mirroring

I'm new to the Hyper-V and trying to setup a lab. Here is my setup: Cisco switch with a SPAN port (configured to mirror in/out, replicate the encapsulation, source port for the span is a trunk). I ...
Maria's user avatar
  • 31
2 votes
6 answers
20k views

How do I mirror a folder (copy only missing and changed files recursively) in windows?

I'm trying to find a fast way to recursively update a folder and all subfolders from another folder. Obviously, a full delete and Xcopy would work but that is very slow. After the update, the ...
user avatar
2 votes
5 answers
7k views

Mirroring linux installation

I have a live server that I want to completely mirror to a 2nd server so if something were to happen to the live server the backup server could simply be plugged in and ready to go. How do I setup a ...
Ben's user avatar
  • 3,880
2 votes
8 answers
6k views

Windows Server Almost Real-Time Directory Replication

The environment Windows 2003 R2 Standard File server Windows 2003 Web Edition server The challenge Need a way to mirror a directory (or share) from the file server to the web server. It needs to ...
Chris_K's user avatar
  • 3,434
2 votes
2 answers
5k views

How to create a Mirror of an NFS Share?

For back-up and restoration purposes the purpose of retiring an old server, I will need to create a perfect mirror image of an NFS share. This mirror is not a simple re-direct, but rather, an exact ...
Phanto's user avatar
  • 911
2 votes
1 answer
27k views

Virtual Disk Degraded

There is a physical DC with a Raid 1 Mirror, 2 Physical Disks, 500GB each. Dell Server Administrator is installed on the DC, and is reporting both physical disks are fine, online, in a good state etc. ...
PnP's user avatar
  • 1,684
2 votes
3 answers
321 views

Unix server mirroring solution

We have three servers running Ubuntu Server 10.04, load balancing between them through DNS. We use Django, nginx to serve content and PostgresQL as database. For PostgresQL, there are some mirroring ...
smugglerFlynn's user avatar
2 votes
5 answers
4k views

What's a simple app to mirror a folder of files (windows) to a remote server (linux)?

I have a windows box that I want to sync with a remote computer. Changes on the windows box should be reflected on the remote computer. Files are never changed remotely so it really just needs to be ...
blak3r's user avatar
  • 731
2 votes
1 answer
4k views

Mirror directory, only purging files in destination directory older than 7 days

I would like to mirror a directory, but only delete files in the destination directory older than 7 days. Situation: - Directory A is mirrored to Directory B. - A file from Directory A is deleted I ...
user1905482's user avatar
2 votes
2 answers
2k views

How to transfer large files between two remotes by using a third machine?

I need to automatically mirror a large amount (terabytes) of files in two unix machines over a slow link (1 Mbps). This needs to be done frequently, but the data doesn't change too much (delta ...
loopbackbee's user avatar
  • 1,405