Mirroring Logic?

Dec 7, 2006

my setup to start:

I've got two servers is two different locations.

one of them, the master server ( we'll call server A ), runs a large web site with a lot of content and a mysql server.

I've setup another server ( we'll call server B ), that is completely in sync with server A, both mysql and all data using mysql replication and rsync for data.

also I've setup round robin dns, which is also working correctly.

Now, my question is:

if server A goes down, and server B picks up after it.
how can i get those changes that were made on server B back in sync with server A when it comes back up. example, a use uploads files, or posts/edits/deletes data from mysql.

how should i handle this?

any ideas would be great, I'm sort on stuck on this one for the moment.

View 2 Replies


ADVERTISEMENT

Mod_rewrite And Boolean Logic?

May 2, 2007

If I want to apply a rule if (Condition A and (Condition B OR Condition C)) is true, will the following work?

RewriteCond Condition A
RewriteCond Condition B [OR]
RewriteCond Condition C

Or will the following?

RewriteCond Condition B [OR]
RewriteCond Condition C
RewriteCond Condition A

Or neither? Or both?

View 2 Replies View Related

Start Logic Customer

Mar 13, 2008

I found this forum from a friend at DP. I told her what was happening to me, and she suggested that I lay it all out here.

I wanted to try to make a site maybe 3-4 months ago, so I looked for a web host. I chose [url]

All was well until maybe 2 weeks ago. Every page that relied on a mysql database began loading very slowly. These are WP blogs. I waited a few days and contacted support @ Start Logic. They said it would have to go to level 2 tech support, but they would get an answer/ fix within 24 hours.

After 4 days, I had not heard from them. So I went to their online chat tech support for an answer. After 1.5 hours of waiting, I reached customer service. The lady began by telling me that I needed to mail them some screen shots of the problem. Then she put me on hold and came back with this auto response:

Harriet Anderson: I apologize for any inconvenience this has caused you.

Harriet Anderson: Our Network Operations team is aware of the MySQL issues which is responsible for the slow running Web site. To find a fast alternative, we have already set-up a new team of Engineers who will only be monitoring the load on the MySQL servers.

Harriet Anderson: Upgrades could be the best alternative, but we are actually trying to find the reason behind the cause of the issue. You might have a question about why did it take so long to get this settled. The team had to search each server to trap the account which was using high amount of server resources. We have now found the cause of the issue and it was only because of few customers the load on our MySQL server was very high.

Harriet Anderson: These customers were utilizing very high amount of the server resources. Now that we have deactivated the scripts and accounts of these customers, you will not find irregular disturbance while accessing your Web site. To improve the performance, we will be adding more hardware which should actually help the current servers in boosting the server performance.

I told her that I needed someone with particular knowledge to contact me. I told her that my sites that use the databases are now worthless, and that it is not getting better. It is now taking 20 seconds to 4 minutes to load a page that is on a database.

For pages that aren't, they load in less than a second. That was maybe 3 days ago, and no one from start logic has contacted me.

My friend at DP is a computer guru. She says that StartLogic is full of *hit taking 2 weeks to find the cause of my msql being slow. I don't know one way or the other.

Please tell me: does something not seem right? I'm not happy at all, and I feel like I am being cheated. 2 weeks ago all was well. Now I'm screwed, and they are not responding with solutions. What do I do?

The effected domains are in my sig.

View 17 Replies View Related

Apache User Authentication Logic ...

May 11, 2009

I'd appreciate if you can point out some links, or if anyone is willing to help me for a fee, we can talk about it.

I have a web application called MyApp

- Each MyApp user has 5gb hosting, and a web interface to manage their files.

- Therefore MyApp user gets a user account on linux machine and has access to only one directory /repo/usr/<user_id> and nowhere else. (suexec?)

- If that MyApp user creates a subdomain from any folder inside his home folder (he can do that using web interface), that folder is readable by www-data user not writable.

- That myapp user is able to mount/unmount his own ftp drives using curlftpfs.

- In short, users can only mess with their own files and they have no access nor rights to any other file that is outside of their home dir.

In short, this is a kind of hosting company server setup. Right now, we will have to manage all this from -only- one powerful server.

View 2 Replies View Related

My Experience (Start Logic/Known Host)

Jul 22, 2008

