Skip to main content

Linux Installation on a VM to install Oracle 19c database.

 1) Configure VM

Create New VM during which you will have to select below list of parameters

VM Name

VM Machine files location

OS Type

Version

Ram allocation from physical Ram available on host machine (here Windows 10)

Select “Create a virtual hard disk now” as we are building a new machine.

Finally click on create it will open a new window where it will ask some details for 

disk size

disk type

disk allocation type.






 Click on settings and new window will open then we have to do some changes here in all tabs.

General >>

General >> Advanced >> Shared Clipboard >> Bidirectional

General >> Advanced >> Drag n Drop >> Bidirectional



2A. System

Motherboard>>Unselect Floppy




A) System

⦁ Processor increase the number of cpus if you have resources 



Storage >>

Here we have to add more storage when required for Grid Home, Oracle Home, Asm Disks….etc

For now we have left it with only 1 disk for root.




 

So here we will add some more storage now only.

 


By clicking on create below window will open where we have to update the disk name and size we want.

Then click on create button 


Same way we have added 3 more disks for asm data, fra & ocr &vd.

 


Network >>

We have to have 2 adapter 

Adapter 1>> Bridged Adapter for Internet in vm 

Adapter 1>> Promiscuous Mode >> Allow All

 


Adapter 2>> Host-Only Adapter

 

Shared Folders>> 

add a folder from windows host so that we can keep the files over there and copy it to our unix machine easily without any scp or winscp tools

Finally our Machine is ready with all the requirements now add the iso file which we have downloaded from oracle edelivery site.

Now we have to hit start button to start the virtual server for Linux installation.

  


Start the VM

Select the language of your wish.


At this screen it will take some time to identify installation source, software selection and finally it gives this screen.

 


Select “server with GUI” on left part and from right part select all the add-ons. (for selection of add-ons you can use mouse or space bar on key board.)

 


Now we have to format the disks we have added for installation. So click on “INSTALLATION DESTINATION”

 


After selecting the disk we need to select “I will configure partitioning” from “Other storage Options”

 

Now select “Standard Partition” and use the “+” sign to add the mount points

 


You need to user “TAB” key on keyboard to move between options and 

now select Mount Point as / (root) and give the space you want for root 

generally it wont take more than 10GB but we are installing many packages and other oracle packages so I kept it as 20 GB.

 


Once mount point is added make sure that

Device Type = Standard Partition

Filesystem = ext3

 


In the same was as said above add home, boot, tmp, var with same device type as standard and file system as ext3

Try to keep Swap atleast the size of the physical memory allocated to server.

Swap will have file system as swap only, you cant change it.

Make sure all the mount points have same ext3 as file system type and standard partition as device type and hit DONE at top left corner

 


After we hit Done, It will prompt to Accept Changes – do it using tab key as it won accept mouse clicks here.

 


Then we can start “Begin Installation”


Add root password as per your wish.


If we are using a less complex root password it will prompt us to change it but we can use it by clicking Done 2 times.


Add any user but not oracle or grid. You can uncheck the “require a pass”


Now the installation will continue for some time say 30 mins or so.

We have selected 1973 packages it will complete all of them and then will prompt for reboot.


One Installation is done hit reboot


After Reboot we have to do some settings as per below screenshots.

Accept the Licence Information.


You can get those details of IP from your pc by going to 

Control Pannel>>Network & Internet>>View network status and tasks>>change adaptor setting (on right side of the window)>> right click on your active wifi or ethernet and click on status and then details.



Change the hostname as per your wish

Select Ethernet (enp0s3) and click configure 

 


Once it is open go to IPv4 settings and change the Method = Manual 

Click on Add and start giving the ip address for the bridged adapter, and hit save

Add dns as 8.8.8.8

Hit Done to exit this window


Hit Finish Configuration server will reboot

 

Hit on “Not Listed” and login as root

Select the language of your wish


Click Next after selecting key board layout.


