问题描述:主库OEL791 IP:192.168.133.150 service name:orcl150;备库OEL792 IP:192.168.133.51 service name:orcl151
在搭建DG主备库验证时,主备库相互连接时报错ORA-12543,如下图所示
解决方案:启动主备库监听,关闭防火墙
测试主备库是否能ping通,分别在主备库执行以下语句
主库:
ping 192.168.133.151
tnsping orcl151
备库:
ping 192.168.133.150
tnsping orcl150
测试OK后,主备库正常连接,如下所示: