<?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>penoycentral.net</title>
	<atom:link href="http://www.penoycentral.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.penoycentral.net</link>
	<description>Misadventures of Penoy Internet tips tricks howtos reviews nonsense rants and fun</description>
	<lastBuildDate>Thu, 17 May 2012 02:06:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Changing Timezone in RHEL/Centos</title>
		<link>http://www.penoycentral.net/linuxnix/changing-timezone-in-rhelcentos/</link>
		<comments>http://www.penoycentral.net/linuxnix/changing-timezone-in-rhelcentos/#comments</comments>
		<pubDate>Thu, 17 May 2012 02:02:37 +0000</pubDate>
		<dc:creator>penoycentral</dc:creator>
				<category><![CDATA[Linux/Nix]]></category>

		<guid isPermaLink="false">http://www.penoycentral.net/?p=706</guid>
		<description><![CDATA[This is one way of changing your server timezone and resync on the ntp server service ntpd stop cp /usr/share/zoneinfo/Asia/Singapore /etc/localtime ntpdate service ntpd start more info: http://www.redhat.com/advice/tips/timezone.html]]></description>
			<content:encoded><![CDATA[<p>This is one way of changing your server timezone and resync on the ntp server</p>
<pre class="wp-code-highlight prettyprint"> service ntpd stop</pre>
<p><span id="more-706"></span></p>
<pre class="wp-code-highlight prettyprint"> cp /usr/share/zoneinfo/Asia/Singapore /etc/localtime</pre>
<pre class="wp-code-highlight prettyprint"> ntpdate</pre>
<pre class="wp-code-highlight prettyprint"> service ntpd start </pre>
<p>more info: http://www.redhat.com/advice/tips/timezone.html</p>
]]></content:encoded>
			<wfw:commentRss>http://www.penoycentral.net/linuxnix/changing-timezone-in-rhelcentos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>remove host key under known_hosts</title>
		<link>http://www.penoycentral.net/linuxnix/remove-host-key-under-known_hosts/</link>
		<comments>http://www.penoycentral.net/linuxnix/remove-host-key-under-known_hosts/#comments</comments>
		<pubDate>Tue, 08 May 2012 08:35:54 +0000</pubDate>
		<dc:creator>penoycentral</dc:creator>
				<category><![CDATA[Linux/Nix]]></category>

		<guid isPermaLink="false">http://www.penoycentral.net/?p=703</guid>
		<description><![CDATA[Normally after a server rebuild you will receive a warning that the host identification has changed @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just [...]]]></description>
			<content:encoded><![CDATA[<p>Normally after a server rebuild you will receive a warning that the host identification has changed</p>
<pre class="wp-code-highlight prettyprint"> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
</pre>
<p><span id="more-703"></span></p>
<p>One solution is to remove the offending host key</p>
<pre class="wp-code-highlight prettyprint">ssh-keygen -f &quot;/home/chris/.ssh/known_hosts&quot; -R ip-address-of-the-host</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.penoycentral.net/linuxnix/remove-host-key-under-known_hosts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql wont start after server crashed</title>
		<link>http://www.penoycentral.net/linuxnix/mysql/mysql-wont-start-after-server-crashed/</link>
		<comments>http://www.penoycentral.net/linuxnix/mysql/mysql-wont-start-after-server-crashed/#comments</comments>
		<pubDate>Thu, 03 May 2012 14:27:16 +0000</pubDate>
		<dc:creator>penoycentral</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.penoycentral.net/?p=700</guid>
		<description><![CDATA[My mysql database crashed after saving a snapshot thru KVM. Restarting mysqld shows errors under /var/log/mysqld.log ..check that your my.cnf matches the ibdata files.. one solution was to move all ib* data and restart mysqld mkdir /srv/mysql/old mv /srv/mysql/ib* /srv/mysql/old service mysqld restart]]></description>
			<content:encoded><![CDATA[<p>My mysql database crashed after saving a snapshot thru KVM. Restarting mysqld shows errors under /var/log/mysqld.log</p>
<p><span id="more-700"></span></p>
<pre class="wp-code-highlight prettyprint">..check that your my.cnf matches the ibdata files..</pre>
<p>one solution was to move all ib* data and restart mysqld</p>
<pre class="wp-code-highlight prettyprint"> mkdir /srv/mysql/old
mv /srv/mysql/ib* /srv/mysql/old
service mysqld restart</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.penoycentral.net/linuxnix/mysql/mysql-wont-start-after-server-crashed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KVM commands</title>
		<link>http://www.penoycentral.net/linux/kvm/kvm-commands/</link>
		<comments>http://www.penoycentral.net/linux/kvm/kvm-commands/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 02:01:45 +0000</pubDate>
		<dc:creator>penoycentral</dc:creator>
				<category><![CDATA[KVM]]></category>

		<guid isPermaLink="false">http://www.penoycentral.net/?p=691</guid>
		<description><![CDATA[To install with prompt virt-install --prompt List virtual machine virsh list Stop virtual machine virsh destroy &#60;vm name&#62; Configure VM autostart virsh autostart &#60;vm name&#62; Unconfigure VM autostart virsh autostart --disable &#60;vm name&#62; To install using kickstart virt-install --name=rhel03.localdomain -r 768 --disk path=/var/lib/libvirt/images/rhel03.localdomain.img,size=8 -l http://192.168.122.1/pub/inst -x &#34;ks=http://192.168.122.1/pub/ks/rhel03.cfg&#34; To create VM snapshot virsh save centos01 centos01.snap.$(date [...]]]></description>
			<content:encoded><![CDATA[<p>To install with prompt</p>
<pre class="wp-code-highlight prettyprint">virt-install --prompt</pre>
<p>List virtual machine</p>
<pre class="wp-code-highlight prettyprint">virsh list</pre>
<p><span id="more-691"></span></p>
<p>Stop virtual machine</p>
<pre class="wp-code-highlight prettyprint">virsh destroy &lt;vm name&gt;</pre>
<p>Configure VM autostart</p>
<pre class="wp-code-highlight prettyprint">virsh autostart &lt;vm name&gt;</pre>
<p>Unconfigure VM autostart</p>
<pre class="wp-code-highlight prettyprint">virsh autostart --disable &lt;vm name&gt;</pre>
<p>To install using kickstart</p>
<pre class="wp-code-highlight prettyprint">virt-install --name=rhel03.localdomain -r 768 --disk path=/var/lib/libvirt/images/rhel03.localdomain.img,size=8 -l http://192.168.122.1/pub/inst -x &quot;ks=http://192.168.122.1/pub/ks/rhel03.cfg&quot;</pre>
<p>To create VM snapshot</p>
<pre class="wp-code-highlight prettyprint">virsh save centos01 centos01.snap.$(date +%y%m%d)</pre>
<p>To restore VM snapshot</p>
<pre class="wp-code-highlight prettyprint">virsh shutdown centos01
virsh restore centos01.snap</pre>
<p>Clone vm</p>
<pre class="wp-code-highlight prettyprint">virt-clone --original centos01 --name centos02 --file /home/penoycentral/images/centos02.img</pre>
<p>Troubleshooting KVM</p>
<p>Error when starting the VM snapshot</p>
<pre class="wp-code-highlight prettyprint">error restoring domain unable to read from monitor</pre>
<p>To fix</p>
<pre class="wp-code-highlight prettyprint">virsh managedsave-remove domain-name</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.penoycentral.net/linux/kvm/kvm-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql commands</title>
		<link>http://www.penoycentral.net/linuxnix/mysql/mysql-commands/</link>
		<comments>http://www.penoycentral.net/linuxnix/mysql/mysql-commands/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 05:15:40 +0000</pubDate>
		<dc:creator>penoycentral</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.penoycentral.net/?p=687</guid>
		<description><![CDATA[Set mysql root password mysqladmin -u root password 'new-password' Show databases mysql&#62; show databases; mysql&#62; use databasename; Show tables mysql&#62; show tables; Show columns mysql&#62; select column from tables; Backup database $mysqldump -u &#60;username&#62; -p &#60;databasename&#62; &#62; backupdatabase.sql Restore database mysql -u &#60;username&#62; -p &#60;database&#62; &#60; databasebackup.sql]]></description>
			<content:encoded><![CDATA[<p>Set mysql root password </p>
<pre class="wp-code-highlight prettyprint">mysqladmin -u root password 'new-password'</pre>
<p>Show databases</p>
<pre class="wp-code-highlight prettyprint">mysql&gt; show databases;
mysql&gt; use databasename;</pre>
<p><span id="more-687"></span></p>
<p>Show tables</p>
<pre class="wp-code-highlight prettyprint">mysql&gt; show tables;</pre>
<p>Show columns</p>
<pre class="wp-code-highlight prettyprint">mysql&gt; select column from tables;</pre>
<p>Backup database</p>
<pre class="wp-code-highlight prettyprint">$mysqldump -u &lt;username&gt; -p &lt;databasename&gt; &gt; backupdatabase.sql</pre>
<p>Restore database</p>
<pre class="wp-code-highlight prettyprint">mysql -u &lt;username&gt; -p &lt;database&gt; &lt; databasebackup.sql</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.penoycentral.net/linuxnix/mysql/mysql-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RHCSA/RHCE Red Hat Linux Certification Practice Exams with Virtual Machines (Exams EX200 &amp; EX300)</title>
		<link>http://www.penoycentral.net/linuxnix/rhcsarhce-red-hat-linux-certification-practice-exams-with-virtual-machines-exams-ex200-ex300/</link>
		<comments>http://www.penoycentral.net/linuxnix/rhcsarhce-red-hat-linux-certification-practice-exams-with-virtual-machines-exams-ex200-ex300/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 04:20:12 +0000</pubDate>
		<dc:creator>penoycentral</dc:creator>
				<category><![CDATA[Linux/Nix]]></category>

		<guid isPermaLink="false">http://www.penoycentral.net/?p=681</guid>
		<description><![CDATA[Im a big fan of Michael Jang. Having seen this upcoming book will greatly help all RHCSA/RHCE aspirants. Hopefully Michael can give me a free copy http://www.amazon.com/RHCSA-Certification-Practice-Virtual-Machines/dp/007180160X/ref=sr_1_4?s=books&#38;amp;ie=UTF8&#38;amp;qid=1335154380&#38;amp;sr=1-4]]></description>
			<content:encoded><![CDATA[<p>Im a big fan of Michael Jang. Having seen this upcoming book will greatly help all RHCSA/RHCE aspirants. Hopefully Michael can give me a free copy <img src='http://www.penoycentral.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span id="more-681"></span></p>
<pre class="wp-code-highlight prettyprint">http://www.amazon.com/RHCSA-Certification-Practice-Virtual-Machines/dp/007180160X/ref=sr_1_4?s=books&amp;amp;ie=UTF8&amp;amp;qid=1335154380&amp;amp;sr=1-4</pre>
<p><a href="http://www.penoycentral.net/wp-content/uploads/2012/04/51mUf5qcs0L._SL500_AA300_.jpg"><img class="size-full wp-image-682 alignleft" title="51mUf5qcs0L._SL500_AA300_" src="http://www.penoycentral.net/wp-content/uploads/2012/04/51mUf5qcs0L._SL500_AA300_.jpg" alt="RHCSA RHCE Practice exams" width="300" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.penoycentral.net/linuxnix/rhcsarhce-red-hat-linux-certification-practice-exams-with-virtual-machines-exams-ex200-ex300/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vmnetcfg in VMware Player running in Fedora 16</title>
		<link>http://www.penoycentral.net/linuxnix/vmnetcfg-in-vmware-player-running-in-fedora-16/</link>
		<comments>http://www.penoycentral.net/linuxnix/vmnetcfg-in-vmware-player-running-in-fedora-16/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 14:34:13 +0000</pubDate>
		<dc:creator>penoycentral</dc:creator>
				<category><![CDATA[Linux/Nix]]></category>

		<guid isPermaLink="false">http://www.penoycentral.net/?p=674</guid>
		<description><![CDATA[where is vmnetcfg in VMware Player running in Fedora 16? It is found under: /usr/lib/vmware/bin/vmware-netcfg]]></description>
			<content:encoded><![CDATA[<p>where is vmnetcfg in VMware Player running in Fedora 16?</p>
<p>It is found under:</p>
<pre class="wp-code-highlight prettyprint">/usr/lib/vmware/bin/vmware-netcfg</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.penoycentral.net/linuxnix/vmnetcfg-in-vmware-player-running-in-fedora-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode &#8211; (ANCDA-D87M)</title>
		<link>http://www.penoycentral.net/netapp/accelerated-ncda-boot-camp-data-ontap-8-0-7-mode-ancda-d87m/</link>
		<comments>http://www.penoycentral.net/netapp/accelerated-ncda-boot-camp-data-ontap-8-0-7-mode-ancda-d87m/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 07:39:28 +0000</pubDate>
		<dc:creator>penoycentral</dc:creator>
				<category><![CDATA[Netapp]]></category>

		<guid isPermaLink="false">http://www.penoycentral.net/?p=658</guid>
		<description><![CDATA[I will be sitting for Netapp Accelerated NCDA bootcamp Ontap 8.0.7-Mode next week. It will be delivered by Fastlane Singapore, one of the authorized Netapp learning Centers. Hopefully this vendor training will help me to fastrack since my company deploys Netapp storage solutions to our clients. Will post some reviews next week (if again i [...]]]></description>
			<content:encoded><![CDATA[<p>I will be sitting for Netapp Accelerated NCDA bootcamp Ontap 8.0.7-Mode next week. It will be delivered by Fastlane Singapore, one of the authorized Netapp learning Centers. Hopefully this vendor training will help me to fastrack since my company deploys Netapp storage solutions to our clients.</p>
<p><span id="more-658"></span></p>
<p>Will post some reviews next week (if again i have the time <img src='http://www.penoycentral.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.penoycentral.net/netapp/accelerated-ncda-boot-camp-data-ontap-8-0-7-mode-ancda-d87m/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netapp Snapmirroring</title>
		<link>http://www.penoycentral.net/netapp/netapp-snapmirroring/</link>
		<comments>http://www.penoycentral.net/netapp/netapp-snapmirroring/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 06:31:48 +0000</pubDate>
		<dc:creator>penoycentral</dc:creator>
				<category><![CDATA[Netapp]]></category>

		<guid isPermaLink="false">http://www.penoycentral.net/?p=654</guid>
		<description><![CDATA[From the destination:(most of the commands done on the destination filer) Initialize: snapmirror initialize -S &#38;lt;source-qtree&#62; &#38;lt;destination-qtree&#62; filer2&#62; snapmirror initialize -S filer1:/vol/vol2/qtree-name filer2:/vol/vol0/qtree-name Snapmirror status &#62; snapmirror status Pause Snapmirror &#62;snapmirror quiesce &#38;lt;qtree&#62; filer2&#62; snapmirror quiesce /vol/vol0/qtree-name Resume Snapmirror &#62;snapmirror resume &#38;lt;destination-path&#62; filer2&#62; snapmirror resume /vol/vol0/qtree-name To break Snapmirror (for destination to be rw) filer2&#62; [...]]]></description>
			<content:encoded><![CDATA[<p><strong>From the destination:(most of the commands done on the destination filer)</strong></p>
<p><strong>Initialize:</strong><span id="more-654"></span></p>
<pre class="wp-code-highlight prettyprint">
snapmirror initialize -S &amp;lt;source-qtree&gt; &amp;lt;destination-qtree&gt;
filer2&gt; snapmirror initialize -S filer1:/vol/vol2/qtree-name filer2:/vol/vol0/qtree-name</pre>
<p><strong>Snapmirror status</strong></p>
<pre class="wp-code-highlight prettyprint">
&gt; snapmirror status</pre>
<p><strong>Pause Snapmirror</strong></p>
<pre class="wp-code-highlight prettyprint">
&gt;snapmirror quiesce &amp;lt;qtree&gt;
filer2&gt; snapmirror quiesce /vol/vol0/qtree-name</pre>
<p><strong>Resume Snapmirror</strong></p>
<pre class="wp-code-highlight prettyprint">
&gt;snapmirror resume &amp;lt;destination-path&gt;
filer2&gt; snapmirror resume /vol/vol0/qtree-name</pre>
<p><strong>To break Snapmirror (for destination to be rw)</strong></p>
<pre class="wp-code-highlight prettyprint">
filer2&gt; snapmirror quiesce /vol/vol0/qtree-name
filer2&gt; snapmirror break /vol/vol0/qtree-name
</pre>
<p><strong>Check qtree status</strong></p>
<pre class="wp-code-highlight prettyprint">
&gt;qtree status
</pre>
<p><strong>Remirror</strong></p>
<pre class="wp-code-highlight prettyprint">
filer2&gt; snapmirror resync -S filer1:/vol/vol2/qtree-name filer2:/vol/vol0/qtree-name</pre>
<p>http://www.sysadmintutorials.com/tutorials/netapp/netapp-snapmirror-setup/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.penoycentral.net/netapp/netapp-snapmirroring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to set size of tmpfs in /etc/fstab RHEL6.2</title>
		<link>http://www.penoycentral.net/linuxnix/unable-to-set-size-of-tmpfs-in-etcfstab-rhel6-2/</link>
		<comments>http://www.penoycentral.net/linuxnix/unable-to-set-size-of-tmpfs-in-etcfstab-rhel6-2/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 13:16:36 +0000</pubDate>
		<dc:creator>penoycentral</dc:creator>
				<category><![CDATA[Linux/Nix]]></category>

		<guid isPermaLink="false">http://www.penoycentral.net/?p=649</guid>
		<description><![CDATA[Resized tmpfs space in /etc/fstab to 4g tmpfs /dev/shm tmpfs size=4096m 0 0&#60;/blockquote&#62; After reboot, size still on 2G [root@OEL1 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_oel1-lv_root 16G 3.8G 11G 27% / tmpfs 2.0G 0 2.0G 0% /dev/shm /dev/sda1 485M 51M 409M 12% /boot Looks like a bug on RHEL6 https://www.redhat.com/archives/rhelv6-list/2011-February/msg00081.html [...]]]></description>
			<content:encoded><![CDATA[<p>Resized tmpfs space in /etc/fstab to 4g</p>
<pre class="wp-code-highlight prettyprint">tmpfs /dev/shm tmpfs size=4096m 0 0&lt;/blockquote&gt;</pre>
<p>After reboot, size still on 2G<br />
<span id="more-649"></span></p>
<pre class="wp-code-highlight prettyprint">[root@OEL1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_oel1-lv_root
16G 3.8G 11G 27% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
/dev/sda1 485M 51M 409M 12% /boot</pre>
<p>Looks like a bug on RHEL6</p>
<p>https://www.redhat.com/archives/rhelv6-list/2011-February/msg00081.html</p>
<pre class="wp-code-highlight prettyprint">
[root@OEL1 ~]# mount -o remount /dev/shm
[root@OEL1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_oel1-lv_root
16G 3.8G 11G 27% /
tmpfs 4.0G 0 4.0G 0% /dev/shm
/dev/sda1 485M 51M 409M 12% /boot
[root@OEL1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.2 (Santiago)</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.penoycentral.net/linuxnix/unable-to-set-size-of-tmpfs-in-etcfstab-rhel6-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

