请按照以下步骤在ManageEngine Applications Manager中实现故障转移支持:
该安装程序包括一个主Applications Manager,一个辅助Applications Manager和一个公共数据库。主Applications Manager和辅助Applications Manager仅引用公共数据库。当主Applications Manager与数据库通信时,辅助Applications Manager仅侦听数据库。如果主服务器出现故障,则辅助服务器将接管。之后,初始主服务器将重新启动,并开始充当辅助服务器。
在安装故障转移之前(对于被管服务器):
|
假设我们要设置三个节点-node1,node2和node3。
Applications Manager:node1,node2
MSSQL数据库:node3
当node1Applications Manager发生故障时,node2Applications Manager将充当辅助服务器。
示例Nohup输出 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 当node1Applications Manager发生故障时,node2Applications Manager将完全启动并充当辅助服务器。发生故障转移时将触发电子邮件通知,在该故障转移中,您必须纠正发生故障的节点的问题。然后将其作为辅助服务器重新启动,现在将侦听另一个故障。 INFO | jvm 1 | 2013/08/05 01:09:47 | Monitoring the Primary Server at 192.168.1.3INFO | 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 注意:需要对企业设置中的每个探针实施以上步骤以进行故障转移。 |