IBM Maximo: Running Maximo as Container: Difference between revisions

From Wiki
(Created page with "= 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=db2inst1 \ -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/app...")
 
No edit summary
Line 1: Line 1:
This documentation is in DRAFT!!!! Working on it.
= Running DB2 as Container =
= Running DB2 as Container =



Revision as of 12:48, 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=db2inst1 \
-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