<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Doomlands of the Lunatics &#187; Work</title>
	<atom:link href="http://www.maulvi.net/category/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.maulvi.net</link>
	<description>Only survivors here...</description>
	<lastBuildDate>Fri, 04 Nov 2011 07:39:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Loading US Keyboard Map QWERTY on Linux</title>
		<link>http://www.maulvi.net/2011/03/14/loading-us-keyboard-map-qwerty-on-linux/</link>
		<comments>http://www.maulvi.net/2011/03/14/loading-us-keyboard-map-qwerty-on-linux/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 03:21:04 +0000</pubDate>
		<dc:creator>Maulvi Bakar</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.maulvi.net/?p=63</guid>
		<description><![CDATA[Sometimes, when you&#8217;re supporting machines located on various parts of the world, you&#8217;ll encounter machines with funny keyboard arrangements. This is normal! Different parts of Europe and Canada uses different keyboard language layout. You&#8217;re using a machine with US Keyboard layout to access these machines and to change the layout to it, issue the following [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes, when you&#8217;re supporting machines located on various parts of the world, you&#8217;ll encounter machines with funny keyboard arrangements.  </p>
<p>This is normal!</p>
<p>Different parts of Europe and Canada uses different keyboard language layout.  You&#8217;re using a machine with US Keyboard layout to access these machines and to change the layout to it, issue the following commands -</p>
<p><code>/bin/loadkeys /usr/share/kbd/keymaps/i386/qwerty/us.map.gz</code></p>
<p>Inside the same directory lists a bunch of other commonly/un-commonly used keyboard keymaps. Your mileage vary depending were you&#8217;re located from and what type of keyboard you&#8217;re using.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maulvi.net/2011/03/14/loading-us-keyboard-map-qwerty-on-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Solaris Ping Results</title>
		<link>http://www.maulvi.net/2011/02/17/solaris-ping-results/</link>
		<comments>http://www.maulvi.net/2011/02/17/solaris-ping-results/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 06:10:23 +0000</pubDate>
		<dc:creator>Maulvi Bakar</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.maulvi.net/?p=65</guid>
		<description><![CDATA[Ever tried to ping a host on a Solaris machine? $ ping pong pong is alive You&#8217;ll get a plain &#8216;is alive&#8217; results. If you need packets received and timing information, you have to add the option -s like thus - user@tennis:/usr/sbin > ping -s pong PING pong: 56 data bytes 64 bytes from pong [...]]]></description>
			<content:encoded><![CDATA[<p>Ever tried to ping a host on a Solaris machine?</p>
<p><code>$ ping pong</p>
<p>pong is alive</code></p>
<p>You&#8217;ll get a plain &#8216;is alive&#8217; results.  If you need packets received and timing information, you have to add the option -s like thus -</p>
<p><code>user@tennis:/usr/sbin > ping -s pong</p>
<p>PING pong: 56 data bytes<br />
64 bytes from pong (x.x.x.x): icmp_seq=0. time=0. ms<br />
64 bytes from pong (x.x.x.x): icmp_seq=1. time=0. ms<br />
64 bytes from pong (x.x.x.x): icmp_seq=2. time=2. ms<br />
64 bytes from pong (x.x.x.x): icmp_seq=3. time=0. ms<br />
64 bytes from pong (x.x.x.x): icmp_seq=4. time=0. ms<br />
64 bytes from pong (x.x.x.x): icmp_seq=5. time=0. ms</p>
<p>----pong PING Statistics----<br />
6 packets transmitted, 6 packets received, 0% packet loss<br />
round-trip (ms)  min/avg/max = 0/0/2</code></p>
<p>Funny Solaris trying not to conform with the rest of the *NIX community.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maulvi.net/2011/02/17/solaris-ping-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customizing the Bash Prompt</title>
		<link>http://www.maulvi.net/2010/12/19/customizing-the-bash-prompt/</link>
		<comments>http://www.maulvi.net/2010/12/19/customizing-the-bash-prompt/#comments</comments>
		<pubDate>Sun, 19 Dec 2010 15:29:21 +0000</pubDate>
		<dc:creator>Maulvi Bakar</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.maulvi.net/?p=59</guid>
		<description><![CDATA[If you&#8217;re on Linux, most of the time the current existing bash prompt is fine. Other types of UNIX, in my case is Solaris, is somewhat spartan in appearance. You&#8217;ll either get a boring &#8216;$&#8217; or &#8216;#&#8217; or simply a display of version. The table below are the various options available - \a : an [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re on Linux, most of the time the current existing bash prompt is fine. Other types of UNIX, in my case is Solaris, is somewhat spartan in appearance. You&#8217;ll either get a boring &#8216;$&#8217; or &#8216;#&#8217; or simply a display of version.</p>
<p>The table below are the various options available -</p>
<ul>
<li>\a : an ASCII bell character (07)</li>
<li>\d : the date in &#8220;Weekday Month Date&#8221; format (e.g., &#8220;Tue May 26&#8243;)</li>
<li>\D{format} : the format is passed to strftime(3) and the result is inserted into the prompt string; an empty format results in a locale-specific time representation. The braces are required</li>
<li>\e : an ASCII escape character (033)</li>
<li>\h : the hostname up to the first &#8216;.&#8217;</li>
<li>\H : the hostname</li>
<li>\j : the number of jobs currently managed by the shell</li>
<li>\l : the basename of the shell’s terminal device name</li>
<li>\n : newline</li>
<li>\r : carriage return</li>
<li>\s : the name of the shell, the basename of $0 (the portion following the final slash)</li>
<li>\t : the current time in 24-hour HH:MM:SS format</li>
<li>\T : the current time in 12-hour HH:MM:SS format</li>
<li>\@ : the current time in 12-hour am/pm format</li>
<li>\A : the current time in 24-hour HH:MM format</li>
<li>\u : the username of the current user</li>
<li>\v : the version of bash (e.g., 2.00)</li>
<li>\V : the release of bash, version + patch level (e.g., 2.00.0)</li>
<li>\w : the current working directory, with $HOME abbreviated with a tilde</li>
<li>\W : the basename of the current working directory, with $HOME abbreviated with a tilde</li>
<li>\! : the history number of this command</li>
<li>\# : the command number of this command</li>
<li>\$ : if the effective UID is 0, a #, otherwise a $</li>
<li>\nnn : the character corresponding to the octal number nnn</li>
<li>\\ : a backslash</li>
<li>\[ : begin a sequence of non-printing characters, which could be used to embed a terminal control sequence into the prompt</li>
<li>\] : end a sequence of non-printing characters</li>
</ul>
<p>Personally, I just wanted to duplicate the bash prompt on Linux into Solaris. All I did was thus in the &#8220;/etc/profile&#8221; -</p>
<p><code>export PS1<br />
PS1='[\u@\h:\w]\$ '</code></p>
<p>Remember to use single quotes &#8221; &#8216; &#8221; rather than the double quotes. Otherwise the &#8220;\$&#8221; will not work.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maulvi.net/2010/12/19/customizing-the-bash-prompt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: Disable GUI Desktop on Solaris 10</title>
		<link>http://www.maulvi.net/2010/12/19/howto-disable-gui-desktop-on-solaris-10/</link>
		<comments>http://www.maulvi.net/2010/12/19/howto-disable-gui-desktop-on-solaris-10/#comments</comments>
		<pubDate>Sun, 19 Dec 2010 06:31:52 +0000</pubDate>
		<dc:creator>Maulvi Bakar</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.maulvi.net/?p=56</guid>
		<description><![CDATA[My life seems to be centered around *NIX. After many false start, I am about to embark on a serious Solaris journey. *NIX politics aside. I&#8217;ve formed judgment already, but I reserve publishing it at the moment. For the time being, enough said &#8211; it is a pure workplace choice. # date;uname -a;uptime Sun Dec [...]]]></description>
			<content:encoded><![CDATA[<p>My life seems to be centered around *NIX. After many false start, I am about to embark on a serious Solaris journey.</p>
<p>*NIX politics aside. I&#8217;ve formed judgment already, but I reserve publishing it at the moment. For the time being, enough said &#8211; it is a pure workplace choice.</p>
<p><code># date;uname -a;uptime<br />
Sun Dec 19 14:27:32 MYT 2010<br />
SunOS solaris 5.10 Generic_142910-17 i86pc i386 i86pc<br />
  2:27pm  up 25 min(s),  1 user,  load average: 0.01, 0.11, 1.05<br />
</code></p>
<p>By default, Oracle Solaris 10 will start with Gnome/CDE GUI interface upon start-up. To disable GUI, especially if you intend to run a headless server, do this -</p>
<p><code># /usr/dt/bin/dtconfig -d</code></p>
<p>To enable it again, simply -</p>
<p><code># /usr/dt/bin/dtconfig -e</code></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maulvi.net/2010/12/19/howto-disable-gui-desktop-on-solaris-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HPUX Breaking Mirror and Extending LVM</title>
		<link>http://www.maulvi.net/2009/06/02/hpux-breaking-mirror-and-extending-lvm/</link>
		<comments>http://www.maulvi.net/2009/06/02/hpux-breaking-mirror-and-extending-lvm/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 13:42:19 +0000</pubDate>
		<dc:creator>Maulvi Bakar</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.maulvi.net/2009/06/02/hpux-breaking-mirror-and-extending-lvm/</guid>
		<description><![CDATA[I&#8217;m learning new things nowadays..  Particularly HPUX.  Not really my cup of tea since it not open-source but interesting enough though. We had one machine with mirrored harddisks with one being faulty that needs removal. Break mirror procedure.. 1. Remove the mirror on the Logical Volume affected within the Volume Group lvreduce -m 0 /dev/vg01/lvol1 [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m learning new things nowadays..  Particularly HPUX.  Not really my cup of tea since it not open-source but interesting enough though.</p>
<p>We had one machine with mirrored harddisks with one being faulty that needs removal.</p>
<p>Break mirror procedure..</p>
<p>1. Remove the mirror on the Logical Volume affected within the Volume Group<br />
<code>lvreduce -m 0 /dev/vg01/lvol1 /dev/dsk/c2t0d0<br />
lvreduce -m 0 /dev/vg01/lvol2 /dev/dsk/c2t0d0</code></p>
<p>2. Now remove the Volume Group from the Physical Volume that is targeted for removal<br />
<code>vgreduce /dev/vg01 /dev/dsk/c2t0d0</code></p>
<p>3. Finally remove the Physical Volume from the Physical Disk<br />
<code>pvremove /dev/rdsk/c2t0d0</code><br />
Please note the &#8216;r&#8217;..  &#8216;r&#8217; stands for physical disk, while the one without is the physical volume..</p>
<p>Restore mirror procedure&#8230;</p>
<p>1. First, let&#8217;s verify things<br />
<code>ioscan -funC disk<br />
pvdisplay /dev/dsk/c1t0d0        # get lvm info of existing disk.<br />
pvdisplay /dev/dsk/c2t0d0        # get err, no lvm def on it, raw disk.</code></p>
<p>2. Now we create the Physical Volume within the Physical Disk and extend the Volume Group onto it.<br />
<code>pvcreate /dev/rdsk/c2t0d0        # add physical disk to be used by LVM<br />
vgextend /dev/vg01 /dev/dsk/c2t0d0    # incorporate new disk to existing vg00</code></p>
<p>2a. If you&#8217;re recreating a bootable disk, the commands below must be used instead -</p>
<p><code>pvcreate -B /dev/rdsk/c2t0d0        # add physical disk to be used by LVM and make it bootable<br />
vgextend /dev/vg01 /dev/dsk/c2t0d0    # incorporate new disk to existing vg00<br />
mkboot -a "hpux -lq /stand/vmunix" /dev/dsk/c2t0d0     # install the bootloader<br />
</code></p>
<p>3. Check and verify!<br />
<code>strings /etc/lvmtab            # see new disk used by lvm</code></p>
<p>4. The next steps will actually perform the mirror, and it will fail if -m mirroring option is not activated with valid license<br />
<code>lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c2t0d0    # add mirror for lvol1<br />
lvextend -m 1 /dev/vg01/lvol2 /dev/dsk/c2t0d0    # add mirror for lvol2</code></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maulvi.net/2009/06/02/hpux-breaking-mirror-and-extending-lvm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing user&#8217;s file ownership across the board</title>
		<link>http://www.maulvi.net/2008/12/25/changing-users-file-ownership-across-the-board/</link>
		<comments>http://www.maulvi.net/2008/12/25/changing-users-file-ownership-across-the-board/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 06:25:40 +0000</pubDate>
		<dc:creator>Maulvi Bakar</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.maulvi.net/2008/12/25/changing-users-file-ownership-across-the-board/</guid>
		<description><![CDATA[The guys from the promised database lands had their systems acting funny.  After investigation, they found out that, their files was having the wrong group ownership. There&#8217;s a total of 70,000 files involved.  Promised lands or not, manually changing 70,000 files (and folders) is not a good prospect.  Well, I could go through the individual [...]]]></description>
			<content:encoded><![CDATA[<p>The guys from the promised database lands had their systems acting funny.  After investigation, they found out that, their files was having the wrong group ownership.</p>
<p>There&#8217;s a total of 70,000 files involved.  Promised lands or not, manually changing 70,000 files (and folders) is not a good prospect.  Well, I could go through the individual sub-folders but I would need to work from the last in-depth sub-folders and work my way out.  Even that does not guarantee accuracy, since there might be sub-folders with multiple owners which I&#8217;m not suppose to touch.  When that happen, then I have to go through it manually looking at each files and folders individually &#8211; not good.</p>
<p>There has to be a short-cut.</p>
<p>I know I can locate all the files that needs to be changed it&#8217;s ownership by using the following commands -<br />
<code>find ./ -user someuser -group wronggroup -print</code></p>
<p>It&#8217;ll list all the relevant files and sub-folders. At first, maybe I&#8217;ll output it into a file, all the results.  Manipulate the file into an executable. Append each lines with a &#8220;chgrp correctgroup&#8221; and have something like &#8211; &#8220;chgrp correctgroup ./to/the/path/of/the/file&#8221;.</p>
<p>I am smart, hey!  <img src='http://www.maulvi.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Let&#8217;s prove that I can be smarter  <img src='http://www.maulvi.net/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
<blockquote><p><strong>Vanity and pride are different things, though the words are often used synonymously. A person may be proud without being vain. Pride relates more to our opinion of ourselves; vanity, to what we would have others think of us.</strong></p>
<p>Jane Austen</p></blockquote>
<p>No, I&#8217;m just trying to figure out the best way of doing things.</p>
<p>&#8220;xargs -t &lt;commands&gt;&#8221;</p>
<p><code>xargs is a command of Unix and most Unix-like operating systems. It is useful when one wants to pass a large number of arguments to a command. Arbitrarily long lists of parameters can't be passed to a command, so xargs will break the list of arguments into sublists small enough to be acceptable.</code></p>
<p><code>xargs - build and execute command lines from standard input</code></p>
<p>The &#8220;-t&#8221; is for the verbose option.  It&#8217;ll spew out the output of the commands being executed.</p>
<p>Basically, every time the output of the earlier &#8220;find&#8221;, it&#8217;ll append the extra commands specified and have it executed. Voila, no need to make a separate executable.  My solution is thus -</p>
<p><code>find ./ -user someuser -group wronggroup -print | xargs -t chgrp correctgroup</code></p>
<p>Happy 4th Anniversary to myself  <img src='http://www.maulvi.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Merry Christmas everyone!</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maulvi.net/2008/12/25/changing-users-file-ownership-across-the-board/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux sparse file in /var/log/lastlog using RHEL3</title>
		<link>http://www.maulvi.net/2008/11/19/linux-sparse-file-in-varloglastlog-using-rhel3-2/</link>
		<comments>http://www.maulvi.net/2008/11/19/linux-sparse-file-in-varloglastlog-using-rhel3-2/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 09:34:38 +0000</pubDate>
		<dc:creator>Maulvi Bakar</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.maulvi.net/2008/11/19/linux-sparse-file-in-varloglastlog-using-rhel3-2/</guid>
		<description><![CDATA[The guys in the promised backup lands had their heads scratching.  Their backups seems to bloat an extra 1.2TB in size!  The culprit seems to be the /var/log/lastlog Lastlog is sparse file which contains unallocated blocks or &#8220;empty space&#8221; and it does not actually take up filesystem space.  Simple test like thus will have a [...]]]></description>
			<content:encoded><![CDATA[<p>The guys in the promised backup lands had their heads scratching.  Their backups seems to bloat an extra 1.2TB in size!  The culprit seems to be the</p>
<p><code>/var/log/lastlog</code></p>
<p>Lastlog is sparse file which contains unallocated blocks or &#8220;empty space&#8221; and it does not actually take up filesystem space.  Simple test like thus will have a very straightforward results -</p>
<p><code>$ du -H /var/log/lastlog<br />
156kB   /var/log/lastlog</code></p>
<p>Furthermore, &#8220;lastlog&#8221; is a file that almost never grow anyway. A common issue apparently.</p>
<p>Usually it is suggested that either the file be excluded from the backup excercise or, if policy-wise not possible, then the backup application to be configured to handle the specific sparse file, in this case &#8220;lastlog&#8221;.</p>
<p>Sparse files can confuse some backup software. Usually tools like GNU tar requires the use of the -S parameter to fix it. If you are using some other software, consult the backup software&#8217;s manuals for options on how to deal with sparse files.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maulvi.net/2008/11/19/linux-sparse-file-in-varloglastlog-using-rhel3-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RHEL4 U5 Install, Boots Up with &#8220;GRUB&#8221; error on screen.</title>
		<link>http://www.maulvi.net/2008/10/29/rhel4-u5-install-boots-up-with-grub-error-on-screen/</link>
		<comments>http://www.maulvi.net/2008/10/29/rhel4-u5-install-boots-up-with-grub-error-on-screen/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 05:39:07 +0000</pubDate>
		<dc:creator>Maulvi Bakar</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.maulvi.net/2008/10/29/rhel4-u5-install-boots-up-with-grub-error-on-screen/</guid>
		<description><![CDATA[This one is a funny error. After finishing the installation, the system reboots and &#8216;poof&#8217; on screen only displays &#8220;GRUB&#8221;. My suspicion is that, GRUB somehow or rather did not install properly onto MBR. Considering previously that the system comes only with a single harddisk. Later on, after fixing a second harddisk, the OS was [...]]]></description>
			<content:encoded><![CDATA[<p>This one is a funny error.  After finishing the installation, the system reboots and &#8216;poof&#8217; on screen only displays &#8220;GRUB&#8221;.</p>
<p>My suspicion is that, GRUB somehow or rather did not install properly onto MBR. Considering previously that the system comes only with a single harddisk.  Later on, after fixing a second harddisk, the OS was re-installed with RAID1.  Maybe that&#8217;s the cause as the old GRUB was not properly overwritten.</p>
<p>Basically, I re-insert the installation CD and boot up into rescue mode.<br />
<code>linux rescue</code></p>
<p>Upon boot up, mount the filesystem thus -<br />
<code># chroot /mnt/sysimage</code></p>
<p>Use grub the regenerate the grub stuff on both hdds thus -<br />
<code># grub</code></p>
<p>On the grub command line, select the 1st harddisk<br />
<code>grub&gt; root (hd0,0)</code></p>
<p>Initialize grub onto the 1st harddisk<br />
<code>grub&gt; setup (hd0)</code></p>
<p>Do the same for the 2nd harddisk<br />
<code>grub&gt; root (hd1,0)<br />
grub&gt; setup (hd1)</code></p>
<p>Exit the grub menu -<br />
<code>grub&gt; exit</code></p>
<p>Reboot the system and your grub should behave normally now..</p>
<p>Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maulvi.net/2008/10/29/rhel4-u5-install-boots-up-with-grub-error-on-screen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>From the Badlands to the Hardlands and finally to the Promised Land.</title>
		<link>http://www.maulvi.net/2008/10/18/linux-sparse-file-in-varloglastlog-using-rhel3/</link>
		<comments>http://www.maulvi.net/2008/10/18/linux-sparse-file-in-varloglastlog-using-rhel3/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 09:21:06 +0000</pubDate>
		<dc:creator>Maulvi Bakar</dc:creator>
				<category><![CDATA[Home]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.maulvi.net/2008/11/19/linux-sparse-file-in-varloglastlog-using-rhel3/</guid>
		<description><![CDATA[Hmm.. My retirement seems to be quite short-lived. I thought I&#8217;m gonna retire from the so called promised land. Well, I did retire.. Thought of taking up agricultural activities, then the economy gone south. Turns out, the promised land is a Hardland. Well, I&#8217;m a former Badlander. At first, I thought I can hack it. [...]]]></description>
			<content:encoded><![CDATA[<p>Hmm..</p>
<p>My retirement seems to be quite short-lived. I thought I&#8217;m gonna retire from the so called promised land. Well, I did retire..  Thought of taking up agricultural activities, then the economy gone south.</p>
<p>Turns out, the promised land is a Hardland. Well, I&#8217;m a former Badlander.  At first, I thought I can hack it.  Hack it I did! 3 years!.. or somewhere close to it! The results? Diabetic, Low Blood Pressure or somewhere close to it too  <img src='http://www.maulvi.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>The advise is to retire  <img src='http://www.maulvi.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />   as if that is possible.  Nope, it&#8217;s just that I need to be mindful of myself, my health and ultimately, all those who have a claim on my life (The spouse, the Inhouse Celebrity).</p>
<p>Then, I got head-hunted again! First from a Japanese Electronics Giant™, but they balked at my physical conditions.  My suspicions is more due to my academics, being a graduate of the Jedi Academy (or maybe the Starfleet Academy <img src='http://www.maulvi.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .  Then, it&#8217;s an American Technology Giant™ (purportedly to be the largest in the world! It&#8217;s true!).  Now, these guys didn&#8217;t even care about my formal background, just so I can demonstrate my abilities.</p>
<p>Heh! Use the force Luke!</p>
<p>I am grateful to be given an opportunity with the American Technology Giant™. Now I truly believe I am in the promised land. I sincerely believe I may just retire here instead&#8230;  Professionally of course..  The union-like work environment. The superb benefits package, especially medical, hospitalization which covers spouse and children, <strong>unlimited</strong> mind you! All these does help nudging me towards my decision.</p>
<p>Wish me luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maulvi.net/2008/10/18/linux-sparse-file-in-varloglastlog-using-rhel3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Time Travelling in VMware Server for Linux (Guest &amp; Host)</title>
		<link>http://www.maulvi.net/2008/08/06/time-travelling-in-vmware-server-for-linux-guest-host/</link>
		<comments>http://www.maulvi.net/2008/08/06/time-travelling-in-vmware-server-for-linux-guest-host/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 14:27:42 +0000</pubDate>
		<dc:creator>Maulvi Bakar</dc:creator>
				<category><![CDATA[Home]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.maulvi.net/2008/08/06/time-travelling-in-vmware-server-for-linux-guest-host/</guid>
		<description><![CDATA[I run two VMware host machines at home. This is where I do most of my &#8216;Training&#8217;. Well, most of my knowledge on Linux are self-learned anyway. This is where I do my R&#38;D. Simply, theory is good. But how do you know whether the theory is practical? What potential pitfalls when you deploy a [...]]]></description>
			<content:encoded><![CDATA[<p>I run two VMware host machines at home.  This is where I do most of my &#8216;Training&#8217;.  Well, most of my knowledge on Linux are self-learned anyway. This is where I do my R&amp;D.</p>
<p>Simply, theory is good.  But how do you know whether the theory is practical?  What potential pitfalls when you deploy a solution? Especially Free (Libre) and Open Source Solutions? Not to say FLOSS solutions are no good, but in a commercial environment, when paying customers are willing to pay good money to transfer their operational risks to you, you better be sure of the solution that you&#8217;re proposing.</p>
<p>FLOSS solutions backed by commercial vendors &#8211; eg. Red Hat, is a safe bet.  You can propose it to customers and as a fall back, there&#8217;s always Red Hat.  Problem starts with FLOSS solutions that specifically states &#8211; &#8216;No warranty/guarantee of any kind&#8217;  <img src='http://www.maulvi.net/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
<p>Not to say they&#8217;re no good, mind you.  That&#8217;s where you as a FLOSS Service Provider comes in.  To provide the kind of warranty/guarantee that the customer wants for such FLOSS solutions.  The other advantage of FLOSS, if the customer&#8217;s not happy with a FLOSS vendor, being FLOSS, you can always go to another vendor.  That forces FLOSS vendors to always provide the best service.</p>
<p>Anyway, I&#8217;m rambling and digressing -</p>
<p>My guest OSes keep travelling faster than my host OS, sometimes as fast as 2 seconds every 10 seconds.  Need to tune the VMware server host a bit -</p>
<p>file &#8211; /etc/vmware/config<br />
<code><br />
host.cpukHz = 3400000<br />
hostinfo.noTSC = TRUE<br />
tools.syncTime = TRUE<br />
</code></p>
<p>The first line is to specify the maximum CPU clock rate the system may run.<br />
Second line is to specify that the cpu is not running at a constant clock rate (speedstep, cpufreq or power management is active when idle) and the timestamp counter is inaccurate an to use it as the least.<br />
The last line sets the default to use vmware-tools timesync function.</p>
<p>Well, I hope this is a permanent solution.</p>
<p>Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://www.maulvi.net/2008/08/06/time-travelling-in-vmware-server-for-linux-guest-host/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

