Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 12

Bank Mandiri

Fleet Patching & Provisioning


Proof of Technology (PoT)

Oracle Indonesia
November 2023

1
Background
Automating out-of-place patching of the Oracle Grid & Oracle Database

2 Copyright © 2023, Oracle and/or its affiliates


Top lifecycle management challenges

Keeping up with updates Maintenance windows are Patching is a complex and Keeping software releases
is time-consuming difficult to obtain from labor-intensive activity standardized is difficult
application owners

Quarterly & Monthly Expanding fleets need Configuration drift can


patches are released to Non-rolling patching more personnel to lead to unexpected
reduce risk of : requires longer maintain results and unavoidable
• Security issues downtime windows downtime
• Functional issues

3 Copyright © 2023, Oracle and/or its affiliates


Fleet Patching & Provisioning (FPP)
Patch Simple

• Fleet Patching & Provisioning (FPP) offers


repeatable standardized out-of-place patching
automation at scale for the Oracle Database
• Fleet Patching & Provisioning provides features
such as :
• Gold image-based drift detection
• Integrated job scheduling
• User actions for extensibility
• Comprehensive Exadata Patching
• Always adheres to the latest MAA best practices

4 Copyright © 2023, Oracle and/or its affiliates.


FPP Overview

5 Copyright © 2021 Oracle and/or its affiliates.


Proof of Technology
Implementing FPP in real-life customer environment

6 Copyright © 2023, Oracle and/or its affiliates


PoT Objectives

• To build FPP environment with FPP Server and FPP Client FPP server FPP client
(managed target)
• To create Gold Image inside FPP Server repository for
Oracle Grid and Oracle RAC Database
• To execute the following scenarios (including rollback):
• Install Release Updates (RU) patch of Oracle Grid and
Oracle RAC Database Gold image
repository
• Install Monthly Recommended Patches (MRP) patch
of Oracle Grid and Oracle RAC Database
• Install One-off patch of Oracle Grid and Oracle RAC 19.20
Database 19.8
• To patch multiple servers in parallel 19.4

7 Copyright © 2021, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted


POT Results
Scenario Type Scenario Detail Expected Result Actual Result
Create image of multiple Oracle home • Image created from ZIP (clone file) Passed
Build FPP Env version and adding to FPP server • Image created from RHP client • 8 mins to create image of Oracle Grid
repository • 7 mins to create image of Oracle Database
Patch RU (Release Updates) from FPP RU patched successfully into Oracle Grid Passed
Server and Oracle RAC Database • 12 mins to deploy new Oracle Grid
Source Version : 19.4 , 19.5, 19.7 • 10 mins to deploy new Oracle RAC Database
Target Version : 19.20 • 45 mins to switch into new Oracle Grid home
(rolling)
• 6 mins to switch into new Oracle RAC Database
home (rolling)
Patch MRP (Monthly Recommended MRP patched successfully into Oracle Grid Passed
Patches and Oracle RAC Database • 12 mins to deploy new Oracle Grid
Source Version : 19.20 • 10 mins to deploy new Oracle RAC Database
Patching Target Version : 19.20 + MRP Oct 2023 • 45 mins to switch into new Oracle Grid home
(rolling)
• 6 mins to switch into new Oracle RAC Database
home (rolling)
Deploy One-of-patch Patch successfully deployed Passed
Source Version : 19.20 + MRP Oct • 12 mins to deploy new Oracle Grid
2023) • 10 mins to deploy new Oracle RAC Database
Target Version : • 45 mins to switch into new Oracle Grid home
(rolling)
• 6 mins to switch into new Oracle RAC Database
home (rolling)

8 Copyright © 2021, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted


POT Results (cont.)

Scenario Type Scenario Detail Expected Result Actual Result


Rollback Rollback Oracle Grid and Oracle Oracle Grid and Oracle RAC Database Passed
RAC Database home to previous home rolled back to previous version • Same timing with switching home activities
version
Source : 19.20
Target : 19.4, 19.5, 19.7

Patch in Parallel Patch multiple Oracle Grid and/or Patch successfully deployed into Passed
Oracle Database RAC targets at the multiple Oracle Grid and/or Oracle • Same timing with patching Oracle Grid and/or
same time Database RAC home in parallel Oracle Database RAC home on single target
Online Create an artificial workload on the Simulation load ( SQL + DML ) did not Passed
Transaction database while patching runs in the experience any degradation in response • Same timing with patching Oracle Grid and/or
background time Oracle Database RAC home without any
workload
FPP High Shutdown node-1 on FPP server Patching could be resume till the end. Pending
Availability (HA) (unplan) while path/upgrade was
running

9 Copyright © 2021, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted


Prerequisites

• Grid Infrastructure Management Repository (GIMR) or Management Database


(MGMTDB) installed at FPP server
• Root access to the srvctl remove rhpserver, srvctl add gns, and srvctl add rhpserver
commands
• Two IP address is available for use on the same subnet as the net1 public network for gns-
vip and havip
• Oracle Automatic Storage Management (Oracle ASM) disk group with +DATA more size
to keep multiple Oracle Grid and Oracle RAC Database versions
• FPP communication port UDP:53 , TCP:22, TCP:8896 ( fpp client to fpp server )

10 Copyright © 2021, Oracle and/or its affiliates


Notes

• Requires separate mount point (/u02) in the FPP Server to create temporary Oracle
Grid and Oracle RAC Database home
• Clean up “/tmp” in the target Server before or after every FPP execution to keep it
enough space
• Need to create a new workingcopy of the previous Oracle Grid and Oracle RAC
Database home in another path for rollback purposes
• Add server ip into file “/etc/hosts” between fpp server and target
• Need to attention before delete workingcopy because it would be uninstall oracle
home into target as well

11 Copyright © 2021, Oracle and/or its affiliates

You might also like