Tuesday, November 08, 2011
Device upgrade - how #Apple was a #Fail and #Microsoft was a #Success
Wednesday, October 19, 2011
#Success Yesterday I got angry with #VMware, at #VMworld but #congratulations are now deserved
Later that day, VMware proved they can be nimble and take out of scope decisions quickly, i have tired over recent years of large corporates telling me I have a good idea, but their policy/budget/manger/exec does not allow and that they are sorry that they cannot execute the good idea, so...
After the potential PR disaster of mistakenly telling a few hundred people at VMworld Europe they had won an iPod, VMware's initial response was simply sorry. Later that was upgraded to a free marketing t-shirt. Ho hum. I was not impressed.
So I wrote to them suggesting that for a few hundred quid (probably not even detectable in the budget for the conference!) they could have one extra iPod and hold a random draw for all those who thought they had already won one. It would not fix things, but it would at least give everyone a chance, and demonstrate that VMware understood the impact they'd had.
It's NOT about "compensating", it's about recognising the excitement and then disappointment that people will have experienced.
To my amazement, VMware not only agreed, but said they'd give me an iPod to say thanks for the idea. I don't often get the chance to praise big companies, but I am happy to do so here.
But, I stress, even if they'd not got a second for me, I'd still have written this post
Begin forwarded message:
Subject: RE: Suggestion, was: Re: Congratulations, You are a VMworld Survey Prize Winner
Peter
Thank you for the suggestion.
Since you came up with this suggestion, we will provide you with one.
Please come by meeting room xx in the Bella Center to receive your iPod.
Thanks
Name removed
Subject: Suggestion, was: Re: Congratulations, You are a VMworld Survey Prize Winner
How about you put an iPod Touch into a draw for all the people who got the email?
Cost you a few hundred quid/dollars/euros and everyone who thought they had one, would at least have had a bite at one.
Not trying to be troublesome, just making a suggestion to overcome the loss of goodwill and the major disappointment felt all round. It wasn't *inconvenient* it was exciting, and then massively disappointing.
Wednesday, September 28, 2011
Want #Mango #WP7 now? But your network connection is not immediately adjacent to your desk, or awkward to break. #PowerShell
Note you may need to update teh Zune software, so you'll get a bit of this:
But then you should see an update offered, something like this.
![]() |
| 7403 offered to user |
![]() |
| 7403 ready to download |
Repeat until you have Mango installed
Enjoy!
Friday, September 02, 2011
#LFMF #PowerCLI Get-Folder contents #PowerShell
Because a “copy folder from the Datastore browser” backup of VM files is so inefficient, I’m writing a PowerShell process to improve my backups of the virtualised world. Because I can move VM’s around onto different storage locations a hard coded “goto this datastore, download these VM’s” is going to need rewriting every time I do this.*
So I resolved to use as a starting point the Get-Folder command (and spawn a generic process for each Folder) that I have.
So I started to look at a folder (from the VMs and Templates view, not Hosts and Clusters) to do some testing on. As the only, completely non active folder is Templates, I thought I’d start with that.
So the line of code I was looking at was something like:
Get-VM -Location (Get-Folder Templates) | Sort Name)
However I was getting nothing back, the code would run (there’s a lot more, but I won’t bore you with it until it’s all working), and there was a null result. I didn’t quite spend days and days looking at it (see King Crimson - Indiscipline, Lyrics here), but I did spend quite a while thinking I’d got something wrong.
Then I had a thought – isn’t there a Get-Template command too?
Coded like this:
Get-Template -Location (Get-Folder Templates) | Sort Name)
I get some results. Stupid of me to test a folder with wholly atypical contents
More later!
*I know some will wonder why I take flat file backups of VM’s. It’s because I’m paranoid OK? I copy them to external USB/FireWire drives for complete recoverability. It’s not like I do it every day or anything
Tuesday, July 12, 2011
When near Holborn (Leather Lane to be precise)
12-14 Leather Lane
You can see why....
http://www.departmentofcoffee.co.uk/
Tuesday, May 31, 2011
Scheduled tasks not running in Windows 2003 Server Domain Controller
Monday, May 02, 2011
ESXi 4.1 Update 1 travail - lessons learned.
- Syslinux 4.0.4 (the latest) does not work (or at least did not for me) – stick to 4.0.3!!
- When modifying the contents of the stick remember to do everything!
- Whilst the storage in my instance is software iSCSI IT IS IMMENSELY PRUDENT TO DISCONNECT STORAGE. As this install process initialises some storage, you do not want to accidentally wipe a LUN. My recommendation is always to build ESX(i) hosts disconnected from storage. It prevents an easily avoidable mistake. Likewise I avoid “Boot from SAN” setup.
- Make sure you follow all the steps. I managed to miss 1 or 2 a few times before I got it right.
- Don’t forget that the KS.CFG is YOUR INSTALL SCRIPT. It’s easy to forget this and take the content and run with it. If you do, you’ll get an ESX box with 192.168.1.10 as its IP, VMware01 as the root password, and ESXi-01.beerens.local as its full name connected to a domain “beerens.local”. I could be wrong, but I think this is unlikely to work in your world J
- Check for any Anti-Affinity rules in DRS, this will make sure your VM’s can have maximum mobility around the farm during the change. You may want to weaken them
- Move any non-running servers off local storage (if there is any) to SAN or other shared storage – cut and paste or storage migrate. If you storage migrate you can change the host as well to unregister them from the server.
- Storage migrate all running VM’s on local storage off the server to shared storage (no downtime here).
- Put the ESX host in maintenance mode (and take the option to migrate all paused and stopped machines off the host). All running guests will migrate off
- Document the server setup – including network settings, iSCSI paths, vSwitch names and configs. In fact everything you can!!! If you are licenced for it, then consider Host Profiles as a means to the end.
- Disconnect all external storage connections, and verify this by checking via vCentre.
- vCentre
- vCentre upgrade ISO
- vCentre Upgrade action
- vCentre Client upgrade
- DNS and AD failure
- vCentre client now installed properly and I can connect to vCentre Server again.
- iSCSI connections
- Finally all was well
- So I just need that good ISO for the Update Manager installation so that I can now manage updates across the VM’s (VM Version and VMTools for now).
- Well you can see from the above that Douglas Adams was right when he wrote “Don’t Panic” – I could have given up with the backups, snapshots and original ESX4.1 that I had and gone back to square one.
- Document your setup, NOW. You never know when it might come in useful
- In ESXi the Service Console no longer exists – look for the Management Network in your ESXi networking setup
- IQN’s can change
- Check your VM version – some of your older VM’s may be 4 instead of 7. In my experience, a VM version 4 had some issues starting and seeing network hardware on a new host.
- Anti-affinity – keep an eye on it, and restore it when done
- If you use ESXTOP on ESX, don’t forget – without the service console, you won’t get this on the host
- ILO – if you have it, make sure you know the password – it saves a lot of hassle connecting to the host
- Lastly NEVER FORGET you can use the VI Client directly to the host to work things. If the VC goes down, it means you can still start stop guests, enter/exit maintenance mode, reboot and shutdown an ESX box. This can be your friend. A lot.
Hurrah - a hibernating Hyper-V laptop!
Well, almost J
I got a new laptop last year and having bumped up the RAM and disk, I wanted to use for a virtualised lab on board whilst travelling or at clients. Having experimented and asked around on Twitter there was no way (my preferred method) of having Windows 7 with ESXi running under VMware Workstation and then have 64bit guests in vCentre – the VT is not exposed to the ESX guests. This would have given me the best of ESXi (and a VMware lab), and the VM’s I wanted for carrying a lab in the bag. VMware workstation was not much use to me as without any memory management I would run out of headroom (although the tree cloned drives would be nice).
A non-trivial additional factor was that I insist on encrypted disks in my laptops.
I then experimented with getting a dual boot world going. BitLocker and Boot from VHD work well, but not together. I got a Bitlockered guest machine under Hyper-V as a VHD to boot, but the content was a bit flaky – device drivers). I then tried getting a dual boot to work with the second boot from a VHD but BitLocker got in the way. See: Am I really asking too much of Hyper-V I learned a bit about BDCEDIT along the way.
Eventually after a couple of gotchas/glitches I gave up on the BitLocker VHD or alternate boot option as it was taking too much time (and I had read in a few places I was asking the impossible). And besides: Word from the wise on BitLocker
Becoming impatient, I then restarted my thinking. I continued with the Windows 2008 R2 build (Bitlockered drive), with the intent of then building the VM’s that I wanted.
The first bit was to get Windows Server 2008 R2 look more like Windows 7 so it could be my standard desktop-like working world along with some other bits and pieces – I added the following to the machine (some are dependencies):
- Web Server (IIS)
- .NET Framework 3.5.1 Features
- BITS
- Desktop Experience
- Ink and Handwriting Services (it’s a tablet)
- Remote Server Administration Tools
- Telnet Client (I never usually remember this is off by default!)
- PowerShell ISE
- Windows Server Backup Features
- Wireless LAN Service (it’s a laptop!)
- BitLocker Drive Encryption
- Group Policy Management
- Windows Server Migration Tools (just in case)
However, Hyper-V cannot use a Wi-Fi network for external access. My Lab network is behind a Threat Management Gateway 2010 Server, so only this needs true connectivity. So a quick bit of research, and I came across the idea of a bridge between the Hyper-V network and the Wi-Fi here: Connecting Hyper-V over WiFi and it works a treat.
So the laptop was where I wanted it to be, the VM’s were being created. BUT…. You cannot hibernate a Hyper-V machine. This is clearly a sensible idea, but for the road warrior, it’s more than a nice to have. To wait for a machine to fully shutdown can be embarrassingly long.
So over to the internet.
And then I found this:
- Set Hyper-V to start on demand “SC CONFIG HVBOOT START= DEMAND” (note the space after the = sign); then reboot the machine
- Enable Hibernation “POWERCFG -HIBERNATE ON”
- Then when you want to run VM’s – “NET START HVBOOT”
Lo and behold. I have a single boot machine. Until I start HVBOOT then the machine will hibernate. Once you have started HVBOOT, then you have to shut down the machine instead, but this is good enough for now. I’m not certain what impact not running Hyper-V will have on the performance of the machine, but not much I guess.
What next?
Monday, April 04, 2011
"At the fair" - I'm quite pleased with these shots - one has a (handheld) exposure of 1.6s, can you tell which one?
Friday, March 04, 2011
5* Nude Express off Brick Lane, and close to Truman Brewery for Queen Exhibition
Fabulous coffee, superb water station, yummy brownies
Will return :-)
After going to Stormtroopers in stillettos.
Tuesday, February 15, 2011
Cancelling a service provider?
My recent spat with VirginMedia (elsewhere here) is a case in point. By cancelling the DD I made sure that they could not take money to which I thought they were not entitled. It puts the provider on the back foot, chasing you, rather than you hassling a large, insular organisation for a refund (or chasing your bank under the DD mandate rules).
It's a tactic I have used on many occasions, have yet to regret it. A personal banking service to whom I can send an email requesting the cancellation (or a telephone banking service) aids a speedy execution.
One word of warning though. Some companies (energy providers) have a clause to cancel discount arrangements if you do this. As ever, read the terms and conditions, and make sure.
Take control, and use the weapons at your disposal with big business:
* your custom
* your money
* your use of social networks to publicise your complaints.
Oh, and if they get it right, publicise that too!!
Friday, February 11, 2011
An afternoon of fixes, and I'm in a good mood for the #6Nations tomorrow!
Item 1
Patching my first and oldest server. This machine is an elderly, but perfectly serviceable dual processor box running Windows 2003. Having successfully sorted out the horrendous .NET Framework updates last year it was still objecting to a few minor Windows patches applying properly. For once, the simple step of applying a few at a time fixed it all. I’m not going to try to work out why, just take satisfaction that the box is doing what it should for once!
Item 2
I needed to replace a laptop just before a trip to the US last year, and had some fun and games whilst out there. Ever since the laptop would not let me logon with my own id. It always happened when time was at a premium so I could not be bothered. So looked around a bit more and found by accident (whilst rebooted the old server that still hosted a roaming profile), that the machine would boot when the roaming profile was missing. This led to Error message when you log on to a Windows Vista-based or Windows 7-based computer by using a temporary profile: "The User Profile Service failed the logon. User profile cannot be loaded" which identified bad profile data in the registry. Now this made some sense, I think I may have wiped the local copy of the profile in the US, and not done anything more about it later. A swift deletion of the keys, a reboot, and voila! I’m in.
Now for dinner, some R&R and the Six Nations tomorrow. Come on England!
PS. For the record, the original google search term was: windows 7 64bit logon pauses cannot create profile
Saturday, January 29, 2011
Wednesday, January 19, 2011
Configuring Scan to Email and Scan to SMB on a #Lexmark C782
Step 1 - Create a standard user on your Active Directory. Name it appropriately.
Make sure it does not expire, cannot have the password changed, and set a suitably complex password.
Step 2 - Scan to SMB
Note this assumes that you ahve created a network share on a server to receive the scans, and set the appropriate permissions for it)
Navigate to the web portal on the printer.
Go to the Link s & Index feature
Click on embedded solutions
Click on scan to network (note is not licenced, this is the free to use, simplified version) and get

Now back in the printer' web portal, go to the LDAP configuration option
The server below is the full UNC for a domain controller on teh network
Note that the full DN is of the form CN=






















