###### Creating Luns Attaching Luns Partition Luns (Fdisk) Naming Partitions # (Using Oracleasm or Udev Rules)
###### Creating Luns Attaching Luns Partition Luns (Fdisk) Naming Partitions # (Using Oracleasm or Udev Rules)
#
Luns are attached to the server #
( Luns are from storage servers NAS Or SAN storage )
ASM s/w
Have capability of bringing
these disks together
and create disk group
#####
Create Diskgroup #
on a diskgroup we can install database #
WHEN diskgroup space is exhausted, we can add new disk to the diskgroup #
thats how we can increase size of the diskgroup #
objective of ASM #
creating diskgroup #
and installing database on diskgroup
if the space on diskgroup is filled, we will add additional space to diskgroup. without affecting
database #
######
* creating luns
* attaching luns
* partition luns ( fdisk )
* naming partitions # ( using oracleasm or udev rules )
#####
partitions completed ####
https://oracle-base.com/articles/linux/udev-scsi-rules-configuration-in-oracle-linux
MODE="0660"
MODE="0660"
KERNEL=="sdd1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -d /dev/$parent",
MODE="0660"
MODE="0660"
MODE="0660"
MODE="0660"
/sbin/partprobe /dev/sdb1
/sbin/partprobe /dev/sdc1
/sbin/partprobe /dev/sdd1
/sbin/partprobe /dev/sdd2
/sbin/partprobe /dev/sdd3
/sbin/partprobe /dev/sdd4
#####
create directories and make sure oracle User have permissions on it
mkdir -p /u01/app/oracle/product/12.1.0.2/grid_home
Installation #
##############
Important views #
v$asm_diskgroup;
v$asm_disk;
v$asm_operation;
v$asm_client;
GV$ASM_DISK_IOSTAT
V$ASM_VOLUME
V$ASM_ACFSVOLUMES
#####
#######
Header status #
MEMBER # disk is the part of the diskgroup
FORMER # once part of the diskgroup
PROVISIONED | CANDIDATE # BRAND NEW # NOT ASSIGNED TO ANY
DISKGROUP #
ASM have capability of making a copy of the database inside the diskgroup #
in order to make copy of database ASM will use 3 redundancy levels
ORACLE SERVER PROCESS INTERACTS WITH ASMB process to complete
User request #
ASM will evenly distribute the data among the disks inside the diskgroup #
( RBAL rebalancing process )
###
operations as SYSASM
asmcmd >
ASM internals #
https://www.youtube.com/watch?v=lMMLBYsLvrc
http://oracledbabhuvan.blogspot.com/2012/01/difference-between-candidate.html
http://www.oracle.com/technetwork/articles/database/asm-odb12c-enhancements-
2206102.html
http://allthingsoracle.com/12c-database-backups-using-acfs-snapshots/