Skip to main content

Posts

Unable to type anything on VMware VM console using keyboard

  Issue: Unable to type anything on VMware VM console using keyboard Solution: Make sure your keyboard's "Scroll Lock" is enabled Now try typing in the console.

IOFilter storage policy profiles are not listing due to IOfilter offline

 Error: In the vCenter while checking the Storage policy profiles not showing any IOfilter profiles of third party. Solution: Verify the Storage provider status from vCenter->Config ->Security ->Storage Providers      here the third party installed Providers should list. if not listing:  Click " Synchronize Storage Providers " If it's offline: Open PowerCLI and connect the vCenter Server: # Connect-VIServer --server <vCenter-FQDN> Remove offline IOfilters: # Get-VasaProvider | Where-Object {$_.Namespace -eq 'IOFILTERS' -and $_.Status -like 'offline'} | Remove-VasaProvider In vSphere Client, go to vCenter > Configure > Storage Providers. Click on “Synchronize Storage Providers”.

Enable root permission and sudo for debain

 Error When you try sudo for the root permission you will get below error: This account is currently not available Solution 1.Remove nologin from the /etc/passwd file     sudo nano /etc/passwd     Change the "/usr/sbin/nologin" to /bin/bash 2.edit /etc/ssh/sshd_config      PermitRootLogin yes 3. Restart SSH service     systemctl restart ssh

VMFS datastore creating one same LUN not listing in all the shared ESXi hosts

  Issue: Create a Storage LUN/Volume. Share or export this to multiple ESXi hosts. Create Datastore from one of the ESXi host. When you rescan the storage from other ESXi hosts, the existing VMFS datastore is not listed. Solution: Log in to the ESXi host and list the volumes:  >>esxcfg-volume -l Mount the volume in the ESXi host: >>esxcfg-volume -m "DatastoreName"

Create a NFS datastore on an ESXI server using NFS share created on an Ubuntu Server

  The first step is to create an NFS server using an Ubuntu server 1. Install Ubuntu Server 2. Install NFS server package :        apt install nfs-kernel-server 3. Create an NFS Share Folder:      mkdir /nfsshareshare      chown -R nobody:nogroup /nfsshareshare      chmod 777 /nfsshareshare 4. Create exports config file      vi /etc/exports  and add below details:      /nfsshareshare *(rw,sync,no_root_squash,no_subtree_check,insecure) 5.Apply exports config using        exportfs -a  6. verify the share details using:        showmount -e 7. Now, from the vCenter server, create a Datastore and provide the share path and NFS server name:

ESXi command to put maintenance mode

  Use the below command to put an ESXi host into maintenance mode using the command line: ssh to esxi host using root credentials      A)   To enable:      [root@Esxi-1] esxcli system maintenanceMode set --enable true     B)  verify enabled status      [root@Esxi-1] esxcli system maintenanceMode get      Enabled     C) To disable      [root@Esxi-1] esxcli system maintenanceMode set --enable false

vCenter installation fails while connecting to esxi or vcsa "A problem occurred while logging in. Verify the connection details"

  Error while installing VCSA from Windows Server: Error: A problem occurred while logging in. Verify the connection details Solution: Disable the Windows servers proxy and retry.