Monday, June 1, 2015

vSphere Web client 5.1: For newer versions, the vCenter Server system must be registered with the Lookup Service

When using the “Simple Install” to install a new vCenter setup, you might encounter the following error when trying to register the vCenter server to the Web interface:
The vSphere Web Client Administration Tool only supports registration of vCenter Server version 5.0. For newer versions, the vCenter Server system must be registered with the Lookup Service to allow the vSphere Web Client to discover the system.
To resolve this, follow these steps:
  • Log in to the vSphere Web client as the admin account (admin@System-Domain) you created during the SSO installation
  • Browse to “Administration -> SSO Users and Groups”
  • Browse to the “Groups” tab and click on “__Administrators__”, Now click “Add Princilpals”
  • Select our vCenter server as the identity source and add the user “Administrator” to the list

Now login as “Administrator” in to the vSphere Web client, you should see the vCenter server listed in the objects. No further registration needed.

Note: These troubleshooting steps were originally posted at Lostdomain.org and as this was second time when I stuck with the same error so i thought of making a note of it. 


Sunday, March 15, 2015

vSphere-land : vSphere 6.0 Link-O-Rama

vSphere-land : vSphere 6.0 Link-O-Rama ........ A complete guide to all the essential vSphere 6.0 links from all over the VMware universe. 

http://vsphere-land.com/news/vsphere-6-0-link-o-rama.html 



vSphere 6.0 Lockdown Modes

Today when I was checking VMware blogs, I found this interesting blog post......so thought to make note of it....

Lockdown Modes
In 5.1 only the “root” user could log into the DCUI. In 5.5 you could add users to the “DCUI.Access” list in the Host Advanced Settings. They did not need full administrative privileges. But they could bypass lockdown mode and access the DCUI. Starting with vSphere 6.0, you can select either Normal lockdown mode or Strict lockdown mode, depending on your security requirements. 

With vSphere 6 VMware is introducing a couple of new concepts about Lockdown modes, Now there are three lockdown modes...
  • Normal Lockdown Mode
  • Strict Lockdown Mode
  • Exception Users
Normal Lockdown Mode
In normal lockdown mode the DCUI service is not stopped. If the connection to the vCenter Server system is lost and access through the vSphere Web Client is no longer available, privileged accounts can log in to the ESXi host’s Direct Console Interface and exit lockdown mode. Only the following accounts can access the Direct Console User Interface:
  • Accounts in the Exception User list for lockdown mode who have administrative privileges on the host. The Exception Users list is meant for service accounts that perform very specific tasks. Adding ESXi administrators to this list defeats the purpose of lockdown mode.
  • Users defined in the DCUI.Access advanced option for the host. This option is for emergency access to the Direct Console Interface in case the connection to vCenter Server is lost. These users do not require administrative privileges on the host.
Strict Lockdown Mode
In strict lockdown mode, which is new in vSphere 6.0, the DCUI service is stopped. If the connection to vCenter Server is lost and thevSphere Web Client is no longer available, the ESXi host becomes unavailable unless the ESXi Shell and SSH services are enabled and Exception Users are defined. If you cannot restore the connection to the vCenter Server system, you have to reinstall the host.

Exception Users
These are local accounts or Microsoft Active Directory accounts with permissions defined locally on the host where these users have host access. You can define those exception locally on the host, but it’s not recommended for normal user accounts, but rather for service accounts. You should set permissions on these accounts to strict minimum and anly what’s required for the application to do its task and with an account that needs only read-only permissions to the ESXi host.
This is basically the same principle of local server accounts on Windows member server, where you can create local accounts, but as a best practice to give them only the permissions they need…

Read the original full blog posts on VMware blogs: 

Restricting Access to the ESXi Host Console – Revisiting Lockdown Mode






Download a VMware Product Suite using VMware Software Manager with a single click

If you are looking for an easy and simple way to download all VMware products (of a product suite) with a single click, VMware Software Manager is a free product that dramatically simplifies the download of VMware suites and products. 

What VMware Software Manager download service does does: 
  • Easy to use: Provides an easy to use interface to find, select & download the content needed to install or upgrade a VMware suite with the push of a button
  • New Release Detection : Automatically detects the release of new VMware suites, products and versions 
  • File Integrity Check: Verifies the suite was downloaded without corruption

 Once you select the Product suite,