Click on next it does not make difference you enable location or not.


You can skip this


Click on the blue button, “Start Using Oracle Linux Server”



 

Now we have to start partitioning of the disks we have added and install many packages which will make the system ready for oracle installation.

Update the hosts file:

[root@oel76-19 ~]# cat /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.56.4 oel76-19 oel76-19.lostworld.com --- (add this line to hosts file)

[root@oel76-19 ~]#


Oracle Installation Prerequisites

Perform either the Automatic Setup or the Manual Setup to complete the basic prerequisites. The Additional Setup is required for all installations.

Automatic Setup

If you plan to use the "oracle-database-preinstall-19c" package to perform all your prerequisite setup, issue the following command.

By running this setup all the requirements would be fulfilled automatically from the package like oracle user, groups etc.

# yum install -y oracle-database-preinstall-19c (this will create our base oracle requirements)

It is probably worth doing a full update as well, but this is not strictly speaking necessary.

# yum update -y (this will update everything on linux)

[root@oel76-19 ~]# yum install kmod-oracleasm – (this will install oracleasm kernel files.)

[root@oel76-19 ~]# yum install oracleasm-support  – (this will install oracleasm related rpms)


It's worth running the all the YUM commands listed in the manual setup section. 

Depending on the OS package groups you have selected, some additional packages might also be needed.

If you are using RHEL7 or CentOS7, you can pick up the PRM from the OL7 repository and install it. It will pull the dependencies from your normal repositories.

# yum install -y https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm

Manual Setup

If you have not used the "oracle-database-preinstall-19c" package to perform all prerequisites, you will need to manually perform the following setup tasks.

Add the following lines to the "/etc/sysctl.conf" file.

fs.file-max = 6815744

kernel.sem = 250 32000 100 128

kernel.shmmni = 4096

kernel.shmall = 1073741824

kernel.shmmax = 4398046511104

kernel.panic_on_oops = 1

net.core.rmem_default = 262144

net.core.rmem_max = 4194304

net.core.wmem_default = 262144

net.core.wmem_max = 1048576

net.ipv4.conf.all.rp_filter = 2

net.ipv4.conf.default.rp_filter = 2

fs.aio-max-nr = 1048576

net.ipv4.ip_local_port_range = 9000 65500

Run one of the following commands to change the current kernel parameters, depending on which file you edited.

