SlideShare a Scribd company logo
Oracle Linux and Oracle Database -
A Trusted Combination
■  Presenter: Anton Els
Session Details:
@aelsnz
Introduction
■  Vice President Product Development
■  NZOUG Committee (VP)
■  Working with Oracle database since version 7
■  Interests Include:
▪  Linux, Docker, Oracle Databases, Oracle Backup and Recovery
■  Qualifications:
▪  Oracle Database 11g Certified Master
▪  Oracle 8i, 9i, 10g and 11g OCP
▪  Solaris 10 SCSA and Red Hat 5 RHCSA
▪  B.Sc. Mathematical Sciences and B.Sc. Hons Informatics
■  Presented at Collaborate, NZOUG and db tech showcase
Anton	
  Els	
  -­‐  @aelsnz
Where do I come from….
Who do I work for – Dbvisit Software Limited
■  Software Development Company
■  HQ in New Zealand
▪  US subsidiary and office in Czech Republic
■  Database Replication is our playground!
■  Worldwide leader in DR solutions for Oracle Standard Edition
■  Used in 110+ countries!
■  Product Engineers with “real world” DBA Experience
■  Regular presenters at OOW, Collaborate and NZOUG
■  Passionate about Oracle Technology
•  Introduction into the world of Oracle Linux
•  Command Line or GUI?
•  Installation and a few tips for Oracle DBAs
•  So what is this UEK?
•  How does software updates work?
•  Things an Oracle DBA should know!
•  The /proc filesystem…
•  The power of the command line!
•  Linux file systems
•  Configure Linux for ASM - the easy way!
•  Backup and Recovery
•  Monitoring
•  Conclusion
•  Q & A
Agenda
Linux is more than just a terminal…..
If you want, there is a GUI!
Introduction to Oracle Linux
■  Oracle Linux = Oracle Enterprise Linux = Enterprise Linux
■  Linux distribution based on Red Hat Enterprise Linux (RHEL)
■  Binary Compatible with RHEL
▪  Two alternative kernels:
Ø  Red Hat Compatible Kernel
Ø  Unbreakable Enterprise Kernel (UEK)
■  Supported Architectures:
▪  i386 (4,5 and 6)
▪  x86_64 (4,5,6 and 7)
▪  ia64 (5.4-5.11 only)
■  Free to Download
▪  Oracle E-delivery
▪  Public Yum Repositories
Introduction to Oracle Linux
■  Commercial Options:
▪  Technical Support (Subscription based)
Ø  Starting at US$119 per system (Oracle Linux Network Support)
▪  Access to ULN (Unbreakable Linux network)
■  Current Versions:
Release	
  Date	
   Release	
  	
   Support	
  Oracle	
  Database	
  
2015-­‐03-­‐12
 7.1
 12.1.0.2	
  
2014-­‐10-­‐21
 6.6
 Yes
2014-­‐09-­‐23
 5.11
 Yes
2011-­‐02-­‐16
 4.9
 Yes
Installing Oracle Linux
■  Various installation options such as:
▪  Network
▪  DVD (ISO)
▪  USB
■  If using OVM or VirtualBox:
▪  Templates available
Installing Oracle Linux
DEMO	
  
Oracle Linux and Oracle Database - A Trusted Combination
What is the UEK? (Unbreakable Enterprise Kernel)
■  UEK – Oracle Unbreakable Enterprise Kernel
▪  “Fast”, “Reliable” and “Optimized” for Oracle Software/Hardware
▪  Used in Oracle’s Engineered Systems
▪  Release 1:
Ø  Released in 2010 and based on 2.6.32
Ø  OEL 5.5 / RHEL 5.5 and above
▪  Release 2:
Ø  Oracle Linux above 5.8 and 6.2
Ø  Based on 3.0.16
Ø  Actual Displayed version – 2.6.39
▪  Release 3:
Ø  Oracle Linux above 6.2 and 7
Ø  Based on 3.8 (latest UEK3u6 – 30 July 2015 – 3.8.13-98)
What is the UEK? (Unbreakable Enterprise Kernel)
■  UEK – Oracle Unbreakable Enterprise Kernel
▪  No need to re-install Linux
▪  RHEL Compatible Kernel still provided
▪  Release 1 and 2 for x86 and x86_64
▪  Release 3 x86_64 only
▪  ASMLib related modules already included
■  Download via:
▪  Oracle Public Yum
Ø  http://public-yum.oracle.com
▪  ULN (Unbreakable Linux Network)
Using “yum”
■  yum – Yellowdog Updater, Modified
■  Package Management Utility
■  Using RPM packages
■  Using software repositories
▪  Unbreakable Linux Network (ULN)
▪  Oracle’s Public Repository
▪  Can create your own
■  Big Advantage – dependency management!
■  Download repository configuration file:
▪  cd /etc/yum.repos.d
▪  wget http://public-yum.oracle.com/public-yum-release.repo
■  As easy as “yum update” or “yum install <package>”
The Directory Structure
/
/bin
 /boot
 /dev
 /etc
 /home
 /lib
 ..
 /proc
 /sbin
 /tmp
 /usr
 /var
So	
  where	
  do	
  we	
  install	
  Oracle?	
  
What  does  it  mean?
Where  is  my  “My  Documents”
Something to consider
/
/…
/home/oracle
/u01/app/oracle
/u01/app/oracle/product/12.1.0/db_1
Oracle  Base
Oracle  Home
Quick tip on /proc
/
/bin
 /boot
 /dev
 /etc
 ..
 /proc	
   /sbin
 /sys
 /tmp
 /usr
 /var
•  What	
  is	
  the	
  “/proc”	
  filesystem?	
  
•  Look	
  at	
  this:	
  
oracle@dbvlin505[/home/oracle]: ps -ef|grep pmon
oracle 24134 1 0 15:48 ? 00:00:00 ora_pmon_testdb
oracle@dbvlin505[/home/oracle]: cat /proc/24134/environ | xargs -0 -n1 |grep ORACLE_HOME
ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1/
Oracle  was  started  with  incorrect  ORACLE_HOME  variable  –  extra  slash
oracle@dbvlin505[/home/oracle]: ps -ef|grep pmon
oracle 24134 1 0 15:48 ? 00:00:00 ora_pmon_testdb
oracle@dbvlin505[/home/oracle]: sqlplus /nolog
SQL*Plus: Release 11.2.0.3.0 Production on Mon May 27 15:48:00 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
SQL> connect / as sysdba
Connected to an idle instance.
Useful Commands for the Oracle DBA
■  GUI’s can make things easier, BUT
■  GUI’s are not always available AND
■  Command line might sometimes be faster!
■  Useful Commands:
▪  ps, grep, awk, watch, perl, find, top, sar, lsof, pidstat, strace
■  Not sure how to use them?
▪  Use the man pages:
# man <command>
Example:
# man ps
Quick Tip
■  Want to quickly list a directory tree?
root@lab1[/]: tree -d -L 5 /u01
/u01
└── app
├── oracle
│   ├── admin
│   │   └── testdb
│   │   ├── adump
│   │   ├── dpdump
│   │   ├── pfile
│   │   └── scripts
│   ├── audit
│   ├── cfgtoollogs
│   │   ├── dbca
│   │   │   └── testdb
│   │   └── netca
│   ├── checkpoints
│   ├── diag
Useful Commands for the Oracle DBA
■  The “watch” command
■  Example: watch -n 0.5 "cat /proc/meminfo"
oracle@lab1[/home/oracle]: watch -h
 
