IOUG Presentation
Database Provisioning in OEM12c:
Provision me a Database Now!
Maaz Anjum
• Marietta, Georgia
• Solutions Architect
• EM12c
• Golden Gate
• Engineered Systems
• Member of IOUG, GOUG, RM...
!
• Mr. Green’s Challenges
• Who is Mr. Green
• Provisioning in EM12c
• Provisioning Components
• Example
• Conclusion
Age...
Inconsistent Server configuration
BUILD
PROCESS
Mr. Greens Challenges
Lengthy Build Times…
J
a
n
u
a
r
y
F
e
b
r
u
a
r
y
M
a
rc
h
It	
  will	
  take	
  
about	
  2	
  
months!
I	
  need	
  a	
...
Lengthy Build Times…
J
a
n
u
a
r
y
F
e
b
r
u
a
r
y
M
a
rc
h
It	
  will	
  take	
  
about	
  2	
  
months!
I	
  need	
  a	
...
Red Tape
Mr. Greens Challenges
• User requests for more capacity
• Reports on existing capacity
• Storage
• Memory
• CPU Utilization
!
If a build process...
Our Mr. Green is an IT Manager at Acme, Inc. whose day is usually…
!
• Filled with Meetings
• Has to Services Requests fro...
!
• Mr. Green’s Challenges
• Who is Mr. Green
• Provisioning in EM12c
• Provisioning Components
• Example
• Conclusion
Age...
• IT Manager
• CTO
• Senior VP of IT
• Database Administrator
• Systems Administrator
YOU
Who is Mr. Greens
!
• Mr. Green’s Challenges
• Who is Mr. Green
• Provisioning in EM12c
• Provisioning Components
• Example
• Conclusion
Age...
• An Important part of Lifecycle Management
• Cloud Control enables you to provision
• Oracle Databases
• RAC databases
• ...
Deployment Procedure Targets Provisioned
Provision Oracle Database
Oracle Database (single instance) 10g Release 1 to 11g ...
!
• Mr. Green’s Challenges
• Who is Mr. Green
• Provisioning in EM12c
• Provisioning Components
• Example
• Conclusion
Age...
LICENSES
!
Provisioning, in addition to a Database License, requires the
Database LifeCycle Management Pack.
Pieces for Pr...
A SERVER
New or existing server
Already an EM12c Managed and Monitored Target
If yes, then great! If not, then deploy
an a...
SOFTWARE LIBRARY
!
One of the core features offered by Enterprise Manager Cloud Control
A repository which stores Software...
Privilege Delegation Settings
• Allows you to run Deployment Procedures using
authentication utilities such as
• SUDO
• Po...
CREDENTIALS
!
Identity information stored in Cloud Control
• Used to access targets
• Users can save username/password wit...
ADMINISTRATOR ACCOUNTS
Designer
• Designers are lead administrators
• Designers are responsible for performing all the des...
PROVISIONING PROFILES
!
Provisioning Profile is an entity that contains software bits and
configuration.
• Can be created ...
Pieces for Provisioning
Software
Database	
  
Provisioning	
  
Profile
Bare	
  Metal	
  
Provisioning	
  
Profile
Pieces for Provisioning
!
• Mr. Green’s Challenges
• Who is Mr. Green
• Provisioning in EM12c
• Provisioning Components
• Example
• Conclusion
Age...
Steps
• Add Targets (Host)
• Creating Provisioning Profiles
• Creating Installation Media
• Creating Database Templates
• Upload...
Don’t Just Tell me, Show Me
Find Your Way
Create Named Credentials
Create Named Credentials
Create Named Credentials
Create Named Credentials
Create Named Credentials
Provision
Select Hosts
Select Hosts
Setup Hosts
Set Credentials
OS Groups
Deploy Software
Profile/Installation Location
DBCA
Compliance Configuration
All Steps Completed
When Can We Start?
Review Changes
Progress
Where’s the Proof?
Newly Created Profile
New Instance as a Target
New Host as a Target
Provisioning plays a large part in EM12c
!
Other useful features include
• Baremetal Provisioning
• Middleware Provisionin...
Provisioning plays a large part in EM12c
!
Other useful features include
• Baremetal Provisioning
• Middleware Provisionin...
Before Provisioning in
EM12c
After Provisioning in
EM12c
Build Process
Conclusion
What Did Mr. Green Think?
Conclusion
My Blog on Provisioning
http://www.maazanjum.com/2013/12/patch-and-provision-with-em12c-
index.html
Conclusion
Questions
Blog: maazanjum.com
Email: maaz.anjum@biascorp.com
Twitter: @maaz_anjum
Reminder: Complete evaluation
Session: #602
Title:...
Upcoming SlideShare
Loading in …5
×