Currently these product suites are available for download:
  • VMware vSphere 6.0, 5.5 and 5.1
  • VMware vCloud Suite 6.0, 5.8 and 5.5
  • VMware vSphere with Operations Management 6.0 and 5.5
Additional suites and suite versions will be released in the future and will dynamically show up in Download Service.
VMware Software Manager download link: http://www.vmware.com/go/download-software-manager-en 
You may Check the product release notes for detailed info here: https://www.vmware.com/support/software-manager/doc/software-manager-download-service.html

That's all.... :)


Tuesday, March 10, 2015

VCP re-certification deadline pushed out until May 8, 2015

This is a good news for guys who still didn't re-certify, VMware extended the re-certification grace period until May 8, 2015. 



VMware allowing the ones who have already re-certified (within the current deadline between March 10, 2014 - March 10, 2015), to upgrade their certification to VCP6 (via a VCP6 migration exam) for 65% off but to take advantage of this offer one must take the exam by August 31, 2015. 

In Conjunction with the short extension VMware also extending the availability of VCP5-DCV Delta re-certification exam until May 8 for those who want to re-certify using this exam.


For more info check out this original VMware blog post here: Short Extension For VCP Recertification Deadline (and a Reward for Those Who Met the Original Deadline).


That's all.... :)


Wednesday, February 25, 2015

VMware P2V Converter Best Practices...Pre and Post conversion checklist

As we all know, using Vmware vCenter converter one can convert Windows and Linux based physical machine and third party formats to Vmware virtual machines.
The best/easiest approach to converting a Windows operating system from a physical machine to a virtual machine is to perform a hot migration with VMware Converter installed locally on the source (physical machine) operating system.

only VMware Converter 4.2 and later support physical to virtual machine conversion for Linux sources. For earlier versions of Converter, the support is experimental and some of the features, such as partition resizing, are not available.

Here I am going to discuss what we should check pre and post P2V conversion…..

Tasks to perform before conversion

To prepare for conversion:
1.     If the source is a domain controller, special considerations must be made. VMware does not recommend virtualizing an active domain controller with Converter.

2.     If the source is Microsoft Exchange, SQL, or other database server, VMware recommends that the application (Microsoft Exchange/SQL) and database services be shut down prior to conversion. This minimizes any chance of corrupted database tables or stale data in the destination virtual machine.

3.     Disable the real-time antivirus scanning during the conversion.

4.     Verify that you are using or have downloaded the latest version of VMware Converter.
If you have previously installed or attempted a conversion with an earlier version of VMware Converter, a previous version may still be installed verify/uninstall it.
5.     Install VMware Converter directly to the source operating system using the local Administrator account, if you are going to use remote hot clone feature you may choose a custom installation to only install the converter agent. If the source server is running Windows NT or Windows 2000, you must reboot it after installing VMware Converter or Converter does not start.
        Note: In some cases, a domain administrator account may be used depending on your environment, local and group policies, and account permissions.
6.     If the NIC on the source machine is compatible with TOE (TCP Offload Engine), you need to disable it by running this command in a command prompt on the source machine:

netsh int tcp set global chimney=disabled  
7.     Confirm that the source has 200 MB of free disk space on its system volume. This space is required to operate the disk snapshot features in Converter.
Note: It is possible to separate the source partitions in different destination volumes during the conversion.
8.     Run VMware Converter as a local administrator. Using a local administrator account removes any possible permissions issues. If you are performing a remote conversion, be sure to specify the login user as the Administrator account.

Note: In some cases a domain administrator account may be used depending on your environment, local and group policies, and account permissions.
9.     Run the System Configuration Utility(msconfig) on the source server to reduce the number of services and applications running on startup, all software except for All Microsoft Services and VMware Converter Service..
10.   If you have static IP addresses assigned, assign the interfaces DHCP addresses prior to conversion, if possible.

11.   If the source is a virtual machine created in Microsoft Virtual PC, remove the Virtual PC Additions, prior to conversion.

12.   If the destination is an ESX host:

·         Connect to the server using its IP address instead of DNS host name. Using the host name of the ESX host may expose issues with DNS name resolution that can prevent the Converter from connecting.
·         Confirm that the source server can access the destination ESX host directly using ports 443 and 902, even if using VirtualCenter. Authenticate to the ESX host using the root account.
·         If the source server contains a hard drive or partition larger than 256GB, ensure that the destination datastore's block size is 2MB, 4MB, or 8MB, and not the default 1MB size. The 1 MB default block size cannot accommodate a file larger than 256 GB.  The block size is no longer used on a VMFS 5 datastore connected to an ESXi 5.0 Host.
·         Confirm that you are providing a unique name for the target virtual machine. Use the Virtual Infrastructure (VI) client to confirm that the name is not already in use.

Tasks to perform after conversion has completed

After conversion has completed:
1.     Review the virtual hardware settings:

·         Adjust the number of virtual NICs. If you need to customize the host name or IP address, leave all NICs disconnected but present.
·         Remove any unnecessary devices such as USB controllers (if running on ESX), COM ports or floppy drives
2.     Start the virtual machine in Safe Mode.

3.     Click Start > Control Panel > Add / Remove Programs. Remove any unnecessary programs used to install or support device drivers, such a RAID management tools, network teaming or management software, wireless card management software, and video and sound drivers. Do not restart if prompted by an uninstall program.

4.     Restart the virtual machine into Normal mode.

5.     Remove any additional devices or device drivers that were used to support hardware on the physical server. Use either the Device Manager or Control Panel, depending on the version of Windows, to remove unnecessary devices. It may also be necessary to view the Event Log to clear any remaining device startup failure messages.

Note: To remove the hidden devices from the Windows operating system, follow these steps:
·         Click Start, point to All Programs, point to Accessories, and then click Command Prompt.
·         At a command prompt, type the following command , and then press ENTER:
            set devmgr_show_nonpresent_devices=1
·         Type the following command at command prompt and then press Enter: start devmgmt.msc
·         Troubleshoot the devices and drivers in Device Manager.
NOTE: Click Show hidden devices on the View menu in Device Manager before you can see devices that are not connected to the computer.
·         When you finish troubleshooting, close Device Manager.
·         Type exit at the command prompt.

Note that when you close the command prompt window, Window clears the devmgr_show_nonpresent_devices=1 variable that you set in step 2 and prevents ghosted devices from being displayed when you click Show hidden devices.

6.     VMware recommends changing the HAL in the virtual machine to uniprocessor if the source server is configured with multi-CPU hardware abstraction layer (HAL), and the destination virtual machine is configured to use a single CPU.

7.     Install VMware Tools and restart if prompted.

8.     If required, customize the virtual machine's identity. VMware recommends using the Microsoft Sysprep utility to accomplish this, however it can also be accomplished by manually changing its computer host name, IP address, and any other required unique identification.

9.     If the System Configuration Utility(msconfig) was used prior to conversion, select the Normal startup option to change switch back to a normal boot configuration.

10.   Apply any previously removed static IP address settings, as required.

11.   Reconnect any disconnected virtual NICs, as required.

Want to read more about Best practices for using and troubleshooting VMware Converter, checkout KB Article 1004588.

For Required VMware vCenter Converter 5.x ports take a look of KB Article 1010056.


For Troubleshooting checklist for VMware Converter take a look of KB Article 1016330.

To see various stages in the conversion process, take a look of Alex Hunt's following blog post: Troubleshooting common P2V Conversion Failures.

If I missed anything please let me know in the comments…..Thank you!

That’s it.... :)



Monday, February 23, 2015

Working with vSphere scheduled tasks

You can create scheduled tasks for operations that you want to automatically run once or at a recurring interval.
One cannot define scheduled tasks on an ESXi alone, you have to use vCenter to create and manage scheduled tasks.
The tasks you can schedule are listed in the following table:

