Systems, consultation and development 

Facebook E-mail

Restart ESXi management service

Now and again ESXi (or ESX) may stop you connecting via the remote management interface. If you have ssh enabled (emergency back door) this should kickstart everything back into touch. — ./sbin/services.sh restart This does NOT restart any VM’s and so should be safe on a production server, middle of the day etc, etc. Easy…

Hidden files on OSX

Need to show hidden files (or hide them again) on OSX? Toggle this default defaults write com.apple.Finder AppleShowAllFiles TRUE / FALSE (remember to killall Finder to force its usage) Nice and easy.. Also, for specific folders, try adding a period to the name of a file or folder, instant hiding. Of course, I’m not sure…

Slow WebDAV on Windows 7

Now this may not just apply to Windows 7, it’s just where I’ve seen it occur most often. A lot of applications including Sharepoint, offer WebDAV for browsing contents via a standard http/https point without the browser. It’s quite common when first using this method to encounter an apparently slow connection and this normally leads…

Point-in-time SQL Server recovery

Assuming the backups are from a Full backup set with a set of transaction logs RESTORE DATABASE NewDatabase FROM DISK = ‘F: \BackupFiles\OldFullBackup.bak’ WITH MOVE ‘OldfullDB’ TO ‘C:\DataFiles\TmpDatabase.mdf’, MOVE ‘OldfullDB_log’ TO ‘C:\DataFiles\TmpDatabase_Log.ldf’, NORECOVERY Remember, NORECOVERY means, noone can connect yet (A VERY GOOD THING)! Now, onto the transaction logs For each one, in chronological order…

Sharing a VPN connection – AKA LAN linking

Something I’ve struggled with in the past and have avoided doing was trying to get a remote VPN connection shared to all my other local machines. So inevitably a VPN client has crept into each box as I’ve needed the remote access. Well today I bit the bullet. Starting with a tiny ubuntu (or whatever…

ABA file generator, for Payroll etc

A worksheet that you can paste into to generates a text file for you to upload to the bank.. Simple There is no time limit, no restriction on usage and does not require licence codes or extra files.     Trial version is limited to a small number of payees (3) but is otherwise fully…

Renaming a domain (in a nutshell)

RENDOM /LIST Outputs an XML file, edit the file to reflect the changes (should be obvious where, if not, don’t run a domain 😉 ) RENDOM /SHOWFOREST RENDOM /UPLOAD RENDOM /PREPARE RENDOM /EXECUTE (reboot) RENDOM /CLEAN   GPFIXUP And you’re done…  

Adding old (and new) hardware to ESXi 5 (vSphere 5.0)

After a few recent builds of ESX and finding it a little fussy with hardware I dug into the subject and found some interesting little tips.   Specifically my situation was the motherboard was too ‘new’ for the software to recognise the storage controller.  So although ESX could boot ok, once up it couldn’t see…

Nagiosgraph – Locking down access to graphs

In nagiosgraph.conf add the following lines : authzmethod=nagiosgraph authzfile=/usr/local/nagiosgraph/etc/access.conf In the access.conf file, use the following notation : <host>,<service>= <user> or <host> = <user> And we give our policies to rob you get yourself a Canadian writer and additional materials is not enough. That is ready to mind when they want to provide you buy…

Restore a Bare Metal backup to a Hyper-V VM

Recently I had the need to recover an old backup where the original hardware was long since gone. Using Hyper-V I booted off the recovery disk and pointed at the bare metal set and went off for a very long walk as the restore did it’s thing. After rebooting into the restored disk I was…

Home Articles posted by Paul (Page 2)