Usage:
watch [options] command
Options:
-b, --beep beep if command has a non-zero exit
-c, --color interpret ANSI color sequences
-d, --differences[=<permanent>]
highlight changes between updates
-e, --errexit exit if command has a non-zero exit
-g, --chgexit exit when output from command changes
-n, --interval <secs> seconds to wait between updates
-p, --precise attempt run command in precise intervals
-t, --no-title turn off header
-x, --exec pass command to exec instead of "sh -c"
 
-h, --help display this help and exit
-v, --version output version information and exit
 
For more details see watch(1).
Useful Commands for the Oracle DBA
■  The “lsof” command
■  Examples:
root@kiwi1-oraclekiwi-com[/root]: lsof -i TCP -P|grep 22
sshd 1216 root 3u IPv4 20780 0t0 TCP *:22 (LISTEN)
sshd 1216 root 4u IPv6 20782 0t0 TCP *:22 (LISTEN)
sshd 5096 root 3u IPv4 107383 0t0 TCP kiwi1.oraclekiwi.com:22-
>192.168.56.1:50411 (ESTABLISHED)
sshd 5099 oracle 3u IPv4 107383 0t0 TCP
root@kiwi1-oraclekiwi-com[/tmp]: ps -ef|grep 19919
root 19919 9813 0 18:24 pts/2 00:00:00 vi testfile
root@kiwi1-oraclekiwi-com[/tmp]: lsof -p 19919
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
vi 19919 root cwd DIR 252,1 4096 50331777 /tmp
vi 19919 root rtd DIR 252,1 4096 128 /
vi 19919 root txt REG 252,1 905984 17289278 /usr/bin/vi
vi 19919 root mem REG 252,1 58288 33880406 /usr/lib64/
..
..
vi 19919 root 2u CHR 136,2 0t0 5 /dev/pts/2
vi 19919 root 3u REG 252,1 12288 51674965 /tmp/.testfile.swp
Useful Commands for the Oracle DBA
DEMO	
  
watch  –  real  Xme  monitor  for  a  process
ps,	
  grep,	
  awk	
  –  find  running  process,  and  idenXfy  the  parent
lsof    -­‐  list  open  files  for  process
Getting Ready to Install Oracle Database
■  Recommended RPM Packages:
▪  oracle-validated
▪  oracle-rdbms-server-11gR2-preinstall
▪  oracle-rdbms-server-12cR1-preinstall
Getting Ready to Install Oracle Database
■  Other recommended packages:
▪  dstat, sysstat, wget, parted, strace, tree, xterm, xclock, unzip,
lsof
■  Easy to install using “yum”
yum install dstat sysstat wget parted strace tree xterm xclock 
unzip lsof oracle-rdbms-server-12cR1-preinstall
Getting Ready to Install Oracle
■  Create Required Groups
▪  groupadd -g 501 oinstall
▪  groupadd -g 502 dba
▪  groupadd -g 503 oper
▪  groupadd -g 504 asmadmin
▪  groupadd -g 505 asmdba
▪  groupadd -g 506 asmoper
■  Create Users
▪  useradd -u 501 -g oinstall -G dba,asmdba,asmoper,oper 
-c "Oracle Software Owner" oracle
▪  useradd -u 502 -g oinstall -G asmadmin,asmdba,asmoper 
-c "Clusterware Owner" grid
OpXonal  add  groups:
•  backupdba
•  dgdba
•  kmdba
Getting Ready to Install Oracle
■  READ THE ORACLE INSTALLATION GUIDE!!!!
■  Follow the pre-requisite checks/tasks!!
■  Do not install Oracle in :
▪  /home/oracle/…….
■  Oracle Installation Options
▪  Response files (silent install)
▪  Using the DBCA in the Linux GUI
▪  Using VNC
▪  Using x-windows/X11 forwarding:
—  Make sure it is enabled in SSH (/etc/ssh/sshd_config)
—  ssh –C –X oracle@kiwi01
—  Test using “xclock”
Oracle Linux – Key File Systems
■  Large number of File Systems Supported:
▪  ext3
—  Journaling file system – Max 2TB files and 16TB file system size
▪  ext4
—  Improved ext3 – 16TB file/file system limit
▪  ocfs2
—  Clustered file system with COW, 16TB file/file system limit
▪  BTRFS
—  COW file system, snapshots, rollback, compression 16EB limit
▪  vfat
—  developed by MS-DOS, known as fat32, max file size 2GB
▪  Xfs ß Now the default root file system in Oracle Linux 7
—  high-performance journaling file system, 100TB limit, only x86_64
Oracle Linux and OCFS2
■  Oracle Cluster File System (version 2)
▪  Integrated at 2.6.16 of kernel (experimental)
▪  2.6.19 – stable
▪  2.6.29 – improved
■  Free to use under GNU General Public License (GPL)
■  Supported under Oracle Linux
■  Used extensively by Oracle VM
Oracle Linux and OCFS2
■  Does not have to be used for Clusters!
▪  Use it as a local File System and get benefits of:
—  “File Snapshots” using the “reflink”
—  It is FAST!
—  Ever wondered how OVM is creating those clones so quickly?
■  Useful Utilities:
▪  https://oss.oracle.com/~smushran/reflink-tools/
Oracle Linux and OCFS2
DEMO	
  
Quickly  clone  a  test  database  from  /u02/oradata1/QA1	
  to  /u02/oradata1/QA2	
  