/sbin/sysctl -p    (# Or)                 /sbin/sysctl -p /etc/sysctl.d/98-oracle.conf

Add the following lines to a file called "/etc/security/limits.d/oracle-database-preinstall-19c.conf" file.

oracle   soft   nofile    1024

oracle   hard   nofile    65536

oracle   soft   nproc    16384

oracle   hard   nproc    16384

oracle   soft   stack    10240

oracle   hard   stack    32768

oracle   hard   memlock    134217728

oracle   soft   memlock    134217728

 Someone in the comments suggested you might need to add the previous lines into the "/etc/security/limits.conf" file also for CentOS7. This is definitely not needed for OL7, but worth considering if the installer gives prerequisite failures for these settings.

The following packages are listed as required. Many of the packages should be installed already.

yum install -y bc    

yum install -y binutils

yum install -y compat-libcap1

yum install -y compat-libstdc++-33

#yum install -y dtrace-modules

#yum install -y dtrace-modules-headers

#yum install -y dtrace-modules-provider-headers

yum install -y dtrace-utils

yum install -y elfutils-libelf

yum install -y elfutils-libelf-devel

yum install -y fontconfig-devel

yum install -y glibc

yum install -y glibc-devel

yum install -y ksh

yum install -y libaio

yum install -y libaio-devel

yum install -y libdtrace-ctf-devel

yum install -y libXrender

yum install -y libXrender-devel

yum install -y libX11

yum install -y libXau

yum install -y libXi

yum install -y libXtst

yum install -y libgcc

yum install -y librdmacm-devel

yum install -y libstdc++

yum install -y libstdc++-devel

yum install -y libxcb

yum install -y make

yum install -y net-tools # Clusterware

yum install -y nfs-utils # ACFS

yum install -y python # ACFS

yum install -y python-configshell # ACFS

yum install -y python-rtslib # ACFS

yum install -y python-six # ACFS

yum install -y targetcli # ACFS

yum install -y smartmontools

yum install -y sysstat


# Added by me.

yum install -y unixODBC

Create the new groups and users.

groupadd -g 54321 oinstall

groupadd -g 54322 dba

groupadd -g 54323 oper

groupadd -g 54324 backupdba

groupadd -g 54325 dgdba

groupadd -g 54326 kmdba

groupadd -g 54327 asmdba

groupadd -g 54328 asmoper

groupadd -g 54329 asmadmin

groupadd -g 54330 racdba


useradd -u 54321 -g oinstall -G dba,oper oracle

Uncomment the extra groups you require.

Additional Setup

The following steps must be performed, whether you did the manual or automatic setup.

Set the password for the "oracle" user.

passwd oracle

Set secure Linux to permissive by editing the "/etc/selinux/config" file, making sure the SELINUX flag is set as follows.

SELINUX=permissive

Once the change is complete, restart the server or run the following command.

# setenforce Permissive

If you have the Linux firewall enabled, you will need to disable or configure it, as shown here. To disable it, do the following.

# systemctl stop firewalld

# systemctl disable firewalld

If you are not using Oracle Linux and UEK, you will need to manually disable transparent huge pages.

After disabling firewall & selinux, we will format and create the mount points using our extra disks which we have added for oracle home & Asm disks. Follow the below steps to complete them

Format the new disks for u01 mount point.


[root@oel76-19 /]# fdisk -l


Disk /dev/sda: 53.7 GB, 53687091200 bytes, 104857600 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk label type: dos

Disk identifier: 0x00017b0c


   Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *        2048     4196351     2097152   83  Linux

/dev/sda2         4196352    46139391    20971520   83  Linux

/dev/sda3        46139392    67110911    10485760   82  Linux swap / Solaris

/dev/sda4        67110912   104857599    18873344    5  Extended

/dev/sda5        67115008    88086527    10485760   83  Linux

/dev/sda6        88088576    98516991     5214208   83  Linux

/dev/sda7        98519040   104857599     3169280   83  Linux


Disk /dev/sdb: 85.9 GB, 85899345920 bytes, 167772160 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes



Disk /dev/sdc: 53.7 GB, 53687091200 bytes, 104857600 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes



Disk /dev/sdd: 21.5 GB, 21474836480 bytes, 41943040 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes



Disk /dev/sde: 21.5 GB, 21474836480 bytes, 41943040 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes


[root@oel76-19 /]#


[root@oel76-19 /]#

[root@oel76-19 /]# 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 0x424bf51a.


Command (m for help): m

Command action

   a   toggle a bootable flag

   b   edit bsd disklabel

   c   toggle the dos compatibility flag

   d   delete a partition

   g   create a new empty GPT partition table

   G   create an IRIX (SGI) partition table

   l   list known partition types

   m   print this menu

   n   add a new partition

   o   create a new empty DOS partition table

   p   print the partition table

   q   quit without saving changes

   s   create a new empty Sun disklabel

   t   change a partition's system id

   u   change display/entry units

   v   verify the partition table

   w   write table to disk and exit (also called as save & exit in general terms)

   x   extra functionality (experts only)


Command (m for help): n

Partition type:

   p   primary (0 primary, 0 extended, 4 free)

   e   extended

Select (default p): p (we have selected partition type as primary and then hit enter 3 times it would be done)

Partition number (1-4, default 1):

First sector (2048-167772159, default 2048):

Using default value 2048

Last sector, +sectors or +size{K,M,G} (2048-167772159, default 167772159):

Using default value 167772159

Partition 1 of type Linux and of size 80 GiB is set


Command (m for help): w (type w and hit enter it will save and exit)

The partition table has been altered!


Calling ioctl() to re-read partition table.

Syncing disks.

[root@oel76-19 /]#


We have created partition we have more steps to make a mount point and make sure it comes up every time when server is restarted.

Format the new partition as an ext3 file system type:


/sbin/mkfs -t ext3 /dev/sdb1 (output will be as below)

mke2fs 1.42.9 (28-Dec-2013)

Filesystem label=

OS type: Linux

Block size=4096 (log=2)

Fragment size=4096 (log=2)

Stride=0 blocks, Stripe width=0 blocks

5242880 inodes, 20971264 blocks

1048563 blocks (5.00%) reserved for the super user

First data block=0

Maximum filesystem blocks=4294967296

640 block groups

32768 blocks per group, 32768 fragments per group

8192 inodes per group

Superblock backups stored on blocks:

        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,

        4096000, 7962624, 11239424, 20480000


Allocating group tables: done

Writing inode tables: 471/640

done

Creating journal (32768 blocks): done

Writing superblocks and filesystem accounting information: done


[root@oel76-19 /]#


Assigning a Label with e2label, once you have created and formatted a partition, you should assign it a label using the e2label command. 

This allows you to add the partition to /etc/fstab using a label instead of using a device path, thereby making the system more robust.

To add a label to a partition, type the following command as root:


/sbin/e2label /dev/sdb1 /u01


Then add the new partition to /etc/fstab by editing the file, this way it will be mounted at reboot:


[root@oel76-19 /]# cat /etc/fstab|grep -i u01

/dev/sdb1                                 /u01                    ext3    defaults        1 2


To check the label use this command:


/sbin/tune2fs -l /dev/sdb1 |grep volume


Mount the new file system:

First create the base directory and assign it to the user that will own it


[root@vmractest3 root]# mkdir /u01


[root@vmractest3 root]#chown -R oracle:oinstall /u01


Then mount it


[root@vmractest3 root]# mount /dev/sdb1 /u01


[root@oel76-19 ~]# df -kh

Filesystem      Size  Used Avail Use% Mounted on

devtmpfs        4.8G     0  4.8G   0% /dev

tmpfs           4.8G     0  4.8G   0% /dev/shm

tmpfs           4.8G  9.5M  4.8G   1% /run

tmpfs           4.8G     0  4.8G   0% /sys/fs/cgroup

/dev/sda2        20G  6.3G   13G  34% /

/dev/sda1       2.0G  282M  1.6G  16% /boot

/dev/sda5       9.8G   23M  9.2G   1% /home

/dev/sda6       4.8G   11M  4.6G   1% /tmp

/dev/sda7       3.0G  830M  2.0G  30% /var

/dev/sdb1        79G   56M   75G   1% /u01

G_DRIVE         732G  193G  540G  27% /media/sf_G_DRIVE

tmpfs           973M   20K  973M   1% /run/user/0

[root@oel76-19 ~]#


In the same way we will make the other disks which we added for asm. 

But for these other disks we wont be making any mount points. 

Using the below steps we have formated the disks to be used as asm disks.


[root@oel76-19 ~]#

[root@oel76-19 ~]# fdisk -l


Disk /dev/sdb: 85.9 GB, 85899345920 bytes, 167772160 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk label type: dos

Disk identifier: 0x424bf51a


   Device Boot      Start         End      Blocks   Id  System

/dev/sdb1            2048   167772159    83885056   83  Linux


Disk /dev/sda: 53.7 GB, 53687091200 bytes, 104857600 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk label type: dos

Disk identifier: 0x00017b0c


   Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *        2048     4196351     2097152   83  Linux

/dev/sda2         4196352    46139391    20971520   83  Linux

/dev/sda3        46139392    67110911    10485760   82  Linux swap / Solaris

/dev/sda4        67110912   104857599    18873344    5  Extended

/dev/sda5        67115008    88086527    10485760   83  Linux

/dev/sda6        88088576    98516991     5214208   83  Linux

/dev/sda7        98519040   104857599     3169280   83  Linux


Disk /dev/sdc: 53.7 GB, 53687091200 bytes, 104857600 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes



Disk /dev/sdd: 21.5 GB, 21474836480 bytes, 41943040 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes



Disk /dev/sde: 21.5 GB, 21474836480 bytes, 41943040 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes


[root@oel76-19 ~]#

[root@oel76-19 ~]#

[root@oel76-19 ~]# 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 0x7be2ba35.


Command (m for help): n

Partition type:

   p   primary (0 primary, 0 extended, 4 free)

   e   extended

Select (default p): p

Partition number (1-4, default 1):

First sector (2048-104857599, default 2048):

Using default value 2048

Last sector, +sectors or +size{K,M,G} (2048-104857599, default 104857599):

Using default value 104857599

Partition 1 of type Linux and of size 50 GiB is set


Command (m for help): w

The partition table has been altered!


Calling ioctl() to re-read partition table.

Syncing disks.

[root@oel76-19 ~]#

[root@oel76-19 ~]# fdisk /dev/sdd

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 0xa4a87f50.


Command (m for help): n

Partition type:

   p   primary (0 primary, 0 extended, 4 free)

   e   extended

Select (default p): 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): w

