点击此处展开
pg_ctl.exe register -N "ManageEngine ADAudit Plus - Database" -D ..\data -S demand
listen_addresses = '*'
host all all 127.0.0.1/32 md5
host all all <DB Server ip addr >/32 md5
host all all <Primary Server ip addr>/32 md5
host all all <Standby Server IP addr>/32 md5
host all all <Public ip addr>/32 md5
url=jdbc:postgresql://localhost:33307/adap
wrapper.exe -i ..\conf\wrapper.conf
xnode.host = <DataEngine server name>
xnode.location = remote
xnode.connector.accept_remote_request=true
ManageEngine ADAudit Plus - DateEngine
insert into adshaconfiguration values (<查询结果1 +1>, 3, '<主服务器名称>', '<备用服务器名称>', 'Postgres', '<公网 IP>', '', '', null)
对于 Microsoft SQL:
insert into adshaconfiguration values (<查询结果1 +1>, 3, '<主服务器名称>', '<备用服务器名称>', 'mssql', '<公网 IP>', '', '', null)
在主服务器和备用服务器中,复制
#特定服务器 - 使用 ipconfig 查找 IP 地址
ipaddr=<ip4 地址>
#特定服务器 - 运行 iflist.exe,从结果中使用“适配器名称”
publicIP.Ifname=<适配器名称>
#特定服务器 - 使用 ipconfig 查找子网掩码
publicIP.netmask=<子网掩码>
#高可用性共用 IP,应为静态 IP
publicIP.ipaddr=<共用 IP 地址>
#共享名称
repl.remoteinstallationDir=
wrapper.conf
wrapper.event.wrapper_stop.command.argv.2=<待解绑公网 IP>
wrapper.event.wrapper_stop.command.block=TRUE
#wrapper.event.wrapper_stop.command.block.timeout=20
wrapper.event.wrapper_stop.command.on_exit.0=CONTINUE
wrapper.event.wrapper_stop.command.on_exit.default=CONTINUE
module-startstop-processors.xml
value="com.manageengine.ads.fw.ha.HAVersionHandler"/>
<configuration name="StartDBServer" value="false"/>
product_detail.conf
IS_HA_ENABLED=true

注意:这里,ADAP-DC1 是数据库服务器,ADAP-MS2 是主服务器,ADAP-MS3 是备用服务器。
版权所有 © 2020, ZOHO Corp。保留所有权利。