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

How to create VMFS partition on USB device for ESXi 6.x

Plug in the USB device to the ESXi host Make sure that usbarbitrator service is off on the ESXi host so that the host will not use it as Passthrough : # /etc/init.d/usbarbitrator stop Check the usb in core device list : # esxcli storage core device list t10.SanDisk00Cruzer_Blade000000004C530001111202103073    Display Name: Local USB Direct-Access […]

Posted in: VMware

PSOD happening on ESXi host after USB disconnect

You might face a PSOD after/during the USB disconnect. If you have, you might see a PSOD with backtrace similar to below: cpu17:33399)@BlueScreen: #GP Exception 13 in world 33399:vmklinux_9:h @ 0x41802c42b8e8cpu17:33399)Code start: 0x41802c400000 VMK uptime: 3:16:17:26.592cpu17:33399)0x439113b9b830:[0x41802c42b8e8][email protected]#nover+0x31c stack: 0x41802c7ae9c0cpu17:33399)0x439113b9b880:[0x41802c42d22b][email protected]#nover+0x7f stack: 0x80cpu17:33399)0x439113b9b8b0:[0x41802c429c13][email protected]#nover+0xf3 stack: 0x15cpu17:33399)0x439113b9b940:[0x41802cb3c423][email protected]#9.2+0x2b stack: 0x0cpu17:33399)0x439113b9b960:[0x41802ccf8807][email protected]#+0x17 stack: 0x5a3432352e32353acpu17:33399)0x439113b9b990:[0x41802ccf8fb4][email protected]#+0x318 stack: 0xffffffff21fa08d8cpu17:33399)0x439113b9ba10:[0x41802ccff1f2][email protected]#+0x5e stack: 0x0cpu17:33399)0x439113b9bac0:[0x41802ccdc151][email protected]#9.2.3.0+0xf9 stack: 0x202cpu17:33399)0x439113b9bbb0:[0x41802cce8d41][email protected]#9.2.3.0+0xfd stack: 0x43050f664ac0cpu17:33399)0x439113b9bbe0:[0x41802cce47fd][email protected]#9.2.3.0+0x71 stack: […]