VMware vSphere Blog: Which Template Did That vApp Get Deployed From In vCloud Director?

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für VMware vSphere Blog: Which Template Did That vApp Get Deployed From In vCloud Director?
Jan 312013
 

A common question that I have seen asked by customers is how to correlate a vApp back to it’s original vApp Template in vCloud Director. The primary driver for this information is usually for patching and/or application management but it can also serve other use cases such as application license auditing as well as billing and showback. In prior releases of vCloud Director, identifying this relationship meant monitoring the deployment task which contains the reference to the source vApp Template. This information is usually captured as part of the provisioning process through the use of a custom portal or deployment script. If this information is not captured prior to the task completing, the vApp Template reference would be lost. In vCloud Director 5.1, we have simplified this by allowing you now to retrieve the source vApp Template for any deployed vApp at any point in time.

This is accomplished by using a new vCloud Query Service API type called adminEventCBM as part of the vCloud 5.1 API. I have written about the vCloud Query Service API in the past which is extremely useful for quickly finding vCloud Director objects, you can find more details by referring to this article here.

Note: If you are not familiar with the vCloud API, take a look here and here for an introduction on using the vCloud API.

In the example below, I am demonstrating the API by using the Firefox RESTClient as it makes the output more legible. To lookup the source vApp Template for a given vApp, you will need perform a GET operation on the following URL below and substituting the name of your vApp for the entityName property:

https://VCD-IPADDRESS/api/query?type=adminEventCBM&filter=(eventType==*vapp/create;entityName==vCOScripting)

The eventType that we are interested in is com/vmware/vcloud/event/vapp/create and the notation in the filter is just a shorthand for anything that ends with vapp/create and we should just get back one result.

Here is a screenshot of the expected output for our vApp called vCOScripting:

Note: Make sure you set Accept header to application/*+xml;version=5.1 since this API is only available in vCloud Director 5.1.

The information we are looking for is contained in the “details” property which may look a bit complex at first, but is actually structured data formatted in JSON. If we save the details section into a file:

{“properties”:{“currentContext…………com.vmware.vcloud”,”externalEntity”:null}

We can make the output a bit more legiable by piping the output to the following python command for decoding: cat <your-file> | python -m json.tool

Here is a screenshot of the output:

The property that we are interested is called vapp.sourceVmContainer.ref which includes both the UUID and name of the original vApp Template that the vApp was cloned from. In our example, our vCOScripting vApp was deployed from a vApp Template called Debian-6.0.4-x32 located in our vCloud Director Catalog.

You can also find this information by using the vCloud UI, but you will need to sort through the Events log for the specific vApp and look for the “creation” event. Below is a screenshot displaying the same information as we saw from the vCloud API:

Another option to make this easily visible through the vCloud UI is to leverage the vCloud Custom Metadata and have a script that will automatically extract the source vApp Template and store that in a custom metadata entry which can then be seen by users when logging into the vCloud UI.

In addition to the new event type mentioned in the above article, there are other new event types as well as support for numeric comparison operations (<,>,<=,>=) which are all new enhancements to the vCloud Query Service found in the new vCloud 5.1 API.

Get notification of new blog postings and more by following VMware Automation on Twitter:  @VMWAutomation

VMware Education & Certification Blog: Vidcast: vSphere 5.0 Configuration Tips for Digital Storage

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für VMware Education & Certification Blog: Vidcast: vSphere 5.0 Configuration Tips for Digital Storage
Jan 312013
 

In this vidcast from VMware Press, Storage Design and Implementation in VMware vSphere 5.0 author Mostafa Khalil, VCDX, provides tips for configuring digital storage.

VMware Support Insider: Corrupted vmdk files?

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für VMware Support Insider: Corrupted vmdk files?
Jan 312013
 

Some of the Support Requests our Support Engineers deal with for both VMware Fusion and Workstation are data loss and vmdk (virtual hard-drive) issues with customer virtual machines. Issues vary from broken snapshot chains, deleted child or parent vmdk files, corrupt vmdk files, or a file level corruption for virtual machine files. Corruption is not taken lightly by anyone who experiences it, and as well they shouldn’t. It’s a punishing event when it happens.

In some of these Support Requests, we are unable to recover the lost files for the end user; files have been permanently deleted or corrupted.

We continue to discover that users have the (misguided) perception that taking regular snapshots can help them if data loss occurs. Unfortunately, this could not be further from the truth. Snapshots files are located on your physical machine’s physical disk and are subject to the same risk of file level corruption which can happen to any file or folder on a physical machine from some unseen mishap.

So, what is the best way to insure the integrity of your virtual machines? In one word, Backups. Just as in the physical realm, backups remain the number one protection against unforseen corruption.

The following backup procedures and best practices for virtual machines is documented in the following Knowledgebase articles.

We cannot overstate this simple piece of advice. Schedule regular backups of your important virtual machines so that you have a recovery path available.

VMware vSphere Blog: Monitoring and Troubleshooting using Edge Gateway CLIs

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für VMware vSphere Blog: Monitoring and Troubleshooting using Edge Gateway CLIs
Jan 312013
 

VMware vCloud Networking and Security Edge Gateway Command Line Interface (CLI) comes in handy for monitoring and troubleshooting. CLIs can be executed by login to Edge Gateway virtual machine console from vCenter or by remote access using SSH. Currently, Edge Gateway does not support configuration CLIs to apply changes. In this blog, we are going to look at few CLIs using SSH session to Edge Gateway.

Enable SSH access to Edge Gateway by ticking the “Enable Remote Access” as shown below.

Make sure to setup Edge Gateway firewall rule to allow SSH access.

Next SSH to Edge Gateway, listing of Edge Gateway interfaces and SSH login screen are shown below.

Edge Gateway CLI commands can be broadly classified into four categories

  • Configuration view commands
  • Status/statistics commands
  • Logging commands
  • Debug/troubleshooting commands

Configuration view commands

These commands allow admin to confirm that the configuration made via vCloud Networking and Security Manager GUI / REST APIs is correctly applied on Edge Gateway. Examples: “show configuration”, “show configuration dns”, “show configuration firewall”, etc.

The configuration output is shown in JSON format. In the example below, showing load balancer configuration with load-balancing algorithm set to ROUND_ROBIN (partial output of “show configuration loadbalancer” CLI shown below).

Let’s change the load-balancing algorithm to LEAST_CONN using vCenter plug-in and re-run the CLI “show configuration loadbalancer” (partial output shown).

Status/Statistics commands

These commands help admin to monitor Edge Gateway system state and statistics. Examples: “show interface”, “show firewall”, “show ip route”, “show service dhcp”, “show service ipsec”, “show service highavailability” etc.

Output of “show service ipsec” command is shown below (partial output shown).

Logging commands

These commands help admin to monitor real-time activities of Edge Gateway services. Output of “show log follow” command is shown below (partial output shown).

Debug/Troubleshooting commands

These commands enable admin to reset system counters and troubleshoot network. Example: “clear firewall counters”, “ping”, “traceroute”, “debug packet display” etc.

Output of “debug packet display interface vNic_1” command is shown below (partial output shown).

Execute the command “list” to see the listing of all the supported Edge Gateway CLIs. Refer CLI reference guide for additional details.

Get notification of these blogs and more vCloud Networking and Security information by following me on Twitter @vCloudNetSec.

VMware Virtualization Management Blog: New Video: Deep Dive into Spring Insight’s Plugins for Spring Integration and RabbitMQ

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für VMware Virtualization Management Blog: New Video: Deep Dive into Spring Insight’s Plugins for Spring Integration and RabbitMQ
Jan 312013
 

Troubleshooting distributed applications can be tricky. That’s why many Spring developers rely on Spring Insight to help them gain visibility on the performance metrics and flow of their application’s transactions, allowing them to troubleshoot and tune their applications more effectively.

This is a great developer tool for Spring developers, but it is also extensible to incorporate the entire application.  Spring Insight uses a plug-in architecture which allows it to easily be extended to collect, correlate, and analyze performance metrics from all components of your application including default support for servletshibernate, jdbc, Apache Tomcat and tc Server, and even extending past java to include Grails support.

For the complete list of default plugins see the Core Plugin Reference list in the documentation.

Completely extensible, there are many additional plugins to explore in the Spring Insight Plugins GitHub Repository. In this 17 minute video, we will show you a deep dive of two different use cases, which use Spring Integration as well as RabbitMQ plugins both located in the GitHub repository. During the demo, we will show you two different use cases involving two different applications to illustrate:

  • How Spring Insight shows the flow of application data across applications using the Spring Integration plugin.
  • How Spring Insight allows for monitoring RabbitMQ Java client libraries at the code-level.
  • How you can monitor your application’s performance around publishing and receiving messages through RabbitMQ.
  • How to best determine how your distributed asynchronous application is performing.

Talya-gendler_80p-80px About the Author: Talya Gendler has over 8 years of experience in software development. Talya has been a member of the Spring Insight team since November 2011, and has been at VMware since May 2009. Prior to joining Insight she led the AppInsight UI team for two years. Talya received her education from the  Technion – Israel Institute of Technology, where she obtained a BSc in computer science.

Installing vCenter Single Sign-On fails with the error: Error 20010: Failed to configure LookupService (2037370)

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für Installing vCenter Single Sign-On fails with the error: Error 20010: Failed to configure LookupService (2037370)
Jan 312013
 
· Cannot install vCenter Single Sign-On (SSO) · Installing SSO for vCenter Server 5.1 fails · You see the error: Error 20010: Failed to... Published: 1/31/13

-- Delivered by Feed43 service

Swap values for virtual machines are not displayed in the esxtop „VM only“ memory view on ESXi 5.1 (2043413)

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für Swap values for virtual machines are not displayed in the esxtop „VM only“ memory view on ESXi 5.1 (2043413)
Jan 312013
 
· vSphere Client or vSphere Web Client correctly indicate host and individual VM hypervisor swapping · esxtop memory view (m) with VM only... Published: 1/31/13

-- Delivered by Feed43 service

Installing VMware Tools on a Solaris 10 64bit virtual machine fails with the error: Unable to start services for VMware …

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für Installing VMware Tools on a Solaris 10 64bit virtual machine fails with the error: Unable to start services for VMware …
Jan 312013
 
This issue occurs if the LD_LIBRARY_PATH_64 environment variable is defined in the Solaris guest operating system.... Published: 1/31/13

-- Delivered by Feed43 service

Troubleshooting Volume Shadow Copy (VSS) quiesce related issues (1007696)

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für Troubleshooting Volume Shadow Copy (VSS) quiesce related issues (1007696)
Jan 312013
 
Background Information VMware products may require file systems within a guest operating system to be quiesced prior to a snapshot operation for the purposes of backup and data... Published: 1/31/13

-- Delivered by Feed43 service

VMware Support Insider: Resizing a virtual disk in VMware Fusion

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für VMware Support Insider: Resizing a virtual disk in VMware Fusion
Jan 312013
 

Today we have a new VMware Fusion video which discusses and demonstrates the procedure for resizing a virtual disk in VMware Fusion. This video is based on VMware Knowledge Base article: Resizing a virtual disk in VMware Fusion (1020778).

The process consists of two parts:

  1. Resizing the virtual disk
  2. Extending the size of the disk partition

Before increasing the size of the virtual disk, confirm that:

  1. All snapshots have been removed
  2. The virtual machine is powered off (and not just suspended).

After following the steps to increase the size of your virtual disk, the size of the disk partition does not increase inside the guest operating system. You must follow steps related to your specific operating system to increase the size of the disk partition(s) there.

Caution: VMware strongly recommends that you back up your virtual machine before increasing the size of virtual disks. For more information, see VMware Knowledge Base article Best practices for virtual machine backup (programs and data) in VMware Fusion (1013628)

In Fusion 4.x and 5.x, a Windows XP or newer virtual machine automatically re-sizes on first boot after increasing the disk size in the virtual machine settings.

In Fusion 3.x or older, to increase the size of the disk partition in Windows XP, use one of the third-party utilities listed in VMware Knowledge Base article  Increasing the size of a disk partition (1004071)

Note: For best viewing results, ensure that the 720p HD quality is selected and view in fullscreen mode.

VROOM!: vCloud Director 5.1 Performance and Best Practices

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für VROOM!: vCloud Director 5.1 Performance and Best Practices
Jan 312013
 

VMware vCloud Director 5.1 gives enterprise organizations the ability to build secure private clouds that dramatically increase datacenter efficiency and business agility. Coupled with VMware vSphere, vCloud Director delivers cloud computing for existing datacenters by pooling virtual infrastructure resources and delivering them to users as catalog-based services.  vCloud Director 5.1 helps helps IT professionals build agile infrastructure-as-a-service (IaaS)  cloud environments that greatly accelerate the time-to-market for applications and responsiveness of IT organizations.

This white paper addresses three areas regarding vCloud Director performance:

  • vCloud Director sizing guidelines and software requirements
  • Performance characterization and best practices for key vCloud Director operations and new features
  • Best practices in improving performance and tuning vCloud Director architecture

For more details and performance tips, please refer to VMware vCloud Director 5.1 Performance and Best Practices.

Virtual machines lose network connectivity in a vCDNI network pool (2043526)

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für Virtual machines lose network connectivity in a vCDNI network pool (2043526)
Jan 312013
 
· Virtual machines in a vApp lose network connectivity  · You have recently deleted all the vCDNI network pools · After creating a new vCDNI network pool, virtual machines... Published: 1/30/13

-- Delivered by Feed43 service

Unable to launch the Help file for the VMware Toolbox UI in Korean Linux GOS (2005157)

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für Unable to launch the Help file for the VMware Toolbox UI in Korean Linux GOS (2005157)
Jan 312013
 
When using the Korean Linux GOS, you experience these symptoms: · Cannot launch the Help file in the VMware Tools Properties window · Launching the Help file in... Published: 1/30/13

-- Delivered by Feed43 service

Old jobs continually reappear in the Resque Queue in Socialcast On Premise v2 (2041773)

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für Old jobs continually reappear in the Resque Queue in Socialcast On Premise v2 (2041773)
Jan 312013
 
When observing the queue via Resque Web, you experience these symptoms:   · Queue is large, and jobs are being processed by Workers. · Queue sizes eventually... Published: 1/30/13

-- Delivered by Feed43 service

Cannot share or mention other users and groups from individual groups in Socialcast On Premise v2 (2039383)

 Allgemein, Knowledge Base, Updates, VMware, VMware Partner, VMware Virtual Infrastructure, vSphere  Kommentare deaktiviert für Cannot share or mention other users and groups from individual groups in Socialcast On Premise v2 (2039383)
Jan 312013
 
In Socialcast On Premise v2, when you type the @ symbol in a post, you experience these symptoms:  · In other groups, a drop-down list appears... Published: 1/30/13

-- Delivered by Feed43 service