Thursday, February 26, 2026

21c_GI_Installation_using_grid_&_19c_OH_Installation_using_oracle_&_19c_DECA_DB_Creation

21c_GI_Installation_using_grid_&_19c_OH_Installation_using_oracle_&_19c_DECA_DB_Creation


Step 1: Download and copy the 21c GI & DB software into Linux VM
Step 2: Create 12c GI and 19c DB home directory
Step 3: Unzip 21c GI software into GI Home 
Step 4: Install the oracle pre-requisite packages 
Step 5: Verify the oracle/grid users and groups 
Step 6: Set the password for grid and oracle user
Step 7: Change the ownership for GI and DB home locations 
Step 8: Verify the disks are added to Linux server 
Step 9: Configure the oracleasm library 
Step 10: Create ASM portioned disks from virtual disks
Step 11: Install the GI software from grid user 
Step 12: Run the root scripts as root user 
Step 13: Verify the ASM Instance & Inventory 
Step 14: Download and copy the 19c DB software into Linux VM and unzip 
Step 15: Login to oracle user and Install the Oracle Software
Step 16: Run the root scripts as root user 
Step 17: Login to grid user and create RECO disckgroup using asmca 
Step 18: Create database DECA using dbca 
Step 19: Verify the DECA Database and Instance 
Step 20: Verify the DECA databas alert log
Step 21: Final post verification of ASM Instance, DACA Database Instance, ASM storage, Clusterware


Logs:
++++++

Step 1: Download and copy the 21c GI software into Linux VM
+++++++
[root@oralab1 ~]# mkdir -p /u01/patches

[root@oralab1 ~]# cd /u01/patches
[root@oralab1 patches]# mkdir -p 21c/GI
[root@oralab1 patches]# mkdir -p 19c/DB

[root@oralab1 patches]# ll /u01/patches/*/*
19c/DB:
total 0

21c/GI:
total 1048512
-rw-r--r--. 1 root root 711524352 Feb 13 14:47 V1011504-01.zip
[root@oralab1 patches]#

[root@oralab1 patches]# ping google.com
PING google.com (142.251.214.142) 56(84) bytes of data.
64 bytes from sfo03s32-in-f14.1e100.net (142.251.214.142): icmp_seq=1 ttl=115 time=1.89 ms
64 bytes from sfo03s32-in-f14.1e100.net (142.251.214.142): icmp_seq=2 ttl=115 time=1.91 ms
64 bytes from sfo03s32-in-f14.1e100.net (142.251.214.142): icmp_seq=3 ttl=115 time=1.88 ms
64 bytes from sfo03s32-in-f14.1e100.net (142.251.214.142): icmp_seq=4 ttl=115 time=1.94 ms
64 bytes from sfo03s32-in-f14.1e100.net (142.251.214.142): icmp_seq=5 ttl=115 time=1.91 ms
64 bytes from sfo03s32-in-f14.1e100.net (142.251.214.142): icmp_seq=6 ttl=115 time=1.88 ms
64 bytes from sfo03s32-in-f14.1e100.net (142.251.214.142): icmp_seq=7 ttl=115 time=1.90 ms
^C
--- google.com ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6011ms
rtt min/avg/max/mdev = 1.885/1.905/1.940/0.059 ms

Step 2: Create 12c GI and 19c DB home directory
+++++++
[root@oralab1 patches]# mkdir -p /u01/app/21.0.0.0/grid
[root@oralab1 patches]# mkdir -p /u01/app/grid
[root@oralab1 patches]# chmod -R 775 /u01/

[root@oralab1 patches]# mkdir -p /u01/app/oracle/product/19.0.0.0/dbhome_1
[root@oralab1 patches]# mkdir -p /u01/app/oracle

Step 3: Unzip 21c GI software into GI Home 
+++++++
[root@oralab1 patches]# cd 21c/GI/
[root@oralab1 GI]# ll
total 2365448
-rwxrwxr-x. 1 root root 2422217613 Feb 13 14:47 V1011504-01.zip
[root@oralab1 GI]# unzip V1011504-01.zip -d /u01/app/21.0.0.0/grid
Archive:  V1011504-01.zip
  inflating: /u01/app/21.0.0.0/grid/gridSetup.sh
   creating: /u01/app/21.0.0.0/grid/addnode/
<<<<<<<<<<<<<Truncated >>>>>>>>>>>>>>>>>>>>

<<<<<<<<<<<<<Truncated >>>>>>>>>>>>>>>>>>>>

<<<<<<<<<<<<<Truncated >>>>>>>>>>>>>>>>>>>>

<<<<<<<<<<<<<Truncated >>>>>>>>>>>>>>>>>>>>

    linking: /u01/app/21.0.0.0/grid/lib/libagtsh.so  -> libagtsh.so.1.0
    linking: /u01/app/21.0.0.0/grid/lib/libjavavm.a  -> ../javavm/jdk/jdk8/lib/libjavavm.a
    linking: /u01/app/21.0.0.0/grid/lib/libclntsh.so  -> libclntsh.so.21.1
    linking: /u01/app/21.0.0.0/grid/javavm/lib/jce.jar  -> ../../javavm/jdk/jdk8/lib/jce.jar
    linking: /u01/app/21.0.0.0/grid/jdk/bin/ControlPanel  -> jcontrol
    linking: /u01/app/21.0.0.0/grid/javavm/admin/cbp.jar  -> ../../javavm/jdk/jdk8/admin/cbp.jar
    linking: /u01/app/21.0.0.0/grid/lib/libclntshcore.so  -> libclntshcore.so.21.1
    linking: /u01/app/21.0.0.0/grid/jdk/jre/bin/ControlPanel  -> jcontrol
    linking: /u01/app/21.0.0.0/grid/javavm/admin/libjtcjt.so  -> ../../javavm/jdk/jdk8/admin/libjtcjt.so
    linking: /u01/app/21.0.0.0/grid/javavm/admin/classes.bin  -> ../../javavm/jdk/jdk8/admin/classes.bin
    linking: /u01/app/21.0.0.0/grid/javavm/lib/security/cacerts  -> ../../../javavm/jdk/jdk8/lib/security/cacerts
    linking: /u01/app/21.0.0.0/grid/javavm/lib/security/README.txt  -> ../../../javavm/jdk/jdk8/lib/security/README.txt
    linking: /u01/app/21.0.0.0/grid/javavm/lib/sunjce_provider.jar  -> ../../javavm/jdk/jdk8/lib/sunjce_provider.jar
    linking: /u01/app/21.0.0.0/grid/javavm/lib/security/java.security  -> ../../../javavm/jdk/jdk8/lib/security/java.security
    linking: /u01/app/21.0.0.0/grid/jdk/jre/lib/amd64/server/libjsig.so  -> ../libjsig.so
 extracting: /u01/app/21.0.0.0/grid/install/.img.bin
  inflating: /u01/app/21.0.0.0/grid/install/files.lst
finishing deferred symbolic links:
  /u01/app/21.0.0.0/grid/bin/lbuilder -> ../nls/lbuilder/lbuilder
  /u01/app/21.0.0.0/grid/lib/libocci.so -> libocci.so.21.1
  /u01/app/21.0.0.0/grid/lib/libagtsh.so -> libagtsh.so.1.0
  /u01/app/21.0.0.0/grid/lib/libjavavm.a -> ../javavm/jdk/jdk8/lib/libjavavm.a
  /u01/app/21.0.0.0/grid/lib/libclntsh.so -> libclntsh.so.21.1
  /u01/app/21.0.0.0/grid/javavm/lib/jce.jar -> ../../javavm/jdk/jdk8/lib/jce.jar
  /u01/app/21.0.0.0/grid/jdk/bin/ControlPanel -> jcontrol
  /u01/app/21.0.0.0/grid/javavm/admin/cbp.jar -> ../../javavm/jdk/jdk8/admin/cbp.jar
  /u01/app/21.0.0.0/grid/lib/libclntshcore.so -> libclntshcore.so.21.1
  /u01/app/21.0.0.0/grid/jdk/jre/bin/ControlPanel -> jcontrol
  /u01/app/21.0.0.0/grid/javavm/admin/libjtcjt.so -> ../../javavm/jdk/jdk8/admin/libjtcjt.so
  /u01/app/21.0.0.0/grid/javavm/admin/classes.bin -> ../../javavm/jdk/jdk8/admin/classes.bin
  /u01/app/21.0.0.0/grid/javavm/lib/security/cacerts -> ../../../javavm/jdk/jdk8/lib/security/cacerts
  /u01/app/21.0.0.0/grid/javavm/lib/security/README.txt -> ../../../javavm/jdk/jdk8/lib/security/README.txt
  /u01/app/21.0.0.0/grid/javavm/lib/sunjce_provider.jar -> ../../javavm/jdk/jdk8/lib/sunjce_provider.jar
  /u01/app/21.0.0.0/grid/javavm/lib/security/java.security -> ../../../javavm/jdk/jdk8/lib/security/java.security
  /u01/app/21.0.0.0/grid/jdk/jre/lib/amd64/server/libjsig.so -> ../libjsig.so
