Posts

Avamar falied to take backup of all virtual machine

Recently I encountered an issue where Avamar failed to take backup. Logs stating  insufficient Permission in the host OS 2018-02-19 06:59:56 avvcbimage Error <0000>: [IMG0008] Failed to connect to virtual disk [VMAXDS] VM/VM-000002.vmdk (3014) (3014) Insufficient permissions in the host operating system (Log #2)  We verified the permission on the vCenter but no luck,However on demand backup from local Account is with same level of access is successful. While investigation further we found that there are errors related to DNS, and even some DNS server are getting backed up via avamar. We asked to remove DNS from Avamar back considering VM stun operation during the backup but it did not help to resolve the issue. Later on we found that DNS server which is hardcoded in Avamar was decommission due which Domain ID's were unable to run backup on vCenter

How to findout installation date of ESXi

Image
To find the ESXi install date you should follow the below steps Find the System UUID by running one of the following commands: esxcfg-info | grep -i UUID You’ll get an output similar to: esxcfg-info | grep -i “\\-System UUID” You’ll get an output similar to: esxcli system uuid get Convert the first 8 hexadecimal characters to decimal format using calculator or e.g. this online converter. In my case the hexadecimal characters 54aedcc8 translates to decimal numbers 1420745928 Use e.g. this Epoch   to convert the decimal numbers to a date. In my case  the decimal numbers 1420745928 translates to Thu, 08 Jan 2015 19:38:48 GMT

Reset root password vCenter Server Appliance 6.0

Image
Forgot root password to vCenter Appliance 6.0 Most of the Cases – Gets Expired by default. Locked out by Wrong Attempts Lets see how to change the root password – Reboot the vCSA 6.0 using the vSphere Client. When the GRUB boot loader appears, press the spacebar to disable auto boot. Press P to Enter Edit Mode If the vCSA was deployed without editing the root password in the Virtual Appliance Management Interface (VAMI), the default GRUB password is vmware . If the vCSA root password was reset using the VAMI, then the GRUB password is the password last set in the VAMI for the root account. Choose the Second One.  kernel /… Type e to edit the boot command. Append init=/bin/bash to the kernel boot options. Press Enter . The GRUB menu reappears. Type b to start the boot process. The system boots to a shell. Reset the root password by running below command. passwd root Restart the appliance by running

How to shrink disk size in Windows 2008 running on vSphere

Image
Login to the Virtual Machine and shrink the OS Partition Before we can shrink the VMware virtual machine disk (VMDK), we need to shrink the OS partition. (to avoid file system corruption). In this example I am using Windows 2008 R2, which has a shrink function. Using an RDP (Remote Desktop Protocol) connection or connect via the Console, using the vSphere Client, login to the virtual machine as an Administrator. Press Control-Alt-Delete to login to the virtual machine. Right Click My Computer and Select Manage Select Disk Management, and select the partition you need to shrink. Right Click the Volume/Partition to shrink, and select Shrink. The above dialogue will briefly appear whilst the file system is queried. the above dialogue will appear. Enter a size to reduce the OS partition. In this example the VMware virtual machine disk (VMDK) is 40GB, and we would like to reduce the size of the VMware virtual machine disk (VMDK) to 20GB. The Disk Management utility scans

Deploy a 2-node vSAN cluster

Image
A 2-node hyperconverged cluster is useful in branch office where you need high availability or for small infrastructure. With 2-node hyperconverged solution, you don’t need to leverage a NAS or a SAN for the shared storage. So, the hardware footprint is reduced and the manageability is improved because hyperconverged solution are easier to use than standard infrastructure with SAN. VMware provides a Software-Defined Storage solution called vSAN. vSAN can be deployed from 2 nodes to 16 nodes. 2-node cluster should be used for ROBO (Remote Office and Branch Office). A 2-node cluster requires a Witness Appliance provided by VMware freely while the appliance is virtual. The Witness Appliance is based on ESXi. This is the first time that VMware supports a scenario in production with a nested ESXi. This topic describes how to deploy a 2-node vSAN cluster and its witness appliance. Why you need a witness appliance vSAN is something like a RAID over the network. vSAN curre