<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<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/"
	>

<channel>
	<title>Leo's Log</title>
	<link>http://leo.unstable.be/wordpress</link>
	<description>/var/log/leo.log</description>
	<pubDate>Thu, 11 Mar 2010 14:22:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<item>
		<title>Resizing/Adding VMware disk + Linux guest</title>
		<link>http://leo.unstable.be/wordpress/?p=82</link>
		<comments>http://leo.unstable.be/wordpress/?p=82#comments</comments>
		<pubDate>Thu, 11 Mar 2010 14:22:36 +0000</pubDate>
		<dc:creator>leo</dc:creator>
		
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://leo.unstable.be/wordpress/?p=82</guid>
		<description><![CDATA[You have Linux guest running on top of a (recent) VMware esx and you want to extend one of the disks (Not the root fs) ? You can do it without a reboot/downtime
- Resize the disk on VMware (e.g via virtual center)
- Go to the Linux guest os and run: 
echo "1" > /sys/class/scsi_device/your_device/device/rescan
Check with [...]]]></description>
			<content:encoded><![CDATA[<p>You have Linux guest running on top of a (recent) VMware esx and you want to extend one of the disks (Not the root fs) ? You can do it without a reboot/downtime</p>
<p>- Resize the disk on VMware (e.g via virtual center)<br />
- Go to the Linux guest os and run: </p>
<p><code>echo "1" > /sys/class/scsi_device/your_device/device/rescan</code></p>
<p>Check with dmesg is the kernel sees the new size. Should show something like this:</p>
<p><code>SCSI device sda: 209715200 512-byte hdwr sectors (107374 MB)<br />
sda: test WP failed, assume Write Enabled<br />
sda: cache data unavailable<br />
sda: assuming drive cache: write through<br />
sda: detected capacity change from 85899345920 to 107374182400<br />
</code></p>
<p>Now you can use parted or some other tools to resize the partition+filesystem.</p>
<p>Suppose you added a disk to a running VMware instance. No problem</p>
<p>- From within the Linux guest OS run: </p>
<p><code>echo "- - -" > /sys/class/scsi_host/host0/scan</code></p>
<p>Check with dmesg if the system sees the new disks</p>
<p><code><br />
Vendor: VMware    Model: Virtual disk      Rev: 1.0<br />
Type:   Direct-Access                      ANSI SCSI revision: 02<br />
0:0:1:0: mptscsih: ioc0: qdepth=32, tagged=1, simple=1, ordered=0, scsi_level=3, cmd_que=1<br />
target0:0:1: Beginning Domain Validation<br />
target0:0:1: Domain Validation skipping write tests<br />
target0:0:1: Ending Domain Validation<br />
target0:0:1: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 127)<br />
SCSI device sdb: 1048576000 512-byte hdwr sectors (536871 MB)<br />
sdb: test WP failed, assume Write Enabled<br />
sdb: cache data unavailable<br />
sdb: assuming drive cache: write through<br />
SCSI device sdb: 1048576000 512-byte hdwr sectors (536871 MB)<br />
sdb: test WP failed, assume Write Enabled<br />
sdb: cache data unavailable<br />
sdb: assuming drive cache: write through<br />
sdb: unknown partition table<br />
sd 0:0:1:0: Attached scsi disk sdb<br />
sd 0:0:1:0: Attached scsi generic sg1 type 0</code></p>
<p>Another interesting (related) read: <a href="http://www.vmware.com/pdf/esx3_partition_align.pdf">http://www.vmware.com/pdf/esx3_partition_align.pdf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://leo.unstable.be/wordpress/?feed=rss2&amp;p=82</wfw:commentRss>
		</item>
		<item>
		<title>Opening hours (standard) format</title>
		<link>http://leo.unstable.be/wordpress/?p=80</link>
		<comments>http://leo.unstable.be/wordpress/?p=80#comments</comments>
		<pubDate>Fri, 12 Dec 2008 09:47:02 +0000</pubDate>
		<dc:creator>leo</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://leo.unstable.be/wordpress/?p=80</guid>
		<description><![CDATA[Dear Lazyweb,
Is there an (XML based) standard to advertise opening hours of a shop? The way it should work in an ideal world for me: Every shop has a simple file somewhere on their website (e.g http://www.shop.be/openinghours.xml) which contains the opening hours in a standardized (preferably XML) format. That way I can easily import all [...]]]></description>
			<content:encoded><![CDATA[<p>Dear Lazyweb,</p>
<p>Is there an (XML based) standard to advertise opening hours of a shop? The way it should work in an ideal world for me: Every shop has a simple file somewhere on their website (e.g http://www.shop.be/openinghours.xml) which contains the opening hours in a standardized (preferably XML) format. That way I can easily import all these XML files (like a feed) in an application (e.g on a mobile device) and no longer have to wonder if a shop is open or not.</p>
<p>Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://leo.unstable.be/wordpress/?feed=rss2&amp;p=80</wfw:commentRss>
		</item>
		<item>
		<title>Nomad</title>
		<link>http://leo.unstable.be/wordpress/?p=79</link>
		<comments>http://leo.unstable.be/wordpress/?p=79#comments</comments>
		<pubDate>Fri, 28 Nov 2008 22:57:30 +0000</pubDate>
		<dc:creator>leo</dc:creator>
		
		<category><![CDATA[opensuse]]></category>

		<guid isPermaLink="false">http://leo.unstable.be/wordpress/?p=79</guid>
		<description><![CDATA[In the latest versions of the OpenSUSE 11.1 beta a new cool feature/innovation was added and it goes by the name of &#8216;Nomad&#8217;.
Make sure you check the OpenSUSE wiki page to learn more about it.
]]></description>
			<content:encoded><![CDATA[<p>In the latest versions of the OpenSUSE 11.1 beta a new cool feature/innovation was added and it goes by the name of &#8216;Nomad&#8217;.<br />
Make sure you check the <a href="http://en.opensuse.org/Nomad">OpenSUSE wiki page</a> to learn more about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://leo.unstable.be/wordpress/?feed=rss2&amp;p=79</wfw:commentRss>
		</item>
		<item>
		<title>Make your NCP volume highly available with heartbeat</title>
		<link>http://leo.unstable.be/wordpress/?p=77</link>
		<comments>http://leo.unstable.be/wordpress/?p=77#comments</comments>
		<pubDate>Wed, 27 Aug 2008 10:03:05 +0000</pubDate>
		<dc:creator>leo</dc:creator>
		
		<category><![CDATA[ha]]></category>

		<category><![CDATA[oes]]></category>

		<guid isPermaLink="false">http://leo.unstable.be/wordpress/?p=77</guid>
		<description><![CDATA[I wrote a Heartbeat2 resource agent to make your NCP volumes on an OES2 Linux server highly availble if you don&#8217;t want to use Novell Cluster Services (NCS).
This only works for NCP volumes that do _NOT_ reside on NSS!
Take the resource agent and drop it in /usr/lib/ocf/resource.d/heartbeat/
Create an IP resource (IPaddr2), a filesystem resource and [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a <a href="http://www.linux-ha.org">Heartbeat2</a> resource agent to make your NCP volumes on an OES2 Linux server highly availble if you don&#8217;t want to use Novell Cluster Services (NCS).</p>
<p>This only works for NCP volumes that do _NOT_ reside on NSS!</p>
<p>Take the <a href='http://leo.unstable.be/wordpress/wp-content/uploads/2008/08/ncpvolume' title='NCP Volume RA'>resource agent</a> and drop it in /usr/lib/ocf/resource.d/heartbeat/</p>
<p>Create an IP resource (IPaddr2), a filesystem resource and a NCP Volume resource (NcpVolume) and put them together in one group.</p>
<p>If you are interested drop me an email and I&#8217;ll provide you a complete INSTALL/README document.</p>
]]></content:encoded>
			<wfw:commentRss>http://leo.unstable.be/wordpress/?feed=rss2&amp;p=77</wfw:commentRss>
		</item>
		<item>
		<title>Grrrr(eat) samba</title>
		<link>http://leo.unstable.be/wordpress/?p=76</link>
		<comments>http://leo.unstable.be/wordpress/?p=76#comments</comments>
		<pubDate>Fri, 01 Aug 2008 06:56:24 +0000</pubDate>
		<dc:creator>leo</dc:creator>
		
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://leo.unstable.be/wordpress/?p=76</guid>
		<description><![CDATA[Warning *RANT*
First off all let me start this post by stating that samba is a great and very powerful piece of software BUT
configuration and management can be a real PITA
Let me give some examples of what I mean
- Samba + LDAP
If you&#8217;re setting up a samba as a PDC in a bigger environment you&#8217;ll probably [...]]]></description>
			<content:encoded><![CDATA[<p>Warning *RANT*</p>
<p>First off all let me start this post by stating that <a href="http://www.samba.org">samba</a> is a great and very powerful piece of software BUT<br />
configuration and management can be a real <a href="http://en.wiktionary.org/wiki/pain_in_the_ass">PITA</a></p>
<p>Let me give some examples of what I mean</p>
<p>- Samba + LDAP</p>
<p>If you&#8217;re setting up a samba as a PDC in a bigger environment you&#8217;ll probably go for LDAP but which LDAP schema will you use? The samba3.schema, gosa.schema or some cusom schema? Standardization anybody?</p>
<p>Which tool will you use to manage your LDAP users? <a href="http://phpldapadmin.sourceforge.net/">phpLDAPadmin</a>, <a href="http://lam.sourceforge.net/">LAM</a> or maybe the <a href="http://sourceforge.net/projects/smbldap-tools/">smbldap-tools</a> package.<br />
But all those tools have their own set of problems and shortcomings&#8230; How do we find out the next available uid and rid? via a special attribute in LDAP (which requires a certain schema!) or by just doing a lookup or by using an internal range of available uids or still another way *sigh*</p>
<p>Ok so when we create a new (samba) user we also want to make this user an FTP and Mail user. No problem you would think. Think again. Frontend X is not written to fill in the necessary attributes for application Y so you&#8217;ll have to use 2 or 3 different front ends or end up with a generic LDAP front end (which is really NOT the tool you want to give to unexperienced users/admins)</p>
<p>- General configuration</p>
<p>Your entire samba configuration is stored in smb.conf (which contains an  ini alike format). The biggest problem here is that you have Sooooo many options to configure the entire thing and to make it even worse you can have different options that will achieve the same results.<br />
E.g: to make a certain share writeable you could say &#8220;writeable = yes&#8221; or &#8220;read-only = no&#8221;. And don&#8217;t get me started on all the other options which can be used in the global section. (man 5 smb.conf)</p>
<p>There is not really a good front end to configure all this stuff. (Swat is not an alternative for me).So you&#8217;ll end up with vi smb.conf.</p>
<p>Did you ever tried to configure a share? How do you protect it? With Linux permissions, in the share definition or via a windows workstation (with acls)? Again so many options which makes it very hard to debug in case of problems. And next to the access configuration of a share you still have a number of options to configure other share related stuff. &#8220;csc policy&#8221;, &#8220;dos filemode&#8221;, &#8220;fake oplocks&#8221;, &#8230; Waaah! I don&#8217;t care, I just want a share and be able to put some data and permissions on it!</p>
<p>- Tools</p>
<p>The entire samba suite comes with a number of command line tools like pdbedit, smbcacls, testparm, tdbdump&#8230; which are not always very user friendly.<br />
Ever played with the &#8220;net&#8221; command and one of its options? Or tried to configure acls via smbcacls? Even setfacl is more user friendly!</p>
<p>All this stuff requires me to have an almost custom samba configuration on every installation ;(</p>
<p>If we really want companies to migrate their existing Windows file server to a Linux alternative this lack of decent management and configuration tools is really something that need to be worked on.</p>
<p>My 2 cents.</p>
]]></content:encoded>
			<wfw:commentRss>http://leo.unstable.be/wordpress/?feed=rss2&amp;p=76</wfw:commentRss>
		</item>
		<item>
		<title>Puppet with zypper</title>
		<link>http://leo.unstable.be/wordpress/?p=75</link>
		<comments>http://leo.unstable.be/wordpress/?p=75#comments</comments>
		<pubDate>Mon, 28 Jul 2008 07:29:25 +0000</pubDate>
		<dc:creator>leo</dc:creator>
		
		<category><![CDATA[opensuse]]></category>

		<guid isPermaLink="false">http://leo.unstable.be/wordpress/?p=75</guid>
		<description><![CDATA[Title says it all 
For people that use puppet on OpenSuSE there was a small problem since 10.2 because from that release on OpenSuSE did not include the rug command anymore to manage software&#8230;. but it&#8217;s still the default package provider for puppet (OpenSuSE switched to zypper).
So this weekend I wrote an initial zypper package [...]]]></description>
			<content:encoded><![CDATA[<p>Title says it all <img src='http://leo.unstable.be/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
For people that use puppet on OpenSuSE there was a small problem since 10.2 because from that release on OpenSuSE did not include the rug command anymore to manage software&#8230;. but it&#8217;s still the default package provider for puppet (OpenSuSE switched to zypper).</p>
<p>So this weekend I wrote an initial <a href="http://reductivelabs.com/redmine/attachments/393">zypper package provider</a> (based on the rug package provider).<br />
Drop this file in puppet/providers/package/ and you are ready to start using &#8220;provider => zypper&#8221; in your manifests</p>
]]></content:encoded>
			<wfw:commentRss>http://leo.unstable.be/wordpress/?feed=rss2&amp;p=75</wfw:commentRss>
		</item>
		<item>
		<title>Application virtualization</title>
		<link>http://leo.unstable.be/wordpress/?p=74</link>
		<comments>http://leo.unstable.be/wordpress/?p=74#comments</comments>
		<pubDate>Thu, 10 Jul 2008 18:04:34 +0000</pubDate>
		<dc:creator>leo</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://leo.unstable.be/wordpress/?p=74</guid>
		<description><![CDATA[Today I saw a presentation from Acresso, the guys from AdminStudio and InstallShield.
The topic was Application Virtualization with products like Thinapp (formerly Thinstall) and Citrix.
I learned that with these kind of technologies it&#8217;s possible to create an executable of any (windows) application (msi) which also contains all the dependencies that this app needs (dll, registry [...]]]></description>
			<content:encoded><![CDATA[<p>Today I saw a presentation from <a href="http://www.acresso.com">Acresso</a>, the guys from AdminStudio and InstallShield.<br />
The topic was Application Virtualization with products like <a href="http://www.vmware.com/products/thinapp/">Thinapp (formerly Thinstall)</a> and Citrix.</p>
<p>I learned that with these kind of technologies it&#8217;s possible to create an executable of any (windows) application (msi) which also contains all the dependencies that this app needs (dll, registry keys,&#8230;) to executed. The advantage is that you can create an executable and run it everywhere (from a USB disk,..) and on every machine (win9x, XP, 200x,..)  </p>
<p>This got me thinking&#8230;</p>
<p>Would it be possible to create a virtual application (e.g Photoshop) and run this under <a href="http://www.winehq.org/">Wine</a>? <img src='http://leo.unstable.be/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://leo.unstable.be/wordpress/?feed=rss2&amp;p=74</wfw:commentRss>
		</item>
		<item>
		<title>MagicBox</title>
		<link>http://leo.unstable.be/wordpress/?p=73</link>
		<comments>http://leo.unstable.be/wordpress/?p=73#comments</comments>
		<pubDate>Wed, 09 Jul 2008 17:29:19 +0000</pubDate>
		<dc:creator>leo</dc:creator>
		
		<category><![CDATA[opensuse]]></category>

		<guid isPermaLink="false">http://leo.unstable.be/wordpress/?p=73</guid>
		<description><![CDATA[Today I received the openSusE 11.0 (DVD) Box.

It contains a DVD, Start-up guide and 2 stickers.
(Contributors to the project receive this gift as a way to thank them for their participation)
Thanks Novell/SuSE!
]]></description>
			<content:encoded><![CDATA[<p>Today I received the openSusE 11.0 (DVD) Box.</p>
<p><img src="http://static.opensuse.org/c/images/common/130px-Opensuse-11.jpeg" alt="SuSE Box" /></p>
<p>It contains a DVD, Start-up guide and 2 stickers.</p>
<p>(Contributors to the project receive this gift as a way to thank them for their participation)</p>
<p>Thanks Novell/SuSE!</p>
]]></content:encoded>
			<wfw:commentRss>http://leo.unstable.be/wordpress/?feed=rss2&amp;p=73</wfw:commentRss>
		</item>
		<item>
		<title>VMware Infrastructure Client on Linux</title>
		<link>http://leo.unstable.be/wordpress/?p=72</link>
		<comments>http://leo.unstable.be/wordpress/?p=72#comments</comments>
		<pubDate>Thu, 26 Jun 2008 21:20:31 +0000</pubDate>
		<dc:creator>leo</dc:creator>
		
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://leo.unstable.be/wordpress/?p=72</guid>
		<description><![CDATA[Dear VMware,
Please release a version of the VMware Infrastructure Client for Linux.
(As a bonus the license server and VirtualCenter on Linux would make it complete)
I know you can do it, you proved it already with your ESX product.
My eternal respect will be your reward  
Thanks,
Leo
]]></description>
			<content:encoded><![CDATA[<p>Dear VMware,</p>
<p>Please release a version of the VMware Infrastructure Client for Linux.</p>
<p>(As a bonus the license server and VirtualCenter on Linux would make it complete)</p>
<p>I know you can do it, you proved it already with your ESX product.</p>
<p>My eternal respect will be your reward <img src='http://leo.unstable.be/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Thanks,</p>
<p>Leo</p>
]]></content:encoded>
			<wfw:commentRss>http://leo.unstable.be/wordpress/?feed=rss2&amp;p=72</wfw:commentRss>
		</item>
		<item>
		<title>iFolder and Novell client on openSUSE 11.0</title>
		<link>http://leo.unstable.be/wordpress/?p=71</link>
		<comments>http://leo.unstable.be/wordpress/?p=71#comments</comments>
		<pubDate>Mon, 23 Jun 2008 22:10:52 +0000</pubDate>
		<dc:creator>leo</dc:creator>
		
		<category><![CDATA[opensuse]]></category>

		<guid isPermaLink="false">http://leo.unstable.be/wordpress/?p=71</guid>
		<description><![CDATA[You can get both applications to work but it requires some manual work (On my laptop I did an upgrade from 10.3 to 11.0)
iFolder
It&#8217;s very important that you install the right version of log4net. iFolder and simias requires version 1.2.9 while openSUSE 11.0 ships with 1.2.10 in order to fix this you need to remove [...]]]></description>
			<content:encoded><![CDATA[<p>You can get both applications to work but it requires some manual work (On my laptop I did an upgrade from 10.3 to 11.0)</p>
<li>iFolder</li>
<p>It&#8217;s very important that you install the right version of log4net. iFolder and simias requires version 1.2.9 while openSUSE 11.0 ships with 1.2.10 in order to fix this you need to remove the log4net package and (re)install a 1.2.9 rpm (which is available on software.opensuse.org)</p>
<li>Novell Client</li>
<p>The /etc/init.d/novfsd script tries to compile the novfs module, this will fail due to a lot of changes in the kernel. This compilation is not necessary as you can use the novfs module which is in the kernel package.<br />
> rpm -qf /lib/modules/2.6.25.5-1.1-default/kernel/fs/novfs/novfs.ko<br />
kernel-default-2.6.25.5-1.1</p>
<p>To disable the attempt to compile to module every time the script is started just comment the following 2 lines in the /etc/init.d/novfs script<br />
 #cd /opt/novell/ncl/src/novfs<br />
 #./mk_novfs</p>
]]></content:encoded>
			<wfw:commentRss>http://leo.unstable.be/wordpress/?feed=rss2&amp;p=71</wfw:commentRss>
		</item>
	</channel>
</rss>