[root@oralab1 GI]#

Step 4: Install the oracle pre-requisite packages 
+++++++
[root@oralab1 GI]# yum install oracle* --skip-broken
Loaded plugins: langpacks, ulninfo
Package oracle-logos-70.7.0-1.0.7.el7.noarch already installed and latest version
Package oracle-spacewalk-client-release-el7 is obsoleted by oracle-linux-manager-client-release-el7, trying to install oracle-linux-manager-client-release-el7-1.0-2.el7.x86_64 instead
Package oracle-spacewalk-server-release-el7 is obsoleted by oracle-linux-manager-server-release-el7, trying to install oracle-linux-manager-server-release-el7-1.0-4.el7.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package oracle-ceph-release-el7.x86_64 0:1.0-2.el7 will be installed
---> Package oracle-database-preinstall-18c.x86_64 0:1.0-1.el7 will be installed
--> Processing Dependency: compat-libcap1 for package: oracle-database-preinstall-18c-1.0-1.el7.x86_64
--> Processing Dependency: compat-libstdc++-33 for package: oracle-database-preinstall-18c-1.0-1.el7.x86_64
--> Processing Dependency: ksh for package: oracle-database-preinstall-18c-1.0-1.el7.x86_64
--> Processing Dependency: libaio-devel for package: oracle-database-preinstall-18c-1.0-1.el7.x86_64
---> Package oracle-database-preinstall-19c.x86_64 0:1.0-3.el7 will be installed
---> Package oracle-database-preinstall-21c.x86_64 0:1.0-1.el7 will be installed
---> Package oracle-database-server-12cR2-preinstall.x86_64 0:1.0-5.el7 will be installed
---> Package oracle-epel-release-el7.x86_64 0:1.0-4.el7 will be installed
---> Package oracle-gluster-release-el7.x86_64 0:1.0-9.el7 will be installed
---> Package oracle-golang-release-el7.x86_64 0:1.0-12.el7 will be installed
---> Package oracle-graalvm-ce-release-el7.x86_64 0:1.0-2.el7 will be installed
---> Package oracle-instantclient-release-el7.x86_64 0:1.0-3.el7 will be installed
---> Package oracle-linux-manager-client-release-el7.x86_64 0:1.0-2.el7 will be installed
---> Package oracle-linux-manager-server-release-el7.x86_64 0:1.0-4.el7 will be installed
---> Package oracle-nodejs-release-el7.x86_64 0:1.0-9.el7 will be installed
---> Package oracle-olcne-release-el7.x86_64 0:1.0-13.el7 will be installed
---> Package oracle-openstack-release-el7.x86_64 0:1.0-2.el7 will be installed
---> Package oracle-ovirt-release-el7.x86_64 0:1.0-3.el7 will be installed
---> Package oracle-php-release-el7.x86_64 0:1.0-5.el7 will be installed
---> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-6.el7 will be installed
---> Package oracle-rdbms-server-12cR1-preinstall.x86_64 0:1.0-7.el7 will be installed
---> Package oracle-release-el7.x86_64 0:1.0-4.el7 will be installed
---> Package oracle-software-release-el7.x86_64 0:1.0-1.el7 will be installed
---> Package oracle-softwarecollection-release-el7.x86_64 0:1.0-4.el7 will be installed
---> Package oracleasm-support.x86_64 0:2.1.11-2.el7 will be installed
---> Package oraclelinux-developer-release-el7.x86_64 0:1.0-6.el7 will be installed
---> Package oraclelinux-release.x86_64 7:7.9-1.0.9.el7 will be updated
---> Package oraclelinux-release.x86_64 7:7.9-1.0.13.el7 will be an update
---> Package oraclelinux-release-el7.x86_64 0:1.0-13.1.el7 will be updated
---> Package oraclelinux-release-el7.x86_64 0:1.0-17.el7 will be an update
--> Running transaction check
---> Package compat-libcap1.x86_64 0:1.10-7.el7 will be installed
---> Package compat-libstdc++-33.x86_64 0:3.2.3-72.el7 will be installed
---> Package ksh.x86_64 0:20120801-144.0.1.el7_9 will be installed
---> Package libaio-devel.x86_64 0:0.3.109-13.el7 will be installed
--> Processing Conflict: oracle-linux-manager-client-release-el7-1.0-2.el7.x86_64 conflicts oracle-linux-manager-server-release-el7
--> Running transaction check
---> Package oracle-linux-manager-client-release-el7.x86_64 0:1.0-2.el7 will be installed
--> Running transaction check
---> Package compat-libcap1.x86_64 0:1.10-7.el7 will be installed
---> Package compat-libstdc++-33.x86_64 0:3.2.3-72.el7 will be installed
---> Package ksh.x86_64 0:20120801-144.0.1.el7_9 will be installed
---> Package libaio-devel.x86_64 0:0.3.109-13.el7 will be installed
---> Package oracle-ceph-release-el7.x86_64 0:1.0-2.el7 will be installed
---> Package oracle-database-preinstall-18c.x86_64 0:1.0-1.el7 will be installed
---> Package oracle-database-preinstall-19c.x86_64 0:1.0-3.el7 will be installed
---> Package oracle-database-preinstall-21c.x86_64 0:1.0-1.el7 will be installed
---> Package oracle-database-server-12cR2-preinstall.x86_64 0:1.0-5.el7 will be installed
---> Package oracle-epel-release-el7.x86_64 0:1.0-4.el7 will be installed
---> Package oracle-gluster-release-el7.x86_64 0:1.0-9.el7 will be installed
---> Package oracle-golang-release-el7.x86_64 0:1.0-12.el7 will be installed
---> Package oracle-graalvm-ce-release-el7.x86_64 0:1.0-2.el7 will be installed
---> Package oracle-instantclient-release-el7.x86_64 0:1.0-3.el7 will be installed
---> Package oracle-linux-manager-server-release-el7.x86_64 0:1.0-4.el7 will be installed
---> Package oracle-nodejs-release-el7.x86_64 0:1.0-9.el7 will be installed
---> Package oracle-olcne-release-el7.x86_64 0:1.0-13.el7 will be installed
---> Package oracle-openstack-release-el7.x86_64 0:1.0-2.el7 will be installed
---> Package oracle-ovirt-release-el7.x86_64 0:1.0-3.el7 will be installed
---> Package oracle-php-release-el7.x86_64 0:1.0-5.el7 will be installed
---> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-6.el7 will be installed
---> Package oracle-rdbms-server-12cR1-preinstall.x86_64 0:1.0-7.el7 will be installed
---> Package oracle-release-el7.x86_64 0:1.0-4.el7 will be installed
---> Package oracle-software-release-el7.x86_64 0:1.0-1.el7 will be installed
---> Package oracle-softwarecollection-release-el7.x86_64 0:1.0-4.el7 will be installed
---> Package oracleasm-support.x86_64 0:2.1.11-2.el7 will be installed
---> Package oraclelinux-developer-release-el7.x86_64 0:1.0-6.el7 will be installed
---> Package oraclelinux-release.x86_64 7:7.9-1.0.9.el7 will be updated
---> Package oraclelinux-release.x86_64 7:7.9-1.0.13.el7 will be an update
---> Package oraclelinux-release-el7.x86_64 0:1.0-13.1.el7 will be updated
---> Package oraclelinux-release-el7.x86_64 0:1.0-17.el7 will be an update
--> Finished Dependency Resolution

Packages skipped because of dependency problems:
    oracle-linux-manager-client-release-el7-1.0-2.el7.x86_64 from ol7_latest

Dependencies Resolved

==========================================================================================================================================================
 Package                                                 Arch                   Version                                  Repository                  Size
