Setting up the OracleAS Disaster Recovery Environment
d.
Figure 10–3 Entry for Oracle Data Guard in the Internal DNS Servers
Production Site
asinfra = 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.
b.
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.
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.
remote_infra = 213.2.2.110
remote_infra = 138.1.2.111
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
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.
In the hosts file, be sure that the line that identifies the
Note:
current node comes immediately after the localhost definition (the
line with the 127.0.0.1 address).
127.0.0.1
localhost
138.1.2.333 asmid1.oracle.com
138.1.2.444 asmid2.oracle.com
138.1.2.111 asinfra.oracle.com asinfra
On each node on the standby site, include these lines in the hosts file. The IP
addresses resolve to nodes on the standby site.
Standby Site
asinfra = 213.2.2.110
asmid1
asmid2
Need help?
Do you have a question about the Application Server B32100-01 and is the answer not in the manual?