Blogs

6.7 AD applmgmt backup bogus data commands database ESXi features forgot password FQDN change hostname change host profile init linux lost memory corruption networking odbc old backup tasks password password reset pg_dump pnid postmaster.pid PSOD psql rc.d release reset restore root run-levels schedule single user mode troubleshooting upgrade USB useful db commands vacuum vCenter VCSA VMFS vpostgres vsphere 7.0


Recent 20 Posts

  • vDS Out of Sync
    This blog is focused on rectifying the vDS and making it in sync state. First, please you are not hitting a known BUG in vDS 6.6, check VMware Release Notes. You might see below warning in summary page of vDS The vSphere Distributed Switch configuration on some hosts differed from that of the vCenter Server […]
  • vPostgres Database useful commands
    Command to connect vPostgres : /opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres We can also connect with the vPostgres database using pgAdmin tool : vPostgres configuration related files :- /storage/db/vpostgres/pg_hba.conf – This config file stores the information about the users that can connect to the database. It also stores the info about the information about from where […]
  • 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 […]
  • Linux OS Run Levels
    When any Linux system boots, init is the first process to kick in which is responsible for running other processes/start scripts. These processes then take care of initialization of the hardware, networking etc. Init process looks for the default run level in the /etc/inittab file and start scripts corresponding to the default run level. 0 – […]
  • What’s new in vSphere 7.0
    Hurray! vSphere 7.0 is out. It’s a major release which has lots of new and additional features like LifeCycle Manager service, improved DRS, Assignable Hardware and more security with ADFS (Active Directory Federation services). For more info on 7.0 refer below links :-Features :- https://blogs.vmware.com/vsphere/2020/03/vsphere-7-features.html Release notes :- https://docs.vmware.com/en/VMware-vSphere/7.0/rn/vsphere-esxi-vcenter-server-70-release-notes.html Upgrade Best practices for 7.0 :- […]
  • 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 […]
  • 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 […]
  • 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”: [ […]
  • 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 […]
  • 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 […]
  • 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: […]
  • 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 […]
  • Reset lost/forgotten root password for ESXi host :
    If you have forgotten the ESXi host root password or it does not work due to locked account or expired password, we can try below methods to access the Host :- Method 1 : If the Host has access to Active Directory authentication and is in connected state in vCenter –  Login to the ESXi […]