==========================================================================================================================================================
Installing:
 oracle-ceph-release-el7                                 x86_64                 1.0-2.el7                                ol7_latest                  14 k
 oracle-database-preinstall-18c                          x86_64                 1.0-1.el7                                ol7_latest                  18 k
 oracle-database-preinstall-19c                          x86_64                 1.0-3.el7                                ol7_latest                  27 k
 oracle-database-preinstall-21c                          x86_64                 1.0-1.el7                                ol7_latest                  26 k
 oracle-database-server-12cR2-preinstall                 x86_64                 1.0-5.el7                                ol7_latest                  19 k
 oracle-epel-release-el7                                 x86_64                 1.0-4.el7                                ol7_latest                  14 k
 oracle-gluster-release-el7                              x86_64                 1.0-9.el7                                ol7_latest                  15 k
 oracle-golang-release-el7                               x86_64                 1.0-12.el7                               ol7_latest                  15 k
 oracle-graalvm-ce-release-el7                           x86_64                 1.0-2.el7                                ol7_latest                  12 k
 oracle-instantclient-release-el7                        x86_64                 1.0-3.el7                                ol7_latest                  14 k
 oracle-linux-manager-server-release-el7                 x86_64                 1.0-4.el7                                ol7_latest                  17 k
 oracle-nodejs-release-el7                               x86_64                 1.0-9.el7                                ol7_latest                  14 k
 oracle-olcne-release-el7                                x86_64                 1.0-13.el7                               ol7_latest                  15 k
 oracle-openstack-release-el7                            x86_64                 1.0-2.el7                                ol7_latest                  14 k
 oracle-ovirt-release-el7                                x86_64                 1.0-3.el7                                ol7_latest                  16 k
 oracle-php-release-el7                                  x86_64                 1.0-5.el7                                ol7_latest                  14 k
 oracle-rdbms-server-11gR2-preinstall                    x86_64                 1.0-6.el7                                ol7_latest                  22 k
 oracle-rdbms-server-12cR1-preinstall                    x86_64                 1.0-7.el7                                ol7_latest                  21 k
 oracle-release-el7                                      x86_64                 1.0-4.el7                                ol7_latest                  14 k
 oracle-software-release-el7                             x86_64                 1.0-1.el7                                ol7_latest                  13 k
 oracle-softwarecollection-release-el7                   x86_64                 1.0-4.el7                                ol7_latest                  14 k
 oracleasm-support                                       x86_64                 2.1.11-2.el7                             ol7_latest                  85 k
 oraclelinux-developer-release-el7                       x86_64                 1.0-6.el7                                ol7_latest                  14 k
Updating:
 oraclelinux-release                                     x86_64                 7:7.9-1.0.13.el7                         ol7_latest                  64 k
 oraclelinux-release-el7                                 x86_64                 1.0-17.el7                               ol7_latest                  22 k
Installing for dependencies:
 compat-libcap1                                          x86_64                 1.10-7.el7                               ol7_latest                  17 k
 compat-libstdc++-33                                     x86_64                 3.2.3-72.el7                             ol7_latest                 190 k
 ksh                                                     x86_64                 20120801-144.0.1.el7_9                   ol7_latest                 882 k
 libaio-devel                                            x86_64                 0.3.109-13.el7                           ol7_latest                  12 k
Skipped (dependency problems):
 oracle-linux-manager-client-release-el7                 x86_64                 1.0-2.el7                                ol7_latest                  17 k

Transaction Summary
==========================================================================================================================================================
Install                        23 Packages (+4 Dependent packages)
Upgrade                         2 Packages
Skipped (dependency problems)   1 Package

Total size: 1.6 M
Total download size: 1.5 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/ol7_latest/packages/compat-libcap1-1.10-7.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Public key for compat-libcap1-1.10-7.el7.x86_64.rpm is not installed
(1/27): compat-libcap1-1.10-7.el7.x86_64.rpm                                                                                       |  17 kB  00:00:00
(2/27): compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm                                                                                | 190 kB  00:00:00
(3/27): libaio-devel-0.3.109-13.el7.x86_64.rpm                                                                                     |  12 kB  00:00:00
(4/27): ksh-20120801-144.0.1.el7_9.x86_64.rpm                                                                                      | 882 kB  00:00:00
(5/27): oracle-ceph-release-el7-1.0-2.el7.x86_64.rpm                                                                               |  14 kB  00:00:00
(6/27): oracle-database-preinstall-19c-1.0-3.el7.x86_64.rpm                                                                        |  27 kB  00:00:00
(7/27): oracle-database-preinstall-21c-1.0-1.el7.x86_64.rpm                                                                        |  26 kB  00:00:00
(8/27): oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm                                                                        |  18 kB  00:00:00
(9/27): oracle-database-server-12cR2-preinstall-1.0-5.el7.x86_64.rpm                                                               |  19 kB  00:00:00
(10/27): oracle-gluster-release-el7-1.0-9.el7.x86_64.rpm                                                                           |  15 kB  00:00:00
(11/27): oracle-epel-release-el7-1.0-4.el7.x86_64.rpm                                                                              |  14 kB  00:00:00
(12/27): oracle-golang-release-el7-1.0-12.el7.x86_64.rpm                                                                           |  15 kB  00:00:00
(13/27): oracle-instantclient-release-el7-1.0-3.el7.x86_64.rpm                                                                     |  14 kB  00:00:00
(14/27): oracle-graalvm-ce-release-el7-1.0-2.el7.x86_64.rpm                                                                        |  12 kB  00:00:00
(15/27): oracle-nodejs-release-el7-1.0-9.el7.x86_64.rpm                                                                            |  14 kB  00:00:00
(16/27): oracle-olcne-release-el7-1.0-13.el7.x86_64.rpm                                                                            |  15 kB  00:00:00
(17/27): oracle-openstack-release-el7-1.0-2.el7.x86_64.rpm                                                                         |  14 kB  00:00:00
(18/27): oracle-linux-manager-server-release-el7-1.0-4.el7.x86_64.rpm                                                              |  17 kB  00:00:01
(19/27): oracle-php-release-el7-1.0-5.el7.x86_64.rpm                                                                               |  14 kB  00:00:00
(20/27): oracle-ovirt-release-el7-1.0-3.el7.x86_64.rpm                                                                             |  16 kB  00:00:01
(21/27): oracle-rdbms-server-12cR1-preinstall-1.0-7.el7.x86_64.rpm                                                                 |  21 kB  00:00:00
(22/27): oracle-release-el7-1.0-4.el7.x86_64.rpm                                                                                   |  14 kB  00:00:00
(23/27): oracle-software-release-el7-1.0-1.el7.x86_64.rpm                                                                          |  13 kB  00:00:00
(24/27): oracle-softwarecollection-release-el7-1.0-4.el7.x86_64.rpm                                                                |  14 kB  00:00:00
(25/27): oracleasm-support-2.1.11-2.el7.x86_64.rpm                                                                                 |  85 kB  00:00:00
(26/27): oraclelinux-developer-release-el7-1.0-6.el7.x86_64.rpm                                                                    |  14 kB  00:00:00
(27/27): oracle-rdbms-server-11gR2-preinstall-1.0-6.el7.x86_64.rpm                                                                 |  22 kB  00:00:03
----------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                     267 kB/s | 1.5 MB  00:00:05
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Importing GPG key 0xEC551F03:
 Userid     : "Oracle OSS group (Open Source Software group) <build@oss.oracle.com>"
 Fingerprint: 4214 4123 fecf c55b 9086 313d 72f9 7b74 ec55 1f03
 Package    : 7:oraclelinux-release-7.9-1.0.9.el7.x86_64 (@anaconda/7.9)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : oraclelinux-release-el7-1.0-17.el7.x86_64                                                                                             1/31
  Updating   : 7:oraclelinux-release-7.9-1.0.13.el7.x86_64                                                                                           2/31
  Installing : ksh-20120801-144.0.1.el7_9.x86_64                                                                                                     3/31
  Installing : compat-libcap1-1.10-7.el7.x86_64                                                                                                      4/31
  Installing : libaio-devel-0.3.109-13.el7.x86_64                                                                                                    5/31
  Installing : compat-libstdc++-33-3.2.3-72.el7.x86_64                                                                                               6/31
  Installing : oracle-gluster-release-el7-1.0-9.el7.x86_64                                                                                           7/31
  Installing : oracle-ovirt-release-el7-1.0-3.el7.x86_64                                                                                             8/31
  Installing : oracle-rdbms-server-11gR2-preinstall-1.0-6.el7.x86_64                                                                                 9/31
  Installing : oracle-rdbms-server-12cR1-preinstall-1.0-7.el7.x86_64                                                                                10/31
  Installing : oracle-database-server-12cR2-preinstall-1.0-5.el7.x86_64                                                                             11/31
  Installing : oracle-database-preinstall-18c-1.0-1.el7.x86_64                                                                                      12/31
  Installing : oracle-database-preinstall-19c-1.0-3.el7.x86_64                                                                                      13/31
  Installing : oracle-database-preinstall-21c-1.0-1.el7.x86_64                                                                                      14/31
  Installing : oracle-softwarecollection-release-el7-1.0-4.el7.x86_64                                                                               15/31
  Installing : oracle-graalvm-ce-release-el7-1.0-2.el7.x86_64                                                                                       16/31
  Installing : oracle-linux-manager-server-release-el7-1.0-4.el7.x86_64                                                                             17/31

  Installing : oracle-olcne-release-el7-1.0-13.el7.x86_64                                                                                           18/31
  Installing : oracle-instantclient-release-el7-1.0-3.el7.x86_64                                                                                    19/31
  Installing : oracle-ceph-release-el7-1.0-2.el7.x86_64                                                                                             20/31
  Installing : oracle-release-el7-1.0-4.el7.x86_64                                                                                                  21/31
  Installing : oracle-openstack-release-el7-1.0-2.el7.x86_64                                                                                        22/31
  Installing : oracle-software-release-el7-1.0-1.el7.x86_64                                                                                         23/31
  Installing : oracle-golang-release-el7-1.0-12.el7.x86_64                                                                                          24/31
  Installing : oraclelinux-developer-release-el7-1.0-6.el7.x86_64                                                                                   25/31
  Installing : oracle-nodejs-release-el7-1.0-9.el7.x86_64                                                                                           26/31
  Installing : oracle-php-release-el7-1.0-5.el7.x86_64                                                                                              27/31
  Installing : oracle-epel-release-el7-1.0-4.el7.x86_64                                                                                             28/31
  Installing : oracleasm-support-2.1.11-2.el7.x86_64                                                                                                29/31
