Oracle B32100-01 User Manual

Page 190

Advertising
background image

Setting up the OracleAS Disaster Recovery Environment

10-6

Oracle Application Server Installation Guide

Do the same for the nodes on the standby site, but use the IP address of the
internal DNS server for the standby site.

d.

Create a separate entry for Oracle Data Guard in the internal DNS servers.
This entry is used by Oracle Data Guard to ship redo data to the database on
the standby site.

In the next example, the "remote_infra" entry points to the infrastructure node
on the standby site. This name is used by the TNS entries on both the
production and standby sites so that if a switchover occurs, the entry does not
have to be changed.

Figure 10–3

Entry for Oracle Data Guard in the Internal DNS Servers

On the production site, the DNS entries look like this:

asmid1.asha IN A 138.1.2.333

asmid2.asha IN A 138.1.2.444

asinfra.asha IN A 138.1.2.111

remote_infra.asha IN A 213.2.2.110

On the standby site, the DNS entries look like this:

asmid1.asha IN A 213.2.2.330

asmid2.asha IN A 213.2.2.331

asinfra.asha IN A 213.2.2.110

remote_infra.asha IN A 138.1.2.111

Method 2:

Edit the /etc/hosts file on each node on both sites. This method does

not involve configuring DNS servers, but you have to maintain the hosts file on
each node in the OracleAS Disaster Recovery environment. For example, if an IP
address changes, you have to update the files on all the nodes, and restart the
nodes.

Method 2 Details

a.

On each node on the production site, include these lines in the /etc/hosts
file. The IP addresses resolve to nodes on the production site.

127.0.0.1 localhost

138.1.2.333 asmid1.oracle.com asmid1

138.1.2.444 asmid2.oracle.com asmid2

138.1.2.111 asinfra.oracle.com asinfra

b.

On each node on the standby site, include these lines in the hosts file. The IP
addresses resolve to nodes on the standby site.

Note:

In the hosts file, be sure that the line that identifies the

current node comes immediately after the localhost definition (the
line with the 127.0.0.1 address).

Production Site

Standby Site

remote_infra = 213.2.2.110

asinfra = 138.1.2.111

asinfra = 213.2.2.110

remote_infra = 138.1.2.111

Advertising