Translate

Total Pageviews

My YouTube Channel

Friday, 11 January 2013

vCenter Single Sign On FAQ


Purpose

This article provides answers to frequently answered questions about vSphere Single Sign On.

Notes:

Resolution

This article answers questions in these subject areas:

General questions


What is vCenter Single Sign On (SSO)?

vCenter Single Sign On (SSO) is a component of the VMware Cloud Suite. SSO deals with identity management for administrators and applications that interact with the vSphere platform.

SSO is based on identity management technology built by RSA and specifically tailored for VMware Cloud Infrastructure deployment.


What are the key capabilities of SSO?
  • SSO can add multiple AD domains, OpenLDAP, and the local operating system where SSO is deployed. It also lets you create local users and groups.
  • SSO now allows VMware vSphere to connect to a non-AD Identity Source – OpenLDAP.
  • SSO supports SAML 2.0 standard and WS-TRUST – both of which are open industry standards.
  • SSO lets users delegate tasks to solutions that can run as the identity of the user.
  • SSO supports identity delegation for long-lived tasks with the ability to renew tokens.

Is SSO a replacement for my Active Directory or LDAP setup and management?

No. SSO only federates authentication and principal data queries to your Active Directory or LDAP instances. It does not allow for managing your AD or LDAP data.


Do I need an Active Directory or LDAP setup to use SSO?

No. SSO has its own internal user store. You can manage all principal data in it, using the SSO admin interface in the vSphere Web Client. You can also assign vCenter Server privileges to users and groups from this internal datastore. Alternatively, you can also point SSO to users residing in the OS where you deployed SSO.


Does SSO replace VMware's Horizon Identity Manager?

No. Horizon is aimed at providing identity management in layer-3 of the VMware product suite.


How does SSO work?

SSO is an authentication service that implements the brokered authentication architectural pattern.

The SSO server provides an authentication interface called Security Token Service (STS).

Clients send WS-Trust authentication messages to the STS, which checks the user's credential against one of the attached identity sources. Upon successful authentication, STS generates a SAML 2.0 token.

There are two points of exposure: The SSO Server and the vCenter Server. The vCenter Server uses the token to perform operations on behalf of the primary user. From the client's perspective, the vCenter Server stands between the client and any vSphere services that the client can use via the vCenter Server.


How is SSO Licensed?

SSO is an integral part of vCenter Server and is not a licensable feature. It is available with all licensable versions of vCenter Server.

SSO is not available with the freely downloadable version of vSphere.


What versions of vCenter Server does SSO work with?

SSO works with vCenter Server 5.1.


Do existing vSphere applications (such as Site Recovery Manager and vCenter Operations) work with SSO?

SSO exposes a new authentication API. However, the old API continues to exist for applications that are already integrated with vCenter Server. All existing applications that have not yet migrated to the SSO APIs will continue to work with vCenter Server 5.1, just as they work with vCenter Server 5.0.


How is SSO packaged?

SSO is available as a Windows installable package. SSO is also embedded within the vCenter Server Appliance.


What is the upgrade process for vCenter Server with SSO in the mix?

vCenter Server 5.1 needs SSO to run. Upgrades of vCenter Server to version 5.1 include the mandatory SSO installation step, followed by upgrading the Inventory Service and vCenter Server and pointing it to the installed SSO instance.


What are the compatibility requirements for SSO?

The compatibility requirements for SSO are the same as those for vCenter Server.


What is the memory and HDD consumption of the SSO server itself?
  • 400 MB RAM on average, and up to 1 GB RAM
  • 200 MB HDD without the logs
  • Up to 5 GB HDD for the logs (for the long run)

What is the deployment model for SSO?

For more information, see the vCenter Single Sign On Deployment Modes section in the vSphere Installation and Setup Guide.


What is the deployment model for vCenter Server with SSO?

For more information, see the How vCenter Single Sign On Affects vCenter Server Installation and Upgrades section of thevSphere Upgrade Guide.


Why would I install SSO on a separate machine from vCenter Server?

If SSO is on the same machine as one of your vCenter Servers, and the machine goes down, you will lose not only that vCenter Server, but also the ability to log into all your other vCenter Servers.


Why would I install SSO on the same machine as vCenter Server?

vCenter and SSO on the same machine is the default configuration, if you have only one vCenter Server instance.


How many vCenter Servers can an SSO instance serve?