About one year ago, I decided to setup a wiki for a speech and debate club. Being a complete rookie, I fell for one of the fake review sites and chose start logic. After all... the ad said that the web hosting plans were mediwiki compatible.

With a lot of learning on my part, I managed to get mediawiki installed only to find out that light usage by just myself and my daughters would cause the website to stop working due to a "max number of querries exceeded" error. There was no way that this could be used for an entire club! Support from Start Logic was slow and basically limited to... "yup, that's the limit"... might I offer you a VPS?

My wife had already set up the club website using Start Logic, so I did not want to move her to new technology so qiuckly. So I purchased a separate VPS... but with known host, because I was not going to reward a Start Logic for what I felt was false advertising.

Support from Known Host has been fast and understanding, even as I'm learning and ask some ocassionaly clueless questions. In a year of usage, I have not had any downtime and performance has been great.

One year later, I have taught my wife to use a new web authoring package for the club web site... and canceling my Start Logic account.

Known Host - Two thumbs up!

Start Logic - Two thumbs down!

View 4 Replies View Related

Postini / MX Logic / Message Labs

Jan 22, 2007

Has anyone done any comparisons between these companies.

I've tried reaching out to each and plan to do follow-ups .

3 calls, 2 phone convos with Postini and the local rep still has not called me back to discuss their offerings.

View 1 Replies View Related

Record Breaking Downtime By Newista (Some Logic Inc)

Aug 1, 2007

Its now 8 days and Newista (Some Logic Inc) is neither providing any support nor ending downtime of my sites.

Tickets submitted but no reply at all.

Is there any alive representative of above sucked web hosting company to answer ?

Newista -[url]
Some Logic - [url]

View 6 Replies View Related

Mirroring A VPS To Another

Apr 29, 2007

I have a VPS-A with company A, within, I have 30 accounts.

Now, I wish to split them with min-impact, ie VPS-A with company A and VPS-B with company B (looking for 1 if you can suggest 1 good VPS company) where VPS-B will host also all the accounts in VPS-A.

Then, I wish to be able to have VPS- B mirror to VPS-A and so, if VPS-A is down, my 100 clients in VPS-A will not be affected and automatically swing to VPS-B.

What is my investment and what should I do to acheive that?

Alternatively, I hope, dreamfully, that VPS-A and VPS-B will be both active and VPS-A are VPS-B mirror and vice-versa.

In VPS-A, I have client 1 - 50 active and client 51- 100 mirror from VPS-B and in VPS-B, I have client 51 - 100 active and client 1 - 50 mirror from VPS-A.

In anything, I can balance the load from both VPSs and if one of the VPS is down, I can swing to the other and still with min-impact.

Then, when my faulty VPS is up, how can I swing back the 50 client to the original VPS?

I hope that my client do not need to change their dns if there is a downtime and also, auto update both VPS if there is an content or email uipdate from my client.

In Short,

1. I'm looking for another good VPS

2. How do I achieve mirroring with auto update to 2nd VPS without having my client changing their DNS when my VPS is down.

3. How do I achieve mirroring and load-balancing between 2 VPS without having my ciient changing their DNS when one of it is down and how to restore back when VPS is up again.

View 5 Replies View Related

Mirroring Two Servers

Jun 20, 2007

I run a small company and we have a web based application accessed by our customers, this application lets our customers run their business, tracking working, producing parts orders, job cards, invoicing etc.

The database we use is SQL 2005, what we are trying to achieve is have another server, either alongside the existing one, or if it would work at another location where the data from one server is written to the other server, so in the event one server went down we could quickly switch to the second server, my questions -

1, Is this possible?
2, If it is what impact does it have on the performance of server one?
3, Do both servers have to be in the same location?
4, How easy is it to configure assuming its possible.
5, Is there anything else I should be aware of?

View 2 Replies View Related

Server Mirroring

Mar 22, 2007

We are considering buying rackspace at a datacenter, and setting up two servers. The first would be the primary, lets call it Stewie. The second is called Peter.

Is it possible to setup some sort of either software or hardware solution that automatically mirrors all data from Stewie to Peter automatically?

Basically we want a redundant setup, where if either one of the server fails, the other can take over without any interruption and loss of data.

View 11 Replies View Related

Server Mirroring?

Apr 9, 2008