Database Provisioning in EM12c: Provision me a Database Now!

2,648 views

Published on

My presentation for Georgia Oracle User Group on December 12, 2013. In it, I discuss the Database Provisioning feature in Enterprise Manager 12c with an example of how I architected a solution by leveraging it.

Published in: Technology, News & Politics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,648
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
776
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • The Provisioning solution is an important part of Lifecycle Management solution offered by Cloud Control.
    As part of the database provisioning solution, Cloud Control enables you to provision
    Oracle Databases (also known as single-instance databases)
    Oracle Real Application Clusters databases
    Extend or delete Oracle Real Application Clusters nodes
    Provision Oracle Real Application Clusters One node databases
    Provision pluggable databases
    Upgrade Oracle single-instance databases in a scalable and automated manner
  • Credentials are identity information stored in Cloud Control
    Used to access targets that are monitored, and managed by Cloud Control
    Cloud Control allows users to save username/password with a unique name
    called Named Credentials
    Oracle
    Root
    Named User Credentials
    Privileged Credentials
    Configure Privilege Delegation Settings
  • For role separation, create accounts within EM12c
    Designer
    Designers are lead administrators with increased privileges on Deployment Procedures and Software Library.
    Designers are responsible for performing all the design-time activities like:
    Creating the provisioning profiles in the Software Library.
    Creating components, directives, and images, and storing them in Oracle Software Library.
    Customizing the default deployment procedures according to the needs of the organization.
    Creating patch plans and patch templates.
    Operator
    Operators are administrators who have restricted privileges on a Deployment Procedure and Software Library.
    Operators use the infrastructure created by designers and perform run-time activities like:
    Accessing the provisioning profiles present in the Software Library for provisioning procedures.
    Launching software deployments to provision software on selected targets.
    Patching software deployments using patch plans and patch templates.
  • Database Provisioning in EM12c: Provision me a Database Now!

    1. 1. IOUG Presentation Database Provisioning in OEM12c: Provision me a Database Now!
    2. 2. Maaz Anjum • Marietta, Georgia • Solutions Architect • EM12c • Golden Gate • Engineered Systems • Member of IOUG, GOUG, RMOUG RAC SIG, BIG DATA SIG EM SIG • Using Oracle products since 2001 Blog: maazanjum.com Email: maaz.anjum@biascorp.com About Me
    3. 3. ! • Mr. Green’s Challenges • Who is Mr. Green • Provisioning in EM12c • Provisioning Components • Example • Conclusion Agenda
    4. 4. Inconsistent Server configuration BUILD PROCESS Mr. Greens Challenges
    5. 5. Lengthy Build Times… J a n u a r y F e b r u a r y M a rc h It  will  take   about  2   months! I  need  a  new   Database   Server Procure  Hardware/   Provision  VM Provision  Network/   Storage Network  Admin   On  Vacation Wait  for  Storage Provision  Network/   Storage Download  Latest   OS  ISO OK  DBA,  your  turn Install  OS Configure  Storage oinstall  group? Oops,  try  again. Other  Priorities Try  to   Install  GI Pre-­‐Req  Fail   Missing  Packages Oops,  try  again. Install  GI Install  RDBMS Create  Database   Template? Is  it   ready? Is  it   ready? Its  ready   now! Umm,  I  need   another  one!   ☺ Shoot  me   now  please… Isn’t  quite   what  I  needed   but  I  don’t   have  more   time  to  wait. Mr. Greens Challenges
    6. 6. Lengthy Build Times… J a n u a r y F e b r u a r y M a rc h It  will  take   about  2   months! I  need  a  new   Database   Server Procure  Hardware/   Provision  VM Provision  Network/   Storage Network  Admin   On  Vacation Wait  for  Storage Provision  Network/   Storage Download  Latest   OS  ISO OK  DBA,  your  turn Install  OS Configure  Storage oinstall  group? Oops,  try  again. Other  Priorities Try  to   Install  GI Pre-­‐Req  Fail   Missing  Packages Oops,  try  again. Install  GI Install  RDBMS Create  Database   Template? Is  it   ready? Is  it   ready? Its  ready   now! Umm,  I  need   another  one!   ☺ Shoot  me   now  please… Isn’t  quite   what  I  needed   but  I  don’t   have  more   time  to  wait. Mr. Greens Challenges Server  Build Database  Build
    7. 7. Red Tape Mr. Greens Challenges
    8. 8. • User requests for more capacity • Reports on existing capacity • Storage • Memory • CPU Utilization ! If a build process can’t be repeated exactly the same each time, is it reliable? - A Smart Man Mr. Greens Challenges
    9. 9. Our Mr. Green is an IT Manager at Acme, Inc. whose day is usually… ! • Filled with Meetings • Has to Services Requests from Customer Base (Internal or External) • Customers who want To  onboard  more   applications Need  more   CPU  Power Need  more   Databases Who is Mr. Greens
    10. 10. ! • Mr. Green’s Challenges • Who is Mr. Green • Provisioning in EM12c • Provisioning Components • Example • Conclusion Agenda
    11. 11. • IT Manager • CTO • Senior VP of IT • Database Administrator • Systems Administrator YOU Who is Mr. Greens
    12. 12. ! • Mr. Green’s Challenges • Who is Mr. Green • Provisioning in EM12c • Provisioning Components • Example • Conclusion Agenda
    13. 13. • An Important part of Lifecycle Management • Cloud Control enables you to provision • Oracle Databases • RAC databases • Extend or delete RAC nodes • Provision RAC One node databases • Provision pluggable databases • Upgrade Oracle single-instance databases Provisioning in EM12c
    14. 14. Deployment Procedure Targets Provisioned Provision Oracle Database Oracle Database (single instance) 10g Release 1 to 11g Release 2 Oracle Grid Infrastructure 11g Release 2 Oracle Automatic Storage Management (Oracle ASM) 11g Release 2   Provision Oracle Real Application Clusters Oracle Real Application Clusters (Oracle RAC) 11g Release 2 Oracle RAC One Node 11g Release 2 Oracle Grid Infrastructure 11g Release 2 Oracle Automatic Storage Management (Oracle ASM) 11g Release 2   Create Oracle Database Oracle Database (single-instance database) 11g Release 2 Oracle Real Application Clusters (Oracle RAC) 11g Release 2 Oracle RAC One Node 11g Release 2   Provision Pluggable Database Pluggable Databases (available only as a part of Oracle Database 12c Release 1 or higher) Note: This deployment procedure is not displayed in the Database Provisioning console. You cannot invoke it from the console. It is invoked only internally. Provision Oracle Clusterware / Oracle RAC for UNIX and RDBMS versions 10g/11g (applicable for UNIX platform) Oracle Real Application Clusters (Oracle RAC) 10g Release 1 to 11g Release 1 Oracle Clusterware 10g Release 1 to 11g Release 1 Oracle Clusterware Automatic Storage Management (Oracle ASM) 10g Release 1 to 11g Release 1   Provision Oracle Clusterware / Oracle RAC for Windows and RDBMS versions 10g/11g (applicable for Windows platform) Oracle Real Application Clusters (Oracle RAC) 10g Release 1 to 11g Release 1 Oracle Clusterware 10g Release 1 to 11g Release 1 Oracle Clusterware Automatic Storage Management (Oracle ASM) 10g Release 1 to 11g Release 1   Extend/Scale Up Oracle Real Application Clusters Oracle Real Application Clusters (Oracle RAC) 10g Release 1 to 11g Release 2 Delete/Scale Down Oracle Real Application Clusters Oracle Real Application Clusters (Oracle RAC) 10g Release 1 to 11g Release 2 Provision Oracle Database Client Oracle Database Client 10g Release 2 to 11g Release 2 Provisioning in EM12c
    15. 15. ! • Mr. Green’s Challenges • Who is Mr. Green • Provisioning in EM12c • Provisioning Components • Example • Conclusion Agenda
    16. 16. LICENSES ! Provisioning, in addition to a Database License, requires the Database LifeCycle Management Pack. Pieces for Provisioning
    17. 17. A SERVER New or existing server Already an EM12c Managed and Monitored Target If yes, then great! If not, then deploy an agent to it Pieces for Provisioning
    18. 18. SOFTWARE LIBRARY ! One of the core features offered by Enterprise Manager Cloud Control A repository which stores Software Entities • Virtual Appliance Images • Reference Gold Images • Application Software • Associated Directive Scripts ! In addition • Maintain Versions • Maturity Levels • States Of These Software Entities Pieces for Provisioning
    19. 19. Privilege Delegation Settings • Allows you to run Deployment Procedures using authentication utilities such as • SUDO • PowerBroker Advantages? • flexibility to use either SUDO or PowerBroker • Can run PowerBroker in a password-less/password- protected mode. • Create a template with these Privilege Delegation • Can be used for Jobs in EM • Privilege Delegation can read passwords from both STDIN and TTY. Pieces for Provisioning
    20. 20. CREDENTIALS ! Identity information stored in Cloud Control • Used to access targets • Users can save username/password with a unique name called Named Credentials • Oracle • Root ! Named User Credentials • Privileged Credentials Pieces for Provisioning
    21. 21. ADMINISTRATOR ACCOUNTS Designer • Designers are lead administrators • Designers are responsible for performing all the design-time activities like: • Creating the provisioning profiles • Creating components, directives, and images • Customizing the default deployment procedures • Creating patch plans and patch templates. Operator • Have restricted privileges • Operators use the infrastructure to perform run-time activities like: • Accessing the provisioning profiles • Launching software deployments • Patching software deployments ! Or just use Super Admin/SYSMAN account! Pieces for Provisioning
    22. 22. PROVISIONING PROFILES ! Provisioning Profile is an entity that contains software bits and configuration. • Can be created from existing installations • Clone Grid Infrastructure • Oracle Database • Create Database Templates ! Create one-time, and use for mass deployments!! Pieces for Provisioning
    23. 23. Pieces for Provisioning Software
    24. 24. Database   Provisioning   Profile Bare  Metal   Provisioning   Profile Pieces for Provisioning
    25. 25. ! • Mr. Green’s Challenges • Who is Mr. Green • Provisioning in EM12c • Provisioning Components • Example • Conclusion Agenda
    26. 26. Steps
    27. 27. • Add Targets (Host) • Creating Provisioning Profiles • Creating Installation Media • Creating Database Templates • Uploading Database Templates to Software Library • Creating Database Provisioning Entities • Creating an Oracle Database Clone from a Reference Home • Creating an Oracle Clusterware Clone from a Reference Home High Level Steps
    28. 28. Don’t Just Tell me, Show Me
    29. 29. Find Your Way
    30. 30. Create Named Credentials
    31. 31. Create Named Credentials
    32. 32. Create Named Credentials
    33. 33. Create Named Credentials
    34. 34. Create Named Credentials
    35. 35. Provision
    36. 36. Select Hosts
    37. 37. Select Hosts
    38. 38. Setup Hosts
    39. 39. Set Credentials
    40. 40. OS Groups
    41. 41. Deploy Software
    42. 42. Profile/Installation Location
    43. 43. DBCA
    44. 44. Compliance Configuration
    45. 45. All Steps Completed
    46. 46. When Can We Start?
    47. 47. Review Changes
    48. 48. Progress
    49. 49. Where’s the Proof?
    50. 50. Newly Created Profile
    51. 51. New Instance as a Target
    52. 52. New Host as a Target
    53. 53. Provisioning plays a large part in EM12c ! Other useful features include • Baremetal Provisioning • Middleware Provisioning • Self Service Portal • Infrastructure as a Service (IaaS) • Database as a Service (DBaaS) • Schema as a Service • Platform as a Service (PaaS) ! These features leverage templates and profiles for consistent builds. Provisioning and Beyond…
    54. 54. Provisioning plays a large part in EM12c ! Other useful features include • Baremetal Provisioning • Middleware Provisioning • Self Service Portal • Infrastructure as a Service (IaaS) • Database as a Service (DBaaS) • Schema as a Service • Platform as a Service (PaaS) ! These features leverage templates and profiles for consistent builds. Provisioning and Beyond…
    55. 55. Before Provisioning in EM12c After Provisioning in EM12c Build Process Conclusion
    56. 56. What Did Mr. Green Think? Conclusion
    57. 57. My Blog on Provisioning http://www.maazanjum.com/2013/12/patch-and-provision-with-em12c- index.html Conclusion
    58. 58. Questions
    59. 59. Blog: maazanjum.com Email: maaz.anjum@biascorp.com Twitter: @maaz_anjum Reminder: Complete evaluation Session: #602 Title: Database Provisioning in OEM12c: Provision me a Database Now!

    ×