Follow these simple steps to resize a Virtual machine disk (vmdk) and then extend the volume using LVM. Make sure that you have/make a backup before carrying out these steps. First go ahead and extend the vmdk from ESXi/vCenter. I increased the disk size from 20GB–>>30GB.
The process of replacing the default SSL certificates on ESXi 6.x/6.5 is a simple process involving around 5-10 steps. We would need a seperate linux host to generate the openssl self-signed certificate (NOTE: we are not using any CA). Host needs to be in Host Maintenance mode during the process. Please plan downtime.
Its a very quick process to update ESXi version to the latest. This procedure is completed via esxcli going through a SSH session to the Server. The update takes around 5-10mins depending on the hardware resources of the server and the failure is minimal. But not to say that the things wont go wrong so please make a BACKUP before you proceed.
It’s now possible to integrate FreeIPA/IDM (Red Hat) into vCenter Appliance (vCSA)/ vCenter Server for User authentications. We need to configure IPA server and vCenter Server for LDAP to authenticate users from IDM server. Follow this guide and you will up and running in no time with a fully working vCenter appliance/server with user authenticating from IPA Server. No need for Windows AD anymore 🙂 .
It is possible to use DCUI (Direct Console User Interface) via SSH session to ESXi. At the command prompt just type in “dcui” and then you would be able to see the same screen as given below. You need to resize the SSH window BIG enough otherwise the DCUI window tends to crash if you resize after logging in. You can restore the console session by pressing Ctrl+C.
This article will explain how to go about installing VMWare Tools for CentOS/Red hat v6 & above. The install can be done via SSH Putty session but the recommended method is doing it via VMware console session and reason being that as it updates drivers that include Network there is a chance you might get disconnected during the process.
Its easy to update vCenter Server Appliance and can be done using the WEB interface of vCSA. In this article I upgraded from v5.5.0 Update2b to v5.5.0 Update 2d. Take a snapshot of vCenter Server Appliance before you update just to be on a safe side if things go wrong.
Its possible to change the interface name in Linux and reload without a reboot. It usually happens in Virtual environment where you add / remove interfaces frequently. You need to take note of the interfaces before you do any changes. Make sure that there are no active connections going to the NIC as you are going to restart the network service for the chagesz to take effect. Again you would not need a reboot.
At home Lab I came across this error while adding a previously used Windows disk to ESXi. It appears half way while adding the disk via “Add Storage Wizard”. The error can be resolved by formatting the disk in DOS format using Parted utility inbuilt into Esxi. You need to SSH into the Esxi hosts for fixing.
Its possible to add a disk dynamically (without reboot) in a Linux host in Virtual Environment by following some simple steps in this article. In a Virtualized world there is a frequent requirement for adding extra disks/space on the fly, as and when required with “Downtime” being a BIG NO NO….
Once you have added a new disk using vSphere Client interface for the host, go ahead and scan the iSCSI Bus Channel.