Monthly Archives: January 2015

How to make newer firefox browsers work with older Sun iloms.

ilom

Found this the other day when trying to get my X4600 M2 Ilom to show up right in my web browser. Basically all the data was missing from the tables etc. (Note: I’m using Firefox 26.0, on Linux) — works on Windows as well. Neither Oracle, nor Firefox really care about making things work on the newer browsers with the older iloms…so this might just be the easiest fix.

This workaround on a per user basis works;
Add the following 4 lines to the file (create it if it does not exist) ~/.mozilla/firefox/*.default/chrome/userContent.css and restart browser:

@media print {
}
@namespace url(http://www.w3.org/1999/xhtml);
#mainpage { visibility: visible !important; }

Why ZFS is so cool…

So, I attempted an upgrade while not at the servers…but remotely. So I didn’t take a snapshot with vmware, thinking it would be a minor deal. Needless to say, the upgrade failed horribly, and I was really wishing about then that I had tried this while in front of the server AFTER taking a snapshot…. That IS my normal course of action, but alas, not today.

So, I logged into my internal network and proceeded to login to my NAS and my VMWARE ESXI host via the command line.

First order of business, turn off the VM on the esxi host…

I have to find out which number the vm is so i can turn it off:
vim-cmd vmsvc/getallvms

Now, I see the number of the vm beside the name, so…duh…turn it off… 🙂
vim-cmd vmsvc/power.off 53

Next I need to restore my data back to a previous state in my NAS…
Lets move the borked vm data out of the way…
nas4free: ~# cd /mnt/NAS/virtual_machines/
nas4free: virtual_machines # mv ws-crouse ws-crouse.bak

So, now, to find out what I have for snapshots that NAS4FREE takes automatically !
nas4free: # cd /mnt/NAS/virtual_machines/.zfs/auto-20150123-000000
nas4free: auto-20150123-000000 # ls
nas4free: auto-20150123-000000 # ws-crouse/

TADA … I have snapshot… now to copy it back !
cp -p -R ws-crouse ../../../

Back to the VMWARE esxi server and turn this puppy back on!!
vim-cmd vmsvc/power.on 53

All this in less than 5 minutes.
Gotta love the power of zfs snapshots!!! 🙂