/common/logs/upgrade/upgrade.log
<timestamps> Upgrade successful, restarting the HCX Manager VM .......................................................... [ OK ]/common/logs/upgrade/upgrade-status.properties
upgrade.status=COMPLETEupgrade.message=Upgrade successful, restarting the HCX Manager VM
Checking the service status shows postgresdb is in activating state and not running.
systemctl --type=service | grep "zoo\|kaf\|web\|app\|postgres"
app-engine.service loaded failed failed App-Engine
appliance-management.service loaded failed failed Appliance Management
kafka.service loaded active running Kafka
postgresdb.service loaded activating start start PostgresDB
zookeeper.service loaded active running Zookeepersystemctl status postgresdb
postgresdb.service - PostgresDB Loaded: loaded (/etc/systemd/system/postgresdb.service; enabled; vendor preset: enabled) Active: activating (start) since Tue 2024-10-29 07:15:45 UTC; 6min agoCntrl PID: 5732 (postgresdb-star) Tasks: 3 (limit: 2385) Memory: 764.0K CGroup: /system.slice/postgresdb.service ├─ 5732 /bin/bash /etc/systemd/postgresdb-start ├─ 5733 sh -x /opt/vmware/init/postgres_init.sh └─20713 sleep 1
Oct 29 07:15:35 hcx.####.### postgresdb-start[20709]: ++ ps -fu postgresOct 29 07:15:35 hcx.####.### postgresdb-start[5733]: + '[' -z 'UID PID PPID C STIME TTY TIME CMDOct 29 07:15:35 hcx.####.### postgresdb-start[5733]: postgres 5732 1 0 06:09 ? 00:00:00 /bin/bash /etc/systemd/postgresdb-startOct 29 07:15:35 hcx.####.### postgresdb-start[5733]: postgres 5733 5732 0 06:09 ? 00:00:00 sh -x /opt/vmware/init/postgres_init.shOct 29 07:15:35 hcx.####.### postgresdb-start[5733]: postgres 20709 5733 0 06:16 ? 00:00:00 ps -fu postgres' ']'Oct 29 07:15:35 hcx.####.### postgresdb-start[5733]: + '[' 404 -ge 900 ']'Oct 29 07:15:35 hcx.####.### postgresdb-start[20711]: ++ /usr/pgsql/13/bin/pg_isready -h localhostOct 29 07:15:35 hcx.####.### postgresdb-start[20712]: ++ grep acceptingOct 29 07:15:35 hcx.####.### postgresdb-start[5733]: + '[' -z '' ']'Oct 29 07:15:35 hcx.####.### postgresdb-start[5733]: + sleep 1
/var/log/messages to find "Permission denied" error2024-10-29T07:15:35.326+00:00 hcx.####.### postgresdb-start[1029]: Tue Oct 29 07:15:09 UTC 2024 Starting the PostgresDB...!2024-10-29T07:15:35.363+00:00 hcx.####.### postgresdb-start[1038]: initdb: error: could not access directory "/common/postgres-db": Permission denied2024-10-29T07:15:35.364+00:00 hcx.####.### postgresdb-start[1026]: + [[ -d /common/postgres-db ]]2024-10-29T07:15:35.364+00:00 hcx.####.### postgresdb-start[1026]: + [[ -f /common/postgres-db/postgresql.conf ]]2024-10-29T07:15:35.364+00:00 hcx.####.### postgresdb-start[1026]: + /usr/pgsql/13/bin/pg_ctl start -D /common/postgres-db2024-10-29T07:15:35.366+00:00 hcx.####.### postgresdb-start[1046]: pg_ctl: could not open PID file "/common/postgres-db/postmaster.pid": Permission denied
root@hcx [ /common ]# ls -ltrh
lrwxrwxrwx 1 postgres postgres 23 Oct 29 05:37 postgres-db -> /common_ext/postgres-dbThe group ownership of the directory postgres-db is changed as shown below.
root@hcx [ /common_ext ]# ls -ltrh
drwx------ 19 1001 appmgmt 4.0K Oct 29 07:06 postgres-dbVMware HCX
/common_ext/postgres-db is changed from postgres:postgres to 1001:appmgmt. This issue is resolved in VMware HCX 4.11.0 and later, available at Broadcom downloads.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.
Please refer link for HCX scalability guide: HCX - Bulk Migration & Replication Assisted vMotion (RAV) scalability guide - for HCX version 4.7 to 4.9