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.

 

 

 

 

 

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.

 

 

 

 

 

Mehmet Salih Deveci

I am Founder of 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 mehmetsalih.deveci@outlook.com.-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  mehmetsalih.deveci@outlook.com a mail atabilirsiniz.

11 thoughts on “Oracle Automatic Storage Management 18c Step by Step Installation -1

  • March 25, 2019 at 6:27 pm
    Permalink

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

    Reply
  • April 25, 2019 at 11:09 pm
    Permalink

    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 🙂

    Reply
  • May 8, 2019 at 1:07 am
    Permalink

    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

    Reply
  • May 16, 2019 at 2:23 pm
    Permalink

    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.

    Reply
  • May 19, 2019 at 12:48 am
    Permalink

    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!|

    Reply
  • May 20, 2019 at 2:48 am
    Permalink

    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!|

    Reply
  • May 20, 2019 at 6:32 am
    Permalink

    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?|

    Reply

Leave a Reply

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