VMware Horizon Tech Blog: Enabling SSH in Horizon Workspace Virtual Appliances

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für VMware Horizon Tech Blog: Enabling SSH in Horizon Workspace Virtual Appliances
Mrz 302013
 

Are you a fan of SSH vs. virtual console access? I am. I much prefer to access a Linux/Unix vApp via SSH than via the remote console as this allows me to use Terminal on my Mac vs. opening a remote session to a virtual Windows system to then run the vSphere Infrastructure Client (VIC). It’s a personal preference, I admit. But enabling SSH does allow for direct SCP access as well.

Here’s how to enable SSH for the Horizon vApps.


Background:

I should note, SSH is actually already enabled but root login via SSH is not. So technically we are not enabling SSH but rather just enabling root login via SSH.

How to enable SSH root login on the Horizon Workspace Virtual Appliances:

  1. There’s no way around it – you need to login to a Windows system to launch either the vSphere Infrastructure Client (VIC) or the vSphere Web Client in order to open the virtual console of each of the virtual appliances within the Horizon Workspace vApp.
  2. Select LOGIN from the console Window and authenticate with the user “root” and the password you setup when installing the Horizon Workspace vApp.
  3. Once logged in, we need to edit the SSHD_CONFIG file. Type in the below command to edit the file with VI.
  4. vi /etc/ssh/sshd_config

  5. The above command will open the SSHD_CONFIG file within VI and allow you to edit. To enable “Insert Mode” editing within VI, press “I“.
  6. Scroll down to Line 41 (down arrow). This should be the PermitRootLogin no line.
  7. Change PermitRootLogin no to PermitRootLogin yes
  8. Enable SSH in SSHD CONFIG

  9. Press the “ESC” key to exit the “Insert Mode” editing.
  10. Press “:” (colon) then “x” to save then exit.
  11. You now need to restart SSH in order for changes to take affect. Type the below command to restart SSH.
  12. /etc/rc.d/sshd restart

Conclusion and Recommendations:

You now have SSH and SCP enabled for the virtual appliance! Don’t forget to do this to the other virtual appliances within the Horizon Workspace vApp. It may also be wise to reverse these settings when done using SSH and SCP on the virtual appliances as well as ensuring strong passwords and security settings. To undo the above procedure, just change PermitRootLogin yes back to PermitRootLogin no and restart SSH.

[Archived]vCenter Service Status reports ‚Unable to retrieve health data from https://<remote_linked_mode_member_fqdn>:8…

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für [Archived]vCenter Service Status reports ‚Unable to retrieve health data from https://<remote_linked_mode_member_fqdn>:8…
Mrz 302013
 
>> There were 3 vCenter Servers in Linked Mode >> vCenter Service... Published: 3/29/13

-- Delivered by Feed43 service

Federal Center of Excellence (CoE) Blog: Use vCloud Automation Center’s Property Dictionary to Customize Service Requests

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für Federal Center of Excellence (CoE) Blog: Use vCloud Automation Center’s Property Dictionary to Customize Service Requests
Mrz 302013
 

[originally posted on virtualjad.com]

As I’ve eluded to on more than one occasion, VMware’s vCloud Automation Center (vCAC) is more than just a cloud portal. It is a solution designed to take defined business policy and requirements and apply them to the underlying IT systems, providing a governance model that delivers infrastructure-as-a-service (IaaS) with business agility in mind. Once defined, those policies are applied to vCAC’s individual policy definitions to build a “mesh policy” that provide the governance and controls for self-service, automation, and lifecycle management. The result is a finely-tuned service deployment model that defines the applications (blueprints), where they can be deployed, who can deploy them, and under which circumstances they are (or aren’t) allowed to be deployed. More than just a cloud portal.

vCAC 5.1 provides a ton of this capability “out of the box”, but the solution can also add a tremendous amount of additional capability using built-in control concepts, custom properties, and native integration with external tools such as PowerShell, vCenter Orchestrator (vCO), and others. The possibilities are immense. Those of you who are familiar with vCO will immediately realize the power of that last statement. If you’re not familiar with vCO you should stop reading this, download/deploy the vCO appliance, and make it your best friend…then come back and finish reading. Any workflow available in vCO can be initiated during a vCAC service request. vCAC’s extensibility options — utilizing the built-in Design Center and/or Cloud Development Kit (CDK) add-on — take it to a whole other level of customization and automation. Well-defined use cases and a solid implementation strategy are key when you head down the extensibility path. I will cover more on extensibility and custom use cases in future posts. For now, I’m going to focus on one of vCAC’s built-in concepts that can be used to customize service provisioning options, reduce the number of managed objects (blueprints), and add a nice touch to the user experience…with as few point-and-clicks as possible! What I’m referring to is vCAC’s built-in Property Dictionary feature.

The Property Dictionary

From the vCAC 5.1 What’s New Guide (p. 2-77):

The property dictionary feature, introduced in release 4.5, enables an enterprise administrator to provide a more robust user interface for custom properties that a machine owner enters at request time.

