Upgrading from PMF Version 9.1 to later
To upgrade PMF Version 9.1 to the latest PMF fix pack level, refer to the instructions in this documentation topic.
Procedure
Proceed as follows.
-
Log in to the PMF 9.1.0 cluster using OC login command and using correct project namespace.
a. Download the
PMF-OpenShift-Pak-<version>. tar.gz
package.b. Extract
PMF-OpenShift-Pak-<version>. tar.gz
package by using the following command.tar -xvzf PMF-Openshift-Pak-<VERSION>.tar.gz
c. (Optional) To pull images using your own private Docker Hub registry, see Step 13 in the Migrating MFP 8.0 (WAS Liberty with Db2) on ROCP topic.
-
Upgrade Elasticsearch for PMF.
a. Go to
es/deploy
directory of the above extracted package and modify following deployment YML files.service_account.yaml
- Provide created imagePullSecret.role_binding.yaml
- Provide namespace name as per PMF 9.1.charts_v1_esoperator_cr.yaml
- Copy the values from the oldcharts_v1_esoperator_cr.yaml
file in the PMF 9.1 to the newcharts_v1_esoperator_cr.yaml
file in the PMF 9.2.
b. Go to
es/deploy
directory and apply following commands.oc apply -f crds/charts_v1_esoperator_cr.yaml oc apply -f service_account.yaml oc apply -f role.yaml oc apply -f role_binding.yaml oc apply -f deploy/operator.yaml
c. Run the following command to upgrade CR once PMF operator pod is up and running.
oc apply -f crds/charts_v1_esoperator_cr.yaml
-
Upgrade components for PMF.
a. Go to
deploy
directory of the above extracted package and modify following deployment YML files.service_account.yaml
- Provide created imagePullSecret.role_binding.yaml
- Provide namespace name as per PMF 9.1.charts_v1_mfoperator_cr.yaml
- Copy the values from the oldcharts_v1_mfoperator_cr.yaml
file in the PMF 9.1 to the newcharts_v1_mfoperator_cr.yaml
file in the PMF 9.2.- charts_v1_mfoperator_cr.yaml- Add values for VAPT properties as per your requirement. For more information, see config.properties file parameters.
b. Go to
deploy
directory and apply following commands.oc apply -f crds/charts_v1_mfoperator_crd.yaml oc apply -f service_account.yaml oc apply -f role.yaml oc apply -f role_binding.yaml oc apply -f deploy/operator.yaml
c. Run the following command to upgrade components CR once PMF operator pod is up and running.
oc apply -f crds/charts_v1_mfoperator_cr.yaml
-
Verify that the consoles are up and running by using the following URLs.
<<protocol>>://<<hostname>>/mfpconsole