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.
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. !
• Mr. Green’s Challenges
• Who is Mr. Green
• Provisioning in EM12c
• Provisioning Components
• Example
• Conclusion
Agenda
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. 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
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. 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. !
• Mr. Green’s Challenges
• Who is Mr. Green
• Provisioning in EM12c
• Provisioning Components
• Example
• Conclusion
Agenda
11. • IT Manager
• CTO
• Senior VP of IT
• Database Administrator
• Systems Administrator
YOU
Who is Mr. Greens
12. !
• Mr. Green’s Challenges
• Who is Mr. Green
• Provisioning in EM12c
• Provisioning Components
• Example
• Conclusion
Agenda
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. 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. !
• Mr. Green’s Challenges
• Who is Mr. Green
• Provisioning in EM12c
• Provisioning Components
• Example
• Conclusion
Agenda
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. 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. 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. 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. 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. 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
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
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. 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…
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.