0% found this document useful (0 votes)
6 views

Automatic Storage Management (ASM)

Uploaded by

kaleem.prodba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Automatic Storage Management (ASM)

Uploaded by

kaleem.prodba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

ASM INSTALLATIONS STEP :-

STEP1:- apply this command and check the space in system


df -h

Step 2 :- install the oracle packages .


yum -y install -y oracle-database-preinstall-19c

yum -y install oracleasm*

yum -y install kmod-oracleasm*

step 3 add group on user user


groupadd -g 54327 asmdba
groupadd -g 54328 asmoper
groupadd -g 54329 asmadmin

Add asmdba as secondary group to Oracle user

usermod -a -G asmdba oracle

Create Grid User

useradd -u 54331 -g oinstall -G dba,asmdba,asmoper,asmadmin,racdba


grid

Change the password for Oracle and Grid user

passwd oracle

passwd grid

Create the Directories for Oracle Database installation

mkdir -p /u01/app/oracle
mkdir -p /u01/app/oracle/product/19c/dbhome
chown -R oracle:oinstall /u01/app/oracle
Create the Directories for Oracle Grid installation
1 mkdir -p /u01/app/grid/product/19c/grid_home
2 chown -R grid:oinstall /u01/app/grid
3 chmod -R 775 /u01

Configure Oracle ASM


Let us configure Oracle ASM
1 oracleasm configure -i

Load / initiate Oracle ASM


[root@node1 ~]#
[root@node1 ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 30G 0 disk
├─sdb2 8:18 0 10G 0 part
├─sdb3 8:19 0 10G 0 part
└─sdb1 8:17 0 10G 0 part
sr0 11:0 1 1024M 0 rom
sda 8:0 0 120G 0 disk
├─sda2 8:2 0 119.5G 0 part
│ ├─ol-swap 252:1 0 9.3G 0 lvm /swap
│ ├─ol-tmp 252:2 0 4.7G 0 lvm /tmp
│ └─ol-root 252:0 0 105.6G 0 lvm /
└─sda1 8:1 0 488M 0 part /boot
[root@node1 ~]#
[root@node1 ~]#
[root@node1 ~]#

You might also like