Posts

Showing posts with the label VMware

vCenter 6.7 UI session timeout setting

  y default, the vCenter web UI (Flash/Flex or HTML5) will kick users out after a certain period of inactivity.  Usually, at least in my experience, users get kicked multiple times per day.  Here's how to extend that timeout. Environment: vCenter 6.7 Instructions SSH into your vCenter appliance Edit /etc/vmware/vsphere-ui/webclient.properties Change the following line from  session.timeout = 120 to session.timeout = 600 Note: This value is in seconds. For example, a value of 600 equals 10 hours. Restart the HTML5 web UI:  service-control --stop vsphere-ui service-control --start vsphere-ui Restart the Flash (Flex) web UI:  service-control --stop vsphere-control service-control --start vsphere-control Done!

The VMware VCenter Compatibility Guide

Image
The VMware VCenter Compatibility Guide vCenter 6.7 to ESXi compatibility vCenter server support with ESXi host is very important when it comes to migration as most of the cases migration will happen while VM’s are up and running on existing ESXi hosts.   ESXi 5.0 or 5.1 with updates cannot be directly upgraded to 6.5 an intermediate upgrade to 5.5 or 6.0 is required. ESXi 5.5 or later can be directly upgraded to 6.5 or U1 ESXi 5.x  cannot be directly upgraded to 6.7 an intermediate upgrade to 6.0 is required. ESXi 6.0 or later can be directly upgraded to 6.7 Supported vCenter Upgrade Path vCenter 5.0 or 5.1 with updates cannot be directly upgraded to 6.5 an intermediate upgrade to 5.5 or 6.0 is required. vCenter 5.5 or later can be directly upgraded to 6.5 or U1 vCenter 5.x  cannot be directly upgraded to 6.7 an intermediate upgrade to 6.0 is required. vCenter 6.0 or later can be directly upgraded to 6.7 Supported ESXi Upgrade Path ESXi 5.0 or 5.1 with updates cannot be d...

Web Interface for ESXi without vCenter

Image
 https://calvin.me/web-interface-for-esxi-without-vcenter/ It's now possible to manage standalone ESXi hosts with not only the Windows vSphere Client or vCenter, but with a web interface for ESXi ! VMware Labs  is where the latest tools (known as Flings) are being released for early feedback. One of these Flings is an embedded web interface for ESXi hosts written in HTML and JavaScript known as the ESXi Embedded Host Client. Current features include: VM operations (Power on, off, reset, suspend, etc). Creating a new VM, from scratch or from OVF/OVA (limited OVA support) Configuring NTP on a host Displaying summaries, events, tasks and notifications/alerts Providing a console to VMs Configuring host networking Configuring host advanced settings Configuring host services There are some issues too at the moment: On ESXi hosts which are assigned a VMware vSphere Hypervisor license, all modification operations will fail silently. We are working on a solution to this issue. On ...

Extracting and using a modified VMWare Player BIOS or UEFI firmware

https://pete.akeo.ie/2011/06/extracting-and-using-modified-vmware.html Extracting and using a modified VMWare Player BIOS or UEFI firmware (updated 2016.05.17 for VMWare UEFI firmware extraction) One day or another, you may want to play with BIOS/UEFI firmware modification. But before jumping into physical motherboard flash alteration, where the consequences of a mishap can be difficult to salvage, experimenting with the BIOS/UEFI in a virtual environment sounds like a sound first step. You have of course the opportunity to do so using  bochs , however the ubiquitous nature and ease of use of the (freely available)  VMware Player  can turn the latter in a much better candidate for the job if you don't really care about the extra features that bochs brings in. This post details how one can extract the BIOS/UEFI firmwares used by the VMWare Player, and how to setup the player to use a modified one. Download and install VMware Player. The current version of VMwar...

VMs Inaccessible After iSCSI / NAS restart "quick fix"

VM Inaccessible After iSCSI / NAS restart I found this post http://vmdamentals.com/?p=4503 After the iSCSI / NAS restart a lot of VMs are inaccessible. Actually, only VMs that were powered off at the time show up greyed out; all VMs that were running during the NAS failure have been hanging, but they resumed properly after the NAS came back online. In the example above I actually already fixed some of the VMs; originally ALL powered-off VMs were in the “inaccessible” state! Fixing it the easy way I figured I needed to somehow tell vSphere that the inaccessible VM was actually no longer inaccessible, and force it to reload the configuration. And vimsh can do exactly that… It has the ability to reload a VM into a host, and exactly that does the trick! First, we need to access the host using ssh or the direct command line as root. From there, you can simply find all VMs that are inaccessible using the following command: vim-cmd vmsvc/getallvms >grep skip As an ...

Collecting diagnostic information for VMware ESX/ESXi

Image
Obtaining Diagnostic Information for ESXi 5.x and 6.0 hosts using the vSphere Client ESXi 5.x host diagnostic information can be gathered using the vSphere Client connected to the ESXi host or to vCenter Server. To gather diagnostic data using the VMware vSphere Client: Open the vSphere Client and connect to vCenter Server or directly to an ESXi 5.x host. Log in using an account with administrative privileges or with the  Global.Diagnostics  permission. Select an ESXi host, cluster, or datacenter in the inventory. Click the  File  >  Export  >  Export System Logs . If a group of ESXi hosts are available in the selected context, select the host or group of hosts from the Source list. Click  Next . In the System Logs pane, select the components for which the diagnostic information must be obtained. To collect diagnostic information for all the components, click  Select All .  Note : Confirm that  HungVM  is not...

Restarting the Management agents in ESXi

Restarting the Management agents in ESXi and Verifying that the Management Service is running Restart Management agents in ESXi Using Direct Console User Interface (DCUI) : Connect to the console of your ESXi host. Press  F2  to customize the system. Log in as  root . Use the Up/Down arrows to navigate to  Troubleshooting Options  >  Restart Management Agents . Press  Enter . Press  F11  to restart the services. When the service restarts, press  Enter . Press  Esc  to log out. Restart Management agents in ESXi Using  ESXi Shell or Secure Shell (SSH) : Log in to ESXi Shell or SSH as  root . For Enabling ESXi Shell or SSH, see  Using ESXi Shell in ESXi 5.x and 6.x (2004746) . Restart the ESXi host daemon and vCenter Agent services using these commands: /etc/init.d/hostd restart /etc/init.d/vpxa restart To restart all management agents on the host, run the command: services.sh restart...

power off the virtual machine in an ESXi host CLI

Using the ESXi esxcli command to power off a virtual machine The  esxcli  command can be used locally or remotely to power off a virtual machine running on ESXi 5.x or later. For more information, see the  esxcli vm Commands  section in the  vSphere Command-Line Interface Reference . Open a console session where the  esxcli  tool is available, either in the ESXi Shell, the vSphere Management Assistant (vMA), or the location where the vSphere Command-Line Interface (vCLI) is installed. Get a list of running virtual machines, identified by World ID, UUID, Display Name, and path to the  .vmx  configuration file by running this command: esxcli vm process list Power off the virtual machine from the list by running this command: esxcli vm process kill --type=  [soft,hard,force]  --world-id=  WorldNumber Notes :  Three power-off methods are available. Soft is the most graceful, hard performs an immediate shutdown, and for...

vCenter Server Appliance: out of diskspace

vCenter Server 5 Appliance  Recovering from out of diskspace vCenter Virtual Appliance System Partition 100% disk usage / space / full Login with WinSCP Go into the /var/log Check the ldapmessage-date Remove the old log file Reboot the appliance