【问题标题】:pgool2 watchdog not listening on Virtual IP interfacepgool2 看门狗不在虚拟 IP 接口上监听
【发布时间】:2014-06-17 15:08:29
【问题描述】:

我在复制模式下设置了一个 pgpool,看门狗有一个虚拟 IP(未使用的 IP)。 pgpool 和看门狗启动成功完成。

使用指定 IP 192.168.143.95 创建虚拟 eth0:0 接口。 pgPool 配置为在 5432 端口运行

当尝试连接到虚拟 IP:port 时,psql 命令psql -h 192.168.143.95 -p 5432 -l psql: could not connect to server: Connection refused Is the server running on host "192.168.143.95" and accepting TCP/IP connections on port 5432?

显然,虚拟 IP 地址的任何端口上都没有侦听套接字。 有没有人有类似的工作配置? 虚拟 IP 地址是否有一些未指定的要求(例如与 pgpool 接口相同的子网)?

我将感谢任何关于为什么这可能不起作用的建议。

非常感谢

【问题讨论】:

    标签: watchdog pgpool


    【解决方案1】:

    您需要将虚拟 IP 的网络掩码与 pg 实例的范围相同。还要确保您没有打开防火墙。

    【讨论】:

      猜你喜欢
      • 2013-11-21
      • 2021-09-16
      • 1970-01-01
      • 2013-09-07
      • 1970-01-01
      • 2023-03-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多