http://www.ibm.com/developerworks/cloud/library/cl-setupfirewalloncloud/index.html
Summary: Set up a highly available (Virtual Router Redundancy Protocol) firewall and load balancer (Linux Virtual Server IP Virtual Server) using Keepalived for Linux and the IBM SmartCloud Enterprise virtual IP and anti-collocation features.
Thursday, February 21, 2013
Set up a highly available firewall and load balancer in the IBM cloud
Posted by
cmihai
at
6:04 AM
0
comments
Saturday, October 20, 2012
QEMU and kpartx to perform bare metal recovery or forensics on cloud instances
Using qemu or kpartx to perform "bare metal" instance recovery or forensics on KVM cloud instances:
Use QEMU on IBM SmartCloud Enterprise to recover images after system disasters
Posted by
cmihai
at
12:09 AM
0
comments
Sunday, December 11, 2011
HP to Contribute webOS to Open Source
Looks like after killing their TouchPad tablet, HP open sources WebOS:
- http://www.hp.com/hpinfo/newsroom/press/2011/111209xa.html?mtxs=rss-corp-news
- http://developer.palm.com/blog/2011/12/open-source/
- I wonder.. https://github.com/hpwebos
Might mean the TouchPad will make a comback. We'll see.
Posted by
cmihai
at
5:24 PM
0
comments
Review: 1Q84

