728x90

The following shows the steps to use ontape with this process.


On the primary

1. Edit the HDR configuration parameters (DRAUTO, DRTIMEOUT,DRINTERVAL, DRLOSTFOUND, DRIDXAUTO and, optionally,

LOG_INDEX_BUILDS) in the $ONCONFIG file.

2. Add entries to the $INFORMIXSQLHOSTS and /etc/services files for network connections.


중요: sqlhosts 파일의 nettype 필드 또는 레지스트리 및 NETTYPE 구성 매개변수를 ontlitcponsoctcp 또는 ontlispx와 같은 네트워크 프로토콜로 설정하여 서로 다른 두 컴퓨터에 있는 데이터베이스 서버가 서로 통신할 수 있도록 하십시오. nettype 필드가 onipcshmonipcstr 또는 onipcnmp와 같은 비네트워크 프로토콜을 지정하면 HDR이 작동하지 않습니다.


3. Modify the /etc/hosts.equiv or the .rhosts file for the informix user ID to enable trusted communication.

4. Make sure the databases to be replicated are in logged mode.

5. Send a copy of the primary instance $ONCONFIG file to the secondary server.

6. Run ontape -s -L 0.

7. Run onmode -d primary secondary_server.


On the secondary

1. Add entries to the $INFORMIXSQLHOSTS and /etc/services files for network connections.

2. Modify the /etc/hosts.equiv or the .rhosts file for the informix user ID to enable trusted communication.

3. Modify the onCONFIG parameters for the secondary server: DBSERVERNAME and DBSERVERALIASES.

4. Make sure that all chunk paths are created, have the correct permissions, and ensure there is enough space on the disks for the data to reside.

5. Run ontape -p.

6. If necessary, run onmode -l to roll forward any logical logs that may have been saved on the primary before the secondary physical restore is finished.

7. Run onmode -d secondary primary_server.

728x90

'Informix > informix reference' 카테고리의 다른 글

INFO Statement  (0) 2011.11.11
IDS Interoperability with Other Products  (0) 2011.11.03
ON-Bar configuration parameters on Informix  (0) 2011.10.24
Uninstalling ISM  (0) 2011.10.24
Setting Up ISM on UNIX  (0) 2011.10.24

+ Recent posts