Note: Forwarding request to 'systemctl enable oracleasm.service'.
Created symlink from /etc/systemd/system/multi-user.target.wants/oracleasm.service to /usr/lib/systemd/system/oracleasm.service.
  Cleanup    : 7:oraclelinux-release-7.9-1.0.9.el7.x86_64                                                                                           30/31
  Cleanup    : oraclelinux-release-el7-1.0-13.1.el7.x86_64                                                                                          31/31
Enabling oVirt 4.3 required Yum Channels...
Enabling ol7_latest Yum Channel...
Enabling ol7_kvm_utils Yum Channel...
Enabling ol7_optional_latest Yum Channel...
Enabling ol7_gluster6 Yum Channel...
Required oVirt 4.3 Yum Channels enabled.
Done.
  Verifying  : oracle-gluster-release-el7-1.0-9.el7.x86_64                                                                                           1/31
  Verifying  : oracle-rdbms-server-11gR2-preinstall-1.0-6.el7.x86_64                                                                                 2/31
  Verifying  : oracle-softwarecollection-release-el7-1.0-4.el7.x86_64                                                                                3/31
  Verifying  : oracle-graalvm-ce-release-el7-1.0-2.el7.x86_64                                                                                        4/31
  Verifying  : oracle-linux-manager-server-release-el7-1.0-4.el7.x86_64                                                                              5/31
  Verifying  : oracle-rdbms-server-12cR1-preinstall-1.0-7.el7.x86_64                                                                                 6/31
  Verifying  : oraclelinux-release-el7-1.0-17.el7.x86_64                                                                                             7/31
  Verifying  : oracle-database-preinstall-21c-1.0-1.el7.x86_64                                                                                       8/31
  Verifying  : oracle-olcne-release-el7-1.0-13.el7.x86_64                                                                                            9/31
  Verifying  : oracle-instantclient-release-el7-1.0-3.el7.x86_64                                                                                    10/31
  Verifying  : oracle-ceph-release-el7-1.0-2.el7.x86_64                                                                                             11/31
  Verifying  : oracleasm-support-2.1.11-2.el7.x86_64                                                                                                12/31
  Verifying  : oracle-release-el7-1.0-4.el7.x86_64                                                                                                  13/31
  Verifying  : oracle-openstack-release-el7-1.0-2.el7.x86_64                                                                                        14/31
  Verifying  : oracle-software-release-el7-1.0-1.el7.x86_64                                                                                         15/31
  Verifying  : ksh-20120801-144.0.1.el7_9.x86_64                                                                                                    16/31
  Verifying  : oracle-database-preinstall-19c-1.0-3.el7.x86_64                                                                                      17/31
  Verifying  : 7:oraclelinux-release-7.9-1.0.13.el7.x86_64                                                                                          18/31
  Verifying  : oracle-ovirt-release-el7-1.0-3.el7.x86_64                                                                                            19/31
  Verifying  : oracle-database-server-12cR2-preinstall-1.0-5.el7.x86_64                                                                             20/31
  Verifying  : libaio-devel-0.3.109-13.el7.x86_64                                                                                                   21/31
  Verifying  : oracle-golang-release-el7-1.0-12.el7.x86_64                                                                                          22/31
  Verifying  : oraclelinux-developer-release-el7-1.0-6.el7.x86_64                                                                                   23/31
  Verifying  : oracle-database-preinstall-18c-1.0-1.el7.x86_64                                                                                      24/31
  Verifying  : compat-libcap1-1.10-7.el7.x86_64                                                                                                     25/31
  Verifying  : compat-libstdc++-33-3.2.3-72.el7.x86_64                                                                                              26/31
  Verifying  : oracle-nodejs-release-el7-1.0-9.el7.x86_64                                                                                           27/31
  Verifying  : oracle-php-release-el7-1.0-5.el7.x86_64                                                                                              28/31
  Verifying  : oracle-epel-release-el7-1.0-4.el7.x86_64                                                                                             29/31
  Verifying  : 7:oraclelinux-release-7.9-1.0.9.el7.x86_64                                                                                           30/31
  Verifying  : oraclelinux-release-el7-1.0-13.1.el7.x86_64                                                                                          31/31

Installed:
  oracle-ceph-release-el7.x86_64 0:1.0-2.el7                                    oracle-database-preinstall-18c.x86_64 0:1.0-1.el7
  oracle-database-preinstall-19c.x86_64 0:1.0-3.el7                             oracle-database-preinstall-21c.x86_64 0:1.0-1.el7
  oracle-database-server-12cR2-preinstall.x86_64 0:1.0-5.el7                    oracle-epel-release-el7.x86_64 0:1.0-4.el7
  oracle-gluster-release-el7.x86_64 0:1.0-9.el7                                 oracle-golang-release-el7.x86_64 0:1.0-12.el7
  oracle-graalvm-ce-release-el7.x86_64 0:1.0-2.el7                              oracle-instantclient-release-el7.x86_64 0:1.0-3.el7
  oracle-linux-manager-server-release-el7.x86_64 0:1.0-4.el7                    oracle-nodejs-release-el7.x86_64 0:1.0-9.el7
  oracle-olcne-release-el7.x86_64 0:1.0-13.el7                                  oracle-openstack-release-el7.x86_64 0:1.0-2.el7
  oracle-ovirt-release-el7.x86_64 0:1.0-3.el7                                   oracle-php-release-el7.x86_64 0:1.0-5.el7
  oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-6.el7                       oracle-rdbms-server-12cR1-preinstall.x86_64 0:1.0-7.el7
  oracle-release-el7.x86_64 0:1.0-4.el7                                         oracle-software-release-el7.x86_64 0:1.0-1.el7
  oracle-softwarecollection-release-el7.x86_64 0:1.0-4.el7                      oracleasm-support.x86_64 0:2.1.11-2.el7
  oraclelinux-developer-release-el7.x86_64 0:1.0-6.el7

Dependency Installed:
  compat-libcap1.x86_64 0:1.10-7.el7 compat-libstdc++-33.x86_64 0:3.2.3-72.el7 ksh.x86_64 0:20120801-144.0.1.el7_9 libaio-devel.x86_64 0:0.3.109-13.el7

Updated:
  oraclelinux-release.x86_64 7:7.9-1.0.13.el7                                 oraclelinux-release-el7.x86_64 0:1.0-17.el7

Skipped (dependency problems):
  oracle-linux-manager-client-release-el7.x86_64 0:1.0-2.el7

Complete!
[root@oralab1 GI]#

