Wednesday, June 26, 2013

vSphere: Troubleshoot Workshop [V5.x]

Dear All,

We have a lot of query for VMware vSphere: Troubleshoot course for vSphere 5.1, now this is there before on vSphere 4.x only. So finally now official training is available for vSphere 5.x also.

This is really great Hands on course (25% Theory and 75 % Labs). There are about 50 Labs in the course. So you can now attend this program and explore your skills with vSphere Troubleshoot methodology.

This course have no credit direct towards any certification so far, but really helpful for your VCAP-DCA exam preparation and gathering knowledge for troubleshooting VMware vSphere environment.

http://www.koenig-solutions.com/troubleshooting-workshop.aspx



Sunday, June 23, 2013

Raw Device Mapping option is greyed out (1017704)

The Raw Device Mapping (RDM) option is greyed out if:
  • Your storage type does not support RDMs. For more information, see Comparing Types of Storage in the Configuration Guide for your version of VMware ESX.
  • There are no available LUNs to be presented to an ESX/ESXi host. They may have already been committed to storing VMFS, or have already been mapped to other virtual machines as RDMs.
  • vCenter Server has an older cache of known devices which can be used for RDMs, not including the intended LUN. Rescan your storage to pick up the changes. For more information, see Performing a rescan of the storage (1003988).
  • You are using a SAS Direct Attached Storage (DAS) array that is being detected as Local Storage. For more information, see Creating Raw Device Mapping (RDM) is not supported for local storage (1017530).
  • The option RdmFilter.HbaShared is selected in ESX/ESXi 4.1 or 5.x. To deselect this option, clickConfiguration Software > Advanced Settings > RDM Filter, deselect the option, then click OK. For more information, see Configuring advanced options for ESX/ESXi (1038578).
  • You are using an external shared SAS storage array like the Dell MD32xx. This requires that the checkboxRdmFilter.HbaShared is deselected in order to use a LUN as RDM. This is expected behavior because the RDM filter only applies to Fiber Channel, FCoE and iSCSI.

Sunday, June 9, 2013

vCloud Director 5.1.2 (Whats New)

  • Rights for creating, reverting, and removing snapshots: Rights for creating, reverting, and removing snapshots have been added, allowing system administrators to configure these rights for all roles.
  • Allocation pool organization virtual datacenters can be elastic or non-elastic: Starting with vCloud Director 5.1.2, system administrators can configure Allocation Pool organization virtual datacenters with Single Cluster Allocation Pool (SCAP), making them non-elastic. This is a global setting that affects all Allocation Pool organization virtual datacenters. By default, Allocation Pool organization virtual datacenters have Single Cluster Allocation Pool enabled. Systems upgraded from vCloud Director 5.1 that have Allocation Pool organization virtual dataceters with virtual machines spanning multiple resource pools have Single Cluster Allocation Pool disabled by default.
    To change the Single Cluster Allocation Pool setting go to System > Administration > General > Miscellaneous. Before enabling Single Cluster Allocation Pool, migrate any virtual machines on secondary resource pools to the organization virtual datacenter's primary resource pool.
  • vCloud Director is now supported on Red Hat Enterprise Linux 6.3
  • Support for Microsoft SQL Server 2012: vCloud Director now supports Microsoft SQL Server 2012 databases.
  • Additional guest operating system customization support: vCloud Director now supports customization of the following guest operating systems:
    • Microsoft Windows Server 2012

Sunday, June 2, 2013

Exporting/importing/restoring Distributed Switch configs using vSphere Web client (2034602)

vSphere 5.1 and later allow you to export, import, or restore Distributed Switch configurations from the vSphere Web Client. 

Exporting Distributed Switch configurations

You can export vSphere distributed switch and distributed port group configurations to a file. The file preserves valid network configurations, enabling distribution of these configurations to other deployments. This functionality is available only with the vSphere Web Client 5.1 or later. However, you can export settings from any version of a distributed switch if you use the vSphere Web Client or later.

To export vSphere Distributed Switch configurations using the vSphere Web Client:
  1. Browse to a distributed switch in the vSphere Web Client navigator.
  2. Right-click the distributed switch and click All vCenter Actions > Export Configuration.
  3. Select the Export the distributed switch configuration or Export the distributed switch configuration and all port groups option.
  4. (Optional) Enter notes about this configuration in the Description field.
  5. Click OK.
  6. Click Yes to save the configuration file to your local system.
You now have a configuration file that contains all settings for the selected distributed switch and distributed port group. You can use this file to create multiple copies of this configuration on an existing deployment or overwrite the settings of existing distributed switches and port groups to conform to the selected settings.
 

Importing Distributed Switch configurations

Exported configuration file can be used to create a copy of the exported distributed switch or to overwrite settings on an existing distributed switch.

To create a copy of exported distributed switch, use the import option to create a distributed switch from an exported configuration file. The configuration file contains valid network configurations, enabling distribution of these configurations to other deployments. This functionality is available only with the vSphere Web Client 5.1 or later. However, you can import settings from any version of distributed switch if you use the vSphere Web Client 5.1 or later.

To Import a vSphere Distributed Switch Configuration using the vSphere Web Client:
  1. Browse to a datacenter in the vSphere Web Client navigator.
  2. Right-click the datacenter in the navigator and click All vCenter Actions > Import Distributed Switch.
  3. Browse to the location of your saved configuration file.
  4. Select the Preserve original distributed switch and port group identifiers option.
  5. Click Next. If you entered notes about the saved configuration file, they appear in the Notes section.
  6. Review the import settings before completing the import.
  7. Click Finish.