The partition table has been altered!


Calling ioctl() to re-read partition table.

Syncing disks.

[root@oel76-19 ~]# fdisk /dev/sde

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 0xd2a3ce6d.


Command (m for help): n

Partition type:

   p   primary (0 primary, 0 extended, 4 free)

   e   extended

Select (default p): 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): w

The partition table has been altered!


Calling ioctl() to re-read partition table.

Syncing disks.

[root@oel76-19 ~]#


Now We will create asm disks using oracleasm. We will configure oracleasm for first time.


[root@oel76-19 ~]#

[root@oel76-19 ~]# 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 []: oracle

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@oel76-19 ~]# 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

[root@oel76-19 ~]#

[root@oel76-19 ~]#

[root@oel76-19 ~]# oracleasm scandisks

Reloading disk partitions: done

Cleaning any stale ASM disks...

Scanning system for ASM disks...

[root@oel76-19 ~]#

Now we will be creating disks for asm diskgroups.


[root@oel76-19 ~]# oracleasm createdisk DATADISK /dev/sdc1

Writing disk header: done

Instantiating disk: done

[root@oel76-19 ~]#

[root@oel76-19 ~]# oracleasm createdisk FRADISK /dev/sdd1

Writing disk header: done

Instantiating disk: done

[root@oel76-19 ~]#