SSO poses no restriction on the number of vCenter Servers registered to it.


What happens when the SSO server is down?

When SSO is down, any operation that requires authentication or session validation cannot function. This implies some vCenter capabilities will not be available. It also implies users cannot connect to vCenter or the Web Client. The hypervisor layer continues to work as usual and your workloads continue to run.


Is SSO available in High Availability mode?

For more information, see the vCenter Single Sign On Deployment Modes section in the vSphere Installation and Setup Guide.


How does SSO back up and restore data?

SSO stores data in a database similar to vCenter Server. The sensitive database data is encrypted with an encryption key, which should be backed up after installation.


Can SSO be used with vCenter Server Heartbeat?

Yes. vCenter Server Heartbeat can be also used to protect SSO.


How does SSO integrate with the vSphere Client?

SSO does not integrate with the vSphere Client. However, when you log in through the vSphere Client, vCenter Server sends the authentication request to SSO.


How does SSO integrate with the vSphere Web Client?

SSO is very closely integrated with the vSphere Web Client. Administrators must authenticate to SSO as part of the Web Client login process.

The SSO configuration and management UI is integrated into the vSphere Web Client.


Can I disable SSO and revert to the old method of authentication in vCenter Server?

No.


Is there a published API associated with SSO?

Yes. A client can use the vCenter Single Sign On API to obtain a SAML token. The client can then use that token to establish a vCenter session. The SSO Server presents a WSDL-based API that supports a subset of the WS-TRUST and WS-SECURITY standards. For more information, see the vCenter Single Sign On Programming Guide.


Is there an SSO SDK that I can reference?

Yes. The SDK can be downloaded from My VMware.


SSO database questions


Can I use Windows Authentication for the MSSQL database user name and password, as the JDBC Setup screen implies?

No. For MSSQL databases, you must use SQL Server Authentication database users. Windows Authentication users are not supported. For more information, see Connection to the MSSQL database fails during vCenter Single Sign On installation section of the VMware vSphere 5.1 Release Notes

What SQL access rights does the database user require?

The database user you specify during installation must have the DBA privilege. However, you can grant the DBA privilege just before you encounter this screen in the installer and revoke the privilege after installation is complete. For more information about required database users and permissions, see Required Information for Installing or Upgrading vCenter Single Sign On, Inventory Service, and vCenter Server section in the vSphere Installation Guide.


Is the database user that I specify during installation a separate user from the RSA_USER and RSA_DBA (the database users that are created during SSO installation)?

Yes. The database user you specify during installation is used to create the users RSA_USER and RSA_DBA. For more information, see the Required vCenter Single Sign On Database Users section of the vSphere Installation and Setup Guide.


Do RSA_USER and RSA_DBA need to be SQL users?

Yes.


When the installer creates RSA_USER and RSA_DBA, it assigns a password that does not meet my organization's password complexity requirements. Can I change the password for these automatically created users?

No, but you have the option to manually specify created users rather than allowing the installer to create these users for you. Manually create RSA_USER and RSA_DBA before you begin the installation process and assign a password that meets your requirements. Enter the names and passwords of the users when you run the installer. VMware provides optional scripts that you can run to create the required database users. For more information, see the Required vCenter Single Sign On Database Userssection of the vSphere Installation and Setup Guide.


Why are the RSA_DBA and RSA_USER users required, and what SQL access rights do they require?

RSA_DBA is used for creating the schema (DDL) and requires DBO permissions. RSA_USER reads and writes data (only DML). For a list of the required access rights, see the Required vCenter Single Sign On Database Users section of the vSphere Installation and Setup Guide.


What information is stored in the SSO Database?

The SSO database stores system users and groups, SSO configuration information, and connection details for the attached identity sources, including domain accounts.


Why does the SSO administration interface in the vSphere Web Client display information about locked and disabled domain accounts?

The SSO administration interface provides a single view of all attached identity sources, including Active Directory domain accounts. The SSO administrator does not need to open the Active Directory management interface to view information about locked or disabled domain accounts.

SSO application questions


Can I change the SSO administrator user name from admin@System-Domain to another user name?

The admin@System-Domain user name cannot be changed. It is similar to the Administrator user name on a Windows system. You can disable admin@System-Domain after you grant SSO administrator privileges to another user. The user is only necessary when you perform HA/multisite setup or recovery.


