镜像两台服务器 [英] Mirroring two servers

查看:95
本文介绍了镜像两台服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我即将开始一个新项目,并且已经讨论过有关镜像服务器和备份的托管问题。一个不同的团队正在提出一个镜像选项,其中服务器A具有一个托管提供商,服务器B具有另一个提供商。他们正在开发一种解决方案,可以检测服务器A何时关闭,以便它可以重定向到服务器B.



乍一看,我不确定是否可行。至少我认为我知道的是两个服务器都需要在同一个网络中,否则,一个域如何为两个不同的DNS工作。



我'我一直在做一些研究,到目前为止空手而归,并想知道这里是否有人可以对我们面临的这个问题有一些其他的意见。



谢谢!

Hello,

I'm about to start a new project and there is a hosting issue that has been discussed about mirroring the servers and having some backup.

A different team is proposing a mirroring option that has server A with one hosting provider and server B with another provider. They are working on a solution that will detect when server A is down so it can redirect to server B.

At first glance I'm not sure that's possible. At least what I think I know is that both servers would need to be within the same network or else, how can one domain work for two different DNS.

I've been doing some research and so far have come empty handed and was wondering if someone here could have some other input regarding this issue we are facing.

Thanks!

推荐答案

你是对的。



它至少需要一个第三个硬件(某种)负载均衡器)如果服务器A关闭则重定向。



我们主要的关注点是服务器A有一个提供商,服务器B是另一个提供商。我不知道是否可能。
You are right.

It would need to have at least a 3rd "hardware" (some sort of load balancer) to redirect if server A is down.

Our main "concern" is the fact that server A is with one provider and server B is what another provider. I don't know if that is possible or not.


可以通过单个前端完成负载均衡服务器和后端服务器可能是远程的,使用中间的代理服务器,如使用 MS ISA-Server(或其新名称Microsoft Forefront威胁管理网关)



但是 - 我不确定这是否在您的范围内...



*如果您愿意,我可以提供进一步的阅读说明



干杯,

Edo
It can be done via a single front end Load Balancing Server and Back End server possibly remote with proxy servers in the middle like using MS ISA-Server (or its new name Microsoft Forefront Threat Management Gateway).

But - I am not sure this is within your scope...

* If you want, I can provide further reading directions

Cheers,
Edo


好吧,我会尽力澄清它多一点。 (即使对我来说)



服务器A(SA)将与托管服务提供商A(HPA)。

服务器B(SB)将与托管服务提供商B(HPB)。



每台服务器都安装了网站和数据库。 SA应该是主服务器而SB只是作为备份。



首先,应该有某种过程在SB中更新数据库。



因此,当SA关闭时,进入该站点的人应该被重定向到SB,它已经或应该更新了数据库,所以对于访问者来说,这种重定向是透明的。



我们的问题是,如果它应该如何工作的想法可以通过代理,或负载平衡器,或只是通过DNS设置(指向来自不同服务器的多个IP的域)。
Well, I'll try to clarify it a little bit more. (even for me)

Server A (SA) will be with hosting provider A (HPA).
Server B (SB) will be with hosting provider B (HPB).

Each server has the website and the database installed. SA is supposed to be the primary server and SB would just be there as a backup.

First, there should be some sort of process that is updating the database in SB.

So, when, and if, SA goes down, people entering the site should be redirected to SB, that it has, or should have, the database updated, so for visitors this redirection is "transparent".

Our question is if that idea of how it should work can be done through proxys, or load balancers, or just through DNS settings (the domain pointing to several IPs from different servers).


这篇关于镜像两台服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