VMworld

VMworld US 2017 Monday Keynote Highlights

vmw2017sqMonday 28th August 2017 and VMworld has officially kicked off and Monday morning in Las Vegas saw the first keynote of the US event. Whilst I’m waiting patiently for my trip to the European leg in two weeks time I was able to keep track as the Keynotes are live streamed for remote viewers– here’s my highlights from this session.

Continue reading


Advert:

Exploring Tags and PowerCLI

Tags were added to vSphere back in version 5.1 so they’re not a new feature but are still often overlooked. One or more tags can be applied to items (entities) in the inventory and then used as a search term or metadata not only in the GUI but also through tools such as PowerCLI. This post covers a few useful cmdlets for working with tags.

CmdLets

There are a number of cmdlets which deal with tags, here’s a quick list using Get-Command.

image

Notice that there’s three Nouns used here- “Tag” represents the tag itself. “TagAssignment” represents a relationship between a tag and another object (for example “This VM has been assigned This (or These) tags). Finally there’s “TagCategory” which represents the category that a tag belongs to.

Getting Tags

So, what can we do with tags in PowerCLI? Well, first we can look at a list of all the tags using Get-Tag. This returns a lot of information, particularly if you have assigned tags already, so we can neaten the quick view using the PowerShell “Select” function to show just the tag name and description:

Get-Tag | Select Name, Description

Name                 Description
– –                 – – – – – –
UrlShortener         URL Shortener Service
Documents            Document Management Service
Change               Change Management Service

In this example, I’ve created three tags to represent three different services operating in my environment. We can carry on from here and find out which entities have been assigned the “Documents” tag- i.e. what VMs form the Document Management Service.

(Get-TagAssignment |
  Where {$_.Tag.Name -eq 'Documents'}).Entity


Name                 PowerState Num CPUs MemoryGB
– –                  – – – – – – – – – – – – –
DocuWebServ          PoweredOn  1        4.000

DocuDBServ           PoweredOn  2        16.000
DocuFileServ         PoweredOn  1        4.000

Or we could flip that and ask the question- “What tags does this VM have assigned?”

Get-VM "DocuWebServ" |
     Get-TagAssignment | Select Tag

Tag
– –
Documents

WebServers

Getting Bigger

As we’re using PowerCLI we can join more and more functions together and make bigger and bigger queries. For example, we can  list all VMs with their tags in a table.

Get-VM |
      Select Name,@{Name="Tags";Expression={(Get-TagAssignment -Entity $_).Tag.Name}} |
      Where {$_.Tags} |
      Format-Table - Autosize

Name         Tags
– –          – –
DocuWebServ  {Documents, WebServers}
DocuDBServ   Documents
DocuFileServ Documents
URLShort1    {UrlShortener, WebServers}
URLShort2  {UrlShortener, WebServers, TestAndDev}

This is only scratching the surface of the possibilities- by having useful metadata that lives with the VM and can be accessed programmatically we have plenty of avenues to explore in automation and reporting.

VMworld

Session Builder Now Available- VMworld Europe 2017

The Session Builder, the place where attendees can book spaces in the sessions, is now online for VMworld Europe 2017.  It’s accessed through the Content Catalog on the website.

Session Builder

Session Builder

There’s over 500 sessions to choose from and whilst not essential, booking a place on the one’s you want to see is recommended. When the doors to a session open at VMworld pre-booked attendees are let in first and only if there are any spaces left will they be filled from a queue outside the room. Don’t reserve in the Session Builder and you might miss out on some of the more popular sessions.

Although the Content Catalogue has been online for some weeks now, the Session Builder is the first time we will see when particular sessions are. There’s a calendar feature which helps plan your days and help make sure you don’t have any timetable clashes. Continue reading

GoPro Session SD Card Comparison

When using a GoPro Session Action camera it’s important to ensure that an approved MicroSD card is used. As this short video demonstrates, this really makes a difference to the performance. Two 32GB SanDisk MicroSD Cards, the first is the “Ultra” brand and the second the “Extreme” model which is listed on the approved card list. With the “Ultra” card it takes 30 seconds from the button being pressed to the camera starting to record. This is cut to just 2 seconds when using the “Extreme” card. Continue reading