When configuring vCenter with an external SSO, which user should I specify for Account with right to register vCenter with the SSO server?

Specify a user with SSO administrative privileges. If your SSO runs on the vCenter Server Appliance (VCSA), this is the root user of the operating system encapsulating the appliance. If your SSO runs on Windows, this user is admin@system-domain with the password you picked during installation.

What Single Sign On deployment modes are possible with the vCenter Server Appliance?

Only basic mode is supported with the vCenter Server appliance at this time. Windows SSO is currently required to deploy in HA or Multi-Site Modes.

Which user should I specify for Account that will be assigned as vCenter administrator?

You can specify any user, but VMware recommends picking the operating system administrator ("root", "Administrators") or the administrators group ("root", "Administrators").


During the installation process, the installer appears to initiate a scan of the Active Directory domains to automatically add them as identity sources. Can I disable this functionality?

The installer does not scan Active Directory domains. It only verifies that it can connect to the Active Directory identity source and configure connection data.


During the installation process, I get the error, Identity source discovery error. Is this related to the installer's scan of the Active Directory domains in my environment?

No. This error is usually due to an incorrect configuration of the environment.


How many vCenter Single Sign On servers can be part of a High Availability SSO cluster?

There is no limit to the number of SSO systems you can add to a High Availability SSO cluster.


Is a multisite configuration made up of multiple instances of High Availability SSO clusters in separate physical sites?

Yes.


Do the clusters of a multisite configuration share one common global database, or is a database aligned to each cluster?

A database is aligned to each cluster.


Do clusters in a multisite configuration have any form of federation?

You can run manual replication scripts to synchronize the data across a multisite configuration. For more information, see theManually Replicate Data in a Multisite vCenter Single Sign On Deployment section of the vSphere Security Guide.


When we configure an Active Directory identity source, we are required to use the Password Authentication type because Active Directory is locked down in our organization. What rights does this user require?

The user you specify when you choose Password Authentication requires read-only access to Base DN for users and groups.


vCenter Single Sign On seems to use auto-generated certificates. Can we replace these certificates with internally generated certificates?

Yes. For more information, see Replacing Default vCenter 5.1 and ESXi Certificates on the Technical Resources page atwww.vmware.com.


Can we mix components from the vCenter Server Appliance and Windows stack? For example, could a Windows-based vCenter Server installation use SSO services provided by an SSO instance on a vCenter Server Appliance?

Yes. You can point vCenter Server Appliance and Windows-based vCenter Server installations to SSO instances installed on either platform.


How can I split out vCenter components such as SSO, vCenter Server, and the vSphere Web Client to comply with placement strategies for optimal failover and availability?

For more information, see vSphere Installation and Setup.
Source:-
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2034918

VLAN configuration on virtual switches, physical switches, and virtual machines



Purpose

This article describes the various VLAN tagging methods used with ESXi/ESX.

Virtual LAN (VLAN) implementation is recommended in ESXi/ESX networking environments because:
  • It integrates ESXi/ESX into a pre-existing network
  • It secures network traffic
  • It reduces network traffic congestion
  • iSCSI traffic requires an isolated network

Resolution

  
 
There are three methods of VLAN tagging that can be configured on ESXi/ESX:

External Switch Tagging (EST)


Virtual Switch Tagging (VST)

  • All VLAN tagging of packets is performed by the virtual switch before leaving the ESXi/ESX host.
  • The ESXi/ESX host network adapters must be connected to trunk ports on the physical switch.
  • The portgroups connected to the virtual switch must have an appropriate VLAN ID specified.
  • For more information, see Configuring a VLAN on a portgroup (1003825).
  • For a sample of VST, see Sample configuration of virtual switch VLAN tagging (VST Mode) (1004074).
  • See this example snippet of code from a Cisco switch port configuration:

    switchport trunk encapsulation dot1q
    switchport mode trunk
    switchport trunk allowed vlan x,y,z
    spanning-tree portfast trunk
Note: The Native VLAN is not tagged and thus requires no VLAN ID to be set on the ESXi/ESX portgroup.

Virtual Guest Tagging (VGT)

  • All VLAN tagging is performed by the virtual machine.
  • You must install an 802.1Q VLAN trunking driver inside the virtual machine.
  • VLAN tags are preserved between the virtual machine networking stack and external switch when frames are passed to/from virtual switches.
  • Physical switch ports are set to trunk port.
  • For more information, see Sample configuration of virtual machine (VM) VLAN Tagging (VGT Mode) in ESX (1004252).
  • See this example snippet of code from a Cisco switch port configuration:

    switchport trunk encapsulation dot1q
    switchport mode trunk
    switchport trunk allowed vlan x,y,z
    spanning-tree portfast trunk


