Posts by Jonathan Puddle
VMWare ESXi backups on-the-cheap
0This week I needed to sort out backing up my ESXi VMs to an another location. A few Google searches brought me into contact with a fantastic set of tools to do just that. Following is the setup I made, with links to the helpful people. Thanks so much to everyone linked below.
- First you’ll need to decide on your backup location. I decided for an NFS share on my existing backup server, which is running Windows Server 2008. That meant installing the NFS tools for Windows Server 2008, and also finding an available Server 2003 machine to install the User Mapping provider on, as Server 2008 has deprecated it. Read http://miketrellosblog.arcadecab.com/2010/08/setting-up-an-nfs-share-to-receive-esxi-4-1-vm-backups/ and http://blogs.msdn.com/b/sfu/archive/2008/12/15/set-up-services-for-network-file-system-in-windows-server-2008.aspx
- Use the ghettoVCB script to create the backups of the VMs, take snapshots if necessary, copy the backup to the network location, and then purge the snapshots. FANTASTIC piece of script. http://miketrellosblog.arcadecab.com/2010/08/using-ghettovcb-sh-to-backup-esxi-4-1-vms-to-nfs-datastore/
- For scheduling the backup job, you may wish to create a specific backup user on your ESXi machine, or perhaps you’ll need to change the root password to something you’re happier to write in a plain text file. Either way, these will help: http://www.yellow-bricks.com/2008/08/14/esxi-ssh-and-non-root-users/ and http://www.theblueboxes.com/how-modify-root-password-vmware-vsphere-esxesxi-4-vsphere-client
Made my life a whole lot easier.
Scheduling a Windows ASR backup
0In Windows Server 2003 and Windows XP, ntbackup’s ASR is a great method of backing up the entire system for disaster recovery. This week I wrote a script to schedule a Windows ASR backup using the command-line ntbackup.exe utility. If you’ve ever written a how-to on VBscript, I probably have read it. Thanks! Of note is the fact that the ASR call for ntbackup is not actually documented, so use this at your own risk, but it’s working very well for me now. Naturally I take no responsibility for anything that happens due to the use of this script, but if it helps, then let me know in the comments. (more…)
50 – A birthday present for Dad
0Today my Dad turns 50. He’s been begging me for a DJ mix for a while now, and I’ve been lax at getting it done… so here you go Dad, not one DJ mix, but 4 of them! I’ve mixed 50 tracks for your big day, into 4 mixes generally grouped for style. Happy Birthday :)
You can listen to each of the mixes right here, and download them for your MP3 player by scrolling down to the links below.
Download from here:
50 (10pm to 11pm) [Sydney]
50 (11pm to 12am) [New York]
50 (1am to 3am) [Amsterdam]
50 (4am to 5am) [Rio de Janeiro]
Fixing a sliding door jam on a Toyota Lucida
0Today is January 1st, 2011. It’s the first day of a new year, and so I set about doing something I had never done before: car repair. James recently flattened the battery on my mum’s van, and after recharging the battery the sliding door doesn’t open anymore. A quick google search told me this was a common problem, so with a few helpful tips from others on the web, I got going (if you’ve ever posted anything about a Toyota Lucida, I probably read it… THANKS!). If you find yourself in a similar predicament with this van, here’s how to fix it.
- Start by finding a thin cloth or piece of fabric, and run this around the door handle (on the inside). The door handle must be removed before the door panel can come off. There’s a small ring that holds the door handle in place, and teasing around the door handle with some cloth will eventually catch it and pull it loose. It looks like this:
- Now look for a small screw inside the door lock switch, it’s angled upwards so you may need to look from below. This can be unscrewed, the plastic enclosure around the lock can be gently pried off. Next, go to the back end of the door, and look for 2 snap clips (I don’t know what they’re really called), that hold the door panel in place. To remove these, you simply push in the center piece, and then the whole thing will slide out. There are two of them about a foot above one another.

