I found plenty of posts with scripts that automated the firmware upgrade for UCS servers running VMware ESXi. I did however not think they were “safe” enough, so I wrote my own.
It will update the firmware of all the hosts in the specified cluster, one host at a time.
It requires UCS Powertool 2.x and VMware PowerCLI 6.x. It logs the relevant steps with time stamps, so you’ll know whats happening.
It does the following:
1. Get the ESXi-hosts in the cluster to work in.
2. Dismounts VMware tools(would prevent putting a host in maintenance mode) on VMs running on the host.
3. Takes the first(added to the cluster, not name) host and puts it in maintenance mode.
4. Records the MAC address of vmnic0 for that host.
5. Shuts down the host.
6. Checks in UCS Manager which Service Profile matches that MAC address.
7. Verifies that the matching server is powered off.
8. Applies the firmware policy specified.
9. Acknowledges the reboot.
10. Waits until the server operational states goes from “config” to “ok”.
11. Waits for the server to reconnect in vCenter.
12. Exits the host from maintenance mode.
13. Repeats the process from step 2 with the rest of the hosts in the cluster.
Like many others, it seems, I got the dreaded “mosh-server needs a UTF-8 native locale to run.” when trying to use mosh from my OSX laptop to my FreeBSD server.
I tried the stuff google suggested, but nothing worked. What eventually solved the problem for me was adding the following to .bash_profile on my OSX client:
My old Core 2 Duo server from 2007 has been with me for a little too long now. Its an old workstation from a previous job. But I haven’t really found any alternatives that fit both my requirements and budget, until now.
My requirements were a passively cooled(low TDP) mITX board with an integrated CPU(with decent performance), at least 4 SATA ports, an HDMI port and DDR3 SO-DIMM slots. For no more than about 80 USD. Until Intel released the Bay Trail CPU family there was nothing that could fill those requirements. So when I saw that Asrock released their Q1900-ITX board, I ordered one.
Bleeding edge hardware and FreeBSD requires some tweaking though…
Posted in FreeBSD
Tagged asrock q1900, atom, bay trail, baytrail, celeron, freebsd, intel, j1800, j1900, pentium, silvermont
Here I will post ipk packages of telldus-core built for various OpenWRT architectures(they are built for Attitude Adjustment 12.09). I have detailed how to build it yourself in a previous post, but it is a bit complicated to do. Especially if you’re not used to compiling stuff, or Linux at all. So the packages below can simply be SCP’d to your router and then installed by running: Continue reading
Posted in Linux, OpenWRT, Tellstick
Tagged 12.09, allnet, ar7xx, asus, atheros, attitude adjustment, binary, brcm47xx, brcm63xx, broadcom, cisco, d-link, dlink, iomega, ipk, ixp4xx, kirkwood, linksys, netgear, openwrt, opkg, packages, prebuilt, qnap, seagate, telldus, telldus-core, tellstick, tp-link
If you have a Dovado router you can supposedly plug in a Tellstick from the get go.
But for any other router, some work is required. This is another post mostly for my own reference, but hopefully it’ll be useful for you too.
First of, you should install OpenWRT on your router(it obviously needs to be one with a USB port). That way you can build and install whatever software you want. And since Telldus provides a source package that you can compile, that makes it a lot easier.
Posted in Android, Automation, Linux, OpenWRT, Tellstick
Tagged android, automation, linux, openwrt, remotestick, router, tasker, telldus, telldus-core, tellstick
Tried installing EMC SRDF SRA 5.1 on my new VMware Site Recovery Manager 5.1 server. It installed fine, but apparantly didn’t create an EMC Symmetrix folder under the sra-folder as it should. After a bit of googling and searching the forums on Powerlink I gave up and contacted EMC support. Turns out it currently doesn’t work when SRM is installed somewhere other than C: and they had no solution to it.
I’m browsing my mediashare via CIFS/SMB, and also from my Mac.
The Mac creates some temporary folders and files everywhere, which aren’t visible on the Mac but are there when I browse in XBMC. Quite annoying. Removing them won’t help as they reappear, so figured I’d hide them instead.
This is accomplished by adding the following line to smb.conf and restarting samba.
Posted in XBMC
Tagged afp, afpd, appledb, appledouble, htpc, mac, netatalk, network trash folder, os x, osx, temporary items, xbmc
If you don’t have a nullmodem cable available this is an easy and fast way to install a new image on your dreambox.
This method will only work with a .img image file.