Properties are used throughout the product to provide settings for many features. When users request new machines they are prompted for any required properties. Enterprise administrators or provisioning group managers designate which properties are required by selecting the Prompt User option on the blueprint or build profile. By default, the Confirm Machine Request page displays the literal name of the property as a required text box and does not provide any validation other than that a value has been entered.

The property dictionary allows you define characteristics of properties that are used to tailor the behavior of the request user interface…

(give the “what’s-new” guide a read if you haven’t done so already)

You use the Property Dictionary function to build a Property Definition, which is the logic behind each action. Property definitions can be created for custom properties that require user input during the service request process and, for example, will trigger an external action (e.g. workflow) to complete a given set of tasks that respond back to vCAC when completed. Can you say “Software-Defined Datacenter”?

Some additional uses of the Property Dictionary include:

  • Allowing users to select specific resources that are otherwise hidden (e.g. overriding resource reservation policies to allow users to select a specific datastore, network, or cluster)
  • Creating property names and descriptions that make sense and can be read in plain english
  • Adding pop-up tool tips to explain each required item
  • Customizing the order in which required fields are displayed
  • Making an otherwise required field no longer required

You can also create property definition that utilize vCAC’s built-in reserved custom properties, which can take the user’s input (or selection) and apply that to the existing custom property as an answer file of sorts. For example, you can define a drop-down menu that lists all the networks available to a given Provisioning Group (via that group’s resource reservation) and allow the user to select a preferred network. Once the request is approved, that application is deployed to the selected network. You can also build relationships between parent and child definitions to provide a more dynamic and nested functionality — the user selects a datacenter (“Datacenter A”, parent) and, based on that selection, only appropriate networks (“NetA”, “NetB”, “NetC”, children) become available. The result is an application that gets deployed to Datacenter A using Network B. Throw a storage selection option in there with the same Datacenter relationship rule and now you’ve got a fine balance of policy-based controls and a dynamic user-experience.

Sounds like a good use case to me! — my next post will provide detailed configuration steps for enabling this exact scenario.  Stay tuned…

++++
@virtualjad

Assigning permissions to any Active Directory user with administrator credentials on vCenter Server fails (2007018)

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für Assigning permissions to any Active Directory user with administrator credentials on vCenter Server fails (2007018)
Mrz 302013
 
· Adding permissions to the Active directory user with administrator credentials at the datacenter or cluster level in the vCenter... Published: 3/29/13

-- Delivered by Feed43 service

[Archived] Suppressing the ESXi Summary tab message: The Local Tech Support Mode for the host has been enabled (2013657)

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für [Archived] Suppressing the ESXi Summary tab message: The Local Tech Support Mode for the host has been enabled (2013657)
Mrz 302013
 
After enabling SSH on an ESXi host, this banner displays on the Summary tab for the ESXi host   The Local Tech Support Mode for... Published: 3/29/13

-- Delivered by Feed43 service

vSphere PowerCLI Blog: VDS Export/Import with PowerCLI

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für vSphere PowerCLI Blog: VDS Export/Import with PowerCLI
Mrz 292013
 

One of the great new features introduced in vSphere 5.1 was the ability to export and import the configuration of your vSphere Distributed Switch (VDS) and port groups to a file.

This gives you a quick restore method in case of issues or misconfigurations and also allows you to copy the entire VDS or port group configuration to a new VDS.  This feature is detailed by this VMware KB and is available via the vSphere Web Client, below you can see how we would do this via the web client:

image

Exporting the configuration with PowerCLI

With the introduction of the VDS cmdlets in PowerCLI 5.1 R2 we can also automate this process using the Export-VDSwitch and

Export-VDPortGroup cmdlets, the following examples show how we might do this:

SNAGHTML4564272

We can also choose to backup each port group configuration individually, the following example shows how to do this for a single port group:

SNAGHTML45b9f51

But what if we wanted to back up all our port groups for that VDS individually, we can easily achieve this with the following:

SNAGHTML4602062

The code used for this example is as follows:

Get-VDSwitch -Name VDS-01 | Get-VDPortgroup | Foreach {
Export-VDPortGroup -VDPortGroup $_ -Description “Backup of $($_.Name) PG” -Destination “C:\Backups\$($_.Name).Zip”
}

Importing the configuration with PowerCLI

Now we have the exported configuration the next step is to look at how we could import these files again back into vCenter if an issue happened.  Of course each file could be imported from the vSphere web client individually but this post will show you how to do this with PowerCLI.

image

The code used in this example is as follows:

Get-ChildItem “C:\Backups\PG” | Foreach {
New-VDPortgroup -VDSwitch NewVDS -Name “New$($_.BaseName)” -BackupPath $_.FullName
}

As you can see from the below, we now have two DVS which have the same configuration:

image

Conclusion

Backing up the VDS and port group configuration can not only give you a backup in case of emergency but can also be useful for creating new switches with the same configuration, one use case for example is moving the VDS configuration between vCenters, like test & dev to Production.  The above examples show you how to automate this process with PowerCLI.