Step 5: Verify the oracle/grid users and groups 
+++++++
[root@oralab1 GI]# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
systemd-network:x:192:192:systemd Network Management:/:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
polkitd:x:999:998:User for polkitd:/:/sbin/nologin
libstoragemgmt:x:998:996:daemon account for libstoragemgmt:/var/run/lsm:/sbin/nologin
colord:x:997:995:User for colord:/var/lib/colord:/sbin/nologin
rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin
saslauth:x:996:76:Saslauthd user:/run/saslauthd:/sbin/nologin
abrt:x:173:173::/etc/abrt:/sbin/nologin
setroubleshoot:x:995:992::/var/lib/setroubleshoot:/sbin/nologin
rtkit:x:172:172:RealtimeKit:/proc:/sbin/nologin
radvd:x:75:75:radvd user:/:/sbin/nologin
unbound:x:994:991:Unbound DNS resolver:/etc/unbound:/sbin/nologin
qemu:x:107:107:qemu user:/:/sbin/nologin
gluster:x:993:990:GlusterFS daemons:/run/gluster:/sbin/nologin
chrony:x:992:989::/var/lib/chrony:/sbin/nologin
tss:x:59:59:Account used by the trousers package to sandbox the tcsd daemon:/dev/null:/sbin/nologin
usbmuxd:x:113:113:usbmuxd user:/:/sbin/nologin
geoclue:x:991:987:User for geoclue:/var/lib/geoclue:/sbin/nologin
pulse:x:171:171:PulseAudio System Daemon:/var/run/pulse:/sbin/nologin
gdm:x:42:42::/var/lib/gdm:/sbin/nologin
saned:x:990:984:SANE scanner daemon user:/usr/share/sane:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
gnome-initial-setup:x:989:983::/run/gnome-initial-setup/:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
avahi:x:70:70:Avahi mDNS/DNS-SD Stack:/var/run/avahi-daemon:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
tcpdump:x:72:72::/:/sbin/nologin
mallik:x:1000:1000:Mallik:/home/mallik:/bin/bash
oracle:x:54321:54321::/home/oracle:/bin/bash
[root@oralab1 GI]#
[root@oralab1 GI]#
[root@oralab1 GI]# cat /etc/group
root:x:0:
bin:x:1:
daemon:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mem:x:8:
kmem:x:9:
wheel:x:10:mallik
cdrom:x:11:
mail:x:12:postfix
man:x:15:
dialout:x:18:
floppy:x:19:
games:x:20:
tape:x:33:
video:x:39:
ftp:x:50:
lock:x:54:
audio:x:63:
nobody:x:99:
users:x:100:
utmp:x:22:
utempter:x:35:
stapusr:x:156:
stapsys:x:157:
stapdev:x:158:
input:x:999:
systemd-journal:x:190:
systemd-network:x:192:
dbus:x:81:
polkitd:x:998:
printadmin:x:997:
libstoragemgmt:x:996:
colord:x:995:
rpc:x:32:
dip:x:40:
cgred:x:994:
ssh_keys:x:993:
saslauth:x:76:
abrt:x:173:
setroubleshoot:x:992:
rtkit:x:172:
radvd:x:75:
unbound:x:991:
kvm:x:36:qemu
qemu:x:107:
gluster:x:990:
chrony:x:989:
tss:x:59:
libvirt:x:988:
usbmuxd:x:113:
geoclue:x:987:
pulse-access:x:986:
pulse-rt:x:985:
pulse:x:171:
gdm:x:42:
saned:x:984:
rpcuser:x:29:
nfsnobody:x:65534:
gnome-initial-setup:x:983:
sshd:x:74:
slocate:x:21:
avahi:x:70:
postdrop:x:90:
postfix:x:89:
ntp:x:38:
tcpdump:x:72:
mallik:x:1000:
oinstall:x:54321:
dba:x:54322:oracle
oper:x:54323:
backupdba:x:54324:
dgdba:x:54325:
kmdba:x:54326:
racdba:x:54330:

[root@oralab1 GI]# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)

[root@oralab1 GI]# groupadd -g 54329 asmadmin
[root@oralab1 GI]# groupadd -g 54327 asmdba
[root@oralab1 GI]# groupadd -g 54328 asmoper

[root@oralab1 GI]# cat /etc/group
root:x:0:
bin:x:1:
daemon:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mem:x:8:
kmem:x:9:
wheel:x:10:mallik
cdrom:x:11:
mail:x:12:postfix
man:x:15:
dialout:x:18:
floppy:x:19:
games:x:20:
tape:x:33:
video:x:39:
ftp:x:50:
lock:x:54:
audio:x:63:
nobody:x:99:
users:x:100:
utmp:x:22:
utempter:x:35:
stapusr:x:156:
stapsys:x:157:
stapdev:x:158:
input:x:999:
systemd-journal:x:190:
systemd-network:x:192:
dbus:x:81:
polkitd:x:998:
printadmin:x:997:
libstoragemgmt:x:996:
colord:x:995:
rpc:x:32:
dip:x:40:
cgred:x:994:
ssh_keys:x:993:
saslauth:x:76:
abrt:x:173:
setroubleshoot:x:992:
rtkit:x:172:
radvd:x:75:
unbound:x:991:
kvm:x:36:qemu
qemu:x:107:
gluster:x:990:
chrony:x:989:
tss:x:59:
libvirt:x:988:
usbmuxd:x:113:
geoclue:x:987:
pulse-access:x:986:
pulse-rt:x:985:
pulse:x:171:
gdm:x:42:
saned:x:984:
rpcuser:x:29:
nfsnobody:x:65534:
gnome-initial-setup:x:983:
sshd:x:74:
slocate:x:21:
avahi:x:70:
postdrop:x:90:
postfix:x:89:
ntp:x:38:
tcpdump:x:72:
mallik:x:1000:
oinstall:x:54321:
dba:x:54322:oracle
oper:x:54323:
backupdba:x:54324:
dgdba:x:54325:
kmdba:x:54326:
racdba:x:54330:
asmadmin:x:54329:
asmdba:x:54327:
asmoper:x:54328:
[root@oralab1 GI]# usermod -u 54321 -g oinstall -G dba,asmdba,backupdba,dgdba,kmdba,racdba,oper oracle

[root@oralab1 GI]# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54330(racdba),54327(asmdba)

[root@oralab1 GI]# useradd -u 54331 -g oinstall -G asmadmin,asmdba,racdba,oper grid

[root@oralab1 GI]# id grid
uid=54331(grid) gid=54321(oinstall) groups=54321(oinstall),54323(oper),54330(racdba),54329(asmadmin),54327(asmdba)

Step 6: Set the password for grid and oracle user
+++++++
[root@oralab1 GI]# passwd grid
Changing password for user grid.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.

[root@oralab1 GI]# passwd oracle
Changing password for user oracle.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.

Step 7: Change the ownership for GI and DB home locations 
+++++++
[root@oralab1 GI]# cd /u01/app/21.0.0.0/
[root@oralab1 21.0.0.0]# ls -ltrh
total 4.0K
drwxrwxr-x. 62 root root 4.0K Feb 13 15:06 grid

[root@oralab1 21.0.0.0]# cd ..
[root@oralab1 app]# ll
total 0
drwxrwxr-x. 3 root root 18 Feb 13 15:03 21.0.0.0
drwxrwxr-x. 2 root root  6 Feb 13 15:03 grid
drwxr-xr-x. 3 root root 21 Feb 13 15:04 oracle

[root@oralab1 app]# cd ..
[root@oralab1 u01]# ll
total 0
drwxrwxr-x. 5 root root 48 Feb 13 15:04 app
drwxrwxr-x. 4 root root 28 Feb 13 14:46 patches

[root@oralab1 u01]# chown -R grid:oinstall /u01
[root@oralab1 u01]# ll
total 0
drwxrwxr-x. 5 grid oinstall 48 Feb 13 15:04 app
drwxrwxr-x. 4 grid oinstall 28 Feb 13 14:46 patches
[root@oralab1 u01]# cd app/
[root@oralab1 app]# ll
total 0
drwxrwxr-x. 3 grid oinstall 18 Feb 13 15:03 21.0.0.0
drwxrwxr-x. 2 grid oinstall  6 Feb 13 15:03 grid
drwxr-xr-x. 3 grid oinstall 21 Feb 13 15:04 oracle

[root@oralab1 app]# cd 21.0.0.0
[root@oralab1 21.0.0.0]# ll
total 4
drwxrwxr-x. 62 grid oinstall 4096 Feb 13 15:06 grid

[root@oralab1 21.0.0.0]# chown oracle:oinstall /u01/app/oracle

[root@oralab1 21.0.0.0]# cd ..
[root@oralab1 app]# ll
total 0
drwxrwxr-x. 3 grid   oinstall 18 Feb 13 15:03 21.0.0.0
drwxrwxr-x. 2 grid   oinstall  6 Feb 13 15:03 grid
drwxr-xr-x. 3 oracle oinstall 21 Feb 13 15:04 oracle

Step 8: Verify the disks are added to Linux server 
+++++++
[root@oralab1 app]# cd /dev/
[root@oralab1 dev]# ll sd*
brw-rw----. 1 root disk 8,  0 Feb 13 13:43 sda
brw-rw----. 1 root disk 8,  1 Feb 13 13:43 sda1
brw-rw----. 1 root disk 8,  2 Feb 13 13:43 sda2
brw-rw----. 1 root disk 8, 16 Feb 13 13:45 sdb
brw-rw----. 1 root disk 8, 32 Feb 13 13:45 sdc

Step 9: Configure the oracleasm library 
+++++++
[root@oralab1 dev]# oracleasm configure -i
Configuring the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library
driver.  The following questions will determine whether the driver is
loaded on boot and what permissions it will have.  The current values
will be shown in brackets ('[]').  Hitting <ENTER> without typing an
answer will keep that current value.  Ctrl-C will abort.

Default user to own the driver interface []: grid
Default group to own the driver interface []: oinstall
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
[root@oralab1 dev]# oracleasm init
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Configuring "oracleasm" to use device physical block size
Mounting ASMlib driver filesystem: /dev/oracleasm

Step 10: Create ASM portioned disks from virtual disks:
++++++++
[root@oralab1 dev]# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table
Building a new DOS disklabel with disk identifier 0x56762ff2.