For additional information on these configurations, see VMware ESX Server 3: 802.1Q VLAN Solutions.
Source:-
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1003806

Wednesday, 9 January 2013

Reserved or overhead ports for virtual switches


Details

To account for overheads such as physical NIC ports (uplinks), CDP traffic, and network discovery, ESX 3.x, ESX/ESXi3.5.x, and ESX/ESXi 4.x allocate and reserve an additional eight ports per virtual switch beyond what is available for virtual machine use. This additional overhead is allocated regardless of the number of ports on the virtual switch, and accounts for the most common product deployment scenarios.

Solution

Configuring a virtual switch from vSphere Client

When configuring a virtual switch from vSphere Client, the ESX machine provides available virtual switch port count, which already reflects the fixed overhead (8, 24, 56, 120, 248, 504, 1016, 2040, and 4088 available ports respectively).
 
Note: Only ESX/ESXi 4.x have 2040 or 4088 ports.
 
Configuring a virtual switch using esxcfg-vswitch command

When configuring a virtual switch using esxcfg-vswitch command, this overhead must be explicitly taken into account when specifying the total number of ports to allocate. Available port counts as displayed in vSphere Client need to be incremented by eight when working with esxcfg-vswitch command. 
 
vSphere Client esxcfg-vswitchTotal Ports
8168 virtual machine + 8 Reserved
243224 virtual machine + 8 Reserved
56*6456 virtual machine + 8 Reserved
120**128120 virtual machine + 8 Reserved
248256248 virtual machine + 8 Reserved
504512504 virtual machine + 8 Reserved
101610241016 virtual machine + 8 Reserved
2040***20482040 virtual machine + 8 Reserved
4088***40964088 virtual machine + 8 Reserved
 
* = System default for new virtual switches in ESX/ ESXi 3.x
** = System default for new virtual switches in ESX/ ESXi 4.x
*** = Only for ESX/ESXi 4.0
 
Note:  Certain higher-complexity product deployment scenarios might require more eight virtual switch ports for overhead.

Typically, each additional uplink connected to the same virtual switch beyond the first six uplinks reduces the number of ports available on that virtual switch for virtual machine use by one.

Deployment scenarios where a very large number of uplinks are teamed together on a single virtual switch might significantly impact the number of  ports on that virtual switch available for virtual machine use, and the overall size of the virtual switch might need to be adjusted accordingly.

The current port utilization data for virtual switches can be reviewed by using the esxcfg-vswitch --list command.

The current overhead utilization on a given virtual switch can be calculated by subtracting the Used Ports value for all PortGroups from the Used Ports value for that virtual switch.

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

View Virtual Machine Storage Resources


You can view how datastore storage space is allocated for your virtual machines.

Procedure:-

1 Select the virtual machine in the inventory.
2 Click the Summary tab.
3 Review the space allocation information in the Resources section.
     (a) Provisioned Storage – Shows datastore space allocated to the virtual machine. The entire space might
not be used by the virtual machine if it has disks in thin provisioned format. Other virtual machines
can occupy any unused space.
     (b) Not-shared Storage – Shows datastore space occupied by the virtual machine and not shared with
any other virtual machines.
      (c) Used Storage – Shows datastore space actually occupied by virtual machine files, including
configuration and log files, snapshots, virtual disks, and so on. When the virtual machine is running,
the used storage space also includes swap files.

Tuesday, 8 January 2013

vSphere Replication FAQ



Purpose

This article provides information about vSphere Replication, a feature in VMware vCenter Site Recovery Manager (SRM) 5.0.

Resolution

What is vSphere Replication?

vSphere Replication is a feature of Site Recovery Manager (SRM) that allows SRM to Disaster Recovery (DR) protect individual virtual machines without requiring array-based replication. This feature is licensed as part of the SRM product.

What are the new use cases enabled for SRM by vSphere Replication?

vSphere Replication:
  • Allows per virtual machine replication for SRM
  • Can use SRM without requiring array-based replication
  • Enables virtual machine replication between heterogeneous arrays