Don’t forget, the backup script could easily be scheduled to export on a weekly basis so that you have the latest configuration and multiple points in time to go back to.

Check out other new features in PowerCLI 5.1 R2 here

VMware vCloud Blog: VMware Cloud Evaluation and vCloud Hybrid Service – What’s The Difference?

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für VMware vCloud Blog: VMware Cloud Evaluation and vCloud Hybrid Service – What’s The Difference?
Mrz 292013
 

With all the buzz around VMware’s various cloud solutions, we understand it can be difficult to keep track of what’s out there. Here’s a cheat sheet to help you pick the option that’s best for you and your organization’s needs.

The VMware Cloud Evaluation (formerly known as the vCloud Service Evaluation) was launched in 2012 and has been running in beta for the past 6 months. This sandbox environment is built on top of vCloud Director and VMware vSphere and is not a representation of a specific service provider offering.  The purpose of the VMware Cloud Evaluation is to let you explore the capabilities of a VMware-based hybrid cloud and experience the ease of moving workloads without commitment. The VMware Cloud Evaluation is not a production-ready environment.

The vCloud Hybrid Service, which will launch later this year, will be an enterprise-class, production ready service. Because VMware believes the underpinning for cloud is the Software-Defined Data Center (SDDC), VMware will give you, our users, the ability to extend the architecture you’re accustomed to in your private cloud out into the public cloud.

So, if you’re still in the process of learning about the value of hybrid cloud and the capabilities of a VMware-based cloud, the VMware Cloud Evaluation is the way to go. Through the VMware Cloud Evaluation, you get a non-production sandbox where you can move VMware workloads between clouds.

We hope this clears up the differences between the VMware Cloud Evaluation and vCloud Hybrid Service. Have another question to ask? Feel free to tweet us at @vCloud or @VMwareSP, and follow us for future updates.

VMware Education & Certification Blog: Video Overview of VMware Data Center Virtualization Certifications

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für VMware Education & Certification Blog: Video Overview of VMware Data Center Virtualization Certifications
Mrz 292013
 

Undeleeb Din, VMware Enablement Lead for the VMware Certified Instructor Program, details the VMware Data Center Virtualization Certification programs.

Removing a host from a vDS fails with errors when vmknics or vnics are connected to vDS ports (1034781)

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für Removing a host from a vDS fails with errors when vmknics or vnics are connected to vDS ports (1034781)
Mrz 292013
 
Summary You see errors if you try to remove a host from a virtual distributed switch (vDS) when vmknics or virtual machine vnics are connected to... Published: 3/29/13

-- Delivered by Feed43 service

VDP Core Services do not start 30 days after deployment (2042652)

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für VDP Core Services do not start 30 days after deployment (2042652)
Mrz 292013
 
· vSphere Data Protection(VDP) core services refuse to start even after a reboot. · 30 days have passed since the VDP appliance deployment. In the dpnctl.log you see messages similar... Published: 3/29/13

-- Delivered by Feed43 service

Support for logical volume sizes larger than 2TB (2033401)

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für Support for logical volume sizes larger than 2TB (2033401)
Mrz 292013
 
In vSphere 5.1, you can utilize local logical volumes larger than 2TB by using some inbox drivers. Inbox drivers are included with ESXi when you perform the initial installation. The... Published: 3/29/13

-- Delivered by Feed43 service

ESX/ESXi host keeps disconnecting and reconnecting when heartbeats are not received by vCenter Server (1005757)

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für ESX/ESXi host keeps disconnecting and reconnecting when heartbeats are not received by vCenter Server (1005757)
Mrz 292013
 
· ESX/ESXi hosts disconnects frequently · vCenter Server shows ESX/ESXi host(s) as not responding · ESX/ESXi host not responding in... Published: 3/29/13

-- Delivered by Feed43 service

Installer window is not displayed properly during RHEL 6.1 and CentOS 6.3 guest operating system installation, missing N…

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für Installer window is not displayed properly during RHEL 6.1 and CentOS 6.3 guest operating system installation, missing N…
Mrz 292013
 
This issue has been resolved in ESX 4.1 Update 2, released October 27 2011. To download this version, see... Published: 3/28/13

-- Delivered by Feed43 service

Querying objects serialized with ReflectionBasedAutoSerializer from gfsh on GemFire 6.6.x fails with the error: not dese…

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für Querying objects serialized with ReflectionBasedAutoSerializer from gfsh on GemFire 6.6.x fails with the error: not dese…
Mrz 292013
 
· Cannot query objects serialized with ReflectionBasedAutoSerializer... Published: 3/28/13

-- Delivered by Feed43 service

VMware ESXi 5.0, Patch ESXi500-201303401-BG: Updates esx-base (2044374)

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für VMware ESXi 5.0, Patch ESXi500-201303401-BG: Updates esx-base (2044374)
Mrz 292013
 
Release date: March 28, 2013 Patch Category Bug Fix Patch Severity Critical Build For build information, see KB 2044373. Host Reboot Required Yes Virtual Machine Migration or... Published: 3/28/13

-- Delivered by Feed43 service