[root@oel76-19 ~]# oracleasm createdisk OCRVDDISK /dev/sde1

Writing disk header: done

Instantiating disk: done

[root@oel76-19 ~]#

[root@oel76-19 disks]# oracleasm listdisks

DATADISK

FRADISK

OCRVDDISK

[root@oel76-19 disks]#


We have to make sure that /dev/sd[c-e]1 are owned by oracle:oinstall. So that we don’t see any issue during grid installation


Create the directories in which the Oracle software will be installed.

mkdir -p /u01/app/oracle/product/19.0.0/dbhome_1

mkdir -p /u01/app/19.0.0/grid

chown -R oracle:oinstall /u01

chmod -R 775 /u01

Putting mount points directly under root without mounting separate disks to them is typically a bad idea. It's done here for simplicity, but for a real installation "/" storage should be reserved for the OS.

Unless you are working from the console, or using SSH tunnelling, login as root and issue the following command.

xhost +hostname

The scripts are created using the cat command, with all the "$" characters escaped. If you want to manually create these files, rather than using the cat command, remember to remove the "\" characters before the "$" characters.


cd ~oracle

vi .bash_profile

Update the below settings in bash profile of oracle user

# Oracle Settings

export TMP=/tmp

export TMPDIR=$TMP


export ORACLE_HOSTNAME=oel76-19.lostworld.com

