Oracle Automatic Storage Management - Installation




In this tutorial, you will see how to configure ASM (Automatic Storage Management) which helps to group the disks into one or more diskgroups in the storage system and its potentially helps to reduce the manageability of handing the big collection of database files. Follow the below steps to complete the installation.

Preinstallation
Step1: Select host only adapter in both the guest machine and assign same network address for guest as well as host windows.


Step2: create required disk in vm for OCR, DATA and FRA
Step3: go to oracle and add grid_home in bash profile and execute it.
Note:  mkdir –p /u01/app/11.2.0/grid
Step4: create grid_env for asm environment variables
Step5: format the disk in root by below commands,
Fdisk –l
Fdisk /dev/sdc1 and press p,1 and w


Step6: install asm packages orderly,
Step7: configure the oracleasm 
Give user and group name
Step8: initialize the asm,
Step9: create asm disk as below,


Installation


Step10: open the grid_64 and install in oracle prompt,


Vi .grid_env involved the below variables
Step11. Set asm home and open asmcmd,

Creation of disk group
Step12: open sqlplus asm and check the status of the disk group which is created on the time of installation,
Header_status  
Provisioned – qualifying all the criteria to be part of specific group
Member – part of any disk group
Former – earlier it was a part of any dg 
Candidate – same as provisioned 
Mount_status
Cached – part of memory
Closed – still not created 


Step13:  open vi and give the syntax as shown below,


Step13: Create one more disk group using asmca


Validations
Step14: check the dg state as below,
Step15: check the status in sqlasm
Step16: As per the below output, OCR is missing,
To get it to be mounted do as below,
Excellent. We have successfully installed the ASM to the Oracle System. Keep proceed for ASM Management and Migration techniques



Recent Posts

  • Cloud SQL
    What is Cloud SQL  It is a fully managed relational database service for PostgreSQL and MySQL database in the GCP. MySQL instance can be...
    May 17 2020 | Read more
  • Deploy an application to Google Kubernetes Engine
    Welcome back, this is the continuation post of the previous article, where we have discussed the Kubernetes and its concepts in detail. In this...
    May 13 2020 | Read more
  • Google Kubernetes Engine
    What is GKE? GKE is a managed, production-ready environment for deploying containerized applications. It is like a managed cargo container in...
    May 13 2020 | Read more
  • Google App Engine – Flexible
    In the previous article, we have discussed what is google app engine and how to deploy the application in the Google app engine – Standard. In...
    May 10 2020 | Read more