Command (m for help): n
Partition type:
   p   primary (0 primary, 0 extended, 4 free)
   e   extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (2048-41943039, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-41943039, default 41943039):
Using default value 41943039
Partition 1 of type Linux and of size 20 GiB is set

Command (m for help):
Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
[root@oralab1 dev]#

[root@oralab1 dev]# ll sd*
brw-rw----. 1 root disk 8,  0 Feb 13 13:43 sda
brw-rw----. 1 root disk 8,  1 Feb 13 13:43 sda1
brw-rw----. 1 root disk 8,  2 Feb 13 13:43 sda2
brw-rw----. 1 root disk 8, 16 Feb 13 15:17 sdb
brw-rw----. 1 root disk 8, 17 Feb 13 15:17 sdb1
brw-rw----. 1 root disk 8, 32 Feb 13 13:45 sdc
[root@oralab1 dev]#

[root@oralab1 dev]# fdisk /dev/sdc
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table
Building a new DOS disklabel with disk identifier 0x6daf9bd1.

Command (m for help): n
Partition type:
   p   primary (0 primary, 0 extended, 4 free)
   e   extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
First sector (2048-41943039, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-41943039, default 41943039):
Using default value 41943039
Partition 1 of type Linux and of size 20 GiB is set

Command (m for help):
Command (m for help):
Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
[root@oralab1 dev]#

[root@oralab1 dev]# ll sd*
brw-rw----. 1 root disk 8,  0 Feb 13 13:43 sda
brw-rw----. 1 root disk 8,  1 Feb 13 13:43 sda1
brw-rw----. 1 root disk 8,  2 Feb 13 13:43 sda2
brw-rw----. 1 root disk 8, 16 Feb 13 15:17 sdb
brw-rw----. 1 root disk 8, 17 Feb 13 15:17 sdb1
brw-rw----. 1 root disk 8, 32 Feb 13 15:18 sdc
brw-rw----. 1 root disk 8, 33 Feb 13 15:18 sdc1

[root@oralab1 dev]# oracleasm createdisk ASMDISK1 /dev/sdb1
Writing disk header: done
Instantiating disk: done

[root@oralab1 dev]# oracleasm createdisk ASMDISK2 /dev/sdc1
Writing disk header: done
Instantiating disk: done

[root@oralab1 dev]# oracleasm listdisks
ASMDISK1
ASMDISK2
[root@oralab1 dev]# cd /dev/oracleasm/disks/
[root@oralab1 disks]# ll
total 0
brw-rw----. 1 grid oinstall 8, 17 Feb 13 15:18 ASMDISK1
brw-rw----. 1 grid oinstall 8, 33 Feb 13 15:18 ASMDISK2
[root@oralab1 disks]#

Step 11: Install the GI software from grid user 
++++++++
[root@oralab1 disks]# su - grid 
[grid@oralab1 disks]$ cd /u01/app/21.0.0.0/grid
[grid@oralab1 disks]$ ./gridSetup.sh

Step 12: Run the root scripts as root user 
++++++++
[root@oralab1 grid]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
[root@oralab1 grid]# 

[root@oralab1 grid]# /u01/app/21.0.0.0/grid/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/21.0.0.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/21.0.0.0/grid/crs/install/crsconfig_params
2026-02-13 15:24:04: Got permissions of file /u01/app/grid/crsdata/oralab1/crsconfig: 0775
2026-02-13 15:24:04: Got permissions of file /u01/app/grid/crsdata: 0775
2026-02-13 15:24:04: Got permissions of file /u01/app/grid/crsdata/oralab1: 0775
The log of current session can be found at:
  /u01/app/grid/crsdata/oralab1/crsconfig/roothas_2026-02-13_03-24-04PM.log
Redirecting to /bin/systemctl restart rsyslog.service
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node oralab1 successfully pinned.
2026/02/13 15:24:15 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'

oralab1     2026/02/13 15:25:01     /u01/app/grid/crsdata/oralab1/olr/backup_20260213_152501.olr     0
2026/02/13 15:25:02 CLSRSC-327: Successfully configured Oracle Restart for a standalone server
[root@oralab1 grid]#

Step 13: Verify the ASM Instance & Inventory 
++++++++
[root@oralab1 grid]# ps -ef|grep smon
grid     31300     1  0 15:26 ?        00:00:00 asm_smon_+ASM
root     31381 23199  0 15:26 pts/0    00:00:00 grep --color=auto smon
[root@oralab1 grid]#
[root@oralab1 grid]# ps -ef|grep smon
grid     31300     1  0 15:26 ?        00:00:00 asm_smon_+ASM
root     32161 23199  0 15:26 pts/0    00:00:00 grep --color=auto smon

[root@oralab1 dbhome_1]# cd /u01/app/oraInventory/
[root@oralab1 oraInventory]# ll
total 12
drwxrwx---. 3 grid   oinstall   35 Feb 13 15:25 backup
drwxrwx---. 2 grid   oinstall   60 Feb 13 15:23 ContentsXML
drwxrwx---. 2 oracle oinstall   25 Feb 13 15:32 locks
drwxrwx---. 4 grid   oinstall 4096 Feb 13 15:32 logs
-rw-rw----. 1 grid   oinstall   56 Feb 13 15:22 oraInst.loc
-rwxrwx---. 1 grid   oinstall 1617 Feb 13 15:23 orainstRoot.sh

[root@oralab1 oraInventory]# cd ContentsXML/
[root@oralab1 ContentsXML]# ll
total 12
-rw-rw----. 1 grid oinstall 300 Feb 13 15:25 comps.xml
-rw-rw----. 1 grid oinstall 472 Feb 13 15:25 inventory.xml
-rw-rw----. 1 grid oinstall 292 Feb 13 15:25 libs.xml
[root@oralab1 ContentsXML]# cat inventory.xml
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2026, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
   <SAVED_WITH>12.2.0.9.0</SAVED_WITH>
   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OraGI21Home1" LOC="/u01/app/21.0.0.0/grid" TYPE="O" IDX="1" CRS="true"/>
</HOME_LIST>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>
</INVENTORY>

Step 14: Download and copy the 19c DB software into Linux VM and unzip 
++++++++
[root@oralab1 ~]# cd /u01/patches/19c/DB/
[root@oralab1 DB]# ll
total 2987996
-rwxrwxr-x. 1 root root 3059705302 Feb 13 14:48 V982063-01.zip
[root@oralab1 DB]# unzip V982063-01.zip -d /u01/app/oracle/product/19.0.0.0/dbhome_1
Archive:  V982063-01.zip
   creating: /u01/app/oracle/product/19.0.0.0/dbhome_1/drdaas/
   creating: /u01/app/oracle/product/19.0.0.0/dbhome_1/drdaas/admin/
  inflating: /u01/app/oracle/product/19.0.0.0/dbhome_1/drdaas/admin/drdasqtt_translator_setup.sql
<<<<<<<<<<<<<Truncated >>>>>>>>>>>>>>>>>>>>

<<<<<<<<<<<<<Truncated >>>>>>>>>>>>>>>>>>>>

<<<<<<<<<<<<<Truncated >>>>>>>>>>>>>>>>>>>>

<<<<<<<<<<<<<Truncated >>>>>>>>>>>>>>>>>>>>

  /u01/app/oracle/product/19.0.0.0/dbhome_1/precomp/public/SQLCA.H -> sqlca.h
  /u01/app/oracle/product/19.0.0.0/dbhome_1/precomp/public/SQLDA.H -> sqlda.h
  /u01/app/oracle/product/19.0.0.0/dbhome_1/precomp/public/ORACA.H -> oraca.h
  /u01/app/oracle/product/19.0.0.0/dbhome_1/precomp/public/SQLCA.COB -> sqlca.cob
  /u01/app/oracle/product/19.0.0.0/dbhome_1/precomp/public/ORACA.COB -> oraca.cob
  /u01/app/oracle/product/19.0.0.0/dbhome_1/javavm/admin/classes.bin -> ../../javavm/jdk/jdk8/admin/classes.bin
  /u01/app/oracle/product/19.0.0.0/dbhome_1/javavm/admin/libjtcjt.so -> ../../javavm/jdk/jdk8/admin/libjtcjt.so
  /u01/app/oracle/product/19.0.0.0/dbhome_1/jdk/jre/bin/ControlPanel -> jcontrol
  /u01/app/oracle/product/19.0.0.0/dbhome_1/javavm/admin/lfclasses.bin -> ../../javavm/jdk/jdk8/admin/lfclasses.bin
  /u01/app/oracle/product/19.0.0.0/dbhome_1/javavm/lib/security/cacerts -> ../../../javavm/jdk/jdk8/lib/security/cacerts
  /u01/app/oracle/product/19.0.0.0/dbhome_1/javavm/lib/sunjce_provider.jar -> ../../javavm/jdk/jdk8/lib/sunjce_provider.jar
  /u01/app/oracle/product/19.0.0.0/dbhome_1/javavm/lib/security/README.txt -> ../../../javavm/jdk/jdk8/lib/security/README.txt
  /u01/app/oracle/product/19.0.0.0/dbhome_1/javavm/lib/security/java.security -> ../../../javavm/jdk/jdk8/lib/security/java.security
  /u01/app/oracle/product/19.0.0.0/dbhome_1/jdk/jre/lib/amd64/server/libjsig.so -> ../libjsig.so