export ORACLE_UNQNAME=cdb19c1

export ORACLE_BASE=u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/19.0.0/dbhome_1

export ORA_INVENTORY=/u01/app/oraInventory

export ORACLE_SID=cdb19c1

export PDB_NAME=pdb19c1


export PATH=/usr/sbin:/usr/local/bin:$PATH

export PATH=$ORACLE_HOME/bin:$PATH


export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib

export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib


[root@oel76-19 u01]# mv 19c_V982063-01.zip /u01/app/oracle/product/19.0.0/dbhome_1

[root@oel76-19 u01]# mv 19c_V982068-01.zip /u01/app/19.0.0/grid


[oracle@oel76-19 ~]$ cd /u01/app/oracle/product/19.0.0/dbhome_1

[oracle@oel76-19 dbhome_1]$ ls -tl

total 2990920

-rwxr-x---. 1 oracle oinstall 3059705302 Jul  8 15:02 19c_V982063-01.zip

[oracle@oel76-19 dbhome_1]$

[oracle@oel76-19 dbhome_1]$ unzip 19c_V982063-01.zip


Set DISPLAY to start the grid installation.

export DISPLAY=local computer ip:0.0

[oracle@oel76-19 ~]$ echo $DISPLAY

192.168.1.9:0.0

[oracle@oel76-19 ~]$ xclock (you will see a clock picture on your screen)


FROM here actual oracle software installation is started.

Go to the grid home which we have already created and unzipped the grid software over there.

cd /u01/app/19.0.0/grid

[oracle@oel76-19 grid]$ ./gridSetup.sh (type it and hit enter below screen will open)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


[root@oel76-19 ~]#

[root@oel76-19 ~]# cd /u01/app/oracle/product/19.0.0/dbhome_1/

[root@oel76-19 dbhome_1]#

[root@oel76-19 dbhome_1]# ./runInstaller

 

 

 

 

 

 

 

 

 

 

 


From other putty session I have set display and started asmca utility to create the remaining diskgroups.

[oracle@oel76-19 ~]$

[oracle@oel76-19 ~]$ export DISPLAY=192.168.1.9:0.0

[oracle@oel76-19 ~]$ asmca

 

 

Once we have created the remaining diskgroups we can continue with our installation.

 

 

 

 

 

 

 

 

Comments

Popular posts from this blog

Typical Shift for a Oracle DBA

. Usually We start by checking on call mailbox for any alerts/issues like following OEM Alerts Mount point full Tablespace alert Listener down Server down Backups failuer . Shift handover report, it contains pending request. . Daily tickets/Incidents by using available ticketing tool. .Daily scheduled Change Req & Service Req as per schedule. . Alert log error checking. . Verify all instances are online. . Check tablespaces should not be used more that 95% . Check all last night backups were successful. . Check OEM Alerts and resolve them. . Schema level refreshing by using exp/imp, expdp/impdp. . Explaining the plans for particular table to tune the databases. . Taking backups by using RMAN on daily and weekly basis.

15 Things fresher DBA must know

This blog post is a quick summary of How to become a DBA course – A 100% free course which speaks about everything you need to become an Oracle DBA. Learning SQL is just not enough to become an Oracle DBA. You need much more skills and learn other things to crack your first job interview. In this blog post, I would like to talk about 15 things you must know as a Junior (Fresher) DBA even before you would like to start your career as database administrator. 1. Linux Administration 98% of the servers in all the MNCs out there use Unix or Linux operating system. It is obvious that the Oracle database you will be working on would also be hosted on some Linux server. And, not having good hands-on knowledge on Linux will be one of the biggest road blocks in your path to become a DBA. 2. Virtualization Now that you know the importance of Linux operating system, the next big question is how to practice it. In order to learn Linux, you need to install it on your laptop (or desktop) to master it...