[Progress Communities] [Progress OpenEdge ABL] File: Using the Container Image for PAS for OpenEdge 11.7 with EFK Stack Logging (Sample App)

  • Thread starter Thread starter egarcia
  • Start date Start date
Status
Not open for further replies.
E

egarcia

Guest
Requirements: Docker environment Docker Compose A valid progress.cfg file Container Image for PASOE (See wiki page Docker Container for PASOE - FAQ - Wiki - OpenEdge Deployment - Progress Community ) Use the Container Image Download the pasoe-basic Github project. Change to the sample application folder: cd /pasoe-basic/ Update the value for `serviceURI` in `webui/grid.js` to point to your Docker host. Create a copy of the sports2000 database and start the database server (broker): prodb sports sports2000 proserve sports -S 20000 Copy your valid `progress.cfg` file into the conf directory and rename it to progress.cfg.pasoe . This will overwrite the placeholder progress.cfg.pasoe file in that directory. Update the DBSERVER environment variable in the docker-compose.yaml file to point to the machine running the database server. Notes: You can also configure the following variables in the docker-compose.yaml file: EFK_LOGGING: This enviroment variable determines whether the container uses the EFK Stack for log management. You can use a volume to externalize the logs if desired. INSTANCE_NAME: The name of the pasoe instance for the container. This variable is defined in the docker-compose.yaml for runtime needs and in the Dockerfile for build time when the PASOE instance is created. APP_NAME: The logical name of the application. Changes to this value will be seen in the Elasticsearch indices. Build the custom container image for the sample application: docker-compose build See [suggestions in the wiki](Docker Container for PASOE - FAQ - Wiki - OpenEdge Deployment - Progress Community) if you are having issues. Increase virtual memory settings to run Elasticsearch: sudo sysctl -w vm.max_map_count=262144 See the following link for additional info: Virtual memory | Elasticsearch Reference [6.5] | Elastic Start the services docker-compose up -d Check that the PAS for OpenEdge instance starts: docker-compose exec sports tail -f /oelogs/catalina.out Check that Elasticsearch starts: docker-compose logs -f elasticsearch Access the PAS for OpenEdge instance via a web browser: https:// :8811/ https:// :8811/Sports/ https:// :8811/Sports/static/SportsService.json https:// :8811/Sports/rest/SportsService/Customer Note: By default, the PAS for OpenEdge instance will use HTTPS with a test certificate. You will need to accept access with this certificate. Access the web ui service via a web browser: http:// :8080 Access Elasticsearch to check on available logs: http:// :9200/_cat/indices Access Kibana to show the logs: http:// :5601 Notes: Select Management/Index Management to see the indices in Elasticsearch Select Management/Index Pattern to create an index for Kibana: Create index for pasoe_agent_log Specify @timestamp to filter data by time Select Discover to see entries for the pasoe_agent_log index

Continue reading...
 
Status
Not open for further replies.
Back
Top