Scheduled Task
Description
Add a host
Adds the host to the specified datacenter or cluster.
Change the power state of a virtual machine
Powers on, powers off, suspends, or resets the state of the virtual machine.
Change cluster power settings
Enable or disable DPM for hosts in a cluster.
Changes the following resource settings:
CPU – Shares, Reservation, Limit.
Memory – Shares, Reservation, Limit.
Check compliance of a profile
Checks that a host's configuration matches the configuration specified in a host profile.
Clone a virtual machine
Makes a clone of the virtual machine and places it on the specified host or cluster.
Create a virtual machine
Creates a new virtual machine on the specified host.
Deploy a virtual machine
Creates a new virtual machine from a template on the specified host or cluster.
Migrate a virtual machine
Migrate a virtual machine to the specified host or datastore by using migration or migration with vMotion.
Make a snapshot of a virtual machine
Captures the entire state of the virtual machine at the time the snapshot is taken.
Scan for Updates
Scans templates, virtual machines, and hosts for available updates.
This task is available only when vSphere Update Manager is installed.
Remediate
Installs missing patches from the baselines selected for remediation on the hosts discovered during the scan operation and applies the newly configured settings.
This task is available only when vSphere Update Manager is installed.

To create scheduled tasks one should have Schedule Task.Create Tasks access privilege. You create scheduled tasks by using the Scheduled Task wizard. For some scheduled tasks, this wizard opens the wizard used specifically for that task. For example, if you create a scheduled task that migrates a virtual machine, the Scheduled Task wizard opens the Migrate Virtual Machine wizard, which you use to set up the migration details.
Scheduling one task to run on multiple objects is not possible. For example, you cannot create one scheduled task on a host that powers on all virtual machines on that host. You must create a separate scheduled task for each virtual machine.
How to Create a Scheduled Task:

Using vSphere client you will find the options here, Home => Management => Scheduled Tasks => The current list of scheduled tasks appears, In the toolbar, click New
And

Using vSphere Web client you will find the options here, Navigate to the object for which you want to schedule a task => Select Manage => then select Scheduled Tasks => From the Schedule New Task drop-down list, select the task to schedule.
                                                 
                                             Available options when we selected Datacenter/Cluster

                                                                   VM related available scheduled tasks

If the task to schedule is not available in the VI or Web Client, use the vSphere API.
Caution: Do not schedule multiple tasks simultaneously on the same object. The results are unpredictable.
There is a known issue of Cannot schedule tasks or set the correct time on ESXi hosts from the VMware vSphere Web Client 5.5. This issue is resolved in vCenter Server 5.5 Update 2d.

Want to read more about vSphere scheduled tasks, take a look of ESXi and vCenterServer 5.x Documentation.

That's it.... :)



Friday, February 20, 2015

vSphere 6 – New Config Maximums etc.

vSphere 6 Doubles the vSphere Maximums:
64 hosts per cluster (vSphere 5.x it was 32)
8000 VMs (previously 4000)
480 CPUs (vSphere 5.x it was 320 CPUs)
12 TB of RAM (vSphere 5.x it was 4 TB of RAM)
2048 VMs per host (vSphere 5.x it was 512 VMs).


on Some blogs maximum VMs per cluster still listed as 6000, that information is based on beta builds.....for more info take a look here : vSphere 6 – Clarifying the misinformation

VMs get a little bigger as well:

Virtual hardware 11 (vmx11),  newly released on vSphere 6
128vCPUs
4TB of RAM (NUMA aware)
VDDM 1.1 GDI acceleration
xHCI 1.0 controller compatible with OS X 10.8 + xHCI driver.

Note: It will be possible to use vSphere C# client to view functionality in virtual hardware 9, 10 and 11. Editing of settings will be possible in vmx8 and access to view settings virtual hardware 9 and higher.


Also the C# client in the final release of vSphere 6.0 will be able to manage vCenter.
FT Features: 
4vCPU VMs can be protected by FT
VMs with up to 64Gb of RAM
Up to 4 FT protected VMs per host
Hot configured FT possibility
Enhanced virtual disk format support
VADP support (can backup FT protected VMs now. Previously not possible) 

Configuration Maximums vCenter Server 6 on Windows or Linux based VCSA:

As the limits increased so now minimum requirement of RAM for vCSA is 8GB and in this configuration you can run up to 20 hosts with total 400 VMs.  Take a look of below table for different sizes of the appliance. The size can easily be adjusted during the deployment process.


vSphere6.0 Linked mode comparison:

That's it....yes i know there are many more things ;)