Virtualization, Cloud, Infrastructure and all that stuff in-between
My ramblings on the stuff that holds it all together
VMware Roadmap NDA Session at London VMUG 19th July 2012
As you may have seen the next London VMware User Group meeting is on 19th July 2012 and is open for registration at this link.
We (the committee) are delighted that VMware will be presenting a roadmap NDA session at our meeting. It is a unique opportunity to discover what is coming from VMware in the future and a first for us!
However, as we’re privileged to have this session we have to abide by some very stringent rules and we hope you understand if you are refused entry to this session. For those that don’t meet the criteria to attend, we will have VMware experts on hand in the Thames Suite, where are sponsors are located, to meet and discuss any topics you wish to chat about. As a reminder, the entry criteria is:
• Signed, personal NDA
• Photo ID and proof of where you work
• Not working for a vendor
• Not working for a partner
• Not working for a competitor
We are really looking forward to the whole day, the agenda is another great one and has a storage bias to it, which is actually totally unintentional 🙂
See you in July!
Your London VMUG Steering Committee
Installing a PowerShell IDE on Windows Server 2008 R2
I’m sitting Thomas Lee’s PowerCamp espresso-powered PowerShell course this weekend – highly recommended, see my previous post.
I didn’t know this, being a POSH newbue, but there is a free, built-in PowerShell IDE, editor that ships with Windows Server 2008 R2, so for my labs I tend to install PowerGUI to bodge together some scripts.
Two lines of POSH and you can install the editor from PowerShell
rather than struggling with notepad.
import-module servermanager
Add-WindowsFeature PowerShell-ISE
It’s quite functional, and does the job
and it’s free/built-in.
There are other commercial editors if you need to do this on a more regular basis from your own workstation.
iTunes Match and the 380GBP data bill
Be careful out there, I have an iPhone 4s with a UK carrier (Tesco Mobile) and a 1GB data bundle on a pay-monthly contract.
I recently upgraded to iOS5 and iTunes Match – which is actually great and makes my music collection much more accessible from my devices, I found this setting the other day to see if it would let me stream iTunes content over 3G – which is did However, there is a risk to enabling this.
Whilst I fully understand how data works and roaming on/off WiFi onto 3G – read this post for more info (see picture above– settings->store, don’t set it to YES unless you are careful or have an unlimited plan)
Whilst on a WiFi connection I queued up a whole bunch of albums (probably 15-20) to download to my iPhone (Over WiFi/broadband) and left it overnight, as it no longer seems to sync with iTunes directly when you enable match on a new phone.
There would seem to have been some issue with my broadband overnight and those downloads stuttered to be fair there may have been an error message when I got to it in the morning, but certainly nothing that said – I’ll keep trying to download these, is that ok?
The next morning when I left the house (and thus my WiFi/broadband connection) it picked up a 3G signal and I can only think that it proceeded to download the rest of the stuff in the queue in the background, and ate up all my data allowance (and then some!)
Now, normally this wouldn’t be too much of an issue – later that day I got a text message from the carrier telling me I was within 100MB of my allowance – this was odd – but I reasoned maybe the streaming had used more than I thought so I decided not to do that any more. I left my phone on charge that night but didn’t use any further serious data – only to receive another message the following morning telling me that I was over my allowance and my service had been disabled.
I called the carrier – not only was my phone disabled but I had eaten through 1.6GB of mobile data, resulting in a charge of £0.60/MB for everything over 1GB – or, roughly £380, on top of my monthly £45 unlimited call/text + 1GB data bundle)!
Not happy about that really – so be careful out there, whilst enabling this setting was my choice/fault – iOS didn’t really explain what it would do in terms of queuing up the music to download when it saw the Internet again, so I was unaware of the consequences – I had assumed (logically) that it would be just for streaming music and downloading apps (within the 20MB max file size limit), which wouldn’t be a huge amount of data, but most individual album tracks from iTunes are < 20MB – and if you want to download lots of them (say 20 x (12 tracks to an album).
As a side-note for Tesco Mobile customers, they sort of suck…
- They don’t have a higher/unlimited data bundle that you can choose over 1GB
- They cannot/won’t set a lower credit-limit on your account (i.e say £100, rather than £400) to prevent the bill getting astonomical before you know about it – they can only “Network cap” your service, which essentially turns it into PAYG for anything that isn’t included in your bundle – i.e calling non-geographical numbers like 0845
- Their over-usage notification text message notification system (by their admission) is 6 hours behind their billing system – by which time on a 3G connection you’re probably way over the 100MB and into expensive £0.60/MB territory.
- If you run into this situation, the only way you can unblock your service is by physically going to an ATM or Tesco store and buying a top-up – they can only do a maximum of £30 over the phone! and apparently I need a minimum “top-up” credit of £90 for them to re-enable my service (which, to be fair will be deducted from the total bill at month-end)
- Tesco carrier-block the iOS personal hot-spot functionality of the iPhone and don’t even have a service to re-enable it.
Whilst iOS keeps tally of cellular usage in the settings, a REALLY useful feature would be a user-customizable warning in the native OS for data usage over a period – however, I suspect there is likely to be an app for that!
So, lesson learnt – I’ll be leaving that setting off – but I am seriously considering leaving Tesco Mobile and going to GiffGaff – who also use the o2 network under the covers and offer a much cheaper unlimited data tariff – I am going to see if Tesco will be lenient with their charging, it’s not really their fault but their systems don’t make it easy to avoid this situation in future without essentially making my voice plan equivalent to PAYG, by my calculations I can sell my (network unlocked) iPhone, pay off the remaining 14 month contract term and break-mostly-even – so guess it depends if they want to lose a customer over it or not.
How to set a Virtual Machine to a date in the past and make it stay there
From time to time you may have a requirement to set the time and date of a virtual machine to a date in the past, to replicate a time-sensitive production issue or to work around expiry of a temporary license key.
WARNING: DO NOT DO THIS WITH A MACHINE WITH ANY SORT OF CONNECTIVITY TO THE OUTSIDE NETWORK – you could get into a world of pain, and some applications don’t work well if you move the time around if they do some sort of internal comparison – so use at your own risk!!
In my case – I had some configuration information stored in an eval build of a product that had since expired installed inside a VM and I wanted to be able to extract it, I was unable to do this without running the application as it was in a proprietary format so I needed temporary access to that application.
The steps that worked for me are:
- Disconnect the VM network from the outside world – in my case I was using Fusion and put it on a host-only network.
- Disable any application services (SQL, etc.) to avoid confusing them too much
- Disable the Windows time service (start/run/services.msc and disable the “Windows Time Service”)
- Disable Windows updating its time over the Internet (otherwise it uses NTP to update itself periodically)
- Disable VMtool time sync
- Disable the VMtools Service – I found if you don’t do this it still updates the time, even with all the other settings in this post!
- Shutdown the virtual machine
- Remove the virtual machine from the Fusion inventory
- Open the .VMX file (On Fusion you’ll need to show package for the .vmwarevm file)
- Locate the .vmx file and open it in a text editor
- Add the following .VMX entries (calculate YourValue using this calculator this will set the VM BIOS to start at this date when you reboot the VM)
- Save the .vmx file and re-open it with Fusion (if you don’t remove it from the inventory 1st it doesn’t seem to work correctly)
- Start-up the VM and the system time should be set to a date in the past (that you specified in epoch seconds in YourValue above)
- If the time does not stick, set the Windows time to a point shortly after your intended time and power off he VM, it should then stick.
- Re-enable the application services (SQL etc.) that you require.
- Use with caution to extract files/data.
rtc.startTime = "YourValue"
tools.syncTime = "FALSE"
time.synchronize.continue ="FALSE"
time.synchronize.restore = "FALSE"
time.synchronize.resume.disk = "FALSE"
time.synchronize.resume.memory = "FALSE"
time.synchronize.shrink = "FALSE"
(note: if you have more than one tools.syncTime=”FALSE” entry in your .VMX file remove one of them)
Credit to this post for the original .vmx entries
Install Telnet client on Windows 2008 R2
Windows 2008 R2 doesn’t ship with Telnet installed by default, so if you want to check connectivity on a specific port to rule out a firewall issue you’ll need to install it manually.
You can quickly do this from the command line with the command (you don’t need access to media etc. as it’s all slipstreamed into the default install.
pkgmgr /iu:”TelnetClient”
And, once finished you can remove it with the following command – it’s advisable to do this once you’ve finished with it for security.
pkgmgr /uu:”TelnetClient”
Microsoft UK TechDays
Microsoft are once again running their TechDays series in the UK, a series of full-day FREE hands-on sessions on training around the UK.
I’ve attended these in the past and can highly recommend them.
There look to be some excellent sessions, you can sign up here I am attending the private cloud session and look forward to getting some hands-on time with System Center 2012.
LonVMUG Best Community Presentation of 2011 Awards
If you are a London VMware User Group attendee, you’ll already be aware of the fantastic quality of presenters we have had from the community over the last few years. As such, we wanted a way to reward those that have spent many hours of their own personal time honing their content.
I know from experience how much time this takes, so we (the LonVMUG committee) presented the catchily titled inaugural LonVMUG Best Presentation of 2011 Awards (or, as maybe we should have called it vBAFTAs) at our first 2012 event looking back at the best community presentations from 2011 and we are aiming to make this an annual event.
Sponsors and VMware staff are obviously important to our events, and they also deliver some excellent content for our attendees but members from the community stepped way out of their day jobs and family commitments to share their experiences.
The list of nominees are as follows..
- Scott Vessey – VMware Certification, Preparing for Success
- Gabrie van Zanten – Cheap Disaster Recovery using PowerShell scripts
- Chris Dearden – Transatlantic Datacentre migration
- Tom Brand – Private vs Public cloud
- Stuart Radnidge – Rethinking infrastructure
- Mike Laverick – SRM Futures
- Mark Craddock – Cloud: Can you compete?
- Julian Wood – Thinking, building & scripting globally
- Jonathan Medd – How to Save Your Time with PowerCLI
- Simon Gallagher – vTardis5
- Simon Gallagher – VCDX defence
- Jonathan Medd – PowerCLI workshop
- Mike Laverick – Bumps in the Road
- Julian Wood – Upgrading vSphere 4 to 5
…and the following are the winners for the best LonVMUG Community Presentation were… (virtual drum-roll)…
Third prize – Stuart Radnidge (Rethinking Infrastructure) – Winning a £100 Amazon.com voucher
Second prize – Jonathan Medd (How to Save Your Time with PowerCLI) – Winning a £150 Amazon.com voucher
First prize – Julian Wood (Upgrading vSphere 4 to 5) – Winning a £250 Amazon.com voucher
If you are not a regular speaker in your personal or professional life, it doesn’t matter – nor do you have to manage a data centre the size of a small city or be CEO of Amazon to have something interesting to say. your demo’s don’t have to even work every time (believe me, mine didn’t!). it’s a very friendly crowd and even if you feel a little nervous or stumble we are always on-hand to help you out, we are all volunteers and nobody gets paid to run the London VMware User Group, we’re all about the content rather than the glitz.
If you want to see what people have presented at previous events you can browse most of the presentations at http://box.com/londonug likewise, if you’re curious about what happened on the day you can check out Alaric’s slide deck here.
If you have an idea for a future session feel free to drop me an email (address on the about page) with a brief abstract and bio and we’ll be in touch – our upcoming events are;
- May 17th – London
- July 19th – London
- November – National VMUG, date & venue TBC
PowerCamp–weekend PowerShell Training Course
I came across this today on my Twitter feed, Thomas Lee is running a weekend course in PowerShell in London this April, the agenda is as follows..
What is A PowerShell PowerCamp?
This fast paced weekend event covers all the key aspects of Windows PowerShell – from the command line and writing production-oriented scripts. We start with the basics including installation and configuration, formatting and providers and remoting. We then look at scripting, managing script libraries using modules, using objects, and finishing with the PowerShell features added into Windows. We finish with a look at PowerShell in the cloud and what’s coming with PowerShell V3.
The PowerCamp event is all lecture plus Q&A, with the opportunity to type along with the tutor. There are no formal labs.
What is the Agenda?
Day 1 – The Basics
• PowerShell Fundamentals – starting with the key elements of PowerShell (Cmdlets, Objects and the Pipeline) plus installation, setup, and profiles
• Discovery – finding your way and learning how to discover more
• Formatting – how to format output nicely – both by default and using hash tables and display XML
• Remoting – working with remote systems using PowerShell’s remoting capabilities
• Providers – getting into OS data stores via PSProviders
Day 2 – Diving Deeper
• Scripting Concepts – automating everyday tasks including PowerShell’s language constructs, error handling and debugging (both from the command line and using an IDE)
• Modules – managing PowerShell script libraries in the enterprise
• .NET/WMI/COM Objects – working with native objects
• PowerShell and Windows Client/Server – how you can use built in PowerShell cmdlets
• PowerShell in Key Microsoft Servers – a look at PowerShell today in SQL, SCVMM plus a look forward to the future with SharePoint 2010
• PowerShell and the cloud – this module looks at PowerShell in the cloud and how you can use PowerShell to manage cloud computing.
• PowerShell V3 – this final module shows you what’s new in PowerShell V3.
I am planning to attend, the cost is £200; which is an absolute bargain IMHO, and especially so if (like me) you are a contractor and can do this over a weekend. I’ve attended a Microsoft deployment course taught my Thomas in the past and I can vouch that he’s an excellent instructor.
It looks like an excellent way for a relapsed coder like myself to get re-immersed, if you’re a frequent LonVMUG’er this is a good complement to Alan Renouf’s PowerCLI sessions.
For more info and the full agenda click here
London VMware User Group Jan 26th 2012
We (the steering committee) are pleased to announce that the agenda for the next London VMware User Group is now online and registration is open.
The full agenda is available in this handy PDF file and you can register using this link
We have a great agenda lined up with hands-on labs from Embotics (who you may remember from a previous event) and we hope you enjoy the multi-track layout.
Usual place, usual time.
Thursday, 26 January 2012
Main event 10:00 – 17:15
Networking Reception 17:15
Meeting Location
London Chamber of Commerce and Industry 33 Queen Street
London, EC4R 1AP (map)
Hope to see you there!
16Gb RAM upgrade for MacBook Pro
I have a 2011 13” MacBook Pro (Thunderbolt model) which is my main workhorse machine, I wanted a highly specified machines that was very portable and this absolutely fitted the bill (if it was VERY expensive) – buy the best, or buy twice as someone I know always says, and I’ve come round to his way of thinking!
When I ordered it the maximum amount of RAM you could order was 8Gb, Crucial have since released a 16GB upgrade (2 x 8GB SODIMM modules) – you can find out if your MBP can take it from this link
The following is what I ordered..
- CT2625478 16GB kit (8GBx2), 204-pin SODIMM Upgrade for a Apple MacBook Pro (13-inch, Late 2011) System £242.99 (Ex. VAT)
- CTSCRDRVRPH0 Screwdriver for Upgrading Notebook Memory £2.49 (Ex. VAT)
Obviously you don’t have to order the screwdriver but I needed a new one and it perfectly fitted the small screws to remove the underside of the case.
It’s very simple to fit, just remove the screws from the underside, making sure you note which hole they match up to as there are two different lengths, pop out the existing modules and screw it back together. done.
And, the finished result..
Very cool as I can now use Fusion 4 to run a multi node nested ESXi cluster (ala vTARDIS), Hyper-V and my normal Windows 7 VM all on a single machine, mine also has an SSD so it’s about as fast as it can get with that workload.
Crucial probably isn’t the cheapest place to get these from, but by the time you factor in your effort tracking down cheaper modules and running the risk that you may have to return them if they turn out to be incompatible just isn’t worth the bother IMHO.
They seem to have a 5% discount offer which may or may not work in your country – the code is BOOKFIVE which applies to DRAM, solid-state drives and a variety of accessories.
This sticker was part of an overall upgrade process, and was secondary in importance to the following sticker for anyone who regularly reads pistonheads.com ![]()

