我创建了一个包含 2 台服务器的集群,并开发了一个示例应用程序。我可以从这些服务器的 IP 地址(10.0.0.3:7002/sample/和 10.0.0.4:7002/sample/)访问此应用程序,但我不知道这个集群是否正常工作。我可以从一个地址访问此 Web 应用程序吗?像我的集群地址:7002/样本/。
您可以通过
两种方式完成此任务...
第一路
You need to create a Load balancer(F5) to the both the servers which automatically manages the traffic and serves the user requests...
第二种方式
You have to a dns cutover for that website...it's same as above task almost.