OEM12c, DB12c and You! - RMOUG TD2014 Edition
-
Upload
bobby-curtis -
Category
Technology
-
view
625 -
download
0
description
Transcript of OEM12c, DB12c and You! - RMOUG TD2014 Edition
Oracle Enterprise Manager 12c,Oracle Database 12c And You!
Bobby [email protected]@gmail.com
• Douglasville, Georgia
• Senior Technical Consultant
• IOUG, ODTUG, GOUSER and RMOUG BOD
• Expert OEM12c (2013)/Practical ODA (2014)
• Twitter: @dbasolved• Blog: http://dbasolved.com
• Email: [email protected]
Bobby Curtis
Agenda
• Database 12c
• Enterprise Manager Express 12c
• Oracle Enterprise Manager 12c
Agenda
• Database 12c
• Enterprise Manager Express 12c
• Oracle Enterprise Manager 12c
Database 12c • Beta: Late
2012/early 2013• Production: June 27, 2013
• Benefits: • 500+ new features
• Database Types• Traditional Database
• Container Database• MultiTenant
Multitenant DatabasesConsolidating using Oracle Database 12c
Migrate to Multitenant DatabasesMigration Tools available in Oracle Database 12c (CDB)
Agenda
• Database 12c
• Enterprise Manager Express 12c
• Oracle Enterprise Manager 12c
Enterprise Manager Express 12cIntegrated, GUI Management Tool for AdministrationIntegrated
Install
• Pre-Configured/Installed with DB
• Inside the DB (XDB)• Lightweight (no MW
parts)• Supports Single
Instance, RAC, EE
Small Footprint
• Approx. 20 MB• Minimal CPU,
Memory overhead• All rendering in
browser• DB Server only runs
SQL
Comprehensive
Administration• Basic Admin
support• Storage• Security• Configuration
• Performance Tools• Advanced
Diagnostics• Advanced
Turning• Run along side of
OEM12c
Enterprise Manager Express 12c
• Any Database user can log in
• Default Port: 5500• exec DBMS_XDB_CONFIG.SETHTTPPORT(<port_number>);
Agenda
• Database 12c
• Enterprise Manager Express 12c
• Oracle Enterprise Manager 12c
Oracle Enterprise Manager 12cGUI Management Tool for Administration
Large Footprint
• Approx. 50–100 GB• Requires its own
machine(s)• Min. 8GB Mem.• Min. 4 Cores.
Comprehensive
Administration
• Advanced Admin support• Full stack
• Advanced diag and turning
• Create CDB/PDBs • Run along side of EM
Express 12c
Oracle Enterprise Manager 12cSpecific Documentations
• Locations of documents related to OEM
• No specific information on Plug-In itself (404 error)
• OEM information mixed with DB12c docs
• Documents Related to OEM with DB12c:• Oracle Database Security Guide 12c Release 1 (12.1) E17607-22
• Oracle Database Administrator Guide 12c Release 1 (12.1) E17636-20
Upgrade through OEM12cdeployment procedure
• Upgrade to 12.1.0.1
• 10.2.0.5• 11.1.0.7• 11.2.0.2 or
later
• Need to have binaries installed on host
• Software Library
• Verified by reviewing oratab file
• Migrate to PDB
Provision as Pluggable DatabaseOEM12c approach • In OEM12cR2Up1 (12.1.0.2)
Provision a Pluggable DatabaseCommand Line Option
./emcli create_pluggable_database -cdbTargetName="bc12c.acme.com" -cdbTargetType="oracle_database" -cdbHostCreds="NC_HOST_ORACLE" -cdbTargetCreds="NC_BC12C.AC_2013-08-26-110644”-pdbName="bcpdb2" -sourceType="DEFAULT" -pdbAdminCreds="PDBADMIN" -newPDBFileLocation="/oracle/app/oradata/"
• New in OEM12cR3 (12.1.0.3)
Database Securityusers
• Common Users• Prefix: C##• Container Database
• _COMMON_USER_PREFIX
• Local Users• Pluggable Database
• Access Pluggable
Database SecurityRoles
• Common Roles• Prefix: C##• Container Database
• Local Roles• Pluggable Database
• Access Pluggable
Database AdministrationSwitching between Containers
Database AdministrationOpen/Close PDBs
Database AdministrationOpen/Close PDBs
alter pluggable database BCPDB2 openFri Jan 31 22:41:08 2014Opening pdb BCPDB2 (4) with no Resource Manager plan activePluggable database BCPDB2 opened read writeCompleted: alter pluggable database BCPDB2 open
Database AdministrationManage Storage (Tablespaces) • CDB Level
• Must be common user (C##)
• All tablespaces listed (CDB & PDB)
• PDB Level• Local User• Only
tablespaces for PDB listed
• Tablespaces in Read-Only appear (no check mark)
• PDB closed, no tablespaces listed
• Integrated view of performance• Runs from CDB level• New tab: PDB
Database AdministrationPerformance Management
• All performance tools work as usually• Container Name added• Runs from CDB level
Database AdministrationPerformance Management
Resource Management• Admin Privileges
• Plans• CDB
• Affects PDBs
• PDB• Affects users/groups
• Resources• CPU• Parallel Queuing
Resource ManagementContainer Database
• Four Default Plans
• Create Your Own Plans
• Generate DDL for Resource Plans
• Activate/Deactivate
Resource ManagementContainer Database
• Activate Plan
• Adjust resources• Default applied to all PDBs
• Add/Remove selected PDBs
• Review ASH Analytics (helps tune plan)
Resource ManagementPluggable Database
• Eleven Default Plans
• Create Your Own Plans
• Generate DDL for Resource Plans
• Activate/Deactivate
Resource ManagementPluggable Database • Activate
Plan/Plan Switching
• Four tabs to modify
• General• Parallelism
• Thresholds
• Idle Time
• Resource Allocations
• Groups• Sub-plans
• No ASH Analytics
Recovery ManagerBackup of Pluggable Database
Recovery ManagerRecovery of Pluggable Database
Inventory SearchesFind Pluggable Database
Enterprise -> Configuration -> Inventory and Usage Details-> Show: Databases
Configuration SearchesFind Pluggable Database
1. Target Type: Pluggable Database2. Relationship: Host
Take Away
• Overview of Database 12c
• EM Express can be used in conjunction with OEM12c
• EM12c enhances the manageability of DB12c
• How to search within OEM 12c for DB12c items
Twitter: @dbasolvedEmail: [email protected]
Thank You for Attending
Please fill out the evaluations.
http://www.enkitec.com
• Douglasville, Georgia
• Senior Technical Consultant
• IOUG, ODTUG, GOUSER and RMOUG BOD
• Expert OEM12c (2013)/Practical ODA (2014)
• Twitter: @dbasolved• Blog: http://dbasolved.com
• Email: [email protected]
Bobby Curtis