Posted in: VMware

VAMI/Appliance management page unable to cleanup old backup tasks even though Retention policy is set

First of all take proper snapshot of the vCenter before making any changes. Check the content of file “/storage/applmgmt/backup_restore/backup_schedule.json” and verify the value of parameter “max_count”. It should be equal to the “number of backups to retain” in VAMI page. If the value is anything other than the retention policy setting or if the parameter […]

Posted in: VMware

vPostgres service fails to start on vCenter Appliance with FATAL error “bogus data in lock file postmaster.pid” on VCSA

This article helps to get the vPostgres service up if the service is failing to start with FATAL error “bogus data in lock file postmaster.pid” # service-control –start vmware-vpostgres Perform start operation. vmon_profile=None, svc_names=[‘vmware-vpostgres’], include_coreossvcs=False, include_leafossvcs=False 2019-11-06T21:38:14.283Z   Service vmware-vpostgres state STOPPED Error executing start on service vmware-vpostgres. Details {     “resolution”: null,     “detail”: [ […]

Posted in: VMware

vpxd service crashes with ODBC error “ERROR: integer out of range” on vCenter 6.5

vpxd service may crash due to out of range integer value for surr_key after long usage vpxd log will show error message like below :-[Vdb::IsRecoverableErrorCode] Unable to recover from HY000:1102020-06-12T19:46:47.037Z error vpxd[7FD1CE34C700] [[email protected] sub=Default opID=HostSync-host-39197-3811cb39] [VdbStatement] SQLError was thrown: “ODBC error: (22003) – ERROR: integer out of range;–> Error while executing the query” is returned […]

Posted in: VMware

vCenter Appliance Hostname/PNID change fails with error “Network update failed”

As we know PNID/hostname change is supported on 6.7 U3 onwards, however while changing the hostname from VAMI, you may encounter errors “Failed to create replication placeholder” and “Network update failed” : To fix the issue, we need to replace the pnid_utils.py file which is at /usr/lib/applmgmt/networking/py/vmware/appliance/networking/pnid/ location with attached one, restart Appliance mgmt. service […]