1Q84 by Haruki Murakami
My rating: 5 of 5 stars
I can't quite put my finger on it, but this books keeps reminding me of things I've forgotten or ignored.
I must say I've enjoyed Book 3 the most.
Well, that's it. For now at least - I'm out of Murakami :-(.
View all my reviews
Posted by
cmihai
at
2:26 PM
0
comments
Tuesday, October 25, 2011
Review: Getting Things Done: The Art of Stress-Free Productivity
Getting Things Done: The Art of Stress-Free Productivity by David Allen
My rating: 5 of 5 stars
I've been using the methods and techniques described in GTD along side mind mapping in practice for over 8 years (mostly due to tools like OneNote, Emacs ORG mode, XMind/Fremind, etc). Reading this book has definitely helped optimize my workflow and planning into something quite a bit more efficient.
Right now I'm still looking to overhaul my tooling, OneNote isn't available on UNIX-like system (though it mostly works with wine), and Emacs ORG mode isn't practical for pasting images, screenshots, video, audio, files, etc. and such for reference.
It's tried a bunch of Java tools (Thinking Rock and GTD Free) but they're not very good for reference, note taking and reminders / calendar stuff. So far it's proving hard to beat the OneNote + Outlook + Project combo.
One tool I've been using for a while now (probably an year or so) along side OneNote is Tracks . It's a RoR webapp that covers most things in the GTD workflow. Although import/export isn't yet available as of version 2.0, it gets the job done. It's also available from Bitnami as a pre-installed stack.
If you're into GTD or just like to organize yourself with TODOS, tasks, projects and such, Tracks is worth a try.
View all my reviews
Posted by
cmihai
at
12:15 PM
0
comments
Labels: GTD
Thursday, May 26, 2011
Convert AWK to Perl using a2p
A little awk script that numbers lines:
ls -la /usr | ./linum.plLet's convert this to perl using a2p.
1 : total 240
2 : drwxr-xr-x+ 12 root root 4096 2010-06-21 06:47 .
3 : drwxr-xr-x 22 root root 4096 2011-05-11 12:06 ..
4 : drwxr-xr-x+ 2 root root 69632 2011-05-24 14:07 bin
5 : drwxr-xr-x+ 2 root root 4096 2010-05-05 11:33 games
6 : drwxr-xr-x+ 5 root root 4096 2010-06-21 06:47 i586-suse-linux
7 : drwxr-xr-x+ 52 root root 4096 2011-05-13 04:17 include
8 : drwxr-xr-x+ 156 root root 69632 2011-05-24 14:07 lib
9 : drwxr-xr-x+ 10 root root 4096 2010-06-21 06:47 local
10 : drwxr-xr-x+ 2 root root 12288 2011-05-24 14:07 sbin
11 : drwxr-xr-x+ 213 root root 4096 2011-05-23 13:19 share
echo '{ printf("%5d : %s\n", NR, $0) }' | a2p > linum.pl
chmod +x linum.pl Let's try it out:ls -la /usr | ./linum.pl
1 : total 240
2 : drwxr-xr-x+ 12 root root 4096 2010-06-21 06:47 .
3 : drwxr-xr-x 22 root root 4096 2011-05-11 12:06 ..
4 : drwxr-xr-x+ 2 root root 69632 2011-05-24 14:07 bin
5 : drwxr-xr-x+ 2 root root 4096 2010-05-05 11:33 games
6 : drwxr-xr-x+ 5 root root 4096 2010-06-21 06:47 i586-suse-linux
7 : drwxr-xr-x+ 52 root root 4096 2011-05-13 04:17 include
8 : drwxr-xr-x+ 156 root root 69632 2011-05-24 14:07 lib
9 : drwxr-xr-x+ 10 root root 4096 2010-06-21 06:47 local
10 : drwxr-xr-x+ 2 root root 12288 2011-05-24 14:07 sbin
11 : drwxr-xr-x+ 213 root root 4096 2011-05-23 13:19 share
The code block looks pretty good:
while (<>) {
chomp; # strip record separator
printf "%5d : %s\n", $., $_;
}
Posted by
cmihai
at
9:27 PM
3
comments
NSA Operating Systems Security Configuration Guides
NSA published some rather interesting OS security guides:
http://www.nsa.gov/ia/guidance/security_configuration_guides/operating_systems.shtml
The RHEL Security Guides are quite good.
- Guide to the Secure Configuration of Red Hat Enterprise Linux 5
- Hardening Tips for the Red Hat Enterprise Linux 5
Posted by
cmihai
at
1:35 PM
2
comments
Friday, May 20, 2011
IBM SmartCloud Enterprise tips: LVM and FTPS
IBM SmartCloud Enterprise tips:
Learn how to set up a 64-bit Linux® instance (starting with a Bronze-level offering) with the Linux Logical Volume Manager (LVM), capture a private image and deploy a new instance as a different offering (a Platinum tier) and then grow the LVM volumes and file systems to accommodate the new physical volumes. This article also shows how to configure and manage LVM across physical volumes using Linux LVM-type partitions:
Set up a Microsoft® Windows™ Server 2008 R2 on the IBM Cloud so that it can act as a file server. This article details the steps to configure an FTPS and SMB file server using persistent storage; this enables the cloud user to upload and download files to and from instances in the cloud and facilitate data exchange:
Posted by
cmihai
at
4:58 PM
0
comments
Labels: CloudComputing, IBM, SCE, SmartCloud
Sunday, October 10, 2010
Microsoft Mathematics Add-In for Word and OneNote
Heh, this one is pretty awesome. Calculus and plotting in Microsoft Word :-). Best of all, it's a free add-on.
Posted by
cmihai
at
3:06 AM
2
comments
Labels: Microsoft
Saturday, October 02, 2010
Mount hfsplus and hfs read write on Linux
Mount HFS+ rw on Linux (at your own risk...)
# Install HFS+ support
aptitude install hfsplus hfsprogs hfsutils
# Keep an eye on your dmesg:
tail -f /var/log/messages
# Get an idea on what partition you'd want to mount
cat /proc/partitions
# See what filesystems are supported
cat /proc/filesystems
# Check for a hfsplus LKM
modprobe -l | grep hfsplus
# Load it
modprobe hfsplus
# Check to see if it's loaded
grep hfsplus /proc/partitions
# Mount the HFS+ partition. If it's journaled, we don't need -o force.
mount -t hfsplus -o force -o rw /dev/sda2 /mnt/test
# Verify it
/dev/sda2 on /mnt/test type hfsplus (rw,force) touch /mnt/test/selftest ls -la /mnt/test/selftest
# If we're not allowed to mount with the write option, check dmesg
# If required, fsck, then remount.
/sbin/fsck.hfsplus -f /dev/sda2
# As an alternative, you can disable the journal on a MacOS:
# GUI: hold option while clicking the menu in Disk Utility. CMD:
diskutil listsudo diskutil disableJournal /Volumes/Yourdisk
Posted by
cmihai
at
2:11 PM
5
comments

