Using shared storage to build Oracle dual-host Load

Source: Internet
Author: User
Tags db2 installation
Use shared storage to build Oracle dual-machine load. Of course, you can use rsync to synchronize the configuration files on the two machines to ensure high availability.

Use shared storage to build Oracle dual-machine load. Of course, you can use rsync to synchronize the configuration files on the two machines to ensure high availability.

Using shared storage to build Oracle dual-host Load
Preparation environment: two servers and one storage

Shows the basic principles:

Environment:

Shared storage: 172.16.0.5
DB1:
Eth0: 192.168.1.1
Eth1: 172.160.1
Vip: 192.168.1.5
DB2:
Eth0: 192.168.1.2
Eth1: 172.160.2
Vip: 192.168.1.5

Details

1. Create a data storage directory on shared storage
/Dev/oradata/

2. Create a mount directory and mount shared storage on DB1 and DB2.
/Oradata

3. DB1 Installation
Install the database on the shared storage according to the oracle installation method, and then uninstall the mounted shared storage;

4. DB2 Installation
Uninstall DB1 shared storage, and change the name of the directory under DB1 data directory on the shared storage;
Mount the shared storage to DB2;
Synchronize the installation configurations of DB1 on db2;

5. Unmount and share the data to DB2 and mount it to DB1 so that the DB1 environment can be restored to the state of the first data creation;
Once DB1 encounters a problem, Mount DB1vip to DB2 and enable the DB2 database. In this way, the DB2 environment is equivalent to DB1 before the fault;

6. Of course, you can use rsync software to synchronize the configuration files on the two machines to ensure high availability. See

,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.