A new distributed switch is created with configuration settings from the configuration file. If you included distributed port group information in your configuration file, the distribute port groups are also created.
 

Restoring Distributed Switch configurations

You can use the restore option to reset the configuration of an existing distributed switch to the settings in the configuration file. Restoring a distributed switch changes the settings on the selected switch back to the settings saved in the configuration file. This functionality is available only in the vSphere Web Client 5.1 or later. However, you can restore settings from any distributed switch version if you use the vSphere Web Client 5.1 or later.

To Restore a vSphere Distributed Switch Configuration using the vSphere Web Client:
  1. Browse to a distributed switch in the vSphere Web Client navigator.
  2. Right-click the distributed switch and click All vCenter Actions > Restore Configuration.
  3. Browse for the configuration backup file to use.
  4. Select the Restore distributed switch and all port groups or Restore distributed switch only option and click Next.
  5. Review the summary information for the restore.
  6. Click Finish.
Note: Restoring a distributed switch overwrites the current settings of the distributed switch and its port groups. It does not delete existing port groups that are not part of the configuration file.

Backup/Restore ESXi 5.x Host Configuration with PowerCLI

In my earlier post I explained how to backup and restore ESXi using vCLI. This time I am going to explain how to back and restore ESXi using PowerCLI.

Once you connect to vCenter or individual ESXi host using the Power CLI like

Connect-VIserver <Your Server Name> 

then hit enter this will prompt for username and password once done your are connected to the server now.

Now you need to find out which esxi host you need to backup only one or some of them or all which are part of your vCenter, accordingly you need specify the command.

Case 1:-  suppose you need to take the backup of all ESXi in one command.

Get-VMhost | Get-VMhostFirmware -BackupConfiguration -DestinationPath <Location>

Case2:- Suppose you need to take backup of only one ESXi host host.

Get-VMhostFirmware -vmhost <Hostname> -BackupConfiguration -DestinationPath <Location>

I took an example I have a host name esxi01.test.local and plan to place the backup on my system where I installed the powerCLI under "C:\Backup"

Get-VMhostFirmware -vmhost  esxi01.test.local -BackupConfiguration -DestinationPath C:\Backup

This will take the backup of ESXi configuration like vicfg-cfgbackup do in vCLI.

Now to restore the backup of ESXi configuration.

Get-vmhost esxi01.vclass.local | Set-VMHostFirmware -Restore -DestinationPath C:\Backup

This way you can restore the configuration of your ESXi Server using the PowerCLI.


you can also see http://www.virtualizationguru.org/2012/01/backuprestore-esxi-5x-using-vicfg.html

More Certification !!!

VMware Certified Associate certification is available now for all the who have attended VMware vSphere Training program, or even who have the vmware product knowledge and want to have some recognition to that, You can go for the VCA certification.

·         VCA-DCV - vSphere: Install, Configure, Manage [5.1] supported by Fundamentals e-Learning - VMware Data Center Virtualization Fundamentals &VMware Data Center Virtualization Fundamentals (Japanese)
·         VCA-WM - Horizon View: ICM AND Horizon Mirage, each supported by Fundamentals e-Learning - VMware Workforce Mobility Fundamentals&VMware Workforce Mobility Fundamentals (Japanese)  
·         VCA-Cloud - vCloud Automation Center: ICM, supported by Fundamentals e-Learning - VMware Cloud Fundamentals & VMware Cloud Fundamentals (Japanese)


So hurry up add some more certification to profile.

Good Luck !

50% free voucher till 31 January 2014

 Promotion Code:-   VMRT8B34585F





Saturday, June 1, 2013

Unlocking and resetting the vCenter Single Sign On (SSO) administrator password (2034608)

To unlock/reset the administrator account, use one of these methods:
  1. Click Home.
  2. Click Administration.
  3. Click SSO Users and Groups.
  4. Right-click the affected user account, such as admin, and click Unlock.
  • In emergency situations or if the default policies have been changed, you can also reset the password to unlock the account.

    To reset the SSO administrator password on a Windows server:

    Note: Resetting the password will also
    unlock the administrator account.
  1. Login as an administrator to the vCenter SSO server.
  2. Click Start > Run, type cmd, and click OK. The Command Prompt window opens.
  3. Navigate to the directory SSOInstallDirectory\utils. By default, the installation directory is  C:\Program Files\VMware\Infrastructure\SSOServer\utils.
  4. Run this command:

    rsautil reset-admin-password
  5. Enter the master password when prompted.

    Note: This is the password selected for the SSO administrator during the SSO installation. If you have changed your SSO administrator password later, the master password is still the original one chosen.
  6. Enter the SSO administrator name for which you want to reset the password. For example, admin.
  7. Enter the new password for the user and then confirm it a second time.

    You should see the message
    Password reset successfully.
To reset the SSO administrator password on the vCenter Server Appliance:
  1. Log in as root to the vCenter server Appliance. 
  2. From the command line, navigate to /usr/lib/vmware-sso/utils directory. 
  3. Run this command:

    ./rsautil reset-admin-password
  4. Enter the master password when prompted.

    Note: By default, this is the root password.
  5. Enter the SSO administrator name for which you want to reset the password. For example, admin.
  6. Enter the new password for the user and then confirm it a second time.

    You should see the message Password reset successfully.

Source:- http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2034608