In the previous part of this series, we touched upon Fleet Patching & Provisioning (FPP) concepts and architecture;  it is now time to put the theory into practice.

As you recall from the previous post, the FPP architecture looks as described in the picture below:

 

archtecture FPP 19c

 

With the review of the architecture fresh in mind we can start configuring the FPP Server on our already installed Grid Infrastructure. Any Real Application Clusters (RAC) installation ( single RAC node, multiple RAC nodes or RAC one node) and ACFS compatible kernel will do.

I will now walk you through the following steps to install the FPP Server, which will provide the foundation of our FPP configuration:

 

  1. Install the MGMTDB if not already there
  2. Remove the local rhpserver
  3. Add gns ip
  4. Add the rhpserver
  5. Start the rhpserver

 

Step 1 – Install MGMTDB

 

FPP stores its metadata in the MGMTDB. Make sure that you have the MGMTDB installed.
If the MGMTDB is not installed you can use the tool our colleague Ruggero Citton from the RAC Pack wrote to add it to your configuration quickly. Please note this works for 19c, in 21c the MGMTDB needs to be in its own database home and can thus no longer use the GRID_HOME.


For more info check out the following MOS note :
MDBUtil : GI Management Repository configuration tool (Doc ID 2065175.1). Make sure ssh equivalence for the grid user is set up.


It is interesting to know that all 21c features of FPP are backported to 19c as this is the long-term release version. At the time of this blog post 19c would be the recommended version to run in most cases.

 

Step 2 – Remove the Local rhpserver

 

By default a local automation fpp server is installed, This local rhpserver need to be removed to install the full fppserver
 

 

As the grid user, run the following command:

srvctl remove rhpserver -f

 

Step 3 - Add GNS (optional as of 19.25)

Update : GNS is deprecated in 23ai. Therefore, we recommend using the RHP VIP as of version 19.25. Adding GNS can be skipped if you make use of the RHP VIP.

FPP uses basic GNS to let the FPP clients resolve its internal ip addresses, it is not a full blown GNS installation no subdomain is necessary only one IP address

As the root user, run following command:

srvctl add gns -vip  x.x.x.x

 

Step 4 – Add the rhpserver

We removed the rhpserver earlier and need to re-add it, to complete the FPP server installation.

 

As the root user, run the following command:

srvctl add rhpserver -storage /rhp_storage -diskgroup data -rhpsvip hostname

This command will add the rhpserver and will create an ACFS filesystem in the +DATA diskgroup and mount it in /rhp_storage on the FPP server. The rhpsvip parameter is used when you don’t have GNS configured.

Gold images will be stored in:

/rhp_storage/images

 

As you know FPP is idempotent. Whenever an errror occurs, FPP operations will resume after correcting the issue assuming the same command is re-run.

Progress of FPP actions are trackin in following locations:

/rhp_storage/chkbase/GHcheckpoints

 

Step 5 – Start the rhpserver

With the rhpserver added we can now start it by running following command as the grid user:

 

srvctl start rhpserver

 

With all the components installed and succesfully started it is time for a short sanity check.

 

By running the following command, you should see the following cluster resources

 

crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA.COMMONSTORE.advm
               ONLINE  ONLINE       fpp19c-c11               STABLE
               ONLINE  ONLINE       fpp19c-c12               STABLE
ora.DATA.GHCHKPT.advm
               ONLINE  ONLINE       fpp19c-c11               STABLE
               ONLINE  ONLINE       fpp19c-c12               STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       fpp19c-c11               STABLE
               ONLINE  ONLINE       fpp19c-c12               STABLE
ora.chad
               ONLINE  ONLINE       fpp19c-c11               STABLE
               ONLINE  ONLINE       fpp19c-c12               STABLE
ora.data.commonstore.acfs
               ONLINE  ONLINE       fpp19c-c11               mounted on /opt/orac
                                                             le/dcs/commonstore,S
                                                             TABLE
               ONLINE  ONLINE       fpp19c-c12               mounted on /opt/orac
                                                             le/dcs/commonstore,S
                                                             TABLE
ora.data.ghchkpt.acfs
               ONLINE  ONLINE       fpp19c-c11               mounted on /rhp/chkb
                                                             ase,STABLE
               ONLINE  ONLINE       fpp19c-c12               mounted on /rhp/chkb
                                                             ase,STABLE
ora.helper
               ONLINE  ONLINE       fpp19c-c11               IDLE,STABLE
               ONLINE  ONLINE       fpp19c-c12               IDLE,STABLE
ora.helper838.hlp
               ONLINE  ONLINE       fpp19c-c11               STABLE
               ONLINE  ONLINE       fpp19c-c12               STABLE
ora.net1.network
               ONLINE  ONLINE       fpp19c-c11               STABLE
               ONLINE  ONLINE       fpp19c-c12               STABLE
ora.ons
               ONLINE  ONLINE       fpp19c-c11               STABLE
               ONLINE  ONLINE       fpp19c-c12               STABLE
ora.proxy_advm
               ONLINE  ONLINE       fpp19c-c11               STABLE
               ONLINE  ONLINE       fpp19c-c12               STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.DATA.dg(ora.asmgroup)
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
      2        ONLINE  ONLINE       fpp19c-c12               STABLE
ora.LISTENER_ASM.lsnr(ora.asmgroup)
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
      2        ONLINE  ONLINE       fpp19c-c12               STABLE
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       fpp19c-c12               STABLE
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
ora.MGMTLSNR
      1        ONLINE  ONLINE       fpp19c-c11               192.168.16.18,STABLE
ora.RECO.dg(ora.asmgroup)
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
      2        ONLINE  ONLINE       fpp19c-c12               STABLE
ora.asm(ora.asmgroup)
      1        ONLINE  ONLINE       fpp19c-c11               Started,STABLE
      2        ONLINE  ONLINE       fpp19c-c12               Started,STABLE
ora.asmnet1.asmnetwork(ora.asmgroup)
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
      2        ONLINE  ONLINE       fpp19c-c12               STABLE
ora.cdp1.cdp
      1        ONLINE  ONLINE       fpp19c-c12               STABLE
ora.cdp2.cdp
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
ora.cdp3.cdp
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
ora.cvu
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
ora.fpp19c-c11.vip
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
ora.fpp19c-c12.vip
      1        ONLINE  ONLINE       fpp19c-c12               STABLE
ora.gns
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
ora.gns.vip
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
ora.mgmtdb
      1        ONLINE  ONLINE       fpp19c-c11               Open,STABLE
ora.qosmserver
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
ora.rhpserver
      1        ONLINE  ONLINE       fpp19c-c12               STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       fpp19c-c12               STABLE
ora.scan2.vip
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
ora.scan3.vip
      1        ONLINE  ONLINE       fpp19c-c11               STABLE
--------------------------------------------------------------------------------

 

In the case above I have a two-node RAC Cluster with fpp19c-c11 and fpp19c-c12 as RAC Nodes.

 

Congratulations, if you have followed the steps above in you environment, you should now have your FPP server up and running !!

 

In the next blog post in this series, I will walk you through how to create and import  gold images.

 

You can find the links to other articles in the series here :

Fleet Patching & Provisioning by Example Intro

Fleet Patching & Provisioning by Example Part 1 : Architecture – Concepts

Fleet Patching & Provisioning by Example Part 2 : FPP Server Installation

Fleet Patching & Provisioning by Example Part 3 : Creating Gold Images

www.oracle.com/goto/FPP