Opensourceconsulting - opensourceconsulting.com - Open Source Operations
General Information:
Latest News:
summarize_jsh 28 Oct 2010 | 12:13 pm
Hello Large-Scale Production Engineers! Here’s the link for summarize_jsh to test, try: Output looks like:
‘less’ the youngest file in the dir that is not a dot file 2 Aug 2010 | 05:48 am
# less the youngest file in the dir that is not a dot file. function lless () { less `ls -Art1|tail -1` }
Admin: How to turn Hyperthreading on and off on CentOS 5.3 (and likely all 2.6 kernels) without a reboot 2 Aug 2010 | 05:45 am
Hyperthreading is back in Intel Processors. We use MatLab which apparently doesn’t like to see 16 cores when there are really only 8. Here’s a script to flip procs 8-and-up on and off. Change the pe...
Double pasting in X11 or VNC using True X-mouse on Microsoft 3 Mar 2010 | 09:21 am
## gold txmouse setup for fixing the hightlight-paste annoyance in vnc and vmware REGEDIT4 [HKEY_CURRENT_USER\Software\<appro@fy.chalmers.se>\TXMouse] “AutoRaiseDelay”=dword:0 “ExemptedClasses”=”r...
Automatic MySQL backup with emails off-site and clean up 18 Sep 2009 | 04:33 pm
I was talking with some friends about automating MySQL backups – here’s a script to backup my wordpress mysql database and mail it to a gmail account for safekeeping. It cleans up after itself too. I...
adding your id_[dr]sa.pub to authorized_keys the easy way 2 Aug 2009 | 04:21 am
Whenever I start a new gig I have to key all the boxes – it’s tedious at best. Here’s a bash function to put a key on a far box. I always make sure I have an “eval `ssh-agent`” and “ssh-add” in my she...
Network management: Netomata – Single source, machine generated network configs 15 Apr 2009 | 06:06 am
I love the idea of Netomata! I haven’t used it yet, but have often lamented the lack of structure around networking configs. This is not just a great idea for the implementation level, but also for ma...
Operations management: Transitioning projects from groups outside operations 27 Mar 2009 | 02:25 pm
A necessary piece of operations is riding herd on home grown applications and projects from the corporate wilds. These things come to you late in their lifecycle with little to say about how their tec...
Admin: dhcpd and tftpd setup 21 Jan 2009 | 06:46 am
I setup dhcpd and tfpt just infrequently enough to forget the details. I’m putting my gottchas here so I don’t forget them. syslinux package ‘pxelinux’: pxelinux loads and gets the right IP, then it...
Basic Admin: Adding Blogger.com IP to iptables for SFTP 20 Jan 2009 | 05:29 pm
I use blogger and host the files on my server, after I edit a post it has to sftp the files so they appear here. This is the process for adding them. Adding the Blogger sftp servers to iptables. Blo...