In addition, SRM can be deployed to DR protect virtual machines regardless of which Hardware Compatibility List (HCL) supported storage is used at primary or recovery sites.

Where is the Getting Started help?

The Getting Started help screen, which helps you configure vSphere Replication and SRM, is hidden from most users. To see this screen, click Edit > Client Settings in the vSphere Client and select Show Getting Started Tabs.

How do I enable vSphere Replication?

vSphere Replication can be enabled when SRM installation is complete. You must install and configure vSphere Replication from within the SRM plug-in before actually replicating a virtual machine. Replication is actually enabled in the Host/Clusters view within the vSphere Client.

What are the minimum requirements for enabling vSphere Replication?

To enable vSphere Replication, you must use:
  • SRM 5.0
  • ESXi 5.0
  • vCenter Server 5.0
  • Virtual machine hardware version 7

What are the roles of the various vSphere Replication system components?

  • vSphere Replication Agent and vSCSI Filter Drive – These are ESXi components (which ship with ESXi) and they manage the replication process. They provide these functions:
    • Scheduling replications
    • Transferring data to remote vSphere Replication servers
    • Coordinating replication of virtual machine configuration, and group consistency for virtual machine disks
  • vSphere Replication Management Server (VRMS) – This is the generic management framework for vSphere Replication. It is a Linux-based virtual appliance, with one VRMS server per vCenter Server, and it is deployed, configured, and managed by SRM. It provides these functions:
    • Authentication / authorization for vSphere Replication
    • Mapping between protected and replica disks
    • Allocating storage resources at the recovery site
    • Monitoring vCenter for changes that may impact replication
    • Orchestrating creation of test and failover images
    • Providing vSphere Replication support to SRM
  • vSphere Replication Server (VRS) – This is the component that receives replication traffic from the protection site. It is a Linux-based virtual appliance, with one or more deployed at the recovery site. It is deployed, configured, and managed by SRM.

Do the source and destination datastores need to be of the same type for using vSphere Replication?

No. In fact, there might not even be a VMFS backing the virtual disks. Virtual disks can be stored on NFS shares or even raw LUNs.

If using VMFS, do the source and destination volumes for vSphere Replication require the same block size?

No. vSphere Replication deals with disks at a much higher level, and is unaware of the block sizes that the underlying VMFS is using to store VMDKs.

Does the vSphere Replication feature incorporate WAN bandwidth management?

No. vSphere Replication does not incorporate WAN bandwidth management. Use WAN optimizers to throttle and prioritize vSphere Replication traffic. To make it easier, vSphere Replication separates the initial replication from the ongoing replication using different ports so that you can assign different traffic shaping rules to the initial replication and ongoing replication.

How does vSphere Replication manage bandwidth consumption for initial and on-going replication?

vSphere Replication uses different TCP ports for full and on-going replication.
The port numbers are:
  • Port 31031 for initial replication
  • Port 44046 for on-going replication

Can vSphere Replication tasks be scheduled?

No. vSphere Replication is Recovery Point Objective (RPO) based and scheduled per ESXi host. 15 minutes is the most aggressive RPO that can be selected via the UI.

Can powered off virtual machines be replicated using vSphere Replication?

Powered off virtual machines can be configured for vSphere Replication. However, actual replication of data occurs when the virtual machine is powered on.

Does vSphere Replication maintain virtual machine snapshot hierarchy?

No. vSphere Replication does not maintain virtual machine snapshot hierarchy at the secondary site.

What are some other differences between array-based replication and vSphere Replication?

This table outlines some differences between array-based replication and vSphere Replication:


FeatureArray ReplicationvSphere Replication
Replicate virtual machine templates
YesNo
Replicate Fault Tolerance (FT) virtual machinesYes. You have to enable after failover.No
Replicate linked clone treeYesNo
Maintain snapshot hierarchyYesNo
Replicate powered off or suspended virtual machineYesNo, but can configure for replication
VSS application consistency
Possibly. This is array specific, and would include log management.
Yes, but no log management
vApp consistency groupsYesNo
Application consistency AgentsNormally available, sometimes for an extra cost.No

What engine is vSphere Replication using? Is it Changed Block Tracking (CBT) or snapshots?

The engine is designed by VMware. It uses something similar to CBT. vSphere Replication does not use snapshots to replicate.

If data is similar on each of the storage devices (that is, the original copy has already been made), but now the two sides are out of sync, is a new copy made, or are changes sent?

