SLIDE 1
Databases ¡for ¡the ¡Masses ¡ Self-‑Service ¡Oracle ¡Mul5tenant ¡with ¡ APEX ¡
Leighton ¡L. ¡Nelson ¡
SLIDE 2 Who ¡am ¡I? ¡
- Oracle DBA
- Oracle ACE
- Oracle Certified Expert RAC and Grid
Infrastructure Administrator 11gR2
- Co-Author Expert Oracle Enterprise
Manager Cloud Control 12c (Apress 2013)
- Speaker at RMOUG, IOUG Collaborate,
ODTUG KScope, Oracle OpenWorld
- Blogs, Social Media
- RAC Attack Ninja
SLIDE 3 Agenda ¡
- Oracle ¡Mul5tenant ¡Overview ¡
- Manual ¡Provisioning ¡
- Oracle ¡Mul5tenant ¡Self ¡Service ¡Apex ¡Setup ¡
- Self-‑Service ¡Provisioning ¡Demo ¡
- Summary ¡
SLIDE 4
Oracle ¡Mul5tenant ¡Overview ¡
SLIDE 5
Manual ¡Provisioning ¡
Flashback to ODTUG KScope 13 ¡
SLIDE 6 Manual ¡Provisioning ¡
- CREATE PLUGGABLE DATABASE ¡
SLIDE 7 Oracle ¡Mul5tenant ¡Self ¡Service ¡APEX ¡ Setup ¡
- Install ¡Oracle ¡Database ¡12c ¡
- Create ¡new ¡container ¡database ¡
- Upgrade ¡APEX ¡to ¡4.2.3 ¡
- Configure ¡RESTful ¡Web ¡Services ¡in ¡CDB ¡
- Unlock ¡APEX_PUBLIC_USER ¡
- Grant ¡permissions ¡on ¡containers ¡to ¡APEX ¡users ¡
- Download ¡and ¡Configure ¡APEX ¡Listener ¡2.0.4 ¡
- Start ¡APEX ¡Listener ¡in ¡Standalone ¡Mode ¡
SLIDE 8 Oracle ¡Mul5tenant ¡Self ¡Service ¡APEX ¡ Setup ¡
- Create ¡a ¡new ¡container ¡database ¡using ¡DBCA ¡
SLIDE 9 Oracle ¡Mul5tenant ¡Self ¡Service ¡APEX ¡ Setup ¡
- Upgrade ¡APEX ¡to ¡4.2.3 ¡
– Download ¡and ¡apply ¡Oracle ¡Applica5on ¡Express ¡ patch ¡17347169 ¡from ¡My ¡Oracle ¡Support. ¡This ¡ patch ¡will ¡upgrade ¡Applica5on ¡Express ¡to ¡release ¡ 4.2.3.00.08. ¡
SLIDE 10 Oracle ¡Mul5tenant ¡Self ¡Service ¡APEX ¡ Setup ¡
- Configure ¡RESTful ¡Web ¡Services ¡in ¡CDB ¡
– cd ¡patch ¡(the ¡directory ¡from ¡Step ¡3 ¡above) ¡ – Connect ¡as ¡SYS ¡as ¡SYSDBA ¡to ¡CDB$ROOT ¡ – ¡@apex_rest_config_con.sql ¡ – ¡ ¡When ¡prompted, ¡enter ¡passwords ¡for ¡the ¡ APEX_LISTENER ¡and ¡APEX_REST_PUBLIC_USER ¡ database ¡users ¡that ¡will ¡be ¡created. ¡
SLIDE 11 Oracle ¡Mul5tenant ¡Self ¡Service ¡APEX ¡ Setup ¡
- Unlock ¡APEX_PUBLIC_USER ¡
– Connect ¡as ¡SYS ¡as ¡SYSDBA ¡to ¡CDB$ROOT ¡ – alter ¡user ¡APEX_PUBLIC_USER ¡iden5fied ¡by ¡ "<replace_with_password>" ¡account ¡unlock; ¡
SLIDE 12 Oracle ¡Mul5tenant ¡Self ¡Service ¡APEX ¡ Setup ¡
- Grant ¡permissions ¡on ¡containers ¡to ¡APEX ¡users ¡
– Connect ¡as ¡SYS ¡as ¡SYSDBA ¡to ¡CDB$ROOT ¡ – grant ¡set ¡container ¡to ¡APEX_PUBLIC_USER ¡ container=all; ¡ – grant ¡set ¡container ¡to ¡APEX_REST_PUBLIC_USER ¡ container=all; ¡ – grant ¡set ¡container ¡to ¡APEX_LISTENER ¡ container=all; ¡
SLIDE 13 Oracle ¡Mul5tenant ¡Self ¡Service ¡APEX ¡ Setup ¡
- Download ¡and ¡Configure ¡APEX ¡Listener ¡2.0.4 ¡
– unzip ¡apex_listener.<version>.zip ¡ – Change ¡your ¡working ¡directory ¡to ¡where ¡you ¡ unzipped ¡the ¡sogware ¡ – java ¡-‑jar ¡apex.war ¡
SLIDE 14 Oracle ¡Mul5tenant ¡Self ¡Service ¡APEX ¡ Setup ¡
- Start ¡APEX ¡Listener ¡in ¡Standalone ¡Mode ¡
– ¡java ¡-‑jar ¡apex.war ¡ – ¡Supply ¡the ¡full ¡file ¡system ¡path ¡to ¡the ¡Applica5on ¡ Express ¡images ¡directory ¡from ¡the ¡patch ¡set ¡from ¡ Step ¡3 ¡ – Choose ¡an ¡available ¡network ¡port ¡(for ¡example, ¡ 8080) ¡ – Confirm ¡that ¡you ¡can ¡access ¡the ¡URL ¡listed ¡at ¡the ¡ end ¡of ¡the ¡apex.war ¡console ¡output ¡using ¡a ¡web ¡ browser ¡
SLIDE 15 Oracle ¡Mul5tenant ¡Self ¡Service ¡APEX ¡ Setup ¡
SLIDE 16 Self-‑Service ¡Provisioning ¡Demo ¡
SLIDE 17 Self-‑Service ¡Provisioning ¡Demo ¡
- Configure ¡SMTP ¡seings ¡
SLIDE 18 Self-‑Service ¡Provisioning ¡Demo ¡
- Update ¡Admin ¡Email ¡Address ¡
SLIDE 19 Self-‑Service ¡Provisioning ¡Demo ¡
SLIDE 20 Self-‑Service ¡Provisioning ¡Demo ¡
SLIDE 21
Self-‑Service ¡Provisioning ¡Demo ¡
SLIDE 22
Self-‑Service ¡Provisioning ¡Demo ¡
SLIDE 23
Self-‑Service ¡Provisioning ¡Demo ¡
SLIDE 24
Self-‑Service ¡Provisioning ¡Demo ¡
SLIDE 25
Self-‑Service ¡Provisioning ¡Demo ¡
SLIDE 26 Summary ¡
- Consolidated ¡database ¡environment ¡
- Fast ¡database ¡provisioning ¡ ¡
- Self-‑Service ¡(Agile) ¡
- Ideal ¡for ¡Test/Development ¡Environments ¡
- No ¡need ¡for ¡complex ¡tools ¡