I was wondering how I can mirror another server, I have a client website and they want redundant DNS so if one of their servers goes offline, the other will keep it up. Any ideas how I can set this up? Is it difficult to do?

View 7 Replies View Related

Mirroring Web Servers

Nov 21, 2007

We have a webportal that has a lot of data... and we have different versions of this portal in different languages (russian, italian, chinese).

Now for better performance in china we took a web hosting there and made a copy of the portal there...

It is working as expected but it is really hard to mantain different versions of portals on different servers with separated databases and all other important scripts...

Now we are making a rewrite of our system and this rewrite will use a central database and unified data (so a user of the local (eg chinese) portal will be a user of the global portal too!

Now the portal is based on cakePHP and mySQL... so the business logic scripts and the database are only one for all the portal versions. The only thing that changes for each portal are the config files (one per portal).

Now, making it work on one server is easy but we would like to make mirror servers in russia, china and italy. Lets call them B, C and D and the main server: A.

Obviously all the servers should be in synchronisation between themselves. I've read mySQL has a replication function that would deal with the DB synch. What about other files? The portal allows users to upload their photos, avatars, attach documents and video content. We would like this files to be synchronised too...
B<=>A
C<=>A
D<=>A

and not B<=>C
or B<=>D

How do we achive this?

View 5 Replies View Related

RAID 1 Or HDD Mirroring

Apr 2, 2008

I am looking for Backup Utility . Came across this two terms

Are RAID 1 & HDD mirroring synonyms?

Which is better RAID 1 & HDD mirroring?

View 14 Replies View Related

Mirroring Our Server

Jan 30, 2007

First of all appologies if this is posted in the wrong forum, was unsure of where to ask the following questions.

We have a web server running a web application accessed by a large number of users during a working day. On an evening the web server is set to back up the database to another web server at a different location.

The server is running SQL 2000 ( although we are just upgrading to SQL 2005)

My question is how easy would it be to setup our server so it "mirrors" to our back up server. What I mean by this is that at periods during a working day the database is transfered to our back up server at periodic intervals, say every 15 mins, so that in event we suffer a problem with our main server could re direct our users to our back up server, with little or no data loss?

If this is possible does it also put extra strain on our server that is being accessed, i.e. would users notice a slow down of server as data is moved about?

If all the above is possible, is there any easy way of pointing our domain name at the back up server within say 15mins or so of main server failure? if our main server went down we could not redirect users form main server to back up, so is there any method of making this happen in event of failure of main server?

View 4 Replies View Related

Website Mirroring

Jan 6, 2007

Does anybody know how I can mirror a websute using PHP?

I have 2 dif domains on different servers different OS, and I need PHP to collect the page from the other server from another domain.

View 1 Replies View Related

MSSQL Mirroring / Failover?

Jul 8, 2008

I'm building the infrastructure for a live event site.

I have specced 8 app servers but I'm still unsure with regards to MSSQL.

The site functionality makes a single write to the DB with no reads. A simple option would be to have a MSSQL DB instance on each of the APP servers and simply collate the information after the event.

I've also been looking at the mirroring function of 2005 as it would mean we could get away with two MSSQL servers instead of 8.

Has anyone used MSSQL 2005 Mirroring? Is it easy to setup and maintain? Any caveats?

View 1 Replies View Related

Benefits Of Software Mirroring?

May 16, 2005

I have two partitions on my server (C and D), looking to mirror both onto my second IDE drive for some fault tolerance.

Just wanted to know whether there are any real benefits in this.

Secondly, is it worth doing both the primary (c) and the data (d) partitions or having just the data partition and using the free space on the second drive for a backup solution (which would later send data to an off-site backup)?

View 1 Replies View Related

Mirroring Live Server...

Sep 4, 2006

I'm a web designer - not an IT guy, as such I'm not 100% on setting up servers/dev environments etc...

I'm freelance and currently working in-house for a client that has set up a dev server that supposedly mirrors their live site - its a catalogue site with loads of dynamic elements.

The dev site they've set up displays only the html, no images or stylesheets link up when i preview them in dreamweaver as they don't logically link to the page as the pages are templates drawn from various folders.

What I want to know is is it possible to mirror a dev server exactly like the live website so the scripts etc all work as they do on the live site. I'm pretty sure it is as I've worked on dev servers before but not one like this bloody mess. The IT bods here seem to think the dev server is the best that is achievable - are they right? am I missing something???

I can't really answer any technical questions apart from i think the dev server is an apache server - what do i need to explain to the IT bods to get my point across?

View 0 Replies View Related

Mirroring For MASSIVE Traffic

Jul 14, 2006

I want to prepare myself for getting dugg and whatnot, so I want to mirror my site ahead of tiem. The problem is that it's very db-intensive so there's a db that all mirrors would have to query. What's the best way to deal with multiple dedicated servers in order to spread traffic load and not crash my site?

View 3 Replies View Related

Mirroring And Dedicated Servers

Apr 3, 2006

We’ve been asked to offer a technical proposal for a new established TV station, and the IT manager of the station has a long list of requirements, we covered it all, only one issues lift as we never done it before:

They want about 20-100 GB server for hosting and they want to have a mirror server, incase the 1st server was down, so it would redirect the visitors to the mirror server, I'm thinking of getting them a dedicated or semi-dedicated server, but how do you do the mirror issue.
Some one said to get two dedicated servers, but::

1. How we make it that when one is down, it automatically directed to the other, I believe there is software’s for that, so were do we install this software: the original server or the mirror server.

2. Should they be from two different companies and to different countries?

3. The web site will be with CMS and DB, how do you make sure that the mirror server have all the new data that was updated in the 1st server’s DB, do they have like shared DB or something, and how..

Any other information, links, or suggested hosting sites for reliable dedicated server (with big bandwidth) would be greatly appreciated.. thanx

P.S. We use PHP/ MySql technology.

View 1 Replies View Related

Server Question About HDD Mirroring

May 21, 2008

Well I am looking to learn to manage a server (so I won't need to hire others to do what I can do). However I have some basic questions.

1) So lets say you have a server with two identical HDD's and raid 1?? or a SATA controller so that the second HDD is just a mirror of the first HDD when/if the first HDD dies does the SATA controller or RAID card see that the first HDD died and switch to the second HDD so the site that is hosted on the server stays online?? I am thinking yes as that would seem to be the point of having a raid or sata controller and setup ??

Part twoto the question is is their software that you need to install that will make the server email you when/if a HDD dies (so you can do pull the dead one out and replace it with a new one). Or is it just that you would watch some type of server log(s) to stay ontop of if the server is running all good??

Second is how common (these days) is it for a server that would be new and brand name have a HDD die or have some other hardware failure?

View 4 Replies View Related

Mirror/Mirroring Server

Jan 29, 2009

A great insight to alot of my research and thank you in advance for any advice given.

I have a server based in HK(with WHMCS) and host several websites. The speed and availability serves the Asia Pacific market/viewers well; but we have several new websites that also targets the European and North American viewers.

I have been researching on getting a dedicated server based in US to mirror our server. Therefore allowing the US/European market to access the website faster. Although we have a few problems (and very little budget to solve it too ;p)

1. We need to sync the two servers in real time ; rsync seems to be the best but is there any other reccomendations?

2. We will make the IP address in each servers the same, so our clients need not change their dns. Do we need IPcast/anycast?

3. Is there anything else that I may have oversight?

View 4 Replies View Related

Domain Name Server (DNS) Mirroring Question

Oct 17, 2006

This is my first post and had a question about dns and mirroring.

Here is the scenerio :

I have my main website on server1 and it is a whm cpanel server. The website is dynamic and database oriented website.

I have another server - server2 with whm installed on it and I wish to configure both the servers such a way that the data is synchronised on both the servers in particular intervals.

Also I would like to configure dns redundancy in such a way that if one server goes offline for some reason, the website should be immediately resolving from the other server.

View 8 Replies View Related

Data Mirroring Software (Windows)

Mar 28, 2008

What are some of the most popular data mirror programs out there? The only one I know of that seems to fit the bill so far is Double Take and it doesnt have a set price so i had to request a quote (ugh). FolderClone is no good, I need it to run as a service on 2k3 and constantly be running. It doesn't need to mirror things very quickly but it has to do it efficiently, as a background service, and has to work with folders that have a decent amount of activity.

View 1 Replies View Related

50+ Domains, What Is The Best Option? Seo, Mirroring, Forwarding, Etc?

Jul 22, 2008

I have a client that has one main ecommerce site and search engine ranking is very important.

They also have about 60 other domain names that are relevant to their main domain. example: pizzapie.com & cheesepizza.com.

The question I have is what would be the best way to utilize these domains without getting search engines mad (lose rank). Mirror? Forward? Or should I populate them with the same files? Or same files but change the text around as much as possible?

The last question is basically the same but they also have international domains with the same situation; pizzapie.jp, pizzapie.nz, etc. Would this be any different or does anyone have suggestions how to treat international domain names for ranking in US & the corresponding country?

View 7 Replies View Related

Mirroring/Imaging Drive From One Server To A New One?

Jun 22, 2009

I currently have a dedicated server with a single hard drive in it with about 800 cPanel accounts. I am purchasing a new server with identical specs but will have 2 hard drives in RAID1 from the same data center.

Is it possible to make an exact image of the first server to avoid any configuration loss on the new server? I have already spoke to the data center about moving the current IPs to the new server and I know moving the cPanel accounts can be done in WHM but I would like to preserve all of the server settings, configurations, and background scripts that I have running.

View 14 Replies View Related

100% Uptime / Database Syncing - Mirroring

Mar 21, 2008

I have a web and database server (on a Cartikahosting clustered shared Windows host) that provides gift and fleet card authorization to various desktop clients I have throughout the USA and Canada. The database is MySQL and my site is written in ASP.

Even at 99.9% uptime I still have significant problems with downtime and when my site is down, none of my customers can use their prepaid or fleet cards to buy services. Over the past six months my web server has gone down or the database server has had problems, such that my site has been down at least once a month for enough time that my customers have complained to me.

I have decided to add a second authorization server (on a Jodohost shared host)such that if my clients try to reach server1.com (not my actual site, example only - I will provide my site name in private messages only) but server1.com fails to respond, the desktop clients will try to use a second server I want to set up at Jodohost server2.com (also example only).

Is it possible to set up real-time database syncing / mirroring such that I can actually have two redundant servers without running the risk of the servers becoming unsynced?

Any other process or configuration you would recommend? Even moving to a dedicated server won't guarantee me 100% uptime, and my thought that having two independent 99.9% uptime servers would virtually guarantee me 100% uptime if I could get the configuration and set up worked out.

View 3 Replies View Related

Mirroring Live Drive Daily?

Mar 22, 2008

I would like to create an exact copy of my live drive on a daily basis via cron. Is there a good mechanism for doing this *without* taking the main drive offline? It seems like the two common backup solutions: dd and rsync both have issues in this area. I don’t think Rsync can create an exact mirror (including partitions) and dd looks like you need to unmount the drive(s) first.

Both drives are of identical size and installed via the ide controller.

View 7 Replies View Related

Mirror/Mirroring Server Solution

Oct 29, 2007

My company requires a Mirrored Server setup. I hope someone can direct me to the right solution which guarantees the least downtime.

- We have 20+ php/mysql websites.
- We need two dedicated servers hosted in 2 different datacentres.
- Users are directed to the first server.
- If the first server is down the users are automatically directed to the 2nd server @ the 2nd datacentre.
- The software/hardware which redirects the users need to be fail proof or have an instant backup which takes over incase that goes down too.
- Data (databases and files) needs to be synced correctly to avoid data not being mirrored correctly.

I've done some reading and there is alot of mention of the DNS round and load balancers.

However, it seems these two options are also not fail proof.

Would appreciate if someone could simply outlining what system would be best for us for 100% uptime incase of server failure.

View 3 Replies View Related

Same Vbulletin On 2 Servers - Mirror/Mirroring

Dec 18, 2005

i am new to this and am in need of some help.. i have vbulletin 3.5.0 installed with photopost gallery and phpprobid auction...

I am hosted with fasthosts on a linux dedicated server, it is crap! it has been down 3 times in 1 month, the support is terrrible.. I have already movedit from pipex hosting due to lack of support for mysql. i canot keep moving my site, my brain will melt out of my ears ...

Can i link to my original install.. so if the fasthost server goes down,, could i have it directed to the old server? and can i keep the 2 databases current?

Hope i have explained it well enough... basically need a backup server setup for my vbulletin so, i dont lose potential new members..

View 9 Replies View Related







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