I would suggest that you review the Docker cookbook. This starts from basics of Native Docker installation and use of Access Manager in containerized environment.
Once you have done this, you might also like to follow the Kubernetes cookbook to get familiar with deployment in a Kubernetes managed environment.
Once you have completed these two cookbooks, I think you will have a better understanding of the ISAM-on-Docker concepts to allow you to get everything working under OpenShift.
Jon.
Original Message:
Sent: Mon August 05, 2019 05:57 AM
From: Mayur Wattamwar
Subject: ISAM9 with Open Shift issue
John,
I got the LMI access and was trying to configure the postgres and ldap but having the issue while using the IP of the server or container.
do you have any document where I can start configuration?
------------------------------
Mayur Wattamwar
------------------------------
Original Message:
Sent: Wed July 24, 2019 06:15 AM
From: Jon Harry
Subject: ISAM9 with Open Shift issue
Mayur,
The behavior you are seeing is expected. The "worker containers" (i.e. AAC Runtime, Rerverse Proxy, DSC) will not fully start until they receive a configuration from the config container that they can use to start and run.
I can see from the message:
Fatal error: WGAWA0022E The supplied instance name, rp1, is not a configured instance.
that you have not completed Reverse Proxy configuration and I guess you haven't done any configuration yet (other than set the password for cfgsvc).
Now that you have access to the configuration interface, I suggest that you follow the steps in the Docker Cookbook which will set up a basic configuration for the environment. Once this is complete and published your other containers should fully start.
I notice that your openldap container is showing an ImagePullBackoff. I'm not sure why that would be - there's nothing special about that image that would prevent it from downloading. Running that image under OpenShift does require a special security constraint to allow run-as-root but hopefully you already got that from the Github scripts.
Jon.
------------------------------
Jon Harry
Consulting IT Security Specialist
IBM
Original Message:
Sent: Wed July 24, 2019 01:33 AM
From: Mayur Wattamwar
Subject: ISAM9 with Open Shift issue
Hi Jon,
I have now got the ISAM part running ..
So we can now get the ISAM console and see and change configuration.
Although I am not yet sue if they are rightly started or not.
Considering the runtime and wrprp container still shows 0/1 Running , I would expect it to show 1/1 running
/# oc get pods
NAME READY STATUS RESTARTS AGE
isamconfig-2973007414-0wsjv 1/1 Running 77 2d
isamruntime-3243051175-58j6d 0/1 Running 0 2h
isamwrprp1-682827843-9fdjm 0/1 Running 0 2h
openldap-2629205293-xx2pc 0/1 ImagePullBackOff 0 1d
postgresql-3938822541-79t92 1/1 Running 0 1d
can you check following logs to confirm that this is the expected behaviour or not
Logs are as below.
# oc logs -f isamwrprp1-682827843-9fdjm
2019-07-23T11:43:28+0000: Bootstrapping....
2019-07-23T11:43:32+0000: ---- Log files for this container will be written to docker-fd8a7
/ /
/
2019-07-23T11:43:32+0000: ---- Creating path: /var/application.logs/docker-fd8a7/lmi
2019-07-23T11:43:32+0000: ---- Creating path: /var/application.logs/docker-fd8a7/rsyslog_forwarder
2019-07-23T11:43:32+0000: ---- Creating path: /var/application.logs/docker-fd8a7/isam_runtime/policy
2019-07-23T11:43:32+0000: ---- Creating path: /var/application.logs/docker-fd8a7/isam_runtime/user_registry
2019-07-23T11:43:32+0000: ---- Creating path: /var/application.logs/docker-fd8a7/wrp
2019-07-23T11:43:32+0000: ---- Creating path: /var/application.logs/docker-fd8a7/system
2019-07-23T11:43:34+0000: ---- Creating path: /var/shared/snapshots
2019-07-23T11:43:34+0000: ---- Creating path: /var/shared/support
2019-07-23T11:43:34+0000: ---- Creating path: /var/shared/fixpacks
2019-07-23T11:43:34+0000: ---- Creating path: /var/shared/extensions
Docker detected
2019-07-23T12:43:36+0100: ---- Downloading data from the configuration service.
2019-07-23T12:43:59+0100: ---- Data has been downloaded from the configuration service.
MAC verified OK
MAC verified OK
Verifying checksums... Done
Fatal error: WGAWA0022E The supplied instance name, rp1, is not a configured instance.
2019-07-23T12:44:22+0100: --- Running.
2019-07-23T12:44:41+0100: Log file: /var/log/messages
Jul 23 12:44:20 mesa_config[530]: Fatal error: WGAWA0022E The supplied instance name, rp1, is not a configured instance.
Jul 23 12:44:21 mesa_config[530]: LMI:Lite. Starting the App Server
Jul 23 12:44:21 mesa_config[530]: XML Schema for [/etc/policies//cml/common/sysaccount/sysaccount2_0_0.xml] validate passed
Jul 23 12:44:21 mesa_control[520]: Bootstrap from settings succeeded
Jul 23 12:44:21 mesa_control[520]: GLGSY0015I:: GLG_events:: ||
Jul 23 12:44:21 mesa_control[520]: Bootstrap succeeded
Jul 23 12:44:21 wga_notifications: WGAWA0047W:: WGA_events:: |1=rp1,msg=Reverse Proxy is not running: rp1|
Jul 23 12:44:22 mesa_config[608]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 12:44:22 mesa_control[520]: Policy changes have been kept.
Jul 23 12:44:29 mesa_config[651]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 12:45:21 mesa_config[806]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 12:50:28 mesa_config[1597]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 12:55:16 mesa_config[2318]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:00:35 mesa_config[3099]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:05:16 mesa_config[3782]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:10:06 mesa_config[4450]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:15:24 mesa_config[5242]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:20:06 mesa_config[5943]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:25:19 mesa_config[6724]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:30:16 mesa_config[7478]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:35:18 mesa_config[8242]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:40:23 mesa_config[9013]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:45:08 mesa_config[9717]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:50:33 mesa_config[10529]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:55:08 mesa_config[11217]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:00:19 mesa_config[11997]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:05:13 mesa_config[12736]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:10:38 mesa_config[13476]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:15:15 mesa_config[14158]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:20:28 mesa_config[14937]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:25:16 mesa_config[15655]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:30:33 mesa_config[16430]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:35:20 mesa_config[17096]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:40:30 mesa_config[17841]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:45:15 mesa_config[18500]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:50:08 mesa_config[19184]: Signature verification passed for file: /usr/sbin/mesa_config
# oc logs -f isamruntime-3243051175-58j6d
2019-07-23T11:42:09+0000: Bootstrapping....
2019-07-23T11:42:13+0000: ---- Log files for this container will be written to docker-c1206
/ /
/
2019-07-23T11:42:13+0000: ---- Creating path: /var/application.logs/docker-c1206/lmi
2019-07-23T11:42:13+0000: ---- Creating path: /var/application.logs/docker-c1206/rsyslog_forwarder
2019-07-23T11:42:13+0000: ---- Creating path: /var/application.logs/docker-c1206/rtprofile
2019-07-23T11:42:13+0000: ---- Creating path: /var/application.logs/docker-c1206/rtaudit
2019-07-23T11:42:13+0000: ---- Creating path: /var/application.logs/docker-c1206/system
2019-07-23T11:42:15+0000: ---- Creating path: /var/shared/snapshots
2019-07-23T11:42:15+0000: ---- Creating path: /var/shared/support
2019-07-23T11:42:15+0000: ---- Creating path: /var/shared/fixpacks
2019-07-23T11:42:15+0000: ---- Creating path: /var/shared/extensions
Docker detected
2019-07-23T12:42:18+0100: ---- Downloading data from the configuration service.
2019-07-23T12:42:31+0100: ---- Data has been downloaded from the configuration service.
MAC verified OK
MAC verified OK
Verifying checksums... Done
2019-07-23T12:42:54+0100: --- Running.
2019-07-23T12:43:13+0100: Log file: /var/log/messages
Jul 23 12:42:51 mesa_config[509]: LMI:Lite. Starting the App Server
Jul 23 12:42:53 rsyslogd: [origin software="rsyslogd" swVersion="8.24.0-34.el7" x-pid="571" x-info="http://www.rsyslog.com"] start
Jul 23 12:42:53 mesa_config[509]: XML Schema for [/etc/policies//cml/common/sysaccount/sysaccount2_0_0.xml] validate passed
Jul 23 12:42:53 mesa_control[496]: Bootstrap from settings succeeded
Jul 23 12:42:53 mesa_control[496]: GLGSY0015I:: GLG_events:: ||
Jul 23 12:42:53 mesa_control[496]: Bootstrap succeeded
Jul 23 12:42:54 rsyslogd: rsyslogd's userid changed to 6000
Jul 23 12:42:54 mesa_config[582]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 12:42:54 mesa_control[496]: Policy changes have been kept.
Jul 23 12:43:01 mesa_config[617]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 12:45:20 mesa_config[961]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 12:50:20 mesa_config[1633]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 12:55:16 mesa_config[2286]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:00:35 mesa_config[2951]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:05:15 mesa_config[3548]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:10:09 mesa_config[4125]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:15:22 mesa_config[4795]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:20:07 mesa_config[5412]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:25:19 mesa_config[6091]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:30:17 mesa_config[6758]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:35:17 mesa_config[7418]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:40:23 mesa_config[8076]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:45:10 mesa_config[8704]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:50:32 mesa_config[9397]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 13:55:12 mesa_config[10007]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:00:21 mesa_config[10668]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:05:13 mesa_config[11306]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:10:02 mesa_config[11873]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:15:01 mesa_config[12498]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:20:29 mesa_config[13196]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:25:08 mesa_config[13816]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:30:02 mesa_config[14444]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:35:20 mesa_config[15076]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:40:30 mesa_config[15707]: Signature verification passed for file: /usr/sbin/mesa_config
Jul 23 14:45:15 mesa_config[16287]: Signature verification passed for file: /usr/sbin/mesa_config
------------------------------
Mayur Wattamwar
Original Message:
Sent: Mon July 22, 2019 06:04 AM
From: Jon Harry
Subject: ISAM9 with Open Shift issue
Mayur,
My github repo for the scripts I've created is at https://ibm.biz/isamdocker
I assumed this was where you got the "template" you mentioned... is there something else?
My "ISAM on Docker" build blogs are:
https://ibm.biz/isamdockerbuild
https://ibm.biz/isamkubebuild
These set up a system where you can run cookbooks:
https://ibm.biz/isamdockercookbook
https://ibm.biz/isamkubecookbook
https://ibm.biz/isamhelmcookbook
I don't have a cookbook for OpenShift - however, if you run the docker and kubernetes cookbooks you'll get a good understanding of what is needed to set up with OpenShift using the scripts assets in my Github repo.
Cheers... Jon.
------------------------------
Jon Harry
Consulting IT Security Specialist
IBM
Original Message:
Sent: Mon July 22, 2019 03:36 AM
From: Mayur Wattamwar
Subject: ISAM9 with Open Shift issue
can you give me your demo link? i will check and get back to you.
------------------------------
Mayur Wattamwar