IBM Maximo: Migrate MAXDB to RH OpenShift: Difference between revisions

From Wiki
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
Open the DB2 Operator -> DB2 Cluster -> New cluster.
Open the DB2 Operator -> DB2 Cluster -> New cluster.


Get yaml file on this Article [IBM Maximo: Migrate MAXDB to RH OpenShift (db2ucmas76-01.yaml)]
Get yaml file on this Article [[IBM Maximo: Migrate MAXDB to RH OpenShift (db2ucmas76-01.yaml)]]
 
Paste inside yaml form and click on create


= Restore MAXDB76 backup file into Container =
= Restore MAXDB76 backup file into Container =
Line 33: Line 35:
  cd /mnt/backup
  cd /mnt/backup
  unzip MAXDB76.0.___.001.zip
  unzip MAXDB76.0.___.001.zip
chmod a+rw MAX*
List
<nowiki>ls -l
total 7121740
-rw-rw-rw-. 1 db2uadm db2iadm1 7095119872 Sep 13  2022 MAXDB76.0.ctginst1.DBPART000.20220913055916.001
-rw-rw-rw-. 1 db2uadm db2iadm1  197538909 Apr  7 21:15 MAXDB76.0.ctginst1.DBPART000.20220913055916.001.zip
</nowiki>


= Ver também =
= Ver também =

Latest revision as of 21:17, 7 April 2026


Create MAXDB database

1) Install DB2 Operator

2) Create a New instance of DB2.

Open the DB2 Operator -> DB2 Cluster -> New cluster.

Get yaml file on this Article IBM Maximo: Migrate MAXDB to RH OpenShift (db2ucmas76-01.yaml)

Paste inside yaml form and click on create

Restore MAXDB76 backup file into Container

Define db2 project on openshift

oc project db2u

Check pods

oc get pods

Copy backup file

oc cp MAXDB76.0.___.001.zip c-db2ucmas76-02-db2u-0:/mnt/backup/MAXDB76.0.___.001.zip

Login on container

oc rsh c-db2ucmas76-02-db2u-0

Extract file

cd /mnt/backup
unzip MAXDB76.0.___.001.zip
chmod a+rw MAX*

List

ls -l
total 7121740
-rw-rw-rw-. 1 db2uadm db2iadm1 7095119872 Sep 13  2022 MAXDB76.0.ctginst1.DBPART000.20220913055916.001
-rw-rw-rw-. 1 db2uadm db2iadm1  197538909 Apr  7 21:15 MAXDB76.0.ctginst1.DBPART000.20220913055916.001.zip

Ver também