IBM Maximo: Running Maximo as Container: Difference between revisions

From Wiki
Line 15: Line 15:


  podman run -d --name mydb2 --privileged=true -p 50000:50000 -e LICENSE=accept \
  podman run -d --name mydb2 --privileged=true -p 50000:50000 -e LICENSE=accept \
  -e DB2INST1_PASSWORD=ctginst1 -e DB2INSTANCE=ctginst1 \
  -e DB2INST1_PASSWORD=passw0rd -e DB2INSTANCE=ctginst1 -e DBNAME=maxdb76 \
  -v /opt/db2data:/database db2_community/db2
  -v /opt/db2data:/database db2_community/db2



Revision as of 12:52, 10 October 2023

This documentation is in DRAFT!!!! Working on it.

Running DB2 as Container

Create db2data directory

# mkdir -p /opt/db2data


Pull images

podman pull icr.io/db2_community/db2

Running Db2

podman run -d --name mydb2 --privileged=true -p 50000:50000 -e LICENSE=accept \
-e DB2INST1_PASSWORD=passw0rd -e DB2INSTANCE=ctginst1 -e DBNAME=maxdb76 \
-v /opt/db2data:/database db2_community/db2


Cheking Logs

podman logs -f mydb2

Running WAS as Container

Create WAS directory

# mkdir -p /opt/was/config /opt/was/app 


Pull images

podman pull icr.io/appcafe/websphere-traditional:latest

Running WAS

podman run -d --name mywassrv -h was-server -p 9043:9043 -p 9443:9443 \
-v /opt/was/config:/etc/websphere websphere-traditional:latest


Cheking Logs

podman logs -f mywassrv

Login in WAS Console

First get password

podman exec mywassrv cat /tmp/PASSWORD

Now access in browser

https://<ip of the server>:9043/admin

To login

  • user: wsadmin
  • password: <from the output of Podman exec>


Ver também