BTRFS
■  Considered by some as the “next-generation” filesystem
▪  Can handle 16EB filesystems
▪  Online grow and shrink
▪  Copy-on-write (COW)
▪  Storage Pools
Ø  subvolumes
Ø  snapshots
■  Using BTRFS snapshots does not replace backups!!!!
BTRFS
■  General feel is not for production systems… Yet
■  Not supported by Oracle to store database files
■  Recommended to use latest UEK 3
▪  Keep up to date!
■  Other BTRFS Key Features
▪  Checksum function for integrity
▪  Transparent compression
▪  Transparent defragmentation
▪  Integrated LVM (Logical Volume Management) – RAID0/1/10/5/6
BTRFS Example – Create Storage Pool
mkfs.btrfs –L btrfs_pool_label /dev/sdb
▪  Or if testing - do not do this in production!
dd if=/dev/zero of=/btrfs_test bs=1M count=1000
losetup /dev/loop0 /btrfs_test
mkfs.btrfs –L test_btrfs_pool_label /dev/loop0
Tip – Using blkid command
root@kiwi1-oraclekiwi-com[/]: blkid
/dev/sda1: UUID="bf9d4ffc-04b1-4774-830b-bd46b02bde55" TYPE="xfs"
/dev/sda2: UUID="KD0boO-PBlP-7WPR-Dbic-1O6h-ZdnL-3LXWtX" TYPE="LVM2_member"
/dev/sdc1: LABEL="ASMDISK1" TYPE="oracleasm”
…
…
/dev/sdb1: UUID="d2cbf3ae-1758-408f-aaf5-403042cb4352"
UUID_SUB="4c22e385-3355-4c20-932a-d1f6e3e5d959" TYPE="btrfs”
…
…
/dev/sdd1: UUID="7be9c546-9395-429a-8ff9-9c2ab466a04d" TYPE="ocfs2"
/dev/mapper/ol_oel7--base-swap: UUID="60f235e7-5de1-4974-b467-709a6cebb5bf"
TYPE="swap"
/dev/mapper/ol_oel7--base-root: UUID="1fdfaf7f-b504-494e-85ca-d73329c7e9f2"
TYPE="xfs”
BTRFS Example – Mount Storage Pool
root@kiwi1-oraclekiwi-com[/]: mount /dev/loop0 /u03
root@kiwi1-oraclekiwi-com[/]: df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ol_oel7--base-root 12G 4.9G 6.2G 44% /
devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs 2.0G 631M 1.4G 32% /dev/shm
tmpfs 2.0G 9.0M 2.0G 1% /run
tmpfs 2.0G 0 2.0G 0% /sys/fs/
cgroup
/dev/sdb1 30G 15G 15G 51% /u01
/dev/sdd1 30G 2.5G 28G 9% /u02
/dev/sda1 497M 190M 308M 39% /boot
/dev/loop0 1000M 32K 996M 1% /u03
root@kiwi1-oraclekiwi-com[/]: btrfs filesystem df /u03
System, single: total=4.00MiB, used=4.00KiB
Data+Metadata, single: total=8.00MiB, used=28.00KiB
BTRFS Example – Create subvolume
root@kiwi1-oraclekiwi-com[/]: btrfs subvolume create u03/sub1
Create subvolume 'u03/sub1'
root@kiwi1-oraclekiwi-com[/]: btrfs subvolume list -a /u03
ID 256 gen 6 top level 5 path sub1
root@kiwi1-oraclekiwi-com[/]: btrfs subvolume show /u03/*
/u03/sub1
Name: sub1
uuid: 9ad33e28-d98a-ad46-89fc-1c11de9424bb
Parent uuid: -
Creation time: 2015-04-13 18:56:44
Object ID: 256
Generation (Gen): 6
Gen at creation: 6
Parent: 5
Top Level: 5
Flags: -
Snapshot(s):
BTRFS Example – Create subvolume snapshots
root@kiwi1-oraclekiwi-com[/u03]: btrfs subvolume snapshot sub1 sub2
Create a snapshot of 'sub1' in './sub2'
root@kiwi1-oraclekiwi-com[/u03]: btrfs subvolume snapshot -r sub1 sub3
Create a readonly snapshot of 'sub1' in './sub3'
root@kiwi1-oraclekiwi-com[/u03]: btrfs subvolume show /u03/sub1
/u03/sub1
Name: sub1
uuid: 9ad33e28-d98a-ad46-89fc-1c11de9424bb
Parent uuid: -
Creation time: 2015-04-13 18:56:44
Object ID: 256
Generation (Gen): 9
Gen at creation: 6
Parent: 5
Top Level: 5
Flags: -
Snapshot(s):
sub2
sub3
root@kiwi1-oraclekiwi-com[/u03]: cd sub3
root@kiwi1-oraclekiwi-com[/u03/sub3]: touch test
touch: cannot touch ‘test’: Read-only file system
Are you using Oracle RAC and ASM
Need	
  a	
  shared	
  filesystem?	
  
What about ACFS……
■  Making use of underlying ASM disk groups
■  Oracle ASM is required
■  Easy to configure using “asmca”
■  Files that can be stored direct in ASM are not supported on
ACFS….. prior to 12c…
▪  From 12.1 database files allowed in ACFS!
▪  COMPATIBLE.ADVM must be set to 12.1
■  Ensure Oracle Linux Kernel used, is supported!
▪  ACFS OS Support Certification Matrix - Doc ID 1369107.1
▪  PSU might be required to enable
■  ACFS features include:
▪  Dynamic file system resizing
▪  Snapshots using copy-on-write
Setting up Disks for ASM
■  The quick and easy way:
▪  ASMLib kernel driver part of UEK
▪  Install ASMLib software (rpm)
—  oracleasm-support
—  oracleasmlib
–  http://www.oracle.com/technetwork/server-storage/linux/asmlib
▪  Creating ASM Disks:
—  Present Storage
—  Partition Disk
—  Run “oracleasm configure –i”
—  Create ASM disks: oracleasm createdisk (as root user)
oracleasm createdisk ASMDISK1 /dev/sdd1
—  List ASM disks: oracleasm listdisks
—  As Grid owner, run “asmca” to create disk groups or use SQL*Plus
Linux Performance Monitoring
■  Swap space
▪  Don’t look at 2 x memory
▪  If using swap space:
—  Review and understand why you are using swap
—  Review “free” command and /proc/meminfo
■  Useful Commands:
▪  sar
▪  vmstat
▪  Iostat
▪  iotop
■  Want to look at more detail:
▪  dtrace and strace
Linux Performance Monitoring
DEMO	
  
top,  sar,  vmstat,  iostat,  watch
Backup and Recovery
■  Does not have to be complex
■  3rd Party vendor backup solutions
▪  Linux agents available
■  Easier with Virtualization
▪  Snapshot / Clone options
▪  Live migration options
■  Use RMAN!!
■  Backup to Tape or Disk?
■  Why not use reflink and snapshots?
▪  Not on its own, but together with tools such as
—  tar, cpio, rsync, gzip, etc
Backup and Recovery
■  Useful Linux Commands:
▪  tar
▪  cpio
▪  rsync
▪  gzip
■  Examples:
tar czvf /backups/backupfile.tar.gz .
tar xzvf /backups/backupfile.tar.gz
[/home/oracle]: cd /u02/oradata1
[/u02/oradata1]: tar cf - | (cd /u02/oradata2; tar xf -)
[/u02/oradata1]: find . -print | cpio -pdm /u02/oradata2/
Tip - Don’t forget about Data Recovery Advisor
■  Introduced in Oracle 11g
■  Three key commands:
rman> LIST failure
rman> ADVISE failure
rman> REPAIR failure
■  Not available when using Multi-tenancy - CDB/PDB
▪  Expected in 12.2
Recommended Reading
Oracle  Linux  7  DocumentaXon  
h`ps://docs.oracle.com/cd/E52668_01/index.html

Supported  and  Recommended  File  Systems  on  Linux  
(Doc  ID  236826.1)

List  of  Files  Systems  Supported  in  Oracle  Linux  7  
(Doc  ID  1970430.1)

Unbreakable  Enterprise  Kernel:  Frequently  Asked  QuesXons  (Doc  ID  1210995.1)
Summary
■  Are you looking for an operating system that provides:
▪  Stability
▪  Performance
▪  Scalability
▪  Security
▪  Flexibility
Do	
  not	
  be	
  scared	
  of	
  the	
  command	
  line	
  
Final Comments…
Questions?
Presented By: Anton Els
Company: Dbvisit Software Limited
Email: anton.els@dbvisit.com
Twitter: @aelsnz
Blog: http://blog.dbvisit.com/author/anton-els/
Ad

Recommended

Oracle WebLogic Server 12c with Docker
Oracle WebLogic Server 12c with Docker
Guatemala User Group
 
12 Things about Oracle WebLogic Server 12c
12 Things about Oracle WebLogic Server 12c
Guatemala User Group
 
tow nodes Oracle 12c RAC on virtualbox
tow nodes Oracle 12c RAC on virtualbox
justinit
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0
Santosh Kangane
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
Guatemala User Group
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Yury Velikanov
 
Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and concept
Santosh Kangane
 
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Cloug Troubleshooting Oracle 11g Rac 101 Tips And Tricks
Scott Jenner
 
OTN Tour 2014: Rac 11g vs 12c
OTN Tour 2014: Rac 11g vs 12c
Deiby Gómez
 
10 ways to improve your rman script
10 ways to improve your rman script
Maris Elsins
 
Convert single instance to RAC
Convert single instance to RAC
Satishbabu Gunukula
 
Oracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New Features
Emre Baransel
 
RAC - The Savior of DBA
RAC - The Savior of DBA
Nikhil Kumar
 
RMAN best practices for RAC
RMAN best practices for RAC
Syed Hussain
 
Install oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle home
Satishbabu Gunukula
 
Rac questions
Rac questions
parvezsigan
 
Jurijs Velikanovs - RAC Attack 101 - How to install 12c RAC on your laptop
Jurijs Velikanovs - RAC Attack 101 - How to install 12c RAC on your laptop
Andrejs Vorobjovs
 
EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox
EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox
jpiwowar
 
Upgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 Clusterware
Nikhil Kumar
 
Oracle ACFS High Availability NFS Services (HANFS)
Oracle ACFS High Availability NFS Services (HANFS)
Anju Garg
 
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Kristofferson A
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RAC
Paulo Fagundes
 
Oracle Database on Docker
Oracle Database on Docker
Franck Pachot
 
RAC Attack 12c Installation Instruction
RAC Attack 12c Installation Instruction
Yury Velikanov
 
Understand oracle real application cluster
Understand oracle real application cluster
Satishbabu Gunukula
 
Jurijs Velikanovs Direct NFS - Why and How?
Jurijs Velikanovs Direct NFS - Why and How?
Andrejs Vorobjovs
 
You most probably dont need an RMAN catalog database
You most probably dont need an RMAN catalog database
Yury Velikanov
 
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting Disks
Markus Michalewicz
 
Monitoreo del performance de linux con sar
Monitoreo del performance de linux con sar
Guatemala User Group
 
Crating a Robust Performance Strategy
Crating a Robust Performance Strategy
Guatemala User Group
 

More Related Content

What's hot (20)

OTN Tour 2014: Rac 11g vs 12c
OTN Tour 2014: Rac 11g vs 12c
Deiby Gómez
 
10 ways to improve your rman script
10 ways to improve your rman script
Maris Elsins
 
Convert single instance to RAC
Convert single instance to RAC
Satishbabu Gunukula
 
Oracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New Features
Emre Baransel
 
RAC - The Savior of DBA
RAC - The Savior of DBA
Nikhil Kumar
 
RMAN best practices for RAC
RMAN best practices for RAC
Syed Hussain
 
Install oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle home
Satishbabu Gunukula
 
Rac questions
Rac questions
parvezsigan
 
Jurijs Velikanovs - RAC Attack 101 - How to install 12c RAC on your laptop
Jurijs Velikanovs - RAC Attack 101 - How to install 12c RAC on your laptop
Andrejs Vorobjovs
 
EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox
EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox
jpiwowar
 
Upgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 Clusterware
Nikhil Kumar
 
Oracle ACFS High Availability NFS Services (HANFS)
Oracle ACFS High Availability NFS Services (HANFS)
Anju Garg
 
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Kristofferson A
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RAC
Paulo Fagundes
 
Oracle Database on Docker
Oracle Database on Docker
Franck Pachot
 
RAC Attack 12c Installation Instruction
RAC Attack 12c Installation Instruction
Yury Velikanov
 
Understand oracle real application cluster
Understand oracle real application cluster
Satishbabu Gunukula
 
Jurijs Velikanovs Direct NFS - Why and How?
Jurijs Velikanovs Direct NFS - Why and How?
Andrejs Vorobjovs
 
You most probably dont need an RMAN catalog database
You most probably dont need an RMAN catalog database
Yury Velikanov
 
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting Disks
Markus Michalewicz
 
OTN Tour 2014: Rac 11g vs 12c
OTN Tour 2014: Rac 11g vs 12c
Deiby Gómez
 
10 ways to improve your rman script
10 ways to improve your rman script
Maris Elsins
 
Oracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New Features
Emre Baransel
 
RAC - The Savior of DBA
RAC - The Savior of DBA
Nikhil Kumar
 
RMAN best practices for RAC
RMAN best practices for RAC
Syed Hussain
 
Install oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle home
Satishbabu Gunukula
 
Jurijs Velikanovs - RAC Attack 101 - How to install 12c RAC on your laptop
Jurijs Velikanovs - RAC Attack 101 - How to install 12c RAC on your laptop
Andrejs Vorobjovs
 
EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox
EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox
jpiwowar
 
Upgrade 11gR2 to 12cR1 Clusterware
Upgrade 11gR2 to 12cR1 Clusterware
Nikhil Kumar
 
Oracle ACFS High Availability NFS Services (HANFS)
Oracle ACFS High Availability NFS Services (HANFS)
Anju Garg
 
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Kristofferson A
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RAC
Paulo Fagundes
 
Oracle Database on Docker
Oracle Database on Docker
Franck Pachot
 
RAC Attack 12c Installation Instruction
RAC Attack 12c Installation Instruction
Yury Velikanov
 
Understand oracle real application cluster
Understand oracle real application cluster
Satishbabu Gunukula
 
Jurijs Velikanovs Direct NFS - Why and How?
Jurijs Velikanovs Direct NFS - Why and How?
Andrejs Vorobjovs
 
You most probably dont need an RMAN catalog database
You most probably dont need an RMAN catalog database
Yury Velikanov
 
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting Disks
Markus Michalewicz
 

Viewers also liked (19)

Monitoreo del performance de linux con sar
Monitoreo del performance de linux con sar
Guatemala User Group
 
Crating a Robust Performance Strategy
Crating a Robust Performance Strategy
Guatemala User Group
 
Re-­Think Mobile… Beyond Mobile­‐First: Oracle Mobile Strategy and Overview
Re-­Think Mobile… Beyond Mobile­‐First: Oracle Mobile Strategy and Overview
Guatemala User Group
 
Building Better Mobile Backends with Oracle Mobile Cloud Service
Building Better Mobile Backends with Oracle Mobile Cloud Service
Guatemala User Group
 
Gestión de grandes volúmenes de información
Gestión de grandes volúmenes de información
Guatemala User Group
 
Diagnóstico de problemas de red para DBAs
Diagnóstico de problemas de red para DBAs
Guatemala User Group
 
Oracle GoldenGate for Oracle DBAs
Oracle GoldenGate for Oracle DBAs
Guatemala User Group
 
Indexes From the Concept to Internals
Indexes From the Concept to Internals
Deiby Gómez
 
Cutting edge Essbase
Cutting edge Essbase
Guatemala User Group
 
Oracle Insert Statements for DBAs and Developers
Oracle Insert Statements for DBAs and Developers
Guatemala User Group
 
Oracle Database Performance Tuning: The Not SQL Option
Oracle Database Performance Tuning: The Not SQL Option
Guatemala User Group
 
Oracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New Features
Deiby Gómez
 
Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...
Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...
BertrandDrouvot
 
Oracle Linux/Oracle VM & Oracle Cloud Overview
Oracle Linux/Oracle VM & Oracle Cloud Overview
Toronto-Oracle-Users-Group
 
Database administration commands
Database administration commands
Varsha Ajith
 
DBA Commands and Concepts That Every Developer Should Know
DBA Commands and Concepts That Every Developer Should Know
Alex Zaballa
 
Oracle ORA Errors
Oracle ORA Errors
Manish Mudhliyar
 
Oracle dba-concise-handbook
Oracle dba-concise-handbook
sasi777
 
PostgreSQL on EXT4, XFS, BTRFS and ZFS
PostgreSQL on EXT4, XFS, BTRFS and ZFS
Tomas Vondra
 
Monitoreo del performance de linux con sar
Monitoreo del performance de linux con sar
Guatemala User Group
 
Crating a Robust Performance Strategy
Crating a Robust Performance Strategy
Guatemala User Group
 
Re-­Think Mobile… Beyond Mobile­‐First: Oracle Mobile Strategy and Overview
Re-­Think Mobile… Beyond Mobile­‐First: Oracle Mobile Strategy and Overview
Guatemala User Group
 
Building Better Mobile Backends with Oracle Mobile Cloud Service
Building Better Mobile Backends with Oracle Mobile Cloud Service
Guatemala User Group
 
Gestión de grandes volúmenes de información
Gestión de grandes volúmenes de información
Guatemala User Group
 
Diagnóstico de problemas de red para DBAs
Diagnóstico de problemas de red para DBAs
Guatemala User Group
 
Indexes From the Concept to Internals
Indexes From the Concept to Internals
Deiby Gómez
 
Oracle Insert Statements for DBAs and Developers
Oracle Insert Statements for DBAs and Developers
Guatemala User Group
 
Oracle Database Performance Tuning: The Not SQL Option
Oracle Database Performance Tuning: The Not SQL Option
Guatemala User Group
 
Oracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New Features
Deiby Gómez
 
Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...
Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...
BertrandDrouvot
 
Oracle Linux/Oracle VM & Oracle Cloud Overview
Oracle Linux/Oracle VM & Oracle Cloud Overview
Toronto-Oracle-Users-Group
 
Database administration commands
Database administration commands
Varsha Ajith
 
DBA Commands and Concepts That Every Developer Should Know
DBA Commands and Concepts That Every Developer Should Know
Alex Zaballa
 
Oracle dba-concise-handbook
Oracle dba-concise-handbook
sasi777
 
PostgreSQL on EXT4, XFS, BTRFS and ZFS
PostgreSQL on EXT4, XFS, BTRFS and ZFS
Tomas Vondra
 
Ad

Similar to Oracle Linux and Oracle Database - A Trusted Combination (20)

Asian Spirit 3 Day Dba On Ubl
Asian Spirit 3 Day Dba On Ubl
newrforce
 
MySQL London Tech Tour March 2015 - Oracle Linux / OVM
MySQL London Tech Tour March 2015 - Oracle Linux / OVM
Mark Swarbrick
 
Netherlands Tech Tour - 04 Linux & OVM
Netherlands Tech Tour - 04 Linux & OVM
Mark Swarbrick
 
Oracle11g on fedora14
Oracle11g on fedora14
Khalid Matar Albuflasah
 
Oracle11g On Fedora14
Oracle11g On Fedora14
kmsa
 
Oracle Unbreakable Linux
Oracle Unbreakable Linux
markgatkinson
 
Get the Facts: Oracle's Unbreakable Enterprise Kernel
Get the Facts: Oracle's Unbreakable Enterprise Kernel
Terry Wang
 
Installation of oracle 12c RAC on linux vm
Installation of oracle 12c RAC on linux vm
Ron Morgan
 
oracle linux administration | oracle linux training - oracle trainings
oracle linux administration | oracle linux training - oracle trainings
OnlineOracleTrainings
 
linux installation.pdf
linux installation.pdf
MuhammadShoaibHussai2
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1
Voeurng Sovann
 
Install Redis on Oracle Linux
Install Redis on Oracle Linux
Johan Louwers
 
Oracle database 12c client quick installation guide 3
Oracle database 12c client quick installation guide 3
bupbechanhgmail
 
LinuxTraining_3.pptx
LinuxTraining_3.pptx
eyob51
 
Oracle database 12c client quick installation guide
Oracle database 12c client quick installation guide
bupbechanhgmail
 
Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linux
Anar Godjaev
 
Overview about OracleVM and Oracle Linux
Overview about OracleVM and Oracle Linux
andreas kuncoro
 
Oracle 18c installation on Oracle Enterprise Linux 7.4
Oracle 18c installation on Oracle Enterprise Linux 7.4
Mahamudul Hasan
 
RAC - Test
RAC - Test
Daralmadinah
 
OC|Webcast "Die neue Welt der Virtualisierung"
OC|Webcast "Die neue Welt der Virtualisierung"
OPITZ CONSULTING Deutschland
 
Asian Spirit 3 Day Dba On Ubl
Asian Spirit 3 Day Dba On Ubl
newrforce
 
MySQL London Tech Tour March 2015 - Oracle Linux / OVM
MySQL London Tech Tour March 2015 - Oracle Linux / OVM
Mark Swarbrick
 
Netherlands Tech Tour - 04 Linux & OVM
Netherlands Tech Tour - 04 Linux & OVM
Mark Swarbrick
 
Oracle11g On Fedora14
Oracle11g On Fedora14
kmsa
 
Oracle Unbreakable Linux
Oracle Unbreakable Linux
markgatkinson
 
Get the Facts: Oracle's Unbreakable Enterprise Kernel
Get the Facts: Oracle's Unbreakable Enterprise Kernel
Terry Wang
 
Installation of oracle 12c RAC on linux vm
Installation of oracle 12c RAC on linux vm
Ron Morgan
 
oracle linux administration | oracle linux training - oracle trainings
oracle linux administration | oracle linux training - oracle trainings
OnlineOracleTrainings
 
Installing oracle grid infrastructure and database 12c r1
Installing oracle grid infrastructure and database 12c r1
Voeurng Sovann
 
Install Redis on Oracle Linux
Install Redis on Oracle Linux
Johan Louwers
 
Oracle database 12c client quick installation guide 3
Oracle database 12c client quick installation guide 3
bupbechanhgmail
 
LinuxTraining_3.pptx
LinuxTraining_3.pptx
eyob51
 
Oracle database 12c client quick installation guide
Oracle database 12c client quick installation guide
bupbechanhgmail
 
Installing 12c R1 database on oracle linux
Installing 12c R1 database on oracle linux
Anar Godjaev
 
Overview about OracleVM and Oracle Linux
Overview about OracleVM and Oracle Linux
andreas kuncoro
 
Oracle 18c installation on Oracle Enterprise Linux 7.4
Oracle 18c installation on Oracle Enterprise Linux 7.4
Mahamudul Hasan
 
Ad

More from Guatemala User Group (20)

La transformacion digital en nuestra vida cotidiana. Un vistazo a las APIs
La transformacion digital en nuestra vida cotidiana. Un vistazo a las APIs
Guatemala User Group
 
Cloud Integration for Human Resources: Connect with Your talent in the Cloud
Cloud Integration for Human Resources: Connect with Your talent in the Cloud
Guatemala User Group
 
Oracle 12c New Features
Oracle 12c New Features
Guatemala User Group
 
Best Features of Multitenant 12c
Best Features of Multitenant 12c
Guatemala User Group
 
Why to Upgrade to Oracle 12c
Why to Upgrade to Oracle 12c
Guatemala User Group
 
ADF 12c como Backend
ADF 12c como Backend
Guatemala User Group
 
Improving the Performance of PL/SQL function calls from SQL
Improving the Performance of PL/SQL function calls from SQL
Guatemala User Group
 
Integracion Continua en Oracle ADF
Integracion Continua en Oracle ADF
Guatemala User Group
 
Gestión de infraestructura tomcat/Tom EE con tfactory
Gestión de infraestructura tomcat/Tom EE con tfactory
Guatemala User Group
 
Pluggable Databases: What they will break and why you should use them anyway!
Pluggable Databases: What they will break and why you should use them anyway!
Guatemala User Group
 
Introduction to Oracle Clusterware 12c
Introduction to Oracle Clusterware 12c
Guatemala User Group
 
What's next after Upgrade to 12c
What's next after Upgrade to 12c
Guatemala User Group
 
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
Guatemala User Group
 
How to Upgrade Hundreds or Thousands of Databases
How to Upgrade Hundreds or Thousands of Databases
Guatemala User Group
 
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
Guatemala User Group
 
How Oracle Single/Multitenant will change a DBA's life
How Oracle Single/Multitenant will change a DBA's life
Guatemala User Group
 
Integration Cloud Service vs SOA
Integration Cloud Service vs SOA
Guatemala User Group
 
SOA y Microservices Diferencias y Aplicaciones
SOA y Microservices Diferencias y Aplicaciones
Guatemala User Group
 
It's raining data! Oracle databases in the cloud
It's raining data! Oracle databases in the cloud
Guatemala User Group
 
The best Oracle Database 12c Tuning Features for Developers
The best Oracle Database 12c Tuning Features for Developers
Guatemala User Group
 
La transformacion digital en nuestra vida cotidiana. Un vistazo a las APIs
La transformacion digital en nuestra vida cotidiana. Un vistazo a las APIs
Guatemala User Group
 
Cloud Integration for Human Resources: Connect with Your talent in the Cloud
Cloud Integration for Human Resources: Connect with Your talent in the Cloud
Guatemala User Group
 
Improving the Performance of PL/SQL function calls from SQL
Improving the Performance of PL/SQL function calls from SQL
Guatemala User Group
 
Gestión de infraestructura tomcat/Tom EE con tfactory
Gestión de infraestructura tomcat/Tom EE con tfactory
Guatemala User Group
 
Pluggable Databases: What they will break and why you should use them anyway!
Pluggable Databases: What they will break and why you should use them anyway!
Guatemala User Group
 
Introduction to Oracle Clusterware 12c
Introduction to Oracle Clusterware 12c
Guatemala User Group
 
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
Guatemala User Group
 
How to Upgrade Hundreds or Thousands of Databases
How to Upgrade Hundreds or Thousands of Databases
Guatemala User Group
 
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
Guatemala User Group
 
How Oracle Single/Multitenant will change a DBA's life
How Oracle Single/Multitenant will change a DBA's life
Guatemala User Group
 
SOA y Microservices Diferencias y Aplicaciones
SOA y Microservices Diferencias y Aplicaciones
Guatemala User Group
 
It's raining data! Oracle databases in the cloud
It's raining data! Oracle databases in the cloud
Guatemala User Group
 
The best Oracle Database 12c Tuning Features for Developers
The best Oracle Database 12c Tuning Features for Developers
Guatemala User Group
 

Recently uploaded (20)

Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
UserCon Belgium: Honey, VMware increased my bill
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
 
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
 
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
 
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
UserCon Belgium: Honey, VMware increased my bill
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
 
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
 
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
 
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
 
Securing Account Lifecycles in the Age of Deepfakes.pptx
Securing Account Lifecycles in the Age of Deepfakes.pptx
FIDO Alliance
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
 
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
 
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 

Oracle Linux and Oracle Database - A Trusted Combination

  • 1. Oracle Linux and Oracle Database - A Trusted Combination ■  Presenter: Anton Els Session Details: @aelsnz
  • 2. Introduction ■  Vice President Product Development ■  NZOUG Committee (VP) ■  Working with Oracle database since version 7 ■  Interests Include: ▪  Linux, Docker, Oracle Databases, Oracle Backup and Recovery ■  Qualifications: ▪  Oracle Database 11g Certified Master ▪  Oracle 8i, 9i, 10g and 11g OCP ▪  Solaris 10 SCSA and Red Hat 5 RHCSA ▪  B.Sc. Mathematical Sciences and B.Sc. Hons Informatics ■  Presented at Collaborate, NZOUG and db tech showcase Anton  Els  -­‐  @aelsnz
  • 3. Where do I come from….
  • 4. Who do I work for – Dbvisit Software Limited ■  Software Development Company ■  HQ in New Zealand ▪  US subsidiary and office in Czech Republic ■  Database Replication is our playground! ■  Worldwide leader in DR solutions for Oracle Standard Edition ■  Used in 110+ countries! ■  Product Engineers with “real world” DBA Experience ■  Regular presenters at OOW, Collaborate and NZOUG ■  Passionate about Oracle Technology
  • 5. •  Introduction into the world of Oracle Linux •  Command Line or GUI? •  Installation and a few tips for Oracle DBAs •  So what is this UEK? •  How does software updates work? •  Things an Oracle DBA should know! •  The /proc filesystem… •  The power of the command line! •  Linux file systems •  Configure Linux for ASM - the easy way! •  Backup and Recovery •  Monitoring •  Conclusion •  Q & A Agenda
  • 6. Linux is more than just a terminal…..
  • 7. If you want, there is a GUI!
  • 8. Introduction to Oracle Linux ■  Oracle Linux = Oracle Enterprise Linux = Enterprise Linux ■  Linux distribution based on Red Hat Enterprise Linux (RHEL) ■  Binary Compatible with RHEL ▪  Two alternative kernels: Ø  Red Hat Compatible Kernel Ø  Unbreakable Enterprise Kernel (UEK) ■  Supported Architectures: ▪  i386 (4,5 and 6) ▪  x86_64 (4,5,6 and 7) ▪  ia64 (5.4-5.11 only) ■  Free to Download ▪  Oracle E-delivery ▪  Public Yum Repositories
  • 9. Introduction to Oracle Linux ■  Commercial Options: ▪  Technical Support (Subscription based) Ø  Starting at US$119 per system (Oracle Linux Network Support) ▪  Access to ULN (Unbreakable Linux network) ■  Current Versions: Release  Date   Release     Support  Oracle  Database   2015-­‐03-­‐12 7.1 12.1.0.2   2014-­‐10-­‐21 6.6 Yes 2014-­‐09-­‐23 5.11 Yes 2011-­‐02-­‐16 4.9 Yes
  • 10. Installing Oracle Linux ■  Various installation options such as: ▪  Network ▪  DVD (ISO) ▪  USB ■  If using OVM or VirtualBox: ▪  Templates available
  • 13. What is the UEK? (Unbreakable Enterprise Kernel) ■  UEK – Oracle Unbreakable Enterprise Kernel ▪  “Fast”, “Reliable” and “Optimized” for Oracle Software/Hardware ▪  Used in Oracle’s Engineered Systems ▪  Release 1: Ø  Released in 2010 and based on 2.6.32 Ø  OEL 5.5 / RHEL 5.5 and above ▪  Release 2: Ø  Oracle Linux above 5.8 and 6.2 Ø  Based on 3.0.16 Ø  Actual Displayed version – 2.6.39 ▪  Release 3: Ø  Oracle Linux above 6.2 and 7 Ø  Based on 3.8 (latest UEK3u6 – 30 July 2015 – 3.8.13-98)
  • 14. What is the UEK? (Unbreakable Enterprise Kernel) ■  UEK – Oracle Unbreakable Enterprise Kernel ▪  No need to re-install Linux ▪  RHEL Compatible Kernel still provided ▪  Release 1 and 2 for x86 and x86_64 ▪  Release 3 x86_64 only ▪  ASMLib related modules already included ■  Download via: ▪  Oracle Public Yum Ø  http://public-yum.oracle.com ▪  ULN (Unbreakable Linux Network)
  • 15. Using “yum” ■  yum – Yellowdog Updater, Modified ■  Package Management Utility ■  Using RPM packages ■  Using software repositories ▪  Unbreakable Linux Network (ULN) ▪  Oracle’s Public Repository ▪  Can create your own ■  Big Advantage – dependency management! ■  Download repository configuration file: ▪  cd /etc/yum.repos.d ▪  wget http://public-yum.oracle.com/public-yum-release.repo ■  As easy as “yum update” or “yum install <package>”
  • 16. The Directory Structure / /bin /boot /dev /etc /home /lib .. /proc /sbin /tmp /usr /var So  where  do  we  install  Oracle?   What  does  it  mean? Where  is  my  “My  Documents”
  • 18. Quick tip on /proc / /bin /boot /dev /etc .. /proc   /sbin /sys /tmp /usr /var •  What  is  the  “/proc”  filesystem?   •  Look  at  this:   oracle@dbvlin505[/home/oracle]: ps -ef|grep pmon oracle 24134 1 0 15:48 ? 00:00:00 ora_pmon_testdb oracle@dbvlin505[/home/oracle]: cat /proc/24134/environ | xargs -0 -n1 |grep ORACLE_HOME ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1/ Oracle  was  started  with  incorrect  ORACLE_HOME  variable  –  extra  slash oracle@dbvlin505[/home/oracle]: ps -ef|grep pmon oracle 24134 1 0 15:48 ? 00:00:00 ora_pmon_testdb oracle@dbvlin505[/home/oracle]: sqlplus /nolog SQL*Plus: Release 11.2.0.3.0 Production on Mon May 27 15:48:00 2013 Copyright (c) 1982, 2011, Oracle. All rights reserved. SQL> connect / as sysdba Connected to an idle instance.
  • 19. Useful Commands for the Oracle DBA ■  GUI’s can make things easier, BUT ■  GUI’s are not always available AND ■  Command line might sometimes be faster! ■  Useful Commands: ▪  ps, grep, awk, watch, perl, find, top, sar, lsof, pidstat, strace ■  Not sure how to use them? ▪  Use the man pages: # man <command> Example: # man ps
  • 20. Quick Tip ■  Want to quickly list a directory tree? root@lab1[/]: tree -d -L 5 /u01 /u01 └── app ├── oracle │   ├── admin │   │   └── testdb │   │   ├── adump │   │   ├── dpdump │   │   ├── pfile │   │   └── scripts │   ├── audit │   ├── cfgtoollogs │   │   ├── dbca │   │   │   └── testdb │   │   └── netca │   ├── checkpoints │   ├── diag
  • 21. Useful Commands for the Oracle DBA ■  The “watch” command ■  Example: watch -n 0.5 "cat /proc/meminfo" oracle@lab1[/home/oracle]: watch -h   Usage: watch [options] command Options: -b, --beep beep if command has a non-zero exit -c, --color interpret ANSI color sequences -d, --differences[=<permanent>] highlight changes between updates -e, --errexit exit if command has a non-zero exit -g, --chgexit exit when output from command changes -n, --interval <secs> seconds to wait between updates -p, --precise attempt run command in precise intervals -t, --no-title turn off header -x, --exec pass command to exec instead of "sh -c"   -h, --help display this help and exit -v, --version output version information and exit   For more details see watch(1).
  • 22. Useful Commands for the Oracle DBA ■  The “lsof” command ■  Examples: root@kiwi1-oraclekiwi-com[/root]: lsof -i TCP -P|grep 22 sshd 1216 root 3u IPv4 20780 0t0 TCP *:22 (LISTEN) sshd 1216 root 4u IPv6 20782 0t0 TCP *:22 (LISTEN) sshd 5096 root 3u IPv4 107383 0t0 TCP kiwi1.oraclekiwi.com:22- >192.168.56.1:50411 (ESTABLISHED) sshd 5099 oracle 3u IPv4 107383 0t0 TCP root@kiwi1-oraclekiwi-com[/tmp]: ps -ef|grep 19919 root 19919 9813 0 18:24 pts/2 00:00:00 vi testfile root@kiwi1-oraclekiwi-com[/tmp]: lsof -p 19919 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME vi 19919 root cwd DIR 252,1 4096 50331777 /tmp vi 19919 root rtd DIR 252,1 4096 128 / vi 19919 root txt REG 252,1 905984 17289278 /usr/bin/vi vi 19919 root mem REG 252,1 58288 33880406 /usr/lib64/ .. .. vi 19919 root 2u CHR 136,2 0t0 5 /dev/pts/2 vi 19919 root 3u REG 252,1 12288 51674965 /tmp/.testfile.swp
  • 23. Useful Commands for the Oracle DBA DEMO  
  • 24. watch  –  real  Xme  monitor  for  a  process ps,  grep,  awk  –  find  running  process,  and  idenXfy  the  parent lsof    -­‐  list  open  files  for  process
  • 25. Getting Ready to Install Oracle Database ■  Recommended RPM Packages: ▪  oracle-validated ▪  oracle-rdbms-server-11gR2-preinstall ▪  oracle-rdbms-server-12cR1-preinstall
  • 26. Getting Ready to Install Oracle Database ■  Other recommended packages: ▪  dstat, sysstat, wget, parted, strace, tree, xterm, xclock, unzip, lsof ■  Easy to install using “yum” yum install dstat sysstat wget parted strace tree xterm xclock unzip lsof oracle-rdbms-server-12cR1-preinstall
  • 27. Getting Ready to Install Oracle ■  Create Required Groups ▪  groupadd -g 501 oinstall ▪  groupadd -g 502 dba ▪  groupadd -g 503 oper ▪  groupadd -g 504 asmadmin ▪  groupadd -g 505 asmdba ▪  groupadd -g 506 asmoper ■  Create Users ▪  useradd -u 501 -g oinstall -G dba,asmdba,asmoper,oper -c "Oracle Software Owner" oracle ▪  useradd -u 502 -g oinstall -G asmadmin,asmdba,asmoper -c "Clusterware Owner" grid OpXonal  add  groups: •  backupdba •  dgdba •  kmdba
  • 28. Getting Ready to Install Oracle ■  READ THE ORACLE INSTALLATION GUIDE!!!! ■  Follow the pre-requisite checks/tasks!! ■  Do not install Oracle in : ▪  /home/oracle/……. ■  Oracle Installation Options ▪  Response files (silent install) ▪  Using the DBCA in the Linux GUI ▪  Using VNC ▪  Using x-windows/X11 forwarding: —  Make sure it is enabled in SSH (/etc/ssh/sshd_config) —  ssh –C –X oracle@kiwi01 —  Test using “xclock”
  • 29. Oracle Linux – Key File Systems ■  Large number of File Systems Supported: ▪  ext3 —  Journaling file system – Max 2TB files and 16TB file system size ▪  ext4 —  Improved ext3 – 16TB file/file system limit ▪  ocfs2 —  Clustered file system with COW, 16TB file/file system limit ▪  BTRFS —  COW file system, snapshots, rollback, compression 16EB limit ▪  vfat —  developed by MS-DOS, known as fat32, max file size 2GB ▪  Xfs ß Now the default root file system in Oracle Linux 7 —  high-performance journaling file system, 100TB limit, only x86_64
  • 30. Oracle Linux and OCFS2 ■  Oracle Cluster File System (version 2) ▪  Integrated at 2.6.16 of kernel (experimental) ▪  2.6.19 – stable ▪  2.6.29 – improved ■  Free to use under GNU General Public License (GPL) ■  Supported under Oracle Linux ■  Used extensively by Oracle VM
  • 31. Oracle Linux and OCFS2 ■  Does not have to be used for Clusters! ▪  Use it as a local File System and get benefits of: —  “File Snapshots” using the “reflink” —  It is FAST! —  Ever wondered how OVM is creating those clones so quickly? ■  Useful Utilities: ▪  https://oss.oracle.com/~smushran/reflink-tools/
  • 32. Oracle Linux and OCFS2 DEMO  
  • 33. Quickly  clone  a  test  database  from  /u02/oradata1/QA1  to  /u02/oradata1/QA2  
  • 34. BTRFS ■  Considered by some as the “next-generation” filesystem ▪  Can handle 16EB filesystems ▪  Online grow and shrink ▪  Copy-on-write (COW) ▪  Storage Pools Ø  subvolumes Ø  snapshots ■  Using BTRFS snapshots does not replace backups!!!!
  • 35. BTRFS ■  General feel is not for production systems… Yet ■  Not supported by Oracle to store database files ■  Recommended to use latest UEK 3 ▪  Keep up to date! ■  Other BTRFS Key Features ▪  Checksum function for integrity ▪  Transparent compression ▪  Transparent defragmentation ▪  Integrated LVM (Logical Volume Management) – RAID0/1/10/5/6
  • 36. BTRFS Example – Create Storage Pool mkfs.btrfs –L btrfs_pool_label /dev/sdb ▪  Or if testing - do not do this in production! dd if=/dev/zero of=/btrfs_test bs=1M count=1000 losetup /dev/loop0 /btrfs_test mkfs.btrfs –L test_btrfs_pool_label /dev/loop0
  • 37. Tip – Using blkid command root@kiwi1-oraclekiwi-com[/]: blkid /dev/sda1: UUID="bf9d4ffc-04b1-4774-830b-bd46b02bde55" TYPE="xfs" /dev/sda2: UUID="KD0boO-PBlP-7WPR-Dbic-1O6h-ZdnL-3LXWtX" TYPE="LVM2_member" /dev/sdc1: LABEL="ASMDISK1" TYPE="oracleasm” … … /dev/sdb1: UUID="d2cbf3ae-1758-408f-aaf5-403042cb4352" UUID_SUB="4c22e385-3355-4c20-932a-d1f6e3e5d959" TYPE="btrfs” … … /dev/sdd1: UUID="7be9c546-9395-429a-8ff9-9c2ab466a04d" TYPE="ocfs2" /dev/mapper/ol_oel7--base-swap: UUID="60f235e7-5de1-4974-b467-709a6cebb5bf" TYPE="swap" /dev/mapper/ol_oel7--base-root: UUID="1fdfaf7f-b504-494e-85ca-d73329c7e9f2" TYPE="xfs”
  • 38. BTRFS Example – Mount Storage Pool root@kiwi1-oraclekiwi-com[/]: mount /dev/loop0 /u03 root@kiwi1-oraclekiwi-com[/]: df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/ol_oel7--base-root 12G 4.9G 6.2G 44% / devtmpfs 2.0G 0 2.0G 0% /dev tmpfs 2.0G 631M 1.4G 32% /dev/shm tmpfs 2.0G 9.0M 2.0G 1% /run tmpfs 2.0G 0 2.0G 0% /sys/fs/ cgroup /dev/sdb1 30G 15G 15G 51% /u01 /dev/sdd1 30G 2.5G 28G 9% /u02 /dev/sda1 497M 190M 308M 39% /boot /dev/loop0 1000M 32K 996M 1% /u03 root@kiwi1-oraclekiwi-com[/]: btrfs filesystem df /u03 System, single: total=4.00MiB, used=4.00KiB Data+Metadata, single: total=8.00MiB, used=28.00KiB
  • 39. BTRFS Example – Create subvolume root@kiwi1-oraclekiwi-com[/]: btrfs subvolume create u03/sub1 Create subvolume 'u03/sub1' root@kiwi1-oraclekiwi-com[/]: btrfs subvolume list -a /u03 ID 256 gen 6 top level 5 path sub1 root@kiwi1-oraclekiwi-com[/]: btrfs subvolume show /u03/* /u03/sub1 Name: sub1 uuid: 9ad33e28-d98a-ad46-89fc-1c11de9424bb Parent uuid: - Creation time: 2015-04-13 18:56:44 Object ID: 256 Generation (Gen): 6 Gen at creation: 6 Parent: 5 Top Level: 5 Flags: - Snapshot(s):
  • 40. BTRFS Example – Create subvolume snapshots root@kiwi1-oraclekiwi-com[/u03]: btrfs subvolume snapshot sub1 sub2 Create a snapshot of 'sub1' in './sub2' root@kiwi1-oraclekiwi-com[/u03]: btrfs subvolume snapshot -r sub1 sub3 Create a readonly snapshot of 'sub1' in './sub3' root@kiwi1-oraclekiwi-com[/u03]: btrfs subvolume show /u03/sub1 /u03/sub1 Name: sub1 uuid: 9ad33e28-d98a-ad46-89fc-1c11de9424bb Parent uuid: - Creation time: 2015-04-13 18:56:44 Object ID: 256 Generation (Gen): 9 Gen at creation: 6 Parent: 5 Top Level: 5 Flags: - Snapshot(s): sub2 sub3 root@kiwi1-oraclekiwi-com[/u03]: cd sub3 root@kiwi1-oraclekiwi-com[/u03/sub3]: touch test touch: cannot touch ‘test’: Read-only file system
  • 41. Are you using Oracle RAC and ASM Need  a  shared  filesystem?  
  • 42. What about ACFS…… ■  Making use of underlying ASM disk groups ■  Oracle ASM is required ■  Easy to configure using “asmca” ■  Files that can be stored direct in ASM are not supported on ACFS….. prior to 12c… ▪  From 12.1 database files allowed in ACFS! ▪  COMPATIBLE.ADVM must be set to 12.1 ■  Ensure Oracle Linux Kernel used, is supported! ▪  ACFS OS Support Certification Matrix - Doc ID 1369107.1 ▪  PSU might be required to enable ■  ACFS features include: ▪  Dynamic file system resizing ▪  Snapshots using copy-on-write
  • 43. Setting up Disks for ASM ■  The quick and easy way: ▪  ASMLib kernel driver part of UEK ▪  Install ASMLib software (rpm) —  oracleasm-support —  oracleasmlib –  http://www.oracle.com/technetwork/server-storage/linux/asmlib ▪  Creating ASM Disks: —  Present Storage —  Partition Disk —  Run “oracleasm configure –i” —  Create ASM disks: oracleasm createdisk (as root user) oracleasm createdisk ASMDISK1 /dev/sdd1 —  List ASM disks: oracleasm listdisks —  As Grid owner, run “asmca” to create disk groups or use SQL*Plus
  • 44. Linux Performance Monitoring ■  Swap space ▪  Don’t look at 2 x memory ▪  If using swap space: —  Review and understand why you are using swap —  Review “free” command and /proc/meminfo ■  Useful Commands: ▪  sar ▪  vmstat ▪  Iostat ▪  iotop ■  Want to look at more detail: ▪  dtrace and strace
  • 46. top,  sar,  vmstat,  iostat,  watch
  • 47. Backup and Recovery ■  Does not have to be complex ■  3rd Party vendor backup solutions ▪  Linux agents available ■  Easier with Virtualization ▪  Snapshot / Clone options ▪  Live migration options ■  Use RMAN!! ■  Backup to Tape or Disk? ■  Why not use reflink and snapshots? ▪  Not on its own, but together with tools such as —  tar, cpio, rsync, gzip, etc
  • 48. Backup and Recovery ■  Useful Linux Commands: ▪  tar ▪  cpio ▪  rsync ▪  gzip ■  Examples: tar czvf /backups/backupfile.tar.gz . tar xzvf /backups/backupfile.tar.gz [/home/oracle]: cd /u02/oradata1 [/u02/oradata1]: tar cf - | (cd /u02/oradata2; tar xf -) [/u02/oradata1]: find . -print | cpio -pdm /u02/oradata2/
  • 49. Tip - Don’t forget about Data Recovery Advisor ■  Introduced in Oracle 11g ■  Three key commands: rman> LIST failure rman> ADVISE failure rman> REPAIR failure ■  Not available when using Multi-tenancy - CDB/PDB ▪  Expected in 12.2
  • 50. Recommended Reading Oracle  Linux  7  DocumentaXon   h`ps://docs.oracle.com/cd/E52668_01/index.html Supported  and  Recommended  File  Systems  on  Linux   (Doc  ID  236826.1) List  of  Files  Systems  Supported  in  Oracle  Linux  7   (Doc  ID  1970430.1) Unbreakable  Enterprise  Kernel:  Frequently  Asked  QuesXons  (Doc  ID  1210995.1)
  • 51. Summary ■  Are you looking for an operating system that provides: ▪  Stability ▪  Performance ▪  Scalability ▪  Security ▪  Flexibility Do  not  be  scared  of  the  command  line  
  • 53. Questions? Presented By: Anton Els Company: Dbvisit Software Limited Email: [email protected] Twitter: @aelsnz Blog: http://blog.dbvisit.com/author/anton-els/