• No results found

Installing, Tuning, and Deploying Oracle Database on SUSE Linux Enterprise Server 12 Technical Introduction

N/A
N/A
Protected

Academic year: 2021

Share "Installing, Tuning, and Deploying Oracle Database on SUSE Linux Enterprise Server 12 Technical Introduction"

Copied!
62
0
0

Loading.... (view fulltext now)

Full text

(1)

Installing, Tuning, and

Deploying Oracle Database on

SUSE

®

Linux Enterprise Server 12

Technical Introduction

Arun Singh

Sr. Technical Manager [email protected]

(2)

2

Agenda

Introduction

SUSE Components

Oracle Components

Installation

Grid Infrastructure

Database

Tuning

Q&A

(3)

SUSE & Oracle

Technology Partner

Strong Partnership

800+ certified Oracle Apps in SUSE ISV Catalog

Relationship since first Oracle version 8.0.5 on SUSE® 6.0

Testing, supporting partners/customers on technical issues

Bugs, customer problem escalation, future features, etc.

Combined testing efforts - service packs and Oracle patches

Oracle products are certified to run on SUSE

®

Linux

Enterprise Server

Supported platforms : Linux x86-64 and IBM System z

(4)

SUSE Components

(5)

Software

Select Oracle Server Base (orarun)

(6)

6

Oracle Server Base (orarun)

What it provides?

Helps to meet Oracle Database Installation

prerequisites:

Creates user

oracle

Creates groups

dba, oinstall

Install required packages

Sets required SUSE Linux Enterprise kernel parameters

Sets Oracle environment variables

ORACLE_SID

ORACLE_BASE

ORACLE_HOME

(7)

Oracle Server Base (orarun)

Adopting new directory location

Steps to change default /opt/oracle to /home/oracle:

Creates new directory : $mkdir /home/oracle

Set proper owner & groups

$chown oracle /home/oracle

$chgrp oinstall /home/oracle

Set ORACLE_BASE=/home/oracle in /etc/sysconfig/oracle

Change ORACLE_BASE in /etc/profile.d/oracle.s[sh]

ORACLE_BASE=/home/oracle

(8)

8

Oracle Database Storage

File System

Storage/File System

XFS

Oracle ASM

ASMLib

ASM Cluster File System

NFS/NAS

OCFS2

Part of SLE12 HAE

Note: “raw” storage in not supported

(9)

SUSE Linux Install

File System Selection

(10)

Oracle Components

(11)

Oracle Database

Support/Certification Matrix

Name (Version) SLES10 (SP4) SLES11 (SP3) SLES12

10gR2 (10.2.0.5)

11gR2 (11.2.0.4) Validated

12cR1 (12.1.0.2) Validated

(12)

12

Oracle Database Software

Download & Unzip Locally

Oracle Database 11gR2

p13390677_112040_Linux-x86-64_1of7.zip

p13390677_112040_Linux-x86-64_2of7.zip

Oracle Database 12cR1

linuxamd64_12102_database_1of2.zip

linuxamd64_12102_database_2of2.zip

Change “CV_ASUME_DISTID=SUSE11” in database/stage/cvu/cv/admin/cvu_config

(13)

Oracle Grid Infrastructure Software

Download & Unzip Locally

Includes Oracle Clusterware & Oracle ASM

Oracle Grid Infrastructure 11gR2

p13390677_112040_Linux-x86-64_3of7.zip

Oracle Grid Infrastructure 12cR1

linuxamd64_12102_grid_1of2.zip

linuxamd64_12102_grid_2of2.zip

Change “CV_ASUME_DISTID=SUSE11” in grid/stage/cvu/cv/admin/cvu_config

(14)

Installation

Oracle Grid Infrastructure

(15)

Oracle Grid Infrastructure

Prepare

Oracle recommends creating separate user/groups for

Grid Infrastructure & Database

Create user grid

Create asmdba, asmadmin groups

Create raw disk partitions to be used by Oracle ASM

Set owner/group of ASM disks

Use udev rules for boot persistence

Check & Install libcap1 packages

To avoid clscfg.bin error at install time

(16)

16

Installation

Oracle Grid Infrastructure

(17)

Installation

Oracle Grid Infrastructure

Start Installation: grid/runInstaller

(18)

18

Installation

Oracle Grid Infrastructure

(19)

Installation

Oracle Grid Infrastructure

(20)

20

Installation

Oracle Grid Infrastructure

(21)

Installation

Oracle Grid Infrastructure

(22)

22

Installation

Oracle Grid Infrastructure

(23)

Installation

Oracle Grid Infrastructure

(24)

24

Installation

Oracle Grid Infrastructure

(25)

Installation

Oracle Grid Infrastructure

(26)

26

Installation

Oracle Grid Infrastructure

Note: Verify these warnings manually & then select “Ignore”

(27)

Installation

Oracle Grid Infrastructure

Note: Save response file to use later for unattended install.

(28)

28

Installation

Oracle Grid Infrastructure

(29)

Installation

Oracle Grid Infrastructure

(30)

30

Installation

Oracle Grid Infrastructure

(31)

Installation

Oracle Grid Infrastructure

(32)

32

Installation

Oracle Grid Infrastructure

(33)

Installation

Oracle Grid Infrastructure

(34)

Installation

Oracle Database

(35)

Installation

SUSE Linux Enterprise Server 12

Note: Static IP Address

(36)

36

Installation

Oracle Database 12c

Start Installation: database/runInstaller

(37)

Installation

Oracle Database 12c

(38)

38

Installation

Oracle Database 12c

(39)

Installation

Oracle Database 12c

(40)

40

Installation

Oracle Database 12c

(41)

Installation

Oracle Database 12c

(42)

42

Installation

Oracle Database 12c

(43)

Installation

Oracle Database 12c

Note: Verify these warnings manually & then select “Ignore”

(44)

44

Installation

Oracle Database 12c

Note: Save response file to use later for unattended install.

(45)

Installation

Oracle Database 12c

(46)

46

Installation

Oracle Database 12c

(47)

Installation

Oracle Database 12c

(48)

48

Installation

Oracle Database 12c

(49)

Installation

Oracle Database 12c

Note: Change Oracle Database start settings in /etc/oratab &

/etc/sysconfig/oracle, so that database starts after server reboot.

(50)

50

Installation

Oracle Database 11gR2

Note: Fix above error & select “Retry”

(51)

Installation

Oracle Database 11gR2

Note: Ignore this error as libaio1 is new name for libaio

(52)

Tuning

(53)

Tuning

Optimize

Storage/File System

SUSE Linux Enterprise Server OS

iostat/vmstat/top

I/O scheduler

elevator=cfq/noop/deadline

echo cfq/noop/deadline > /sys/block/DEVICE/queue/scheduler

Oracle Database

Configure & use “hugepages”

Distribute “redo log” files

(54)

54

Tuning

Server Report

Oracle Enterprise Manager

Configure Parameters

Analyze Performance

AWR (Automatic Workload Repository)

Create Snapshot:

SQL>EXEC DBMS_WORKLOAD_REPOSITORY.create_snapshot;

- run workload/test

SQL>EXEC DBMS_WORKLOAD_REPOSITORY.create_snapshot;

Generate html report (in current working directory):

SQL>@$ORACLE_HOME/rdbms/admin/awrrpt.sql

(55)

Tuning

Oracle Enterprise Manager

(56)

56

Tuning

AWR Snapshot

(57)

Tuning

AWR Demo Report

(58)

58

Installation & Tuning

Helpful Documents

Oracle Database Installation (11gR2/12cR1)

http://ftp.suse.com/pub/partners/oracle/docs/OracleDB_on_SLES 12.pdf

SUSE Linux Enterprise System Analysis & Tuning

https://www.suse.com/documentation/sles-12/pdfdoc/book_sle_tu ning/book_sle_tuning.pdf

Oracle Database Performance Tuning

http://docs.oracle.com/database/121/TGDBA/E49058-05.pdf

(59)

SUSE Linux – Misc.

Oracle Software and Support

SUSE Software

http://www.suse.com/download-linux

http://www.suse.com/oracle

Oracle Software

http://download.oracle.com

https://edelivery.oracle.com/

Oracle Support

http://support.oracle.com (Metalink)

(60)

Thank you.

60

Questions & Answers

(61)

Corporate Headquarters Maxfeldstrasse 5

90409 Nuremberg

+49 911 740 53 0 (Worldwide) www.suse.com

Join us on:

www.opensuse.org

(62)

Unpublished Work of SUSE LLC. All Rights Reserved.

This work is an unpublished work and contains confidential, proprietary and trade secret information of SUSE LLC.

Access to this work is restricted to SUSE employees who have a need to know to perform tasks within the scope of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of SUSE.

Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability.

General Disclaimer

This document is not to be construed as a promise by any participating company to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. SUSE makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for SUSE products remains at the sole

discretion of SUSE. Further, SUSE reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All SUSE marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.

References

Related documents

Security Considerations for SUSE Linux Enterprise Server

SUSE Linux Enterprise Server 1-2 Sockets Unlimited VM 3 Year Subscription 24x7 Support E-LTU M6K29AAE SUSE Linux Enterprise Server 1-2 Sockets Unlimited VM 3 Year Subscription

This chapter is about IPLing the installation system to install SUSE LINUX Enterprise Server for IBM S/390 and zSeries on a z/VM system. 8.3.1 Transferring the Installation System

System Rollback Live Kernel Patching High Availability RAS.. SUSE ® Linux

Build workloads for any platform and the cloud BUILD your workloads MANAGE your environment SUSE Manager Manage Linux workloads across platforms.. SUSE ® Linux

SUSE Linux Enterprise Server 12 - Kernel Crypto API Cryptographic Module version 1.0 SUSE Linux Enterprise Server 12 OpenSSL

SUSE Linux Enterprise Server 10 features a cluster file system that, in combination with Xen virtual machines and open source management tools, can take virtual machine images and

Network installation server holding the SUSE Linux Enterprise installation media • Inserting the boot disk • Providing boot options • Booting the installation target • Determining