[root@oralab1 DB]#

Step 15: Login to oracle user and Install the Oracle Software
++++++++
[root@oralab1 grid]# su - oracle
[oracle@oralab1]# cd /u01/app/oracle/product/19.0.0.0/dbhome_1
[oracle@oralab1]# /runInstaller

Step 16: Run the root scripts as root user 
+++++++
[root@oralab1 ContentsXML]# /u01/app/oracle/product/19.0.0.0/dbhome_1/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/product/19.0.0.0/dbhome_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]: y
   Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Oracle Trace File Analyzer (TFA - Standalone Mode) is available at :
    /u01/app/oracle/product/19.0.0.0/dbhome_1/bin/tfactl

Note :
1. tfactl will use TFA Service if that service is running and user has been granted access
2. tfactl will configure TFA Standalone Mode only if user has no access to TFA Service or TFA is not installed

[root@oralab1 ContentsXML]# cat inventory.xml
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2026, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
   <SAVED_WITH>12.2.0.7.0</SAVED_WITH>
   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OraGI21Home1" LOC="/u01/app/21.0.0.0/grid" TYPE="O" IDX="1" CRS="true"/>
<HOME NAME="OraDB19Home1" LOC="/u01/app/oracle/product/19.0.0.0/dbhome_1" TYPE="O" IDX="2"/>
</HOME_LIST>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>
</INVENTORY>
[root@oralab1 ContentsXML]#

Step 17: Login to grid user and create RECO disckgroup using asmca 
++++++++
[root@oralab1 disks]# su - grid 
[grid@oralab1 disks]$ cd /u01/app/21.0.0.0/grid/bin
[grid@oralab1 disks]$ ./asmca

[grid@oralab1 ~]$ cat /etc/oratab
#

# This file is used by ORACLE utilities.  It is created by root.sh
# and updated by either Database Configuration Assistant while creating
# a database or ASM Configuration Assistant while creating ASM instance.

# A colon, ':', is used as the field terminator.  A new line terminates
# the entry.  Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
#   $ORACLE_SID:$ORACLE_HOME:<N|Y>:
#
# The first and second fields are the system identifier and home
# directory of the database respectively.  The third field indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
+ASM:/u01/app/21.0.0.0/grid:N
[grid@oralab1 ~]$ . oraenv
ORACLE_SID = [grid] ? +ASM
The Oracle base has been set to /u01/app/grid
[grid@oralab1 ~]$

[grid@oralab1 ~]$ env |grep ORA
ORACLE_SID=+ASM
ORACLE_BASE=/u01/app/grid
ORACLE_HOME=/u01/app/21.0.0.0/grid
[grid@oralab1 ~]$

[grid@oralab1 ~]$ asmcmd -p
ASMCMD [+] > lsdg
State    Type    Rebal  Sector  Logical_Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name
MOUNTED  EXTERN  N         512             512   4096  4194304     20476    20372                0           20372              0             N  DATA/

ASMCMD [+] > lsdg
State    Type    Rebal  Sector  Logical_Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name
MOUNTED  EXTERN  N         512             512   4096  4194304     20476    20372                0           20372              0             N  DATA/
MOUNTED  EXTERN  N         512             512   4096  4194304     20476    20380                0           20380              0             N  RECO/
ASMCMD [+] > exit
[grid@oralab1 ~]$

Step 18: Create database DECA using dbca 
++++++++
[root@oralab1 grid]# su - oracle
[oracle@oralab1]# cd /u01/app/oracle/product/19.0.0.0/dbhome_1/bin
[oracle@oralab1]# /dbca

Step 19: Verify the DECA Database and Instance 
++++++++
[grid@oralab1 ~]$ cat /etc/oratab
#
# This file is used by ORACLE utilities.  It is created by root.sh
# and updated by either Database Configuration Assistant while creating
# a database or ASM Configuration Assistant while creating ASM instance.

# A colon, ':', is used as the field terminator.  A new line terminates
# the entry.  Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
#   $ORACLE_SID:$ORACLE_HOME:<N|Y>:
#
# The first and second fields are the system identifier and home
# directory of the database respectively.  The third field indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
+ASM:/u01/app/21.0.0.0/grid:N
DECA:/u01/app/oracle/product/19.0.0.0/dbhome_1:N

[grid@oralab1 ~]$ ps -ef|grep smon
oracle   12480     1  0 15:44 ?        00:00:00 ora_smon_DECA
grid     12630  8231  0 15:45 pts/0    00:00:00 grep --color=auto smon
grid     31300     1  0 15:26 ?        00:00:00 asm_smon_+ASM
[grid@oralab1 ~]$ crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       oralab1                  STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       oralab1                  STABLE
ora.RECO.dg
               ONLINE  ONLINE       oralab1                  STABLE
ora.asm
               ONLINE  ONLINE       oralab1                  Started,STABLE
ora.ons
               OFFLINE OFFLINE      oralab1                  STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
      1        ONLINE  ONLINE       oralab1                  STABLE
ora.deca.db
      1        OFFLINE OFFLINE                               STABLE
ora.diskmon
      1        OFFLINE OFFLINE                               STABLE
ora.evmd
      1        ONLINE  ONLINE       oralab1                  STABLE
--------------------------------------------------------------------------------
[grid@oralab1 ~]$

[grid@oralab1 ~]$ ps -ef|grep smon
oracle   12870     1  0 15:47 ?        00:00:00 ora_smon_DECA
grid     13419  8231  0 15:47 pts/0    00:00:00 grep --color=auto smon
grid     31300     1  0 15:26 ?        00:00:00 asm_smon_+ASM
[grid@oralab1 ~]$

Step 20: Verify the DECA databas alert log
++++++++
[root@oralab1 trace]# cd /u01/app/oracle/diag/rdbms/deca/DECA/trace

[root@oralab1 trace]# tail -f alert_DECA.log
2026-02-13T15:51:59.322499+05:30
NOTE: Shutting down MARK background process
2026-02-13T15:52:00.026716+05:30
NOTE: force a map free for map id 8
2026-02-13T15:52:02.010959+05:30
NOTE: Could not deregister group num %.%
2026-02-13T15:52:07.066698+05:30
NOTE: ASMB releasing group resources due to shutdown
NOTE: ASMB clearing idle groups before exit
Stopping background process RBAL
2026-02-13T15:52:21.345317+05:30
Instance shutdown complete (OS id: 14270)
2026-02-13T15:52:26.111834+05:30
Starting ORACLE instance (normal) (OS id: 14460)
2026-02-13T15:52:26.116801+05:30
****************************************************
 Sys-V shared memory will be used for creating SGA
 ****************************************************
2026-02-13T15:52:26.117471+05:30
**********************************************************************
2026-02-13T15:52:26.117541+05:30
Dump of system resources acquired for SHARED GLOBAL AREA (SGA)

Step 21: Final post verification of ASM Instance, DACA Database Instance, ASM storage, Clusterware
++++++++
[root@oralab1 trace]# . oraenv
ORACLE_SID = [root] ? +ASM
The Oracle base has been set to /u01/app/grid
[root@oralab1 trace]#
[root@oralab1 trace]#

[root@oralab1 trace]# ps -ef|grep smon
oracle   14530     1  0 15:52 ?        00:00:00 ora_smon_DECA
root     14943 23199  0 15:53 pts/0    00:00:00 grep --color=auto smon
grid     31300     1  0 15:26 ?        00:00:00 asm_smon_+ASM

[root@oralab1 trace]# crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       oralab1                  STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       oralab1                  STABLE
ora.RECO.dg
               ONLINE  ONLINE       oralab1                  STABLE
ora.asm
               ONLINE  ONLINE       oralab1                  Started,STABLE
ora.ons
               OFFLINE OFFLINE      oralab1                  STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
      1        ONLINE  ONLINE       oralab1                  STABLE
ora.deca.db
      1        OFFLINE OFFLINE                               STABLE
ora.diskmon
      1        OFFLINE OFFLINE                               STABLE
ora.evmd
      1        ONLINE  ONLINE       oralab1                  STABLE
--------------------------------------------------------------------------------

[root@oralab1 trace]# su - oracle
Last login: Fri Feb 13 15:33:45 IST 2026 on pts/0
[oracle@oralab1 ~]$ cat /etc/oratab
#
# This file is used by ORACLE utilities.  It is created by root.sh
# and updated by either Database Configuration Assistant while creating
# a database or ASM Configuration Assistant while creating ASM instance.

