Unable to define multiple DB hosts in Portal 5.4.1.x
search cancel

Unable to define multiple DB hosts in Portal 5.4.1.x

book

Article ID: 441008

calendar_today

Updated On:

Products

CA API Developer Portal

Issue/Introduction

After upgrading to Portal 5.4.1.3 from 5.3.1, starting the portal results in below error:

Please fix the following error:
   -  PORTAL_DATABASE_PORT '3306,3306' is not a valid port number (must be 1-65535)

Please fix the following error:
   -  PORTAL_DATABASE_HOST 'dbhostname1,dbhostname2' cannot be resolved. Check DNS or use an IP address.

According the Techdocs this is configuration is supported.

https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-developer-portal/5-4/install-configure-and-upgrade/install-portal-on-docker-swarm/configure-an-external-database.html

Environment

Portal 5.4.1.x

Resolution

This is caused by the updated portal.sh script where the validation function does not allow the multiple entries .

To be able to start portal , update the portal.conf and configure a single port and mysql host for the time being . 

We will create a solution for it as soon as possible