设置本机为主服务器模式:
[informix@test ~]$ onmode -d primary ontest02
出现的日志信息为:
[@more@]
[informix@test etc]$ onstat -m
02:02:55 On-Line Mode
02:03:43 DR: Reservation of the last logical log for log backup turned on
02:03:43 DR: new type = primary, secondary server name = ontest02
02:03:43 DR: Trying to connect to secondary server = ontest02
02:03:44 DR: Turned off on primary server
02:03:44 DR: Local and Remote server type and/or last change(LC) incompatible
[Local type: Primary, LC: Standard to Primary mode]
[Remote type: Primary, LC: ]
02:03:44 DR: Cannot start the Primary server when the paired server is of
incompatible (Primary or Standard) type. Please convert
the paired server to compatible (Secondary) type.
[informix@test etc]$
原因是sqlhosts里面的第二个主机名写的有问题,本来应该写test02的,写成test了。
ontest onsoctcp test 12345
ontest02 onsoctcp test02 12345
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/312079/viewspace-1004056/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/312079/viewspace-1004056/