# A colon, ':', is used as the field terminator.  A new line terminates
# the entry.  Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
#   $ORACLE_SID:$ORACLE_HOME:<N|Y>:
#
# The first and second fields are the system identifier and home
# directory of the database respectively.  The third field indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
+ASM:/u01/app/21.0.0.0/grid:N
DECA:/u01/app/oracle/product/19.0.0.0/dbhome_1:N
[oracle@oralab1 ~]$ . oraenv
ORACLE_SID = [oracle] ? DECA
The Oracle base has been set to /u01/app/oracle
[oracle@oralab1 ~]$

[oracle@oralab1 ~]$ env |grep ORA
ORACLE_SID=DECA
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1

[oracle@oralab1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Fri Feb 13 15:53:37 2026
Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle.  All rights reserved.

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL>
SQL> show parameter spfile

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
spfile                               string      +DATA/DECA/PARAMETERFILE/spfil
                                                 e.266.1225122623
SQL> select name from v$controlfile;

NAME
--------------------------------------------------------------------------------
+DATA/DECA/CONTROLFILE/current.261.1225122431
+RECO/DECA/CONTROLFILE/current.256.1225122431

SQL>
SQL>
SQL> desc v%logfile;
SP2-0565: Illegal identifier.
SQL> desc v$logfile;
 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 GROUP#                                             NUMBER
 STATUS                                             VARCHAR2(7)
 TYPE                                               VARCHAR2(7)
 MEMBER                                             VARCHAR2(513)
 IS_RECOVERY_DEST_FILE                              VARCHAR2(3)
 CON_ID                                             NUMBER

SQL> select MEMBER from v$logfile;

MEMBER
--------------------------------------------------------------------------------
+DATA/DECA/ONLINELOG/group_3.264.1225122435
+RECO/DECA/ONLINELOG/group_3.259.1225122437
+DATA/DECA/ONLINELOG/group_2.263.1225122435
+RECO/DECA/ONLINELOG/group_2.258.1225122435
+DATA/DECA/ONLINELOG/group_1.262.1225122435
+RECO/DECA/ONLINELOG/group_1.257.1225122435

6 rows selected.

SQL>
SQL> select name from v$datafile;

NAME
--------------------------------------------------------------------------------
+DATA/DECA/DATAFILE/system.257.1225122301
+DATA/DECA/DATAFILE/sysaux.258.1225122335
+DATA/DECA/DATAFILE/undotbs1.259.1225122361
+DATA/DECA/DATAFILE/users.260.1225122361

SQL> select name from v$tempfile;

NAME
--------------------------------------------------------------------------------
+DATA/DECA/TEMPFILE/temp.265.1225122441

SQL>
SQL>
SQL> archive log list
Database log mode              No Archive Mode
Automatic archival             Disabled
Archive destination            USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence     3
Current log sequence           5
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oralab1 ~]$

[oracle@oralab1 ~]$ srvctl stop database -d DECA
[oracle@oralab1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Fri Feb 13 15:56:05 2026
Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup mount;
ORACLE instance started.

Total System Global Area 3690985856 bytes
Fixed Size                  8903040 bytes
Variable Size             721420288 bytes
Database Buffers         2952790016 bytes
Redo Buffers                7872512 bytes
Database mounted.
SQL> archive log list
Database log mode              No Archive Mode
Automatic archival             Disabled
Archive destination            USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence     3
Current log sequence           5
SQL> alter database archivelog;

Database altered.

SQL> archive log list
Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence     3
Next log sequence to archive   5
Current log sequence           5
SQL> alter database open;

Database altered.

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oralab1 ~]$

[oracle@oralab1 ~]$ srvctl status database -d DECA
Database is running.
[oracle@oralab1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Fri Feb 13 15:56:59 2026
Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle.  All rights reserved.


Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0

SQL> archive log list
Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence     3
Next log sequence to archive   5
Current log sequence           5
SQL> show parameter recovery

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest                string      +RECO
db_recovery_file_dest_size           big integer 8256M
recovery_parallelism                 integer     0
remote_recovery_file_dest            string
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
[oracle@oralab1 ~]$ exit
logout

[root@oralab1 trace]# ps -ef|grep smon
oracle   15283     1  0 15:56 ?        00:00:00 ora_smon_DECA
root     15697 23199  0 15:57 pts/0    00:00:00 grep --color=auto smon
grid     31300     1  0 15:26 ?        00:00:00 asm_smon_+ASM

[root@oralab1 trace]# su - grid
Last login: Fri Feb 13 15:34:18 IST 2026 on pts/0
[grid@oralab1 ~]$ . oraenv
ORACLE_SID = [grid] ? +ASM
The Oracle base has been set to /u01/app/grid
[grid@oralab1 ~]$

[grid@oralab1 ~]$ asmcmd -p
ASMCMD [+] > lsdg
State    Type    Rebal  Sector  Logical_Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name
MOUNTED  EXTERN  N         512             512   4096  4194304     20476    17908                0           17908              0             N  DATA/
MOUNTED  EXTERN  N         512             512   4096  4194304     20476    19736                0           19736              0             N  RECO/

ASMCMD [+] > cd DATA/
ASMCMD [+DATA] > ls -l
Type      Redund  Striped  Time             Sys  Name
                                            Y    ASM/
                                            N    DECA/
PASSWORD  UNPROT  COARSE   FEB 13 15:00:00  N    orapwasm => +DATA/ASM/PASSWORD/pwdasm.256.1225121175
ASMCMD [+DATA] > cd ASM/
ASMCMD [+DATA/ASM] > ls -l
Type  Redund  Striped  Time  Sys  Name
                             Y    ASMPARAMETERFILE/
                             Y    PASSWORD/
ASMCMD [+DATA/ASM] > cd ..
ASMCMD [+DATA] > cd DECA/
ASMCMD [+DATA/DECA] > ls -l
Type  Redund  Striped  Time  Sys  Name
                             Y    CONTROLFILE/
                             Y    DATAFILE/
                             Y    ONLINELOG/
                             Y    PARAMETERFILE/
                             Y    TEMPFILE/
ASMCMD [+DATA/DECA] > cd +RECO/
ASMCMD [+RECO] > ls -l
Type  Redund  Striped  Time  Sys  Name
                             Y    DECA/
ASMCMD [+RECO] > cd DECA/
ASMCMD [+RECO/DECA] > ls -l
Type  Redund  Striped  Time  Sys  Name
                             Y    CONTROLFILE/
                             Y    ONLINELOG/
ASMCMD [+RECO/DECA] > exit
[grid@oralab1 ~]$

[grid@oralab1 ~]$ srvctl config asm
ASM home: <CRS home>
Password file: +DATA/orapwasm
Backup of Password file:
ASM listener: LISTENER
Spfile: +DATA/ASM/ASMPARAMETERFILE/registry.253.1225121175
ASM diskgroup discovery string: /dev/oracleasm/disks/*
[grid@oralab1 ~]$ exit
logout
[root@oralab1 trace]# su - oracle
Last login: Fri Feb 13 15:53:11 IST 2026 on pts/0
[oracle@oralab1 ~]$ . oraenv
ORACLE_SID = [oracle] ? DECA
The Oracle base has been set to /u01/app/oracle
[oracle@oralab1 ~]$
[oracle@oralab1 ~]$ srvctl config database -d DECA
Database unique name: DECA
Database name: DECA
Oracle home: /u01/app/oracle/product/19.0.0.0/dbhome_1
Oracle user: oracle
Spfile: +DATA/DECA/PARAMETERFILE/spfile.266.1225122623
Password file:
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Disk Groups: DATA,RECO
Services:
OSDBA group: oinstall
OSOPER group: oinstall
Database instance: DECA
[oracle@oralab1 ~]$ cd /u01/app/oracle/product/19.0.0.0/dbhome_1/dbs
[oracle@oralab1 dbs]$ ls -ltrh
total 16K
-rw-r--r--. 1 oracle oinstall 3.1K May 14  2015 init.ora
-rw-r-----. 1 oracle oinstall   24 Feb 13 15:44 lkDECA
-rw-r-----. 1 oracle oinstall 2.0K Feb 13 15:47 orapwDECA
-rw-rw----. 1 oracle oinstall 1.6K Feb 13 15:56 hc_DECA.dat
[oracle@oralab1 dbs]$ exit
logout
[root@oralab1 trace]# cd
[root@oralab1 ~]#






No comments:

Post a Comment

21c_GI_Installation_using_grid_&_19c_OH_Installation_using_oracle_&_19c_DECA_DB_Creation

21c_GI_Installation_using_grid_&_19c_OH_Installation_using_oracle_&_19c_DECA_DB_Creation Step 1: Download and copy the 21c GI & ...