Kenjun

April 2, 2008

What is UCARP

Filed under: Linux, Systems Administration — kenjun @ 3:56 pm

What is UCARP

UCARP allows a couple of hosts to share common virtual IP addresses in order to provide automatic failover.

How Does DRBD work?

Filed under: Linux, MySQL, Systems Administration, Unix — kenjun @ 3:21 pm

How Does DRBD work?

Each device (DRBD provides more than one of these devices) has a state, which can be ‘primary’ or ’secondary’. On the node with the primary device the application is supposed to run and to access the device (/dev/drbdX). Every write is sent to the local ‘lower level block device’ and to the node with the device in ’secondary’ state. The secondary device simply writes the data to its lower level block device. Reads are always carried out locally.

What is DRBD

Filed under: Linux, MySQL, Systems Administration — kenjun @ 3:17 pm

What is DRBD

DRBD is a block device which is designed to build high availability clusters. This is done by mirroring a whole block device via (a dedicated) network. You could see it as a network raid-1.

 

November 13, 2007

RPM - Redhat Package Manager…

Filed under: Linux, Systems Administration — kenjun @ 4:14 pm

What package owns a file:

rpm -ql /path/to/file

What files belong to a package

rpm -ql package_name

Verifying a package (note that this will be silent if there are no errors)

rpm -V package_name

http://www.tfug.org/helpdesk/linux/rpm.html

July 4, 2007

Installing Ubuntu in Parallels on the MacBook

Filed under: Linux, MacOSX, Parallels, Ubuntu — kenjun @ 8:26 am

Finally got Ubuntu installed in Parallels on the MacBook.

My specs were:

Ubuntu 7.04 - downloaded from here - http://www.ubuntu.com/getubuntu/download

Parallels build 3122

MacOSX 10.4.10

Here’s the guide I used:

http://www.simplehelp.net/2007/04/27/how-to-install-ubuntu-feisty-fawn-in-os-x-using-parallels-a-complete-walkthrough/

The only problem I ran into was that 2GB of disk space was not enough and I had to do a restart.

Blog at WordPress.com.