Oracle Automatic Storage Management 18c Step by Step Installation -1

Hi,

I will tell Oracle Automatic Storage Management 18c installation in this post. If you don’t have any information about Automatic Storage Management, please read following articles.

 

 

 

https://ittutorial.org/2018/02/13/oracle-automatic-storage-management-1-2/

 

https://ittutorial.org/2018/02/14/oracle-automatic-storage-management-2-2/

 

Before Oracle Automatic Storage Management ( ASM ) installation, we need to prepare Oracle ASM disk like following.

 

ASMLib software is used to format or configure any disk on Linux as an ASM disk. The ASMLib software consists of the following 3 components.

• Open source (GPL) core module package: kmod-oracleasm
• Open source (GPL) utilities package: oracleasm-support
• Closed-source library package: oracleasmlib

We are downloading and installing them with the following yum packages.

Firstly yum install oracleasm like following.

 

[root@MehmetSalih ~]# yum install oracleasm
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package kernel-uek.x86_64 0:4.14.35-1844.2.5.el7uek will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==========================================================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================================================
Installing:
kernel-uek x86_64 4.14.35-1844.2.5.el7uek ol7_UEKR5 52 M
Transaction Summary
==========================================================================================================================================================
Install 1 Package
Total download size: 52 M
Installed size: 59 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
kernel-uek-4.14.35-1844.2.5.el7uek.x86_64.rpm | 52 MB 00:00:13
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : kernel-uek-4.14.35-1844.2.5.el7uek.x86_64 1/1
Verifying : kernel-uek-4.14.35-1844.2.5.el7uek.x86_64 1/1
Installed:
kernel-uek.x86_64 0:4.14.35-1844.2.5.el7uek
Complete!
[root@MehmetSalih ~]#

 

And then you should install related yum packages like following.

 

[root@MehmetSalih ~]# yum install oracleasm-support.x86_64
[root@MehmetSalih ~]# yum install kmod-oracleasm

 

 

 

After Oracle ASM lib packages are installed you need to configure like following.

[root@MehmetSalih ~]# 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

Check Oracle ASM status like following.

[root@MehmetSalih ~]# oracleasm status
Checking if ASM is loaded: no
Checking if /dev/oracleasm is mounted: no
[root@MehmetSalih ~]#
[root@MehmetSalih ~]#

 

İnitialize oracleasm like following

[root@MehmetSalih ~]# 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@MehmetSalih ~]#

 

After seeing Oracleasm software works correctly, the disk is created as follows.

[root@MehmetSalih ~]# oracleasm createdisk DATA /dev/sdb2
Writing disk header: done
Instantiating disk: done
[root@MehmetSalih ~]#

 

And we can list oracle asmdisk like following.

[root@MehmetSalih ~]# oracleasm listdisks
DATA
[root@MehmetSalih ~]#

 

 

The Oracle ASM 18c installation file is downloaded from https://support.oracle.com or https://edelivery.oracle.com and transfered to the server.

The corresponding file is unzip and connect server via vncserver and run the gridSetup.sh file to start the installation like following.

 

Choose second option to install Standalone Oracle Automatic Storage management installation.

 

 

 

 

Specify Oracle ASM disk like following. Our Oracle ASM disks are under the /dev/oracleasm/disks/ directory, so type this directory like following.

 

 

 

 

Choose Redundancy as external like following.

 

Specify Oracle sys and system passwords like following.

 

 

 

 

 

I don’t have Enterprise manager Cloud control so I don’t register it.

Specify operating systems group like following.

 

 

 

 

 

 

Type Oracle base

 

 

 

 

Type Oracle inventory directory

 

Click next button

 

 

 

 

Verification result gives us some warning, we can ignore them.

 

Installation summary like following.

 

 

 

Execute root.sh in the server with root user like following.

 

[root@MehmetSalih ~]# /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@MehmetSalih ~]#
[root@MehmetSalih ~]#