If no changes to the disk have been made "behind the back" of the vSphere Replication infrastructure, then only deltas (sets of changed blocks) are sent to complete a new copy.
If the disks are changed out of purview of the vSphere Replication infrastructure (or if the virtual machine is new to vSphere Replication), the vSphere Replication system compares the disks (without sending the content, just checksums between sites) to re-establish its state, then sends deltas going forward. This complete disk synchronization step involves reading the entire disk at each site, but matching disk blocks are not re-sent.

Are there any special VMDK disk requirements to support vSphere Replication?

No. You do not need eager zeroed thick disks or any other special requirements. Physical RDMs are not supported.

With only the base disk replicated, how are snapshots handled?

Writes are replicated, so vSphere Replication does not know what snapshots are. As such, snapshots are not replicated. When the virtual machine is accessed at the recovery side, it is like the snaphots have been collapsed.

Is there a minimum VMFS format level required for vSphere Replication?

No. All VMFS formats supported by ESXi 5.0 are supported by vSphere Replication.

What databases are supported for VRS? For VRMS?

Only the VRMS server requires a database. It supports both Oracle and Microsoft SQL databases.

Can vSphere Replication be used outside of SRM?

No. vSphere Replication is a feature of SRM, and it cannot be disconnected from SRM.

Does vSphere Replication support MSCS clusters?

vSphere Replication does not work with virtual disks opened in "multi-writer mode". MSCS cluster virtual machines are configured with virtual disks opened in "multi-writer mode," so vSphere Replication will not work with a MSCS configuration.

Does vSphere Replication support Storage DRS?

Neither array-based replication nor vSphere Replication support using Storage DRS. Storage vMotion of a replicated virtual machine results in a full sync, where both the primary and the recovery side disks are read and hashed, and these hashes are exchanged over the wire which can result in heavy I/O, and this can cause latency on the datastore.
Source:-
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2005776

Looking up Managed Object Reference (MoRef) in vCenter Server



Purpose

This article provides information about looking up a Managed Object Reference (MoRef) in vCenter Server. This helps you determine which virtual machine, host, or datastore a product is referring to in its log bundle.
 
For example, a virtual machine is denoted by vm-xxxx in the VMware Site Recovery Manager logs or the vpxa logs on an ESX host.

Resolution

Using a web browser, navigate to: 
https://<VC_SERVER>/mob/?moid=<OBJECT_ID>
 
Where:
  • <VC_SERVER> is the FQDN or IP of the vCenter Server
  • =<OBJECT_ID> is the ID of the object you are looking up 
If you do not know the object ID of the virtual machine, you can interrogate the datastore for all virtual machines registered to that resource.

To identify a virtual machine by vm-XXXX: 
  1. Open vCenter Server in a SSL capable browser. For example, https://virtualcenter.vmware.com/mob/).
  2. Under the Return Type of ServiceContent, click RetrieveServiceContent.
  3. In the window that displays, click Invoke Method.
  4. Under the NAME of rootFolder beside the TYPE of ManagedObjectReference:Folder, click the VALUE of Group-xx. For example:

    NAME | TYPE | VALUE rootFolder | ManagedObjectReference:Folder | Group-d1
     
  5. Under the NAME of childEntity beside the TYPE of ManagedObjectReference:ManagedEntity, click the VALUE of datacenter-xx. For example:

    NAME | TYPE | VALUE childEntity | ManagedObjectReference:ManagedEntity | datacenter-21
     
  6. Under the NAME of datastore beside the TYPE of ManagedObjectReference:Datastore, click the VALUE of datastore-xxxx. For example:

    NAME | TYPE | VALUE datastore | ManagedObjectReference:Datastore | datastore-101 
  7. Under the NAME of name beside the TYPE of string, you see the friendly name of the datastore. For example:

    NAME | TYPE | VALUE name | string | "Storage1"
     
  8. You now see all of the virtual machines registered on this datastore. Under the NAME of vm beside the TYPE of ManagedObjectReference:VirtualMachine[], click the VALUE of vm-xxxx. For example,

    NAME | TYPE | VALUE vm | ManagedObjectReference:VirtualMachine[] | vm-147
    From the above information, under NAME of name beside the TYPE of string you see the friendly name of the virtual machine. You can also get information such as the virtual machine configuration from the same interface. For example:

    NAME | TYPE | VALUE name | string | "DHCP"
