Some useful commands for ESXi

We can use df -h command to get the file system usage. When can we use it-Most of the time I had to use it to check the file system usage on vCenter appliance. We can use find command to find files in the ESXi or vCenter file system In my below example I haveContinue reading “Some useful commands for ESXi”

How to configure iSCSI on vSAN

iSCCI is one of the best option where we can use our vSAN datastore from outside. We an configure our vSAN enabled ESXi hosts as iSCSI target.This help us to configure guest level clustering also. Login to vCenter Select the cluster Select Configure Click on edit button which in line with vSAN iSCSI Target ServerContinue reading “How to configure iSCSI on vSAN”

How to use VMDK sharing for Guest OS clustering

Operating system clustering is one of the major and popular high availability mechanism in system infrastructure products. Advantage of the os clustering is it can identify the application level failure. As a systems administrators most of the time we may need to work with MS windows failover clusters. Most of the file servers and SQLContinue reading “How to use VMDK sharing for Guest OS clustering”

How to increase disk space of vCenter appliance

vCenter appliance is a vm and most of the time we are running it on the same ESXi cluster. In some cases we may need to increase the disk capacity of some partition(most of the time its log file path).If our vCenter is running out of disk space, vCenter related services may not tart asContinue reading “How to increase disk space of vCenter appliance”

ESXI shell register all the *.vmx files in datastore/s

Using below bash script we can register all the vms in datastores with ESXi host.This has tested in vSphere 6.5 & 6.7 Hol   for myvm in $(find / -name *.vmx); do vim-cmd solo/registervm $myvm done if we want we can find on specific datastore. please refer the below example find /vmfs/voluems/datastore10R10/ -name *.vmx (datastore10R10Continue reading “ESXI shell register all the *.vmx files in datastore/s”