ManageEngine® Applications Manager


企业版 - 双机热备

<< 上一页

主页

下一页 >>

企业版 - 使用PostgreSQL作为后端数据库服务器的双机热备

 

按照下面的步骤来配置ManageEngine Applications Manager双机热备:

 

单一数据库 - 多应用服务器架构

T该架构包括Applications Manager的主服务器、备用服务器和一个公用数据库服务器。当主服务器使用数据库的时候,备用服务器 至少监听数据库。当主服务器停机后,备用服务器接管数据库。然后,当主服务器重新启动后将自动切换为备用服务器模式。

 

热备设置

以3个节点为例:

节点1和2:Applications Manager服务器
节点3:MSSQL数据库服务器

 

            Diagrammatic expression for Failover Support

 

 

步骤1 - 在节点3安装并运行PGSQL数据库服务器。

 

下载Applications Manager。Postgres与产品捆绑,我们建议使用捆绑软件。

 

设置远程Postgres数据库服务器的步骤:

步骤2 - 在节点1安装Applications Manager

步骤3- 在节点2安装Applications Manager作为备用服务器。

现在你可以从服务窗口启动Applications Manager服务。在主服务器启动运行时这个安装不会完全开始。它听从于主服务器。同样可以在Appmanager_home\logs\wrapper.log中更改配置。

 

Note

 

在Linux系统中,你可以开始和跟踪启动过程如下:

nohup sh startApplicationsManager.sh &
Press ENTER
tail -f nohup.out

后台输出样本

 

INFO | jvm 1 | 2013/08/05 01:00:06 | Checking for the availablity of the Primary Server in the Database. Found an
entry.
INFO | jvm 1 | 2013/08/05 01:00:06 |
INFO | jvm 1 | 2013/08/05 01:00:06 | Trying to connect to the Primary Server at 192.168.1.3
INFO | jvm 1 | 2013/08/05 01:00:06 |
INFO | jvm 1 | 2013/08/05 01:00:07 | Please wait ...
INFO | jvm 1 | 2013/08/05 01:00:08 | ....Connected
INFO | jvm 1 | 2013/08/05 01:00:08 |
INFO | jvm 1 | 2013/08/05 01:00:08 |
INFO | jvm 1 | 2013/08/05 01:00:08 | Starting AdventNet Web NMS Standby Server. The Modules will be started
once it takes over as the Primary Server.
INFO | jvm 1 | 2013/08/05 01:00:08 |
INFO | jvm 1 | 2013/08/05 01:00:08 | Monitoring the Primary Server at 192.168.1.3
When node1Applications Manager goes down, node2Applications Manager will start up completely and will act as
secondary server. Email notifications will be triggered on occurrence of a failover where you have to correct the
issues with the node that is down. Then start it back as secondary which will now listen for another failure.
INFO | jvm 1 | 2013/08/05 01:09:47 | Monitoring the Primary Server at 192.168.1.3
INFO | jvm 1 | 2013/08/05 01:10:48 | Starting to do FailOver Tasks.
INFO | jvm 1 | 2013/08/05 01:11:08 | Process : AlertFE [ Started ]
INFO | jvm 1 | 2013/08/05 01:11:08 | Process : NmsMainFE [ Started ]
INFO | jvm 1 | 2013/08/05 01:11:08 |
INFO | jvm 1 | 2013/08/05 01:11:08 | Verifying connection with web server... verified
INFO | jvm 1 | 2013/08/05 01:11:08 |
INFO | jvm 1 | 2013/08/05 01:11:08 | Applications Manager started successfully.
INFO | jvm 1 | 2013/08/05 01:11:08 |
INFO | jvm 1 | 2013/08/05 01:11:08 | Please connect your client to the web server on port: 9095
INFO | jvm 1 | 2013/08/05 01:11:08 |
INFO | jvm 1 | 2013/08/05 01:11:09 | The new primary server is 192.168.1.4

Note: Above steps need to be implemented for each installation in the Enterprise setup for failover.

 

页首

 

<< 上一页

主页

下一页 >>

企业版 - 双机热备

简易升级