Source:-
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1017126

Monday, 7 January 2013

Vmware hostd and vpxa on ESXi 5.X

HOSTD
The vmware-hostd management service is the main communication channel between ESX/ESXi hosts and VMkernel. If vmware-hostd fails, ESX/ESXi hosts disconnects from vCenter Server/VirtualCenter and cannot be managed, even if you try to connect to the ESX/ESXi host directly. It knows about all the VMs that are registered on that host, the luns/vmfs volumes visible by the host, what the VMs are doing, etc. Most all commands or operations come down from VC through it. i.e, powering on a VM, VM vMotion, VM creation, etc.

Restart the management agent

/etc/init.d/hostd restart

VPXA
It acts as an intermediary between VC and hostd. The vCenter Server Agent, also referred to as vpxa or the vmware-vpxa service, is what allows a vCenter Server to connect to a ESX host. Specifically, vpxa is the communication conduit to the hostd, which in turn communicates to the ESX kernel.

Restart the vpxa service

/etc/init.d/vpxa restart

Note:- If you have SSH enabled on your ESXi server these services can also be restarted and even if these are restarted by you then also your SSH session will not be impacted.

Configure the vSphere Web Client to Bypass vCenter Single Sign On

You can configure the vSphere Web Client to bypass the vCenter Single Sign On server. This allows the vSphere Web Client to connect directly to vCenter Server 5.0 systems that are registered with the vSphere Web Client. If your environment contains both vCenter Server 5.0 and vCenter Server 5.1 system, you can use this setting to access the vCenter Server 5.0 systems if the vCenter Single Sign On Server becomes unavailable.vCenter Single Sign On is required to connect to vCenter Server 5.1 systems. If you configure the vSphere Web Client to bypass Single Sign On, you cannot use it to connect to any vCenter Server 5.1 systems until you undo this configuration change.

Procedure:-

1.)  On the computer where the vSphere Web Client is installed, locate the webclient.properties file.

The location of this file depends on the operating system on which the vSphere Web Client is installed.

Operating System File path

Windows 2003 = %ALLUSERPROFILE%Application Data\VMware\vSphere Web Client

Windows 2008 =  %ALLUSERPROFILE%\VMware\vSphere Web Client

vCenter Server Appliance =  /var/lib/vmware/vsphere-client

2.)  Edit the file to include the line sso.enabled = false.
3.)  Restart the vSphere Web Client service.

     a.) On Windows operating systems, restart the VMware vSphere Web Client service.

      b.) On the vCenter Server Appliance, restart the vSphere-client service by typing

            service vsphere-client restart.

Tuesday, 25 December 2012

Difference between OVA and OVF


An OVF is a collection of items in a single folder. Most commonly
this is a description file (.ovf) a manifest file (.mf), and virtual
machine state files (*.vhd or *.vmdk)

   
An OVA is a single file.
The OVA is the OVF folder contents all zipped into a single file. The
purpose of the OVA is when you want to take an OVF and share it, or give
it as a download. The OVA needs to be opened into the OVF before it can
be consumed.

ESX / ESXi Version
As shown in the documentation, the OVA is used when your ESX or ESXi hosts are version 4.0 or later while the OVF is used for 3.5:
 

Beaconing to Detect Link Failures


Beaconing is a
software solution for detecting link failures downstream from the physical
switch.ESX provides a simple and elegant teaming solution. All uplinks
connected to a vswitch are assumed to connect to the same physical network
(same broadcast domain) so they are all equivalent. Users can configure a list
of active and standby uplinks for traffic to go out of the ESX host. If a link
fails, the adapter driver detects it and marks the uplink as failed and stops
using this uplink. Existing traffic will fail over to a standby uplink or
redistributed to the remaining team members.
If a downstream
link beyond the immediate physical port fails, the adapter driver obviously cannot
detect it. This causes existing VMs using the uplink to lost network
connectivity. The proper way to solve this problem is to enable Link State Tracking on the physical switch so that
the adapter driver can see the failure. If the physical switch does not support
Link State Tracking, beaconing provides a software alternative. Beaconing
works as follows:
ESX
periodically broadcast beacon packets out of all uplinks in a team. The
physical switch is expected to forward all packets to other ports on the same
broadcast domain. Hence, a team member is expected to see beacon packets from
other team members. If an uplink fails to receive any beacon packets (actually
missing 3 consecutive packets), we mark it bad. The failure can be due to the
immediate link or a downstream link. With 3 or more uplinks in a team, we can
pin point failures of a single uplink. With 2 uplinks in a team, we can detect
downstream link failure, but we don't know which one is good and which bad.
ESX
behavior when a beaconing failure is detected is as follows:
  1. If two or more
    uplinks receive beacons from each other, those uplinks are considered good. 
    We stop
    using uplinks which do not receive any beacon packets.
  2. On ESX 3.5, if
    no uplink receives beacon packets, traffic is sent to all uplinks (shotgun
    mode). If a team has two uplinks, any link failure will result in all packets
    being sent to both uplinks.
  3. On a future
    edition of ESX, we intend to make an additional improvement. If no uplink
    receives beacon packets, traffic is only sent to uplinks whose link status is
    “up”. If a team has two uplinks and one uplink experiences a failure in its
    immediate link, traffic will be sent out to the other uplink. This saves some
    CPU cycles.