- Now you can gently but firmly pull the door panel off, going slowely around and pulling at the edges. There are latches inside that will pop loose as you tug on them. The whole panel can be removed and put aside. Once that is off, you’ll see a plastic sheet covering various electrical components. This sheet is for water-proofing, I’m told, and it’s stuck on with a gooy adhesive that can be gently pulled off. It should remain sticky and you can just stick it back against the door after (or tape it if it looses its stick).
- The black tubular thing is a solenoid, a motor that powers the electrical door catch/release. This is the source of the problem, as with a power outage to the van it has gotten out of sync with the car’s electrics. You need to disconnect the connector with the red + red/blue wires, this is the power source feed. Disconnecting that partially isolates the solenoid, and allows you to hit it with power, in the next step.

- This step requires you to have a car charger OR a spare battery OR long enough jumper cables to run from your existing car battery. Your goal here is to fire the solenoid, so you need to provide 12 volt power into the solenoid and get it to manually fire, which will then get it in sync with the car. I had a car charger, and found some wire from a broken bicycle light. I stripped back some wire, attached one wire to each of the red and black alligator clips from the charger (you can do this with any wire, and potentially with your jumper cables to the car battery), and then I taped off the exposed metal from the clips with electrical tape, just to be careful.

- Turn on the charger/connect the battery, and carefully connect the red cable from the battery/charger into the solenoid plug, on the red side (look at the solenoid end of the connector and you can see the cable colours). Touch the black to the other wire inside the connector, and the solenoid will activate (you’ll hear the familiar mechanical noise). You’ll need someone else to help you, as at the moment you activate the solenoid, the door needs to be pulled open. Don’t leave the power activated on the solenoid for longer than necessary the pull the door open.The door should now be opened. Slide the door towards closing it just enough to reconnect the solenoid. Now try carefully closing the door again (carefully because you’ve got exposed electrical gear). The door should catch and you should hear the mechanical close noise, and then you should be able to open it again successfully. Congratulations, you’ve fixed the problem :) Now re-attach the plastic sheet, re-attach the door panel, the lock covering, and the door handle. The metal clip slides back around the door handle plastic and the two inward pointing parts of the clip slide into the holes in the handle, which will then clasp onto the handle pole. Well done.
It’s 2011. What are you going to do this year that you’ve never done before? I have a goal of reading 26 books this year, which is roughly 20 pages a day. After this successful job I think I’d like to read a book on car repair, especially seeing as I bought my first car in October (a ’96 Ford Escort).
Happy new year, folks.
New mix: Goodbye 2010
0We’re in New Zealand for Christmas and I managed to drop my New Year’s mix using only software (my hardware controller is at home). Lots of fun and fast music in here for you this year, truly a great lot of tunes I think!
On holiday in NZ
0We’re having a lovely time on holiday in NZ with my family. The weather is great, the food superb, the beer cold and flavourful, the sights lovely, the company heart-warming.
Merry Christmas to you all if I forget to say so later.
New mix: Beatitudes Volume 5
0What has been through countless revisions over the last 4 or 5 months is now ready for your consumption. The latest in my uplifting trance and progressive house mix series, Beatitudes Volume 5 is ready for you to enjoy.
Connecting Skype to your Asterisk VM
2Due to Bell Canada’s evil ways, Skype-In doesn’t allow Canadian phone numbers, so I rent one through DIDWW. It rings through to a VM I have set up running Asterisk (the open source PBX / VoIP server). Our laptops (and my new HTC Legend) have softphone clients installed that pick up the calls coming through Asterisk. I also pay Skype for unlimited North American calling (3$ a month), but when my wife and others in the house want to call folks in North America, they have to login to my Skype account, which is not exactly ideal. This has worked OK for us for a couple of years now, but I recently came across a way to connect Skype as an outgoing gateway to the Asterisk server.
The process is fairly well documented via these three sources:
Original writeup by Ward Mundy
Updated writeup by Ward Mundy
Guided version by someone at FreePBX
In my case, I was running Asterisk inside a VMWare ESXi virtual machine, so I had the added complication of no real audio devices. Skype won’t route your calls unless it thinks it has an audio device, so if SipToSis seems to be doing it’s thing but Skype never connects you, this may be your problem. Thanks to a helpful tipster though, the problem is easily solved through the use of the Linux dummy sound card driver (like a virtual sound card for the operation system). Just edit the skype-start script provided by Ward’s instructions, and add this line ahead of the other commands:
modprobe snd-dummy enable=1
Now my family can use our soft-phones to dial out using my Skype account in the background. It’s especially useful for me on my lovely HTC Legend (have I told you how great it is?) as Skype does not yet have a universal app for Android.
Firefox officially still sucks
1Mozilla just launched The Kraken, a new benchmarking tool for future-facing browers. I’m a fan of Mozilla as a foundation, but I don’t care for their flagship product. Now, they’ve been busy telling everyone that Firefox 4 is going to be “the shit”… so obviously their efforts are currently focused on the new version, but I thought I’d test out their current browser version, 3.6.9 anyway.
Up against the Fox, is the shiny new Google Chrome v6.0.472.55. Full disclaimer: I love Google Chrome. It is the bestest. Also in the running is Internet Explorer 8, because it still has market share. Sadly.
My PC specs:
Dell Latitude E6500, running Windows 7 Pro x64
Intel Core 2 Duo @ 2.54Ghz, 3GB RAM.
Both browsers had lots of tabs open, including Gmail windows and/or Slashdot which are pretty Javascript intensive. (more…)
The keys to happiness
1We had a party yesterday to celebrate and bless our son Ruuben, who was born in June. We packed over 30 people into our place, plus 8 or 9 kids under the age of 3 and had a crazy fun time. As you can imagine with so many people (and my acting the part of host), the time I had available to talk with people was minimal. And yet, I feel substantially closer to quite a few of the people that joined us yesterday. I didn’t specifically spend any more time with these folks than others, but something about the act of sharing with them has really pulled me closer to them. I know a few of them feel the same way, as we received a really touching text message from someone today who was deeply impacted by the event yesterday. Deeply impacted by us sharing our food, our time, our home, and inviting them to join us on the journey of raising our son(s) together. I’ve been thinking about it pretty much all day today, even before we got that message; how blessed I was by the company of friends.
I think it fitting then, that I read a post by my friend Sarah today. She is attempting to relax more in life, something I wish her all the best at, and she linked to this great TED talk on finding a global happiness index. At the end of the talk the host addresses 5 points that he believes lead to greater satisfaction and happiness in life:
1. Connect
2. Be active
3. Take notice
4. Keep learning
5. Give
Yesterday was all about connecting. Today I feel the residual warmth of yesterday’s hours with friends, just as strong as the residual heat from a fire recently extinguished. It’s powerful. I know from my own life experience that the other 4 steps are equally important.
Point #2: Tomorrow night is squash night.
Point #3: I’m “working hard” to take an actual break from work these days, usually spent on my balcony reading and enjoying the view, noticing the seasons and the sounds. I need to read a little less sometimes, and just take in the view a little more.
Point #4: Maija and I are reading a fantastic book together before bed, The Kosher Sutra, which is all about rediscovering passion for life by uncovering a greater eroticism in the bedroom. I am learning a hell of a lot.
Point #5: We did some of this yesterday, but this is honestly something I am struggling with at present. There is not a lot of time left in the day, after work and kids… I tend to feel quite selfish with what little time I have to myself. I would like to find more opportunities to give in a greater variety of ways.
I recite these not to toot my own horn, but to show it’s really not a hard list to pursue. I’ve lost the inspiration to write anymore though… so watch the video and take it easy.
Recent Comments