[root@MehmetSalih ~]# /u01/install/root.sh
Performing root user operation.

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/install

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/install/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/oracle/crsdata/mehmetsalih/crsconfig/roothas_2019-02-18_04-07-24PM.log
2019/02/18 16:07:28 CLSRSC-363: User ignored prerequisites during installation
LOCAL ADD MODE
Creating OCR keys for user 'oracle', 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 mehmetsalih successfully pinned.
2019/02/18 16:07:46 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'mehmetsalih'
CRS-2673: Attempting to stop 'ora.evmd' on 'mehmetsalih'
CRS-2677: Stop of 'ora.evmd' on 'mehmetsalih' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'mehmetsalih' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.

mehmetsalih 2019/02/18 16:09:12 /u01/install/cdata/mehmetsalih/backup_20190218_160912.olr 70732493
2019/02/18 16:09:13 CLSRSC-327: Successfully configured Oracle Restart for a standalone server
[root@MehmetSalih ~]#

 

 

 

Oracle ASM installation is completed successful.

 

 

 

 

 

Do you want to learn Oracle database 19c Installation, then read the following articles.

Oracle Database 19c on Linux 7.6 Step by Step Installation -2

 

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

19 comments

  1. I cannot thank you enough for the blog post.Really looking forward to read more. Awesome.

  2. Very nice info and straight to the point. I don’t know if this is in fact the best place to ask but do you people have any ideea where to get some professional writers? Thanks 🙂

  3. Propecia 1mg Side Effects [url=http://buyciali.com]cheapest cialis 20mg[/url] Generisches Cialis Erfahrungen Vendita Cialis Generico In Italia How Do You Take Zithromax

  4. WOW just what I was looking for. Came here by searching for keyword|

  5. I’m impressed, I need to say. Actually hardly ever do I encounter a weblog that’s both educative and entertaining, and let me let you know, you might have hit the nail on the head. Your thought is excellent; the issue is something that not sufficient persons are speaking intelligently about. I am very glad that I stumbled across this in my seek for something regarding this.

  6. Hello! This post could not be written any better! Reading this post reminds me of my previous room mate! He always kept talking about this. I will forward this page to him. Fairly certain he will have a good read. Many thanks for sharing!|

  7. Good day! I know this is kinda off topic but I’d figured I’d ask. Would you be interested in exchanging links or maybe guest writing a blog post or vice-versa? My site covers a lot of the same subjects as yours and I feel we could greatly benefit from each other. If you happen to be interested feel free to send me an email. I look forward to hearing from you! Terrific blog by the way!|

  8. Thank you for the auspicious writeup. It if truth be told used to be a leisure account it. Glance advanced to more introduced agreeable from you! However, how can we keep up a correspondence?|

  9. It’s really a nice and useful piece of information. I am satisfied that you shared this useful information with us. Please keep us up to date like this. Thanks for sharing.

  10. Superb, what a webpage it is! This website gives helpful information to us, keep it up.|

  11. Hmm is anyone else experiencing problems with the images on this blog loading? I’m trying to find out if its a problem on my end or if it’s the blog. Any responses would be greatly appreciated.|

  12. Do you have a spam issue on this site; I also am a blogger, and I was wanting to know your situation; many of us have developed some nice methods and we are looking to exchange strategies with others, please shoot me an email if interested.|

  13. Hello there! I could have sworn I’ve been to this site before but after browsing through some of the post I realized it’s new to me. Anyways, I’m definitely delighted I found it and I’ll be book-marking and checking back frequently!|

  14. Hi, i read your blog occasionally and i own a similar one and i was just wondering if you get a lot of spam remarks? If so how do you protect against it, any plugin or anything you can advise? I get so much lately it’s driving me mad so any support is very much appreciated.|

  15. Thank you a lot for sharing this with all folks you actually recognize what you are talking approximately! Bookmarked. Please also visit my website =). We could have a link exchange agreement among us|

  16. You ought to be a part of a contest for one of the greatest blogs on the internet. I’m going to highly recommend this site!|

Leave a Reply

Your email address will not be published. Required fields are marked *