Advertisement

Friday, August 17, 2018

Oracle Database - 18c - RAC Node Addition (RAC DB Home Clone)

This Blog is in continuation with my last blog on GI Clone / Node Addition

In this blog I am going to clone the Oracle Database Home to the newly added Node to the cluster. 


Step 1 - Precheck on the new node
[grid@rac18c03 bin]$ cd /u01/app/180/grid/bin
[grid@rac18c03 bin]$ ./cluvfy stage -pre dbinst -n rac18c03

Pre-check for database installation was successful.

CVU operation performed:      stage -pre dbinst
Date:                         Aug 17, 2018 6:02:55 AM
CVU home:                     /u01/app/180/grid/
User:                         grid


Step 2 - Create required Directories (on New Node)
mkdir -p /u01/app/oracle/product/180/db
chown -R oracle:oinstall  /u01/app/oracle

Step 3   Clone the Database Home
[As oracle on Node 1]
(Log file can be found /u01/app/oraInventory/logs folder)
[oracle@rac18c01 ~]$ /u01/app/oracle/product/180/db/addnode/addnode.sh -silent CLUSTER_NEW_NODES={rac18c03}

Prepare Configuration in progress.

Prepare Configuration successful.
..................................................   7% Done.

Copy Files to Remote Nodes in progress.
..................................................   12% Done.
..................................................   18% Done.
..............................
Copy Files to Remote Nodes successful.
You can find the log of this install session at:
 /u01/app/oraInventory/logs/addNodeActions2018-08-17_06-08-12AM.log

Instantiate files in progress.

Instantiate files successful.
..................................................   52% Done.

Saving cluster inventory in progress.
..................................................   89% Done.

Saving cluster inventory successful.
The Cluster Node Addition of /u01/app/oracle/product/180/db was successful.
Please check '/u01/app/oracle/product/180/db/inventory/silentInstall2018-08-17_06-08-12AM.log' for more details.

Setup Oracle Base in progress.

Setup Oracle Base successful.
..................................................   96% Done.

As a root user, execute the following script(s):
        1. /u01/app/oracle/product/180/db/root.sh

Execute /u01/app/oracle/product/180/db/root.sh on the following nodes:
[rac18c03]


Successfully Setup Software.
..................................................   100% Done.

Step 4 - Run root.sh on new Node
[root@rac18c03 ~]# /u01/app/oracle/product/180/db/root.sh
Check /u01/app/oracle/product/180/db/install/root_rac18c03.novalocal_2018-08-17_06-14-21-403498876.log for the output of root script


No comments:
Write comments