Get the App
SLTechnology News&Howtos  ›  Database  › 

What are the ways for Oracle Rac to add nodes?

Shulou Source: shulou.com Published: 2022-05-31 12:57:05 09月28日 Update

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.

Tags: Node instance script cluster configuration method host content more directory grid software help login selection yes operating system binary enterprise enterprise management Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Xiaomi Linux macOS OPPO Reno