Running a Zero-Downtime Upgrade Using Oracle GoldenGate for Replication
Run a zero-downtime upgrade using Oracle GoldenGate for replication.
-
Prepare the Fleet Patching and Provisioning Server.
Create gold images of the Oracle GoldenGate software in the image library of the Fleet Patching and Provisioning Server.Note:
You can download the Oracle GoldenGate software for your platform from Oracle eDelivery. The Oracle GoldenGate 12.3 installable kit contains the required software for both Oracle Database 11g and Oracle Database 12c databases.If you download the Oracle GoldenGate software, then extract the software home and perform a software only installation on the Fleet Patching and Provisioning Server.
Create gold images of the Oracle GoldenGate software for both databases, as follows:
In both of the preceding commands,$ rhpctl import image -image 112ggimage -path path -imagetype ORACLEGGSOFTWARE $ rhpctl import image -image 12ggimage -path path -imagetype ORACLEGGSOFTWARE
path
refers to the location of the Oracle GoldenGate software home on the Fleet Patching and Provisioning Server for each release of the database. -
Prepare the target database.
Provision working copies of the Oracle GoldenGate software to the cluster hosting the database, as follows:$ rhpctl add workingcopy -workingcopy GG_Wcopy_11g -image 112ggimage -user user_name -node 12102_cluster_node -path path {-root | -sudouser user_name -sudopath sudo_bin_path} $ rhpctl add workingcopy -workingcopy GG_Wcopy_12c -image 12ggimage -user user_name -node 12102_cluster_node -path path {-root | -sudouser user_name -sudopath sudo_bin_path}
If the database is hosted on the Fleet Patching and Provisioning Server, itself, then neither the-targetnode
nor-client
parameters are required.Note:
Working copy names must be unique, therefore you must use a different working copy name on subsequent targets. You can create unique working copy names by including the name of the target/client cluster name in the working copy name. -
Provision a working copy of the Oracle Database 12c software home to the target cluster.
Note:
You can do this preparation ahead of the maintenance window without disrupting any operations taking place on the target.Related Topics
Parent topic: Zero-Downtime Upgrade