Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the ways for Oracle Rac to add nodes?

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces how to add nodes to Oracle Rac. The content is very detailed. Interested friends can use it for reference. I hope it will be helpful to you.

There are two ways to add nodes:

1. Clone an existing grid home directory.

Clone Grid: you can execute clone.pl scripts manually or you can Oracle Enterprise Manager.

two。 Use the addNode.sh script.

Prerequisites:

1. Configure public and private networks

two。 Configure the operating system

3. Configure shared storage (the new node does not create ASM disks, only scans.)

Cluster information:

Rac1 、 Rac2 、 Rac3

Examples: orarac1, orarac2, orarac3

Add cluster rac4, instance orarac4

Pre-installation inspection

1. Cluster verification

. / runcluvfy.sh stage-pre crsinst-n rac1,rac2,rac3,rac4-r 11gR2

. / runcluvfy.sh stage-pos hwos-n rac4

Or:

. / cluvfy stage-pos hwos-n rac4

Comparative configuration

$/ cluvfy comp peer-refnode rac1-n rac4-orainv oinstall-osdba asmdba-r 11gR2

Pre-add test

$cluvfy stage-pre nodeadd-n rac4

two。 Execute addNode.sh script

Distribute the grid infrastrunchture binaries on the existing cluster nodes to the nodes to be added to the cluster.

$addNode.sh-silent "CLUSTER_NEW_NODES= {rac4}"CLUSTER_NEW_VIRTUAL_HOSTNAME= {rac4-vip}"

If you configure GNS, you do not need to provide a new node virtual hostname, and GNS automatically assigns the hostname and IP.

3. Install Oracle softwar

The existing node executes, and the shell script addNode.sh in the $ORACLE_HOME/oui/bin directory calls OUI to copy the software to the new node.

Log in to Oracle on any node, set environment variables, and silently call:

$. / addNode.sh-silent "CLUSTER_NEW_NODES= {rac4}"

Finally, execute the root.sh script.

4. Create an instance

Run on the first node to create an instance in the new node

Log in to rac4 as Oracle

$ORACLE_HOME/bin/dbca

...

Select add Instance,Next

...

Enter the orarac4 instance name and select rac4 as the node name.

During creation, ask if you want to extend the ASM instance to rac4, and select Yes.

What is the way to add nodes to Oracle Rac to share here, I hope the above content can be of some help to you, you can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report