The first Fling is the brand new Cross vCenter Workload Migration Utility, previously one had to go command line to move VMs across vCenter servers but now the less CLI inclined people (or lazy people like me sometimes) can do it via a gui. This can be done within the same SSO domain but also across SSO domains. WIlliam Lam also wrote a good post about it.
Key Features
Completely UI-driven workflow for VM migration
Provides REST API for managing migration operations
Works with vCenter not a part of the same SSO domain
Support for batch migration of multiple VMs in parallel
Supports both live as well as cold migration of VMs
Performs storage vMotion, not requiring shared storage
Flexible network mappings between source and destination sites
[sta_anchor id=”sios” unsan=”SiOS” /]
Simple Natural Language Processing for iOS
To be honest: i have no clue what Simple Natural Language Processing for iOS is for, looks like something to use in your code to talk to the voice processing in iOS without cost and privacy concerns for using cloud based solutions.
Simple Natural Language Processing for iOS provides developers with a convenient framework for integrating Natural Language Processing (NLP) into their iOS Apps. When the developer provides a set of training phrases, Simple NLP will use Naïve Bayes Classification to predict the intent of an unfamiliar phrase and extract parameters such as a person’s name and dates.
While numerous cloud based solutions already exist to provide similar functionality, they may have associated cost and privacy concerns. With Simple NLP for iOS, your data won’t be sent to a server or cloud service for prediction. All NLP functionality is constrained to the device and processed natively.
We hope that you will find this Fling easy to use and beneficial to your project.
[sta_anchor id=”osot” unsan=”OSOT” /]
VMware OS Optimization Tool
Just a short update for the OSOT this month, more tools have been coming out that can do this but this one is stall my favorite OS Optimizer.
Changelog
December 14, 2017
Template update. Detailed change log for each template is in the online version of each template (accessed from Public Templates tab)
[sta_anchor id=”appvol” /]
App Volumes Backup Utility
As far as I know this is still the only way to backup those Appstacks and writable volumes and using a fling for that might be a risk.
Changelog
Version 2.0
Updated to use only PowerCLI to connect to vCenter/vSphere. Previous versions used the vSphere SOAP API along with PowerCLI which locked the application to a specific version of PowerCLI. Versions 2.0 and later of this application will work with any version of PowerCLI (6.0 and later). This change improves the speed of enumerating vCenter items
Added additional checks for PowerCLI and PowerShell
Additional optimizations and minor bug fixes
[sta_anchor id=”vspherehtml5″ /]
vSphere HTML5 Web Client
Like always the HTML5 Web Client received multiple updates, two to be exactly in december.
Changelog
Fling 3.31 – Build 7343373
New Features
Performance charts counter selection can be persisted. The counter selection are persisted per object type. The data is persisted in browser local storage.
Bug Fixes
Resume fault tolerance in manual DRS cluster will show DRS recommendations.
By now we should all be using the embedded host Client unless you are forced by greater powers to run on some ancient version of ESXi.
Version 1.24.0 build 7119706 (Fling 19) – November 13, 2017
Minor features and bugfixes
GeneralFix failure to deploy OVF/OVA image with disks attached to multiple disk controllers
Address race condition when adding new Network Adapter to virtual machine
Allow datastore browser to browse VVOL datastores
Address timeout issue in datastore browser when client receives unknown datatypes from host
Address issue disabling autostart for a VM
Allow downloading of flat VMDK files in datastore browser
Show the correct VMware Tools version string in VM summary
Show pager in VM editor when VM has many hard disks
Support OVF properties with pre-defined values, showing dropdowns
Allow modifications of root user’s permissions
Support for selecting dependent PCI devices when enabling passthrough
Other minor bug fixes
vSphere HTML5 Web Client
Like always the HTML5 Web Client received multiple updates in November so the changelog is rather long.
Fling 3.29 – Build 7157335
New Features
Configure traffic filtering and marking rules on distributed port groups
Export and import distributed switches and distributed port groups
Improvements
Configure the policies of distributed port groups inside the New Distributed Port Group wizard
Bug Fixes
Fixed an error when trying to edit the settings of VMs with failed installation or update of the VM tools
Fling 3.28 – Build 7110681
New Features
Configure advanced CPU Identification Mask
Select PVRDMA adapter type for a VM network
Improvements
Thanks to the fling users who gave the steps to replace the certificates for FAMI UI running at port 5490, added these instructions to v4 of “Create a new certificate for a HTML5 client fling” document
Bug Fixes
Licensing views should be visible for 6.0 VC/PSCs
Fling 3.27 – Build 7055108
New Features
Popout the Datastore File browser
License Details
View License VC assets (Read-only)
Improvements
Set license name in the Add License workflow
Known Issues
License UI might not work against 6.0 VCs, in particular Windows VCs/PSCs.
If you see error in the vSphere Client (HTML5) similar to this – ‘getHostIsAssignLicenseActionAvailable’, then you can resolve this error by following below steps:
If vSphere Client (HTML5) Fling appliance is pointed to a vCenter Server Appliance (VCSA), then you should reregister the fling appliance by logging in to FAMI UI (or by running the config-ui CLI). Refer the instructions document to follow the steps for configuring Fling appliance for VCSA.
If vSphere Client (HTML5) Fling appliance is pointed to a Windows vCenter Server, then reregister by downloading latest server-configure.bat from the Download section of this website. Refer the instructions document to follow the steps for configuring Fling appliance for Windows vCenter Server.
VMFork for pyVmomi
This fling has been around for a while and if you ever wanted to fork your VM’s without having to study PowerCLi then this one is for you. It has a warning that it only supports vSphere 6.0 and 6.5 and no newer releases but hey there are none yet so please use it if you like.
Changelog
Version 1.0.3
Fixed a bug that prevented CreateChildSpec from being referenced in versions of 6.5 of pyVmomi
Updated the requirement to include pyVmomi 6.5 only, up from 6.0, due to a dependency issue
Version 1.0.2
Bug fixes & Improvements
Desktop Watermark
Want to make sure screenshots will show that it is your Image being used then the Desktop Watermark fling can be the tool of choice. It can be used for auditing or exhibition purposes or any other way you like. And yes that type in the changelog is a straight copy/paste from the site.
Changelog
Build 1027
Addition
Password protection for the configuration & uninstllation
Cross vCenter VM Mobility – CLI
Ever needed to migrate or clones VM’s form one vCenter to the other while there they are not linked? then the Cross vCenter VM Mobility – CLI might be a good tool in your toolbox.
Changelog
Version 1.4
While migrating multiple vms with destination network option, only one vm used to get migrated.This issue has been fixed.
HCIBench
Need to benchmark a Hyperconverged Infrastructure? VDbench is one of the tools to use and VMware labs create the HCIBench to automate this tool. It received a couple of updates since my last post about it.
Changelog
Version 1.6.5.1
Enhanced IP segment selection
Set open file limit to 4096
Updated vm-tools to the latest version
Bug fixes
Version 1.6.5
Enhanced 95th percentile calculation.
Added Curve and Multi Run calculation.
Added SSH Service validation.
Replaced DHCP Service with Static IP Service.
Added IP conflict check.
Fixed bunch of bugs.
Change the default client VM RAM from 4GB to 8GB
Horizon Toolbox
Being an EUC guy myself this is one of my favorites. The Horizon Toolbox adds some very good tools for servicedesk and operations employees.
“Listen very carefully; I shall say this only once.”
Even after years this for me is one of the best quotes from any comedy series. Allo Allo always was so much fun to watch even though it looks pregistoric these days in video quality. For the people who don’t know Allo Allo please check out Michell from the resistance saying it herself over here. This months version of this post has two new flings and two updated ones. As almost always the vSphere HTML5 Web Client makes an appearance with the Horizon Toolbox as secondant, as you can see they have dropped the version number for the toolbox. New ones are the Blockchain on vSphere and the Desktop Watermark.
[sta_anchor id=”new” unsan=”New” /]
New Flings
[sta_anchor id=”watermark” unsan=”Watermark” /]
Desktop Watermark
Desktop Watermark is a Windows native application that adds a watermark to a desktop for Virtual Desktop Infrastructure (VDI) auditing or exhibition purposes. A watermark has the ability to be visible or invisible. Invisible watermarks, seen in the screenshot, can be revealed by a tool bundled in the Fling. The tool should be configured by an administrator and enforced on the end user’s desktop.
Changelog
Build 1019
Issue Fixes
Windows 10 – Installation failure on some machine with domain account
Issue fix – Windows 10 – During uninstallation the service is not automatically stopped
[sta_anchor id=”blockchain” unsan=”Blockchain” /]
Blockchain on vSphere
Blockchain is an emerging technology which has been gaining traction globally throughout the past few years. Industries like finance, logistics, and IoT are actively working on research and pilot projects using blockchain.
Fabric is a sub project under Hyperledger (a LinuxFoundation project), it is probably the most mature blockchain solution available now for business use cases.
The mission of Blockchain on vSphere is to provide an end-to-end blockchain solution, from IaaS, to Blockchain platform and Blockchain applications. It allows organizations to quickly collaborate and evaluate the new business models and processes by using the decentralized blockchain technology.
By using BoV, blockchain developers can quickly set up an environment to build and test their blockchain applications.
Changelog
Not yet
[sta_anchor id=”updated” unsan=”Updated” /]
Updated Flings
[sta_anchor id=”toolbox” unsan=”Toolbox” /]
Horizon Toolbox
Good old Horizon toolbox as said dropped its version number but continues to give you some features that the regular View Admin doesn’t have. Auditing on client versions, snapshots, usage and others are the great additions this tool gives.
Changelog
2017 Oct 12
Auditing – Clients are enhanced
Horizon 7.3.1 is supported
Some bugs are fixed
[sta_anchor id=”webclient” /]
vSphere HTML5 Web Client
What do I need to say about this one? Just update you’re existing version and enjoy this almost perfect vSphere client.
Changelog
Fling 3.26 – Build 6984758
New Features
License Products Details
Add New License action
Improvements
Enhanced the performance of the Datastore File Browser
Known Issues
If you see error in the vSphere Client (HTML5) similar to this – ‘getHostIsAssignLicenseActionAvailable’, then you can resolve this error by following below steps:
If vSphere Client (HTML5) Fling appliance is pointed to a vCenter Server Appliance (VCSA), then you should reregister the fling appliance by logging in to FAMI UI (or by running the config-ui CLI). Refer the instructions document to follow the steps for configuring Fling appliance for VCSA.
If vSphere Client (HTML5) Fling appliance is pointed to a Windows vCenter Server, then reregister by downloading latest server-configure.bat from the Download section of this website. Refer the instructions document to follow the steps for configuring Fling appliance for Windows vCenter Server.
Fling 3.25 – Build 6929189
New Features
Edit the properties and policies of distributed ports
Licenses list
License Products list (Read-only)
Rename and Remove License action
You can now deploy VM from a VM template by choosing New VM wizard > Deploy from template > Data center tab
Improvements
Rescan storage action is done in parallel when is executed on Cluster or Datacenter level
Replication groups can be managed through Edit VM Storage Policy action
Showing the number of pending upload sessions and size uploaded in Datastore File Browser
Bug Fixes
Template icon missing issue is resolved
After creating some Tags or accessing the Content Library and leaving the H5 client idle, the UI starts to spin and fails to display requested info. The following error starts to appear constantly: “The query execution timed out because of a back-end data adapter ‘com.vmware.vise.data.adapters.core.DataServiceCoreAdapter’”. This bug is fixed in this release and the time out error should no longer appear.
Known Issues
If you see error in the vSphere Client (HTML5) similar to this – ‘getHostIsAssignLicenseActionAvailable’, then you can resolve this error by following below steps:
If vSphere Client (HTML5) Fling appliance is pointed to a vCenter Server Appliance (VCSA), then you should reregister the fling appliance by logging in to FAMI UI (or by running the config-ui CLI). Refer the instructions document to follow the steps for configuring Fling appliance for VCSA.
If vSphere Client (HTML5) Fling appliance is pointed to a Windows vCenter Server, then reregister by downloading latest server-configure.bat from the Download section of this website. Refer the instructions document to follow the steps for configuring Fling appliance for Windows vCenter Server.
Fling 3.24 – Build 6862396
New Features
Ability to customize all network properties, incl. default gateways, when applying GOS customization spec to a VM (during cloning or customizing GOS on existing VM)
Add NVMe controller for an existing VM or for a new VM
Improvements
Enhanced Compatibility details view in VM provisioning wizards
Known Issues
Fling appliances pointed to vCenter 6.5 seems to have timeout issues. These issues are being investigated and are not related to fling itself. In some cases, restart the Fling Appliance could solve this problem
If you see error in the vSphere Client (HTML5) similar to this – ‘getHostIsAssignLicenseActionAvailable’, then you can resolve this error by following below steps:
If vSphere Client (HTML5) Fling appliance is pointed to a vCenter Server Appliance (VCSA), then you should reregister the fling appliance by logging in to FAMI UI (or by running the config-ui CLI). Refer the instructions document to follow the steps for configuring Fling appliance for VCSA.
If vSphere Client (HTML5) Fling appliance is pointed to a Windows vCenter Server, then reregister by downloading latest server-configure.bat from the Download section of this website. Refer the instructions document to follow the steps for configuring Fling appliance for Windows vCenter Server.
So last week there where a couple of posts on vmtn about people wanting to automatically removing or refreshing faulty Horizon desktops. With faulty I mean desktops in Agent Unreachable or in error state or whatever status are available. Since this was something i had been investigating anyway I decided to make a script for it that had separate menu’s for the status the desktop needs to be and to pick the desktop to be deleted. The latter part can be rebuild to do all those desktops at once in case something breaks pretty badly during a recompose of the pool.
The largest part of the script is for creating the menu’s. Since the amount of returned desktops is variable and names differ it’s not possible to use a static menu. Instead I have used a menu structure created by Roman Gelman and that can be found inside this script on github. The part that gets things done i have listed below. The $spec array doesn’t need to be created but it is required in the API call to remove the desktop, Powershell assumes everything true by default when it’s empty but it just has to be called otherwise you will get a big fat red error. To remove multiple desktops at once machine_deletemachines needs to be used with an array filled with desktop id’s and $spec.
$spec = New-Object VMware.Hv.machinedeletespec
$spec.deleteFromDisk=$TRUE
$desktops=@()
$desktops=get-hvmachine -state $targetstate
$selectdesktop=@()
foreach ($desktop in $desktops){
$selectdesktop+= New-Object PSObject -Property @{"Name" = $desktop.base.name
"ID" = $desktop.id;
}
}
$selectdesktop=write-menu -menu ($desktops.base.name) -header "Select the desktop you want to remove"
$removedesktop=$desktops | where {$_.base.name -eq $selectdesktop}
try {
$services1.machine.machine_delete($removedesktop.id, $spec)
#$services1.machine.machine_reset($removedesktop.id, $spec)
write-host "$selectdesktop will be marked for deletion" -ForegroundColor Green
}
catch {
write-host "Error deleting $selectdesktop" -ForegroundColor Red
}
After the comment below I decided to create the script to delete all desktops in a certain state. It’s a variation of the script above, just a bit shorter. Again it can be found on Github. Please be aware that due to a limitation in get-hvmachine both these scripts will only handle 1000 desktops at a time. It is safe to just repeat the script to do the rest.
So my customer asked for a solution to add local users on ESXi hosts that are in lockdown mode. A side quest was to add these to the lockdown exception list. The use case for this is app volumes, they want to be able to keep using them in case the vCenter server goes down. The trick to this that you need to talk to two different viserver entities. The vCenter server and the local ESXi host since you can add those users via vCenter.
Offcourse PowerCLI to the rescue! I decided to do everything in a try catch construction for some error handling and to give some visual output. These cab be stripped if you want but i like some feedback.
Some encryption stuff in here but that’s because I dislike having password visible as plain tekst. This first test if the account exists and then sets the password and description. If the user doesn’t exist it will create the user for you.
This gives the newly created or edited user the admin role. If you want to use a custom role this could be added to the script, we decided to go for the admin role since app volumes needs an awful lot of rights anyway. In that case i would recommend to use a variable for role name and create it per host using new-VIrole
So one of the things still missing in the Horizon View vCheck was a plugin that simply gives an overview of all Pools with their status. In short what I am talking about is a translation from this view:
Although this sounds easy there where a lot of challenges for this one. First of all there are three separate pool types: Automated,Manual and RDS and all of them have subtypes like VIEW_COMPOSER,VIRTUAL_CENTER,FULL_CLONES,INSTANT_CLONE_ENGINE,UNMANAGED or RDS and not all of these subtypes are available for all pool types. This gives a lot of options that need to be separated for the pool types. Also the VIRTUAL_CENTER subtype is used for both manually added desktops that reside on a vSphere environment and for an automatic pool creating full clones. The FULL_CLONES subtype I haven’t been able to create in my lab yet.
Further outputs like true, false or any of the subtypes above weren’t clear enough for me to use as output. For this I learned a new trick in my book called switch.
Some documentation for the switch command can be found here but what it in short does is match the variable u use as input and sets or gives some output based on that. Also it can do a comparison as in above example so I was able to distinguish between Full Clones and Manually Added vCenter Managed Desktops. One thing to be aware of is that it will go trough the complete list. At first I had the two lines with the comparison in it at the top but that got overwritten since below it VIRTUAL_CENTER was recognized and the $sourceoutput would be based on that.
The Automated and Manual pools use a very similar set of code, the biggest difference is that one gets the data from the AutomatedDesktopData propertywhile the other gets it from the manualdesktopdata property.
And when done I ended up with the following script. As usual it might get some improvements or I need to squash some bug so better check the latest version on Github.
Day three, the last one, was a short day for me this year. I had an appointment with the VMware Design studio at 8am but the gates didn’t open until 8 as well and I had to drop my suitcase first so I rescheduled it to 9.15 while talking to the guy that I would have the session with! After this I decided to go to the vmtn area to finish up my powerpoint for the vBrownbag I would be doing by noon. I kept changing and changing stuf and somehow managed to remove the one slide you need when generating output: the output itself. Also during the presentation I never got into a good flow so I wasn’t happy with the end result. After this there where some rumors about horrible queues at the airport so I scrambled to get there but in the end the line to drop off my suitcase took longer then security.
Holy Guacamole (say that loud, sounds good) what a rush VMworld has been so far for me. After the keynote I was one of the guests on the vExpert daily show which is just a chat about VMworld so far,w hat you expect and any new stuff. The most fun we had was with my answer on my favorite taste of icecream: smurfs.
I did a couple of breakouts today. Both have been about Horizon, one was a good overview about the new stuf to expect from VMware and the other a real deep dive into the Blast Extreme protocol. That one helped me a lot about understanding what happens with it. Later in the afternoon I did a quick hands on lab and a couple of vBrownbag sessions. This was before getting a tour at the Mare Nostrum Supercomputer site. This is the 13th fastest in the world and it was really nice to see how this is build. An even more fun part where the old systems they used in the past over there. I will add some pictures of that in a couple of days.
The evening it was time for the Kaiser Chiefs but after a couple of songs and more beers I decided to tap out and head back to the hotel. Stepcount for the day was 16077.
Finally the real event has begun, but before the gates opened I was already on my way to a 7am vbreakfast in La Vid. This is a small cafe just opposite of the Venue where VMworld is being held. The event was sponsored by my good friends of Runecast. For lots of people this was way to early to get up let alone to look alive or being awake. After this Hans and I managed to cross the road dry which was quite a feat because we’ve already had some pretty bad rain.
Since being in a huge room listening to keynotes isn’t my thing i decided to watch it from the vmtn bloggers area. Can’t say a lot of news was announced but it was very cool to see Pat controlling a virtual sddc in a virtual way using a virtual reality headset. After this it was time for me to do the first quick swag run on the solutions exchange to get at least the backpack only the first 100 customers would be receiving. Add a couple of shirts to that and I was off to the Inner Circle session and lunch. It wasn’t a slaughterhouse like last year but they where getting some good feedback gain on how the could and should VMware’s services. I think that there where about 60 customers and partners in the room with at least 20 people from VMware themselves who could answer their questions. It even lead to VMware people talking to other VMware people to collaborate on improvements. Some of these things should have happened years ago but hopefully things will keep getting improved.
Watching some vbrownbag sessions in the vmtn area I decided to skip my first real breakout session but did go to the other one I had scheduled. This was a live whiteboard session by Adam Eckerle and Emad Younis on how to design you’re sso domain and what possible pitfalls are. This was a really interesting session and I loved the fact that they used a live whiteboard (using an ipad) instead of powerpoint.
After this it was time to finish my first and only day of swag hunting this year. I ended up with some lego figures, fidget spinners, t-shirts, bottles and loads more as you can see in the picture below.
while being really really tired I just had to go to the benelux & vExpert parties so Hans and I took the metro, another metro and finally the lightrail to go to Cafe Del Mar club where both where being held. The vExpert one was really low key and without music so talking to people was really easy. The benelux one was more a real party with loud music and everything. Too bad ir was raining so we couldn’t use the outside area. We decided to head back early to actually get some sleep. At the end of the day I ended up with 25000 steps of which 5000 where from walking back from the Hackathon during the night.
Oooooh what a rush! is a good way to describe monday aka day 1 of VMworld 2017. I started out by waking up early after a night of bad sleep and not feeling well the night before BUT i really felt refreshed and good so I was totally ready to head out for my first ever vcap deploy exam (vcap6-dtm deploy). I failed it with 228 where 300 is required but afterwards I did feel good about it any now have the general idea on how these exams actually go. As others have said before time is a big issue but next time I will be even more prepared for that so I am confident I am going to ace it.
In the afternoon I did one of three scheduled UX feedback sessions for the VMware Design studio. These sessions are not on the regular schedule but you had to know people that knew people who could send out invites, something the vExpert slack channel managed to do! In these sessions they show you mockups of possible User interfaces and you are asked to think out loud about what you would expect buttons to do or where you could find something. I already did a webex session for this in the spring for the html5 client and they really appreciate whatever you say.
The end at the venue for me was a workshop on Cloud foundation where I seemed to be the only one having major performance issues. This made the experience not that good for me but I still got a good general impression of the product.
So the real rush was the Hackathon in the evening. The event was organised but VMware Code was something I was really looking forward to. I ended up with a Dutch team with Hans Kraaijeveld, Ivan de Mes, Niels GeursenPascal van de Bor and myself. Our target for the evening was having fun, learning new stuff, drink beers and to add some new plugins to the Horizon View vCheck.
One of the scoring points was the amount of empty beer bottles on your table. We drank quite a few of them but they kept cleaning them out so we ended up with this table at the end. That might have cost us some points! I think for the complete team we actually managed all of our goals but because we had major issues getting an environment up and running we ended up creating only two extra plugins and fixed some issues in other ones. We even did two Github pull requests by Pascal and Niels for which Niels actually had to create his account first.
In the end we had a 90 second time slot to present about what we archived. We didn’t do any fancy powerpoint crap for this and just showed the result from the plugins we added to the check and telling a bit about it. Sadly we didn’t get first, second or third place but I did win a judges spot price in the form of an Amazon Echo Dot. That might have been because me wearing my UX design studio shirt and one of the judges being on that VMware team OR it might have been our bribes in the form of stroopwafels. This event I think might be the very best thing I do this VMworld and it hadn’t even really started!
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here:
Cookie Policy