When should one
enable beaconing? When you are concerned that downstream link failures may impact availability and there is no
Link State Tracking on the physical switch. Ideally, you should have 3 or more
uplinks in the team (active + standby). But you can enable beaconing with 2
uplinks. Some customers don't like the shotgun mode on failure (see #2 above),
that's a trade off you should make against some VM losing connection right away.
Source:-
http://blogs.vmware.com/vsphere/2008/12/using-beaconing-to-detect-link-failures-or-beaconing-demystified.html

Friday, 21 December 2012

vSphere Data Protection Step by Step



1. Deploy vSphere Data Protection Appliance and Connect with the vSphere Data Protection Appliance Console



2. Access the VDP configuration wizard by using https://<vSphere Data Protection IP>:8543/vdp-configure. By default the root user password is changeme


3. On welcome screen click on Next


4. Review the network settings and if you want to change these settings you can change these settings also. Configure vSphere Data Protection Appliance Hostname and Domain Name.
Note:- The Name that you want to use as the Hostname must be registered in the DNS.


5. Select Timezone and Click on Next


6. Change the VDP Password and Click on Next


7. Register your  VDP with vCenter Server for that specify the vCenter Credentials and vCenter Name and SSO Hostname and Click on Test Connection and Click on Next


8. Click on Finish


9. Again Access the VDP configuration wizard by using https://<vSphere Data Protection IP>:8543/vdp-configure. Now you can start and stop the vdp services from here


10. If you want to change the IP address and Other Information related to VDP you can change it from here


11. To Rollback Click on the Rollback Tab


12. Open the Upgrade Tab to Upgrade the Appliance


13. Connect with Your vSphere Web Client :- https://<vSphere Web Client IP/Name>:9443/vSphere-Client  and Login Here


14. Click on vSphere Data Protection


15. Connect with VDP Server


16. Now you are at the Getting Started Tab.


17. To Create a New Backup Job. Click on the New from the Backup Tab


18. Select the VM that you want to backed up and Click on Next.


19. Select the Backup Schedule. Click on Next


20. Configure the Retention Policy. Click on Next


21. Specify the Name for the Backup Job. Click on Next.


22. Once Done. Click on Finish.


23. Now Backup Job is created Successfully


24. To Start the Backup Job Now. Click on Backup Now


25. You will get this Message. Click on OK.


26. It's in Progess.


27. To Restore the VM from the Backup. Open the Restore Tab and Click on the Restore


28. Select the VM that you want to restore and Select the Restore Point. Click on Next


29. Choose the Restore Location. Click on Next


30. Click on Finish


31. Click on Ok.


32. Restoration is in Progress.


33. Check the Backup is Successful or Not From the Reports Tab.


34. Check the VDP configuration From Configuration Tab.


35. To Perform the File Level Restore (FLR) of a Particular VM. Open the VM Console and Specify the OS Local User Credential and Even you can use advance Login also to perform the FLR from any VM.


36. To use Advanced Login. Provide the OS local user credentials and as well as the vCenter Server User Credentials


37. I Selected Basic Login


38. Select Backup From where you want to perform FLR. and click on Mount.


39. Select File or Folder whatever you want to restore and Click on Restore.


40. To start the Restore. Click on yes.


41. Click on Ok.


42. To Check the Completed  Jobs from Monitor Restores.


Enjoy!!!!!