installing, tuning and deploying oracle on suse linux ... · pdf fileinstalling, tuning and...
TRANSCRIPT
Installing, Tuning and Deploying Oracle on SUSE® Linux Enterprise Server 11Technical Introduction
Arun SinghSr. Technical Manager
2
Agenda
Introductions
SUSE Components
Oracle Products
Installation and Tuning
Questions and Answers
3
SUSE® and OracleTechnology 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, Linux x86-64 andIBM System z
SUSE Components
5
NOTE:
SUSE Linux EnterpriseOracle Specific Components
• Oracle Server Base ‒ orarun
• Oracle ASMLib‒ Kernel Module: oracleasm
‒ Support Packages: oracleasmlib and oracleasm-support
• OCFS2‒ ocfs2, ocfs2-tools and ocfs2console
http://ftp.suse.com/pub/partners/oracle/oracleasm/SLES11/x86_64/
6
SUSE Linux EnterprisePackage Location
• SUSE Linux Enterprise Server 11 ‒ orarun
‒ oracleasm
• SUSE Linux Enterprise High Availability Extension 11‒ ocfs2 (supported for Oracle RAC)
Oracle Products
8
Oracle Products
• Oracle Database
• Oracle FUSION MiddleWare
• Oracle Applications (EBS, PeopleSoft, etc.)
• Oracle VM
• Oracle Enterprise Management
NOTE:
Oracle Certifications include SUSE® Service Packs
9
SUSE Linux Enterprise Oracle Stack Summary
SUSE Linux Enterprise Server 11
Oracle Database
FUSION MiddleWare
FUSION Applications
EM12c
Oracle Database
11
Oracle DatabaseCertification Matrix
Name (Version) SLES9 (SP4) SLES10 (SP4) SLES11(SP3)
9iR2 (9.2.0.8) √
10gR2 (10.2.0.5) √ √ √
11gR2 (11.2.0.4) √ √
12cR1 (12.1.0.1) √
12
Oracle DatabaseInstallation Notes
• Install SUSE® Linux Enterprise Server 11 with following pattern
‒ Oracle server base
‒ C/C++ compiler and tools
‒ 32-bit runtime environment
• Download Oracle Database SW
‒ Enable Oracle user account and login
‒ Start Oracle Database Installation
‒ i.e. runInstaller
13
Oracle DatabaseInstallation Notes
• Oracle Database 10gR2
‒ Install 10.2.0.1 as SoftWare Only option
‒ Doesn't detect SUSE® Linux Enterprise Server 11
‒ Use -ignoreSysPrereqs
‒ Update to latest version 10.2.0.5
‒ Use DBCA to create Database
• Oracle Database 11gR2
‒ Patch set are complete release i.e. 11.2.0.4.0
• Oracle Database 12cR1
14
Oracle DatabaseSilent Installation
• Useful for remote installation
• Oracle provides sample response files
‒ db_install.rsp
‒ dbca.rsp
‒ netca.rsp
• Create from Oracle Universal Installer (OUI)
Select “Save Response File” i.e. /tmp/DB12cR1.rsp
• Oracle Database Silent Installation
./runInstaller -silent -responseFile /tmp/DB12cR1.rsp
15
Oracle DatabaseInstallation Notes
16
Oracle DatabaseRemoval - deinstall
17
Oracle DatabaseExpress Edition (XE)
• Oracle Database Express Edition 11gR2
‒ SUSE® Linux Enterprise Server 11 and SUSE Linux Enterprise Server 10 SP2
‒ rpm based installation (only x86_64 supported)
‒ Free for Development and Deployment
Limitation:
• One CPU
• 11GB User Data Limit
• 1GB RAM
• One installation per computer
18
Oracle Clusterware (RAC)SLES11 SP3 Installation
• Storage options for deploying Oracle RAC‒ raw (discontinued from 11gR2 onward)
‒ Ocfs2
‒ ASM/ACFS (11.2.0.4.1GIPSU)
‒ NAS/NFS
• Tools – crsctl/srvctl
Oracle RAC is a cluster database with a shared cachearchitecture to provide highly scalable and available database solution.
19
Oracle Enterprise Manager 12c
• Two Parts (Server/Agent):‒ OMS (Oracle Management Server)
‒ OMA/OMR (Oracle Management Agent/Repository)
‒ Required: Oracle WebLogic Server and Oracle Database
Oracle Enterprise Manager is a standalone product to manage broad Oracle Cloud Infrastructure i.e. Database, Host/Server, System Management, Application Management, Host Configuration, etc.
Certified on SUSE® Linux Enterprise Server 11
Oracle FUSION Middleware
21
Oracle FUSION Middleware 11gR1/R2Components
Oracle FUSION Middleware is a collection of:
‒ Portal, Forms, Reports and Discoverer
‒ WebTier Utilities
‒ WebCenter
‒ Identity Management
‒ SOA Suite
‒ WebLogic Server
22
Oracle FUSION Middleware 11g Certifications
Oracle FMW componentsSLES 11 SP2/SP3(x86_64)
Portal, Forms,Reports and Discoverer 11gR1 √
WebTier Utilities 11gR1 √
WebCenter 11gR1 √
Identity Management 11gR1 √
SOA Suite 11gR1 √
WebLogic Server 11gR1 √
23
Oracle FUSION Middleware 11gR1/R2Prerequisites
Recommended install process:
Oracle Database
Oracle Repository Creation Utility
Oracle Java
1
2
3
24
25
Oracle FUSION Middleware 11g Components
Oracle FMW SLES 11 SP3
(x86_64)
WebLogic Server 12c √
NOTE:
WebLogic Server (12.1.2) requires Java SE 7
26
SUSE Linux Enterprise Oracle FUSION Stack
SUSE Linux Enterprise Server 11
Installation and Tuning
28
Oracle DatabaseInstallation Steps
29
Oracle DatabaseInstallation Steps
30
Oracle DatabaseInstallation Steps
31
Oracle DatabaseInstallation Steps
32
Oracle DatabaseInstallation Steps
33
Oracle DatabaseInstallation Steps
34
Oracle DatabaseInstallation Steps
35
Oracle DatabaseInstallation Steps
36
Oracle DatabaseInstallation Steps
37
Oracle DatabaseInstallation Steps
38
Oracle DatabaseInstallation Steps
39
Oracle DatabaseInstallation Steps
40
Oracle DatabaseInstallation Steps
41
Oracle DatabaseInstallation Steps
42
Oracle DatabaseInstallation Steps
43
Oracle InstallationHow-to Documents
Oracle Database (10gR2/11gR2/12cR1) ‒ http://ftp.suse.com/pub/partners/oracle/docs/OracleDB_on_SLES11S
P3.pdf
Oracle FUSION Middleware 11gR1‒ http://ftp.suse.com/pub/partners/oracle/docs/OracleFMW11gR1_Inst
allation_Guide_SLES11SP3.pdf
We recommend to follow Oracle provided installation documents. However, we have provided following step-by-step documents as quick reference:
44
SUSE Linux Tuning
• Identify the problem‒ Storage
‒ OS – top, vmstat, etc.
‒ File System – iostat, sar, etc.
• System Analysis and Tuning Guide: https://www.suse.com/documentation/sles11/pdfdoc/book_sle_tuning/book_sle_tuning.pdf
45
Oracle Database Tuning
• Identify the problem‒ Automatic Workload Repository (AWR) to create report.
SQL>EXEC DBMS_WORKLOAD_REPOSITORY.create_snapshot;
- run workload/test
SQL>EXEC DBMS_WORKLOAD_REPOSITORY.create_snapshot;
‒ Run following to generate html report:
‒ SQL>@$ORACLE_HOME/rdbms/admin/awrrpt.sql
• Oracle Database Performance Tuning Guide:
‒ http://docs.oracle.com/cd/E16655_01/server.121/e15857.pdf
46
Oracle FUSION Tuning
• Oracle Fusion Middleware Performance and Tuning Guide 11gR1 (E10108-10):
‒ http://docs.oracle.com/cd/E28280_01/core.1111/e10108.pdf
• Oracle Fusion Application Performance and Tuning Guide 11gR1 (E16686-06)
‒ http://docs.oracle.com/cd/E29505_01/fusionapps.1111/e16686.pdf
47
Oracle Database TuningAWR Report
48
Oracle Database TuningAWR Report
49
Oracle DatabaseEnterprise Manager
50
Oracle DatabaseEnterprise Manager
51
Oracle DatabaseEnterprise Manager - Performance
52
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)
Thank you.
53
Questions and AnswersQuestions and Answers
Corporate HeadquartersMaxfeldstrasse 590409 NurembergGermany
+49 911 740 53 0 (Worldwide)www.suse.com
Join us on:www.opensuse.org
54
Unpublished Work of SUSE. All Rights Reserved.This work is an unpublished work and contains confidential, proprietary and trade secret information of SUSE. 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 DisclaimerThis 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.