Provisioning Oracle Fleet Patching And

Transcription

Oracle Fleet Patching andProvisioningOracle Fleet Patching and ProvisioningAdministrator's Guide21cF30287-02May 2021

Oracle Fleet Patching and Provisioning Oracle Fleet Patching and Provisioning Administrator's Guide, 21cF30287-02Copyright 2016, 2021, Oracle and/or its affiliates.Primary Author: Subhash ChandraContributors: Eric BeldenContributors: Ludovico Caldara, Jonathan Creighton, Kamalesh Ramasamy, Kannan S. Viswanathan, RahulDesale, Ricardo A. Gonzalez, Ricardo Tamez Durandeau, Sampath Ravindhran, Siddharth Shankaran, SooHuey WongThis software and related documentation are provided under a license agreement containing restrictions onuse and disclosure and are protected by intellectual property laws. Except as expressly permitted in yourlicense agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverseengineering, disassembly, or decompilation of this software, unless required by law for interoperability, isprohibited.The information contained herein is subject to change without notice and is not warranted to be error-free. Ifyou find any errors, please report them to us in writing.If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it onbehalf of the U.S. Government, then the following notice is applicable:U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software,any programs embedded, installed or activated on delivered hardware, and modifications of such programs)and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Governmentend users are "commercial computer software" or "commercial computer software documentation" pursuantto the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such,the use, reproduction, duplication, release, display, disclosure, modification, preparation of derivative works,and/or adaptation of i) Oracle programs (including any operating system, integrated software, any programsembedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oraclecomputer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in thelicense contained in the applicable contract. The terms governing the U.S. Government’s use of Oracle cloudservices are defined by the applicable contract for such services. No other rights are granted to the U.S.Government.This software or hardware is developed for general use in a variety of information management applications.It is not developed or intended for use in any inherently dangerous applications, including applications thatmay create a risk of personal injury. If you use this software or hardware in dangerous applications, then youshall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure itssafe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of thissoftware or hardware in dangerous applications.Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks oftheir respective owners.Intel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks areused under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc,and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registeredtrademark of The Open Group.This software or hardware and documentation may provide access to or information about content, products,and services from third parties. Oracle Corporation and its affiliates are not responsible for and expresslydisclaim all warranties of any kind with respect to third-party content, products, and services unless otherwiseset forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will notbe responsible for any loss, costs, or damages incurred due to your access to or use of third-party content,products, or services, except as set forth in an applicable agreement between you and Oracle.

Contents1Oracle Fleet Patching and ProvisioningAbout Oracle Fleet Patching and Provisioning1-1Oracle Fleet Patching and Provisioning Architecture1-3Oracle Fleet Patching and Provisioning Server1-4Oracle Fleet Patching and Provisioning Targets1-4Oracle Fleet Patching and Provisioning Clients1-5Oracle Fleet Patching and Provisioning Images1-6Oracle Fleet Patching and Provisioning Working Copies1-6Oracle Fleet Patching and Provisioning Features2Oracle Fleet Patching and Provisioning ConfigurationConfiguring Oracle Fleet Patching and Provisioning Server2-1Server Configuration Checklist for Oracle Fleet Patching and Provisioning2-2Oracle Fleet Patching and Provisioning Communication Ports2-2Creating a Fleet Patching and Provisioning Server2-5Upgrading Oracle Fleet Patching and Provisioning Server2-6Oracle Fleet Patching and Provisioning Self-upgrade2-7Starting Oracle FPP Server After Manually Upgrading Oracle Grid Infrastructure2-7Configuring Oracle Fleet Patching and Provisioning ClientsCreating a Fleet Patching and Provisioning Client2-82-8Enabling and Disabling Fleet Patching and Provisioning Clients2-10Deleting a Fleet Patching and Provisioning Client2-11Oracle Fleet Patching and Provisioning Local Mode31-72-12About Oracle Fleet Patching and Provisioning Local Mode2-12Patching Oracle Grid Infrastructure Using Local-Mode Configuration2-13Patching Oracle Database with the Independent Automaton2-14Managing Gold Images and Working CopiesAdding Gold Images to the Fleet Patching and Provisioning Server3-1Image State3-2Image Series3-3iii

Image TypeProvisioning Copies of Gold Images3-5Provisioning for a Different User3-6User Group Management in Fleet Patching and Provisioning3-7About Deploying Oracle Grid Infrastructure Using Oracle Fleet Patching andProvisioning3-93-10Provisioning Oracle Grid Infrastructure 21c With GIMR Configured3-123-12Patching and Upgrading Oracle Grid InfrastructurePatching Oracle Grid Infrastructure4-1Patching Oracle Grid Infrastructure Using the Rolling Method4-2Patching Oracle Grid Infrastructure Using the Non-Rolling Method4-3Combined Oracle Grid Infrastructure and Oracle Database Patching4-3Zero-Downtime Oracle Grid Infrastructure Patching4-5Upgrading Oracle Grid InfrastructureUpgrading Oracle Grid Infrastructure 21c With GIMR ConfiguredOracle Restart Patching and Upgrading4-64-74-8Patching and Upgrading Oracle DatabaseCreating an Oracle Database5-1Patching Oracle Database5-2Upgrading Oracle Database Software5-4Zero-Downtime Upgrade5-4Running a Zero-Downtime Upgrade Using Oracle GoldenGate for Replication5-6Running a Zero-Downtime Upgrade Using Oracle Data Guard for Replication5-8Customizing Zero-Downtime Upgrades63-9Provisioning Oracle Grid Infrastructure SoftwareProvisioning Oracle Database Homes53-4Storage Options for Provisioned SoftwareProvisioning Oracle Grid Infrastructure Homes43-35-10Updating Oracle Exadata InfrastructureUpdating Oracle Exadata Cell Server6-1Updating Oracle Exadata Database Node6-2Combined Oracle Exadata Database Node and Grid Infrastructure Update6-4Updating Oracle Exadata InfiniBand Switches6-6iv

7Fleet Patching and Provisioning Postinstallation TasksOracle Fleet Patching and Provisioning Security Postinstallation TasksAuthentication Options for Oracle Fleet Patching and Provisioning Operations7-1Oracle Fleet Patching and Provisioning Roles7-3Creating Users and Assigning Roles for Fleet Patching and ProvisioningClient Cluster Users7-6Oracle Fleet Patching and Provisioning Server Auditing7-6User-Defined Actions7-67-7Oracle Fleet Patching and Provisioning Notifications7-13Job Scheduler for Operations7-14Patching Oracle Grid Infrastructure and Oracle Database Using Batches7-15Combined Oracle Exadata Database Node and Grid Infrastructure Update7-19Gold Image Distribution Among Oracle Fleet Patching and Provisioning Servers7-22Error Prevention and Automated Recovery Options7-24Fleet Patching and Provisioning Logs and Trace Files7-25Oracle Fleet Patching and Provisioning Use CasesCreating an Oracle Grid Infrastructure 21c Deployment8-2Provisioning an Oracle Database Home and Creating a Database8-3Provisioning a Pluggable Database8-3Upgrading to Oracle Grid Infrastructure 21c8-4Patching Oracle Grid Infrastructure and Oracle Databases Simultaneously8-5Patching Oracle Database 21c Without Downtime8-6Upgrading to Oracle Database 21c8-7Adding a Node to a Cluster and Scaling an Oracle RAC Database to the Node8-8Adding Gold Images for Fleet Patching and Provisioning8-9User Actions for Common Fleet Patching and Provisioning TasksA7-5Managing the Fleet Patching and Provisioning Client PasswordAdvanced Oracle Fleet Patching and Provisioning Configurations87-18-10RHPCTL Command ReferenceRHPCTL OverviewA-1Using RHPCTL HelpA-2RHPCTL Command ReferenceA-2audit CommandsA-3rhpctl delete auditA-4rhpctl modify auditA-4rhpctl query auditA-4client CommandsA-5v

rhpctl add clientA-6rhpctl allow clientA-7rhpctl delete clientA-8rhpctl disallow clientA-9rhpctl discover clientA-10rhpctl export clientA-11rhpctl modify clientA-11rhpctl query clientA-12rhpctl update clientA-14rhpctl verify clientA-14credentials CommandsA-15rhpctl add credentialsA-16rhpctl delete credentialsA-16database CommandsA-16rhpctl add databaseA-17rhpctl addnode databaseA-19rhpctl addpdb databaseA-21rhpctl deletepdb databaseA-22rhpctl delete databaseA-24rhpctl deletenode databaseA-25rhpctl move databaseA-26rhpctl movepdb databaseA-30rhpctl upgrade databaseA-32rhpctl zdtupgrade databaseA-34exadata Commandsrhpctl update exadatagihome CommandsA-37A-37A-39rhpctl addnode gihomeA-39rhpctl deletenode gihomeA-40rhpctl move gihomeA-41rhpctl upgrade gihomeA-45image CommandsA-47rhpctl add imageA-48rhpctl allow imageA-49rhpctl delete imageA-49rhpctl deploy imageA-50rhpctl disallow imageA-50rhpctl import imageA-51rhpctl instantiate imageA-53rhpctl modify imageA-54rhpctl query imageA-54vi

rhpctl promote imageA-56rhpctl uninstantiate imageA-57imagetype CommandsA-57rhpctl add imagetypeA-58rhpctl allow imagetypeA-58rhpctl delete imagetypeA-59rhpctl disallow imagetypeA-59rhpctl modify imagetypeA-60rhpctl query imagetypeA-60job CommandsA-61rhpctl delete jobA-62rhpctl query jobA-62osconfig CommandsA-64rhpctl collect osconfigA-64rhpctl compare osconfigA-64rhpctl disable osconfigA-65rhpctl enable osconfigA-65rhpctl query osconfigA-66peerserver Commandsrhpctl query peerserverrole CommandsA-67A-67A-67rhpctl add roleA-68rhpctl delete roleA-69rhpctl grant roleA-70rhpctl query roleA-71rhpctl revoke roleA-72series CommandsA-73rhpctl add seriesA-73rhpctl delete seriesA-74rhpctl deleteimage seriesA-74rhpctl insertimage seriesA-75rhpctl query seriesA-76rhpctl subscribe seriesA-77rhpctl unsubscribe seriesA-78server CommandsA-78rhpctl export serverA-78rhpctl query serverA-79rhpctl register serverA-79rhpctl unregister serverA-80user Commandsrhpctl delete userA-80A-80vii

rhpctl modify userA-81rhpctl register userA-81rhpctl unregister userA-82useraction CommandsA-82rhpctl add useractionA-82rhpctl delete useractionA-84rhpctl modify useractionA-84rhpctl query useractionA-86workingcopy CommandsA-87rhpctl add workingcopyA-87rhpctl addnode workingcopyA-93rhpctl delete workingcopyA-94rhpctl query workingcopyA-95viii

PrefaceInformation in Oracle Fleet Patching and Provisioning Administrator's Guide appliesto Oracle Fleet Patching and Provisioning as it runs on all platforms unless otherwisenoted. Where necessary, this manual refers to platform-specific documentation.This Preface contains these topics: Audience Documentation Accessibility Related Documents Conventions Audience Documentation Accessibility Related Documents ConventionsAudienceThe Oracle Fleet Patching and Provisioning Administrator's Guide is intended fordatabase administrators and system administrators who provision and maintain Oraclehomes.Documentation AccessibilityFor information about Oracle's commitment to accessibility, visit theOracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx acc&id docacc.Access to Oracle SupportOracle customers that have purchased support have access to electronic supportthrough My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx acc&id info or visit http://www.oracle.com/pls/topic/lookup?ctx acc&id trsif you are hearing impaired.Related DocumentsFor more information, see the Oracle resources listed in this section. Platform-specific Oracle Clusterware and Oracle RAC installation guidesEach platform-specific Oracle Database gold image contains a copy of an OracleClusterware and Oracle RAC platform-specific installation and configuration guidein HTML and PDF formats. These installation books contain the preinstallation,9

Conventionsinstallation, and postinstallation information for the various UNIX, Linux, andWindows platforms on which Oracle Clusterware and Oracle RAC operate. Oracle Clusterware Administration and Deployment Guide Oracle Real Application Clusters Administration and Deployment Guide Oracle Database Administrator’s Guide Oracle Database Net Services Administrator's Guide Oracle Database Error Messages ReferenceSee Also: Oracle Database Licensing Information User Manual to determinewhether a feature is available on your edition of Oracle Database Learning Database New Features for a complete description of the newfeatures in this release Oracle Database Upgrade Guide for a complete description of thedeprecated and desupported features in this releaseConventionsThe following text conventions are used in this document:ConventionMeaningboldfaceBoldface type indicates graphical user interface elements associatedwith an action, or terms defined in text or the glossary.italicItalic type indicates book titles, emphasis, or placeholder variables forwhich you supply particular values.monospaceMonospace type indicates commands within a paragraph, URLs, codein examples, text that appears on the screen, or text that you enter.10

1Oracle Fleet Patching and ProvisioningOracle Fleet Patching and Provisioning is a software lifecycle management method forprovisioning and maintaining Oracle homes.Oracle Fleet Patching and Provisioning (Oracle FPP) enables mass deployment andmaintenance of standard operating environments for databases, clusters, and userdefined software types. With Oracle Fleet Patching and Provisioning, you can alsoinstall clusters and provision, patch, scale, and upgrade Oracle Grid Infrastructureand Oracle Database 11g release 2 (11.2), and later. Additionally, you can provisionapplications and middleware.Note:Starting with Oracle Grid Infrastructure 19c, the feature formerly knownas Rapid Home Provisioning (RHP) is now Oracle Fleet Patching andProvisioning (Oracle FPP). About Oracle Fleet Patching and ProvisioningOracle Fleet Patching and Provisioning (FPP) is a service in Oracle GridInfrastructure. Oracle Fleet Patching and Provisioning ArchitectureOracle Fleet Patching and Provisioning architecture consists of an Oracle FleetPatching and Provisioning Server and any number of Oracle Fleet Patching andProvisioning Clients and targets. Oracle Fleet Patching and Provisioning FeaturesOracle Fleet Patching and Provisioning (FPP) provides various features to easeconfiguration and management tasks.Related Topics Oracle Real Application Clusters Installation Guide for Linux and UNIXAbout Oracle Fleet Patching and ProvisioningOracle Fleet Patching and Provisioning (FPP) is a service in Oracle Grid Infrastructure.Note: Oracle does not support Oracle Fleet Patching and Provisioning on HPUX or Windows operating systems. The Oracle Fleet Patching and Provisioning Server does not manageoperating system images.1-1

Chapter 1About Oracle Fleet Patching and ProvisioningYou can use Oracle Fleet Patching and Provisioning in either of the following modes: As a central server (Oracle Fleet Patching and Provisioning Server), that storesand manages standardized images, called gold images. You can deploy goldimages to any number of nodes across a data center. You can use the deployedhomes to create new clusters and databases, and patch, upgrade, and scaleexisting installations.The server manages software homes on the cluster hosting the Oracle FleetPatching and Provisioning Server, itself, Oracle Fleet Patching and ProvisioningClients, and can also manage installations running Oracle Grid Infrastructure 11grelease 2 (11.2.0.3 and 11.2.0.4), 12c release 1 (12.1.0.2), and later releases. Theserver can also manage installations running no grid infrastructure.An Oracle Fleet Patching and Provisioning Server can provision new installationsand can manage existing installations without any changes to the existinginstallations (such as no agent, daemon, or configuration prerequisites). OracleFleet Patching and Provisioning Servers also include capabilities for automaticallysharing gold images among peer Oracle Fleet Patching and Provisioning Serversto support enterprises with geographically distributed data centers. As a client (Oracle Fleet Patching and Provisioning Client), that can be managedfrom the central Oracle Fleet Patching and Provisioning Server or directly byrunning commands on the Oracle Fleet Patching and Provisioning Client, itself. Aswith the Oracle Fleet Patching and Provisioning Server, the Oracle Fleet Patchingand Provisioning Client is a service built in to Oracle Grid Infrastructure and isavailable with Oracle Grid Infrastructure 12c release 2 (12.2.0.1), and later. TheOracle Fleet Patching and Provisioning Client service can retrieve gold imagesfrom the Oracle Fleet Patching and Provisioning Server, upload new images basedon policy, and apply maintenance operations to itself.For patching operations, a third option is available with Oracle Database and OracleGrid Infrastructure 18c, and later. The procedures for updating database and gridinfrastructure homes have been modularized into independent automatons that areincluded with Oracle Database and Oracle Grid Infrastructure, and can be run locallywithout any central Oracle Fleet Patching and Provisioning Server in the architecture.This provides an immediate entry point to the capabilities of Oracle Fleet Patching andProvisioning as soon as you bring up an Oracle Database or cluster.Note:Combined Oracle FPP patching for Oracle Grid Infrastructure and OracleDatabase is not supported for standalone configurations.Oracle Fleet Patching and Provisioning AdvantagesDeploying Oracle software using Oracle Fleet Patching and Provisioning has thefollowing advantages: Ensures standardization and enables high degrees of automation with gold imagesand managed lineage of deployed software. Minimizes downtime by deploying new homes as images (working copies of goldimages) out-of-place, without disrupting active databases or clusters.1-2

Chapter 1Oracle Fleet Patching and Provisioning Architecture Simplifies local maintenance operations by providing automatons which areinvoked with a simple, consistent API across database versions and deploymentmodels. Reduces maintenance risk with built-in validations and a dry run mode to test theoperations. Enables you to resume or restart the commands in the event of an unforeseenissue, reducing the impact of maintenance operations. Minimizes and often eliminates the impact of patching and upgrades, with featuresthat include: –Zero-downtime database upgrade with fully automated upgrade, executedentirely within the deployment without requiring any extra nodes or externalstorage.–Adaptive management of database sessions and OJVM during rollingpatching.–Options for management of consolidated deployments.The deployment and maintenance operations enable customizations to inc

Oracle Fleet Patching and Provisioning Communication Ports 2-2 Creating a Fleet Patching and Provisioning Server 2-5 . User Group Management in Fleet Patching and Provisioning3-7 \37