Posted in: VMware

vCenter Appliance Networking Commands

Tool to check and modify the vCenter Appliance Network related configurations: # /opt/vmware/share/vami/vami_config_net Network eth0 configuration file : # /etc/systemd/network/10-eth0.network  Command to list all open ports on PSC and vCenter Appliance: – # iptables -L port_filter -n –line-numbers From the above Iptables o/p, identify specific port is being used for which service : # iptables […]

Posted in: VMware

Changing Hostname on VCSA

How To Change the FQDN/HOSTNAME/PNID of the vCenter Appliance 6.7 PNID or Hostname change was not supported on the previous versions of vCenter. However from 6.7 Update 3 onwards, we can change the FQDN. Below is the step by step procedure to change the FQDN : Make a entry of the new FQDN of the […]

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 […]