<?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>Dizwell Informatics</title>
	<atom:link href="http://www.dizwell.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dizwell.com</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 14:07:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Thanks, Toshiba</title>
		<link>http://www.dizwell.com/2013/05/16/thanks-toshiba/</link>
		<comments>http://www.dizwell.com/2013/05/16/thanks-toshiba/#comments</comments>
		<pubDate>Thu, 16 May 2013 03:40:30 +0000</pubDate>
		<dc:creator>Dizwell</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Satellite P870]]></category>
		<category><![CDATA[Toshiba]]></category>

		<guid isPermaLink="false">http://www.dizwell.com/?p=4013</guid>
		<description><![CDATA[airness dictates that I follow up on my recent travails trying to get Toshiba to send me recovery disks for my laptop, preferably without trampling over my privacy concerns as they do so. For they have responded superbly to my complaint and, in the process, quite converted me back into the Toshiba fan I was [...]]]></description>
				<content:encoded><![CDATA[<p><span class="dropcap">F</span>airness dictates that I follow up on my <a href="http://www.dizwell.com/2013/05/09/colour-me-unhappy-with-toshiba/">recent travails trying to get Toshiba</a> to send me recovery disks for my laptop, preferably without trampling over my privacy concerns as they do so. For they have responded superbly to my complaint and, in the process, quite converted me back into the Toshiba fan I was of old.</p>
<p>First things first, then: having emailed them a reluctantly-scanned copy of the receipt for the laptop, I rang the next day at 8.01am&#8230; and was immediately answered by a charming, polite and efficient bloke. After a quick 20 seconds calling my details up on screen, he simply asked for my credit card number, the address to which the disks should be shipped&#8230; and that was that. No hassles, no being kept in a queue, no strife. Service as it should be, I think.</p>
<p>Second things second: although I had been warned that the disks might take up to 5 working days to arrive, they actually arrived the next day. Efficiency, indeed.</p>
<p>Third, the &#8220;Customer Service Team Leader&#8221; took the trouble to write a long and detailed reply to my earlier emailed complaint. He stepped through the things I&#8217;d mentioned, point by point. He apologised for lines not being open when they were supposed to be, and for the recorded voice message advising incorrect opening times. He said he&#8217;d get the voice message amended as soon as possible -and the same thing about the email template that mentions a &#8216;Windows product key&#8217; that Windows 8 users won&#8217;t have.</p>
<p>And then the biggie: he took the trouble to explain why Toshiba asks for the receipt in these circumstances:</p>
<p style="padding-left: 30px;"><span style="color: #1f497d; font-size: x-small;">For older versions of Windows where the product key has faded or missing from the base of the notebook, it was Toshiba’s process to collect the proof of purchase to show ownership of the notebook. I appreciate your feedback that since customers are willing to provide their payment details and delivery details [when purchasing the recovery disks] that their identity should not be in doubt. With Windows 8 now having the product key injected into the unit, I am currently reviewing our process with recovery disk orders. </span></p>
<p>You can&#8217;t get fairer than that, really: there was perhaps a legitimate reason for it back in the day; he recognises that reasoning doesn&#8217;t necessarily apply now; he promises to look into it and see what alternative approach he can come up with for the future.</p>
<p>My kind of customer response, really. And then this was the icing on the cake:</p>
<p style="padding-left: 30px;"><span style="color: #1f497d; font-size: x-small;">As a gesture of goodwill and thanking you for the time to provide feedback, I would like to refund the cost of these recovery disks to your credit card account.</span></p>
<p>I don&#8217;t think that&#8217;s ever happened before: taking the time to complain gets called &#8216;providing feedback&#8217; and warrants getting your money back! Brilliant, Toshiba, and thank you.</p>
<p>Summing up: I think my complaint was legitimate, and Toshiba has responded to it extremely well and generously. As I say, although it would be great not to have to complain in the first place, you can&#8217;t ask for a better outcome when you do. Toshiba return to my good books, then!</p>
<p>Incidentally, my enquiry of the Department of Fair Trading suggests that Toshiba is within its rights to ask to see the receipt (though I remain unconvinced), but that if I couldn&#8217;t provide one (maybe because I&#8217;d lost it, maybe because it was a gift, etc) then Toshiba would <em>not</em> be within their rights to use that as justification for not supplying the recovery disks.That is, they have discretion in the matter and could well waive the receipt requirement on a case-by-case basis. Anyone for whom the requirement was not waived would be withing <em>their</em> rights to make a formal complaint to the Department, who would pursue the matter directly with Toshiba.</p>
<p>Happily, it didn&#8217;t come to that, and hopefully, given the response from Toshiba above, it won&#8217;t do so for anyone else in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dizwell.com/2013/05/16/thanks-toshiba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows (&amp;) Me</title>
		<link>http://www.dizwell.com/2013/05/13/windows-me/</link>
		<comments>http://www.dizwell.com/2013/05/13/windows-me/#comments</comments>
		<pubDate>Mon, 13 May 2013 04:27:27 +0000</pubDate>
		<dc:creator>Dizwell</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.dizwell.com/?p=3988</guid>
		<description><![CDATA[old the front page! Shock, horror! I find I actually like Windows 8! Not your common-or-garden stock Windows 8, you understand: the interface formerly known as Metro (TIFKAM) is definitely a dog&#8217;s dinner and I can&#8217;t stand it or its applications. Both look ghastly and are, it seems to me, an impediment to productivity (if [...]]]></description>
				<content:encoded><![CDATA[<p><span class="dropcap">H</span>old the front page! Shock, horror! I find I actually like Windows 8! Not your common-or-garden stock Windows 8, you understand: the interface formerly known as Metro (TIFKAM) is definitely a dog&#8217;s dinner and I can&#8217;t stand it or its applications. Both look ghastly and are, it seems to me, an impediment to productivity (if I ever get a Windows-based tablet, though, I am certain to find TIFKAM a great idea. Just not on my desktop, thanks all the same).</p>
<p>Fortunately, a quick install of <a href="http://www.classicshell.net/">Classic Shell</a> immediately after Windows 8 installation makes TIFKAM go away, almost completely. It&#8217;s free, too. (There are other Start menu replacements, but most of them cost a few dollars. Classic Shell, though, does all I need it to do for none at all). You may need to do a few &#8216;open with&#8217; tricks on various file types to stop them being opened with the new &#8216;Modern Apps&#8217;, but otherwise, once Classic Shell is in, it&#8217;s pretty much a Desktop Experience <em>a la </em>Windows 7: bearable!</p>
<p>Pro Tip: Classic Shell also works fine on Windows Server 2012, and is a god-send there, too.</p>
<p>Firefox 20 is a better privacy-protecting browser than Internet Explorer (at least in part because <a href="https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/">Adblock Plus</a>, <a href="https://addons.mozilla.org/en-US/firefox/addon/noscript/">Noscript</a> and <a href="https://addons.mozilla.org/en-US/firefox/addon/ghostery/">Ghostery</a> will run in the former but not the latter), so that bit of the Windows experience immediately got a makeover, post-installation, too.</p>
<p>I&#8217;m using Windows 8 Pro, and that comes with Hyper-V (I mean that it comes with the ability to <em>install</em> Hyper-V, because it&#8217;s not implemented by default). This is not available in basic Windows 8, but the Pro and Enterprise editions include it. The last time I used Hyper-V was back when Windows 2008 (1st release) was new, and I didn&#8217;t much like it, largely because on the desktop PC where I tried to use it, the presence of NVidia graphics drivers meant the entire PC stuttered and stammered badly (unable to play a little bit of audio without choking, for example).</p>
<p>Well, that problem is fixed. If your CPU uses Second Level Address Translation (SLAT, or Extended Page Table in Intel-speak; or Rapid Virtualization Indexing in AMD-speak), then that sort of performance stutter is completely gone. Most i3, i5 and i7 processors <em>do</em> include SLAT, and my one, happily, is on the list. So now I can bare-metal virtualize <em>and</em> play Mozart without wincing.</p>
<p>This means I can park my VMware Workstation license where the sun don&#8217;t shine; and I won&#8217;t be needing VirtualBox in a hurry either. The Hyper-V management tools are slick and well-integrated and a very nice step up from those desktop virtualization offerings, too. I particularly like the way Hyper-V makes <em>displaying</em> a VM entirely separate from <em>running</em> one. It&#8217;s true that you can switch a VMware VM to run in the background after you&#8217;ve started it; and if you run your VirtualBox VMs from the command line, they can run-but-not-display, too. But this capability is baked-in to Hyper-V and requires no post-startup or command-line shenanigans to get working, so I noticed it and liked it immediately.</p>
<p>&#8220;Guest Additions&#8221; are available for CentOS/Red Hat/Scientific, too, so those OSes are able to make best use of their virtual environments. Admittedly, there is no support for Solaris on Hyper-V, which might be a problem for me down the track. We&#8217;ll see.</p>
<p>In short, there&#8217;s a lot of Windows 8 hate about (<a href="http://arstechnica.com/information-technology/2013/05/windows-8-six-months-in-100-million-licenses-sold-250-million-app-downloads/?comments=1">the comments on this article</a> are a nice snapshot of that sort of thing!); but I think much of it is overblown. Stick Classic Shell on it and you have a practically-pure 100% desktop experience, devoid of all Metro taint. On the other hand, you get very nice, very capable virtualization built-in for nothing, which has to be a plus. And to top it all off, it performs nicely, too (rather better than Win7 on the same hardware, I think, anyway).</p>
<p>It&#8217;s early days, and it could all end horribly in tears any moment now&#8230; but so far, at least, the trip back to Win8 has been &#8216;not bad&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dizwell.com/2013/05/13/windows-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Camera Joys&#8230; and Windows Woes</title>
		<link>http://www.dizwell.com/2013/05/11/camerajoys/</link>
		<comments>http://www.dizwell.com/2013/05/11/camerajoys/#comments</comments>
		<pubDate>Sat, 11 May 2013 06:25:52 +0000</pubDate>
		<dc:creator>Dizwell</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Housekeeping]]></category>

		<guid isPermaLink="false">http://www.dizwell.com/?p=3981</guid>
		<description><![CDATA[n January 2014, I turn 50. Rather more significantly, in November 2013, Benjamin Britten would have turned 100, if he hadn&#8217;t been unlucky enough to die in 1976. But whatever: the end of this year, one way or another, turns out to be of great personal significance&#8230; and, as a result, me and ToH will [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.dizwell.com/wp-content/uploads/2013/05/nikond600.png"><img class="alignleft  wp-image-3982" alt="nikond600" src="http://www.dizwell.com/wp-content/uploads/2013/05/nikond600.png" width="241" height="185" /></a><span class="dropcap">I</span>n January 2014, I turn 50. Rather more significantly, in November 2013, Benjamin Britten would have turned 100, if he hadn&#8217;t been unlucky enough to die in 1976. But whatever: the end of this year, one way or another, turns out to be of great personal significance&#8230; and, as a result, me and <span class='classtoolTips0' style='border-bottom:2px dotted #888;'>ToH</span> will be travelling back to the UK in late November, to celebrate both occasions with family, friends and any strangers that want to take pity on a couple of wandering Aussies.</p>
<p>Yes, we are both completely bonkers, and fully understand that we are facing average maximum day-time temperatures of around 8 degrees Celsius (46 Fahrenheit for old-timers and American readers). But we will be in Aldeburgh on November 22nd, standing in the graveyard and paying respects to one of the great composers of our time. So it&#8217;s worth it.</p>
<p>I have also wangled a lifetime-desired trip to Bletchley Park (where we won the war by decrypting German Enigma traffic, happening also to invent computers along the way, just in passing). I&#8217;m looking forward to that a lot.</p>
<p>The trip comes with some costs attached, however (and I&#8217;m not talking about the unheard-of amounts that Aldeburgh&#8217;s White Lion hotel wants to charge us!). Specifically, <span class='classtoolTips0' style='border-bottom:2px dotted #888;'>ToH</span> says that a new camera is needed since the last lot of London photos were a tad disappointing, and thus last Thursday we shelled out around $3000 for the Nikon D600 you see above. I coughed a bit, but since I&#8217;ve only just recently splashed out $2000 for a new Toshiba laptop, it&#8217;s difficult to complain much!</p>
<p>In fact, of course, there is no need to complain at all, because <span class='classtoolTips0' style='border-bottom:2px dotted #888;'>ToH</span>&#8217;s former Nikon D80 gets handed down to me (definitely the ugly step-sister when it comes to matters photographical), and I accordingly take a rather large step up from the little Lumix DWC-FH20 I&#8217;ve been using for the past 4 years. The last time I used an SLR, digital or analogue, was back in the 1980s, when my trusty (built like a Soviet tank, in fact) Zenit did me duty in the likes of Bulgaria, Zimbabwe and Botswana&#8230; so it&#8217;s going to be a learning curve for me.</p>
<p>Of course, this means having to deal with RAW images and learning to stitch and crop them as the mood takes me -and thus I feel compelled to renew my hitherto fleeting acquaintance with Photoshop. And Photoshop, of course, means Windows (for Wine will let Photoshop 3 just about pass muster, but cannot cope with Photoshop 5, which we use <em>chez Dizwell</em>). And thus it is that only a fortnight after having purged the house of the last non-<span class='classtoolTips0' style='border-bottom:2px dotted #888;'>ToH</span>-owned Windows machine, I have felt compelled to dump Fedora from my desktop and reverted to Windows 8. After 6 months uninterrupted Linux loveliness, I somewhat regret the move, but no way, no how am I going to try to wrestle GIMP into submission!</p>
<p>I hasten to add that it is not all <span class='classtoolTips0' style='border-bottom:2px dotted #888;'>ToH</span>&#8217;s fault, since work is asking me to pick up some SQL Server administration duties, thus making domestic installation of Server 2012 and SQL Server 2012 look like a sensible proposition for career prospects. Time to wipe CentOS off my two HP Proliant Microtower servers, then, after 9 happy months of just sitting there and working beautifully&#8230;</p>
<p>Some updates about Windows 8, Windows 2012, Hyper-V and SQL Server to come, too!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dizwell.com/2013/05/11/camerajoys/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Colour me unhappy with&#8230; Toshiba :-(</title>
		<link>http://www.dizwell.com/2013/05/09/colour-me-unhappy-with-toshiba/</link>
		<comments>http://www.dizwell.com/2013/05/09/colour-me-unhappy-with-toshiba/#comments</comments>
		<pubDate>Thu, 09 May 2013 04:17:01 +0000</pubDate>
		<dc:creator>Dizwell</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.dizwell.com/?p=3974</guid>
		<description><![CDATA[y new laptop (Toshiba p870) has been doing nicely of late, but I decided I&#8217;d like to get the factory-settings re-installation media after all, just because it seemed like a good idea at the time. I knew I&#8217;d have to pay for these disks, but it seemed like a worthwhile investment (though it would be [...]]]></description>
				<content:encoded><![CDATA[<p><span class="dropcap">M</span>y <a href="http://www.dizwell.com/2013/02/08/so-true/">new laptop</a> (Toshiba p870) has been doing nicely of late, but I decided I&#8217;d like to get the factory-settings re-installation media after all, just because it seemed like a good idea at the time. I knew I&#8217;d have to pay for these disks, but it seemed like a worthwhile investment (though it would be an even better idea if Toshiba shipped a couple of 30cent disks with a $2000 laptop).</p>
<p>Little did I reckon with Toshiba.</p>
<p>First, there&#8217;s nowhere on their site you can request the re-installation media. I had to visit their site, poke around for half an hour and then give up and send a web-based general enquiry instead. No matter, I suppose: slightly inconvenient, but the message got through, since the next day brought a welcome response: please ring this phone number between 8am and 6pm, have a credit card, your laptop serial number and your Windows product ID handy.</p>
<p>No worries. At 8.01am this morning I rang&#8230;and got told that &#8220;the lines have now closed. They re-open 7am to 7pm&#8221;. Well, I&#8217;m guessing that since it&#8217;s past 8am and they&#8217;re not open for business, the reference to 7am is just a mistake. No problem: hang up, retry later.</p>
<p>Actually, I re-tried 8 times, between 8.01am and 8.08am. Only then did I get through.</p>
<p>No matter: at least I&#8217;m finally talking to a human. Ah, I say: I notice your earlier email to me mentioned I&#8217;d have to have a Windows product ID. Trouble is, the bottom of my PC shows a laptop model and serial number, but no Windows number. Yes, the Toshiba representative says: things have changed with Windows 8 and Microsoft don&#8217;t now have product numbers on the outside of laptops and PCs. (So, I ask myself, why did your email say I&#8217;d have to have one if that&#8217;s no longer true: time to update your automated email boilerplate with the reality of the Win8 world, instead of the old Win7, perhaps?)</p>
<p>Well, no worries: I have my credit card, my laptop serial number and I&#8217;m ready to do business anyway. Not so fast, says the Toshiba guy: we need to see the receipt you received when buying the laptop.</p>
<p>Now, I bought the laptop at the local JB Hifi store. That&#8217;s a transaction between me and JB Hifi. I used my credit card, so that&#8217;s a transaction between me and Visa. But nowhere, notime did I transact with Toshiba, and I don&#8217;t see why they get to see receipts of transactions between me and third parties. Ah, says Toshiba Guy: we have to establish proof of ownership. It&#8217;s a Microsoft requirement.</p>
<p>Well, I say, Microsoft wasn&#8217;t party to my transaction with JB Hifi either, so they&#8217;re no more entitled to my transaction records than you are. Somewhat less, I&#8217;d say, given that I wiped Windows off my laptop within a day of buying it!</p>
<p>I change tack: how do I get this receipt to you? Just email a scanned image of it, he says. But what if I don&#8217;t have a scanner, I say. Take a photo of it with your camera, he says. I point out that&#8217;s assuming quite a few things. Oh well, just fax it over, he concedes. I point out that <em>that&#8217;s</em> assuming quite a few things, too! (Does anyone still have a fax machine?!)</p>
<p>I point out that the laptop might have been a gift, and that as a result I might not actually have a receipt at all, despite having legitimate ownership of the laptop. I don&#8217;t believe he answered that one.</p>
<p>As one of my recent commentators moronically pointed out, these are all first world problems: but I&#8217;m nevertheless mightily and legitimately annoyed that it&#8217;s impossible to <em>purchase</em> re-installation media without having your privacy trampled on in this way. Since when did Toshiba (or Microsoft, according to them) get granted police powers to investigate issues of legitimate ownership of laptops? Don&#8217;t they just sell you the software to run on them, wherever you got it from??!</p>
<p>Even if one concedes that they have an interest in servicing requests from only legitimate owners, it&#8217;s all just pointless security theatre: I could knock up an impressive-looking receipt with a word processor and a bit of imagination, after all.</p>
<p>I&#8217;ve written to Toshiba to complain. I&#8217;ve also written to the Department of Fair Trading, since it seems odd to me that the question of my legitimate ownership of the laptop can be raised by my simply asking to be able to perform a factory reset, should I want to. I&#8217;m paying for the installation media, after all (or trying to!): it&#8217;s not being provided by Toshiba out of the goodness of their hearts.</p>
<p>I await a reply from them, and I&#8217;ll probably just email a copy of the receipt anyway&#8230; but Toshiba sucks on this one and I won&#8217;t be buying any more of their kit as a consequence.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dizwell.com/2013/05/09/colour-me-unhappy-with-toshiba/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DLNA and the Media Center of Doom</title>
		<link>http://www.dizwell.com/2013/04/28/dlna-and-the-media-center-of-doom/</link>
		<comments>http://www.dizwell.com/2013/04/28/dlna-and-the-media-center-of-doom/#comments</comments>
		<pubDate>Sun, 28 Apr 2013 01:08:59 +0000</pubDate>
		<dc:creator>Dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Multimedia]]></category>

		<guid isPermaLink="false">http://www.dizwell.com/?p=3943</guid>
		<description><![CDATA[n my never-ending quest to rid the house of anything to do with Microsoft, I decided time was up for the Core 2 Duo, circa 2006, that had been doing Sterling service as our Media Center, first running Windows 7 Media Center and then upgrading to Windows 8 (plus the paid-for Media Center addition). It&#8217;s [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.dizwell.com/wp-content/uploads/2013/04/panasonic.jpg"><img class="alignleft size-medium wp-image-3944" alt="HDD Recorder" src="http://www.dizwell.com/wp-content/uploads/2013/04/panasonic-300x166.jpg" width="300" height="166" /></a><span class="dropcap">I</span>n my never-ending quest to rid the house of anything to do with Microsoft, I decided time was up for the Core 2 Duo, circa 2006, that had been doing Sterling service as our Media Center, first running Windows 7 Media Center and then upgrading to Windows 8 (plus the paid-for Media Center addition).</p>
<p>It&#8217;s worked quite well, but has occasionally hung (and inevitably, it hangs just when a really good TV program needs to be recorded). and exhibited other, sporadic and quite rare, weird behaviours. The PC itself was an old rack-mounted monster and was beginning to show signs of its age. All things considered, therefore, I felt it was time to put it out to pasture.</p>
<p>What to replace it with? Well, my first choice might have been another PC running something like MythTV&#8230; but <span class='classtoolTips0' style='border-bottom:2px dotted #888;'>ToH</span> has to be taken into account, which rather rules out anything requiring more than an on/off switch, to be honest. I wouldn&#8217;t call myself a MythTV expert, either; and the one thing I know about it for sure is that it can be scarily complicated&#8230; so no thanks! Something more &#8220;consumer electronic good&#8221;-like, and less PC-ish. Something that just works. Something that doesn&#8217;t cost the earth.</p>
<p>Well, the picture at the top of this post gives the game away: after exhaustive minutes of online research, we bought a Panasonic DMR-HW220. It comes with WiFi built-in, plays MKVs, has a 1TB hard drive, twin HD tuners&#8230; and thus seemed to fit the bill perfectly, especially because it was only $340.</p>
<p>If only I&#8217;d read the small print (or the online reviews that spell it out!): whilst the machine is Wifi-aware, it has no concept of mapping network drives. It can&#8217;t see Samba shares. It&#8217;s network capabilities are, in fact, limited to acting as a DLNA server and/or client.</p>
<p>DLNA?? Someone of my age and upbringing probably thinks it&#8217;s a splinter Irish terrorist organisation, but in fact it stands for &#8220;Digital Living Network Aliiance&#8221;, and it&#8217;s a set of standards built around UPnP to determine how different electronic media devices play nice with each other. In my home media center context, it means that the Panasonic is a DLNA Client, and that means something on the PC has to be running as a DLNA Server (and Samba or NFS don&#8217;t count).</p>
<p>Immediately, therefore, things are more complicated than I&#8217;d like: how to run a DNLA server on the CentOS box that&#8217;s hosting all my movies, music and photos?</p>
<p>Happily, such a beast <em>does</em> exist and it&#8217;s relatively painless to set up: MediaTomb. I could also have installed miniDNLA, which works very simply, too. You can obtain it with a simple &#8220;yum install mediatomb&#8221; once the RPMForge repository has been added to your list of software sources. Once it&#8217;s installed, you need to start the thing with a <strong>service mediatomb start</strong> -and a <strong>chkconfig mediatomb on</strong> to make it re-start automatically at every subsequent server reboot. Once it&#8217;s running, do a <strong>service mediatomb status</strong> to find out what port it&#8217;s running on: by default, it&#8217;s 49152, but a status check will make certain.</p>
<p>Once you know the port, just fire up a browser and type in an address of <strong>http://&lt;server IP&gt;:49152</strong> (or whatever port you&#8217;ve determined is in use). You should see a pretty bare-bones interface. Select the <strong>Filesystem</strong> link and you&#8217;ll see a tree-like representation of your server&#8217;s hard disk structure. Navigate to where your media files are then click the &#8216;Plus-in-a-Circle&#8217; button on the top right:</p>
<p><a href="http://www.dizwell.com/wp-content/uploads/2013/04/mediatomb.png"><img class="size-medium wp-image-3946 alignnone" alt="mediatomb" src="http://www.dizwell.com/wp-content/uploads/2013/04/mediatomb-300x170.png" width="300" height="170" /></a></p>
<p>Here&#8217;s where you get to mark a directory (and it&#8217;s sub-directories, if you tick that &#8216;Recursive&#8217; option) for inclusion in the list of what this DLNA server can, er, serve. Scoot on over to the Panasonic, select the correct option to act as a DLNA client and&#8230; bingo! The appropriate directories are now browseable.</p>
<p>Erm&#8230; except that none of my MKV files were actually <em>playable!</em> I could certainly see them on the Panasonic, but they were greyed out. I checked the box: <strong>&#8220;MKV Playback&#8221;</strong> was definitely there in big, bold letters. So why <em>my</em> MKVs couldn&#8217;t be played, I couldn&#8217;t quite fathom. Until I read up on DLNA a bit more and discovered that MKV is not a supported container format for DLNA. Some clients can deal with them, but most can&#8217;t&#8230; and the Panasonic certainly doesn&#8217;t.</p>
<p>Had I read the &#8216;Cons&#8217; column at the top of <a href="http://www.trustedreviews.com/panasonic-dmr-hw220_TV-recorder---set-top-box_review">this product review</a> before purchase, I don&#8217;t think I&#8217;d have bothered with the Panasonic at all, to be honest: &#8220;Can’t play MKV over network&#8221;. Plain and simple.</p>
<p>My plans to workaround this awful limitation consisted of copying my MKVs onto a USB hard disk, plugging that in and having the media play from there. Except that when you plug in a USB disk like that, you have to &#8220;register&#8221; it with the Panasonic device &#8230;which means &#8220;format&#8221; it, and with some sort of file system the likes of which none of my Windows or Linux boxes have ever met before. Once the Panasonic has touched the disk, nothing else can, basically. Too late I discovered that the ability to plug in USB devices is intended to get stuff <em>off</em> the internal 1TB hard disk by way of backup, but not to let you put stuff <em>on</em> to it via a PC, for example. DRM rears its ugly head, therefore, and makes an obvious way of media &#8216;injection&#8217; non-viable.</p>
<p>(I believe that the on-box claim for MKV playback relates to the ability to play from an SD card. Not exactly what I had in mind, though).</p>
<p>At this point, I fear it&#8217;s obvious that I haven&#8217;t done my homework, and I am accordingly saddled with a machine which barely meets any of my functional requirements (it can record two TV channels at a time in HD, but that&#8217;s about it).</p>
<p>There is one saving grace: MKV is a <strong>container</strong>, not a video encoding. It&#8217;s therefore possible to extract the contents of an MKV and re-pack it in an MP4 container (which the Panasonic <em>does</em> play over the network, because the DLNA spec says it must), without any re-encoding effort. (That&#8217;s important, because with a couple of thousand video files to deal with, re-encoding is not an option!)</p>
<p>Various tools can do this re-packing trick: on my Fedora box, perhaps the simplest is <strong>Avidemux</strong>. You open your MKV, set the Video and Audio Outputs to &#8220;Copy&#8221;, select &#8220;MP4v2 Muxer&#8221; as the output format and then click Save. Done locally, a video file is thereby converted from unplayable MKV to playable MP4 in a matter of seconds. Done by pointing Avidemux to my network shares over the wire, however, and it takes a couple of minutes per movie&#8230; which is too long to be practical.</p>
<p>The obvious trick is to perform the re-packing on the server itself, for which a command line tool would be good. There <em>is</em> actually an Avidemux command line tool (avidemux3-cli, if you&#8217;re trying to yum install it), but scripting it is a nightmare and even invoking it file-by-file is a pain in the butt. So, in the end, I created this little shell script as a file called <strong>movieconvert.sh</strong>:</p>
<pre>#!/bin/bash
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
f=`ls *.mkv`
ffmpeg -i "$f" -vcodec copy -acodec copy `basename "$f" .mkv`.mp4
IFS=$SAVEIFS</pre>
<p>The &#8230;IFS&#8230; lines are there to deal with the fact that a lot of my movie files have spaces in their names, which would result in ffmpeg trying to convert files called &#8220;2001&#8243;, &#8220;A&#8221;, &#8220;Space&#8221; and &#8220;Odyssey&#8221; instead of a single file called &#8220;2001 A Space Odyssey&#8221; (which would be wrong, of course, and thus just lead to runtime errors). Otherwise, the main action is done by invoking ffmpeg with a bunch of switches which demand the video file be copied, not re-encoded, but re-packed as an MP4, not an MKV.</p>
<p>I stuck that in /usr/bin (so it&#8217;s in my path), and now I can cd to any directory containing a movie file and do <strong>./movieconvert.sh</strong> and everything then just happens automatically. Sure enough, the Panasonic can play the MP4s just fine, too.</p>
<p>So we settle down for the evening to watch one of the movies I&#8217;d converted into MP4, and all was going swimmingly. Until suddenly a pop-up appeared informing me that a scheduled TV recording was about to start and therefore the DLNA connection would have to be terminated. What??? Yup. It turns out that you can&#8217;t record a program in the background whilst watching a film over the network. Which makes this particular Panasonic a piece of crapola that got taken back to the store that sold it the very next day. Happily, a full refund was received with not too many questions asked.</p>
<p>So what am I using now? Funnily enough, exactly the same kit that the Windows Media Center originally replaced: a Western Digital WD TV Live, which does movies and music very well, using plain old Samba shares to which it connects without drama. And for the live and recorded TV, a relatively ancient Topfield TF-7100 (now about 4 years old, upgraded by yours truly to a 500GB hard disk some years ago, still going strong).</p>
<p>The only pain points in going back to this arrangement are that it would require 4 remote controls (WD TV LIve, the TV, the receiver/amplifier and the Topfield). Happily, a Logitech Harmony all-in-one remote control takes care of that. Which leaves just one real pain-point: the TV listings in Windows Media Center are clear and speedy to navigate. The Topfield equivalent is hopeless, displaying just one channel at a time and taking an age to load or move through. A many-channels-at-a-glance view would be good, but no such beast exists. Not even the paid-for ICE TV gives what is needed. For the moment, I have no answer to this one, then.</p>
<p>Whether we persist with this retro setup, I can&#8217;t say. However, I can say that the Panasonic DMR-HW220 is completely hopeless -and, indeed, that anything relying on DLNA is not something I&#8217;ll be letting into my house again any time soon! I am really surprised that there isn&#8217;t a single box which can do dual-channel live TV, multi-channel recording, Samba connections, MKV and FLAC playback, with a decent, synoptic program guide. But as far as I can tell, there simply isn&#8217;t: and that seems a curious gap in the market at this stage of the game!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dizwell.com/2013/04/28/dlna-and-the-media-center-of-doom/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Taxi</title>
		<link>http://www.dizwell.com/2013/04/24/taxi/</link>
		<comments>http://www.dizwell.com/2013/04/24/taxi/#comments</comments>
		<pubDate>Wed, 24 Apr 2013 00:58:19 +0000</pubDate>
		<dc:creator>Dizwell</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.dizwell.com/?p=3936</guid>
		<description><![CDATA[olling in some changes to the production system the other day required me to work through the evening and into the early hours. I finally left the office at 2.00AM, meaning that I was in need of a taxi ride home (104KM away). Two cabs turned me down; the third agreed to take me: it&#8217;s [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.dizwell.com/wp-content/uploads/2013/04/taxi.jpg"><img class="alignleft size-medium wp-image-3937" alt="Taxi" src="http://www.dizwell.com/wp-content/uploads/2013/04/taxi-300x200.jpg" width="300" height="200" /></a><span class="dropcap">R</span>olling in some changes to the production system the other day required me to work through the evening and into the early hours. I finally left the office at 2.00AM, meaning that I was in need of a taxi ride home (104KM away). Two cabs turned me down; the third agreed to take me: it&#8217;s a long way out of anyone&#8217;s way, so I was grateful.</p>
<p>Being extremely tired, I had hoped to snooze whilst the taxi worked its way to deepest southwest Sydney, but I hadn&#8217;t reckoned on the fact that I had somehow managed to pick the worst taxi driver in Christendom. Straight bits of road he could mostly do, but anything involving the slightest curve seemed to compel him to cross the lane dividing line, so that one or more wheels continually bumped as the white dashes stopped and started. In this lane-straddling fashion, we&#8217;d limp our way home for long, bouncy minutes at a time.</p>
<p>I could have lived with that, I suppose, but that would have been to ignore the drivers strange desire to brake and accelerate, more or less at random, and never with any warning. If the road curved ever-so-slightly, we slowed -abruptly- to around 60km/h. If the road straightened out so he could see which way the lane was going (i.e., straight ahead!), then 130km/h seemed more his sort of thing, with heavy application of foot-to-pedal. And this was on a well-lit motorway, not the country lanes we get to as we near my house. The less said about his capabilities on them the better!</p>
<p>I&#8217;ve seldom spent an hour and a half in such fear, to be honest. But if you&#8217;re stranded miles from home in the middle of the night, what else are you going to do?</p>
<p>The final fare ($357) was enough to have hired a helicopter for the evening, I think. Never again!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dizwell.com/2013/04/24/taxi/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Salisbury Update</title>
		<link>http://www.dizwell.com/2013/04/18/salisbury-update/</link>
		<comments>http://www.dizwell.com/2013/04/18/salisbury-update/#comments</comments>
		<pubDate>Thu, 18 Apr 2013 04:57:32 +0000</pubDate>
		<dc:creator>Dizwell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.dizwell.com/?p=3798</guid>
		<description><![CDATA[minor revision to Salisbury sees its DNS server capable of resolving Alpher, Bethe, Gammow and Dalton servers (Gammow and Dalton are new and are my Data Guard RAC servers). I&#8217;ve updated all appropriate links, I think; and there&#8217;s a changelog here. &#160;]]></description>
				<content:encoded><![CDATA[<p><span class="dropcap">A</span> minor revision to Salisbury sees its DNS server capable of resolving Alpher, Bethe, Gammow and Dalton servers (Gammow and Dalton are new and are my Data Guard RAC servers).</p>
<p>I&#8217;ve updated all appropriate links, I think; and there&#8217;s a <a href="http://www.dizwell.com/salisbury-changelog/">changelog here</a>.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dizwell.com/2013/04/18/salisbury-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A new forum</title>
		<link>http://www.dizwell.com/2013/04/17/a-new-forum/</link>
		<comments>http://www.dizwell.com/2013/04/17/a-new-forum/#comments</comments>
		<pubDate>Wed, 17 Apr 2013 06:07:37 +0000</pubDate>
		<dc:creator>Dizwell</dc:creator>
				<category><![CDATA[Forum]]></category>
		<category><![CDATA[Q&A]]></category>

		<guid isPermaLink="false">http://www.dizwell.com/?p=3780</guid>
		<description><![CDATA[&#8216;ve tried several ways of allowing visitors to ask questions (or post answers) on this site in the past, but never with much luck. They&#8217;ve all used software which was quirky, cumbersome or ugly -or, frequently, a combination of all three. However, I believe this time, I may have finally found something that will do [...]]]></description>
				<content:encoded><![CDATA[<p><span class="dropcap">I</span>&#8216;ve tried several ways of allowing visitors to ask questions (or post answers) on this site in the past, but never with much luck. They&#8217;ve all used software which was quirky, cumbersome or ugly -or, frequently, a combination of all three. However, I believe this time, I may have finally found something that will do the job, and I now declare it open for business!</p>
<p>The old Q &amp; A pages are still available -but <a href="http://diznix.com/?post_type=question">only at this URL</a>. I wouldn&#8217;t recommend posting any new questions or answers there, since few will ever read them.</p>
<p>The new Q &amp; A forum is available from the main menu, front page of this site or by clicking <a href="http://www.dizwell.com/forum">here</a>.</p>
<p>Membership is <strong>not required</strong>, but if you do register, you get to have a proper avatar and profile, which makes things maybe a bit more personal. Non-members can post questions or answers at at time, but each time will have to complete a Captcha. If spam levels go through the roof, the &#8216;no membership&#8217; business will be changed in short order. Fingers crossed the Captcha works, then!</p>
<p>The forum software is a WordPress plug-in, so we must rely on the functionality its author has baked in. As far as I can tell, though, it will do the job. I encourage visitors to take a look, post a question or -even better- post an answer to a question someone else has asked. I certainly don&#8217;t intend to be the source of all wisdom and knowledge there, that&#8217;s for sure!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dizwell.com/2013/04/17/a-new-forum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>All Change!</title>
		<link>http://www.dizwell.com/2013/04/11/all-change/</link>
		<comments>http://www.dizwell.com/2013/04/11/all-change/#comments</comments>
		<pubDate>Thu, 11 Apr 2013 06:26:58 +0000</pubDate>
		<dc:creator>Dizwell</dc:creator>
				<category><![CDATA[Housekeeping]]></category>

		<guid isPermaLink="false">http://www.dizwell.com/?p=3580</guid>
		<description><![CDATA[egular vistors, if there be such, will notice quite a few changes to the neighbourhood! I&#8217;ve decided to go &#8216;static front page&#8217; and try and organise the site content a bit better. It&#8217;s mainly a reaction to pumping hundred thousand-line articles into Blog format thanks to Salisbury: hopefully, the new site structure will mean the [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.dizwell.com/wp-content/uploads/2013/04/change.jpg"><img class="alignleft  wp-image-3581" alt="change" src="http://www.dizwell.com/wp-content/uploads/2013/04/change-300x225.jpg" width="240" height="180" /></a><span class="dropcap">R</span>egular vistors, if there be such, will notice quite a few changes to the neighbourhood!</p>
<p>I&#8217;ve decided to go &#8216;static front page&#8217; and try and organise the site content a bit better.</p>
<p>It&#8217;s mainly a reaction to pumping <del>hundred</del> thousand-line articles into Blog format thanks to Salisbury: hopefully, the new site structure will mean the blog can be a blog (and who knows: I might actually put more bloggy stuff into it?!) and the technical stuff can be clearly differentiated from it.</p>
<p>Until it&#8217;s all sorted, stuff might be tricky to find and the site seem otherwise incomprehensible. Please bear with me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dizwell.com/2013/04/11/all-change/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Salisbury, plain</title>
		<link>http://www.dizwell.com/2013/04/10/salisbury-plain/</link>
		<comments>http://www.dizwell.com/2013/04/10/salisbury-plain/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 01:42:27 +0000</pubDate>
		<dc:creator>Dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Gladstone]]></category>
		<category><![CDATA[Kickstart]]></category>
		<category><![CDATA[oel]]></category>
		<category><![CDATA[Salisbury]]></category>
		<category><![CDATA[Scientific Linux]]></category>

		<guid isPermaLink="false">http://www.dizwell.com/?p=3492</guid>
		<description><![CDATA[ay back in October last year, I announced that I wouldn&#8217;t be developing my Gladstone pre-installation script for Oracle any further, although the script itself would remain available (and it still is). Back then, I promised a &#8220;son of Gladstone&#8221; replacement, &#8220;soon enough&#8221;. Little did I think it would take me six months to honour [...]]]></description>
				<content:encoded><![CDATA[<p><a href="https://dl.dropboxusercontent.com/u/30619235/salisbury/salisbury-1.01.iso"><img class="alignright  wp-image-3152" alt="salisbury" src="http://www.dizwell.com/wp-content/uploads/2012/11/salisbury.jpg" width="263" height="359" /></a><span class="dropcap">W</span>ay back in <a href="http://www.dizwell.com/2012/10/09/gladstone-goodbye/">October</a> last year, I announced that I wouldn&#8217;t be developing my Gladstone pre-installation script for Oracle any further, although the script itself would remain available (and it <a href="http://diznix.com/2011/03/21/gladstone/">still is</a>).</p>
<p>Back then, I promised a &#8220;son of Gladstone&#8221; replacement, &#8220;soon enough&#8221;. Little did I think it would take me six months to honour that promise! Such is life, I fear&#8230;</p>
<p>But Gladstone&#8217;s successor is now here&#8230; and, in keeping with (near) historical fact, that successor is to be called &#8220;Salisbury&#8221;. (That&#8217;s him on the right, looking suitably Victorian and bushy-bearded).</p>
<p>So, what exactly is Salisbury and how does he work?</p>
<p>Well, it&#8217;s a slight extension of the work I&#8217;ve been documenting in the previous dozen or so posts here: the idea of using Kickstart to automate the construction, the correct configuration and the Oracle software installation of Oracle servers. Additionally, it&#8217;s the use of a Kickstart-built server to supply all necessary network and shared-storage capabilities that Oracle Servers might need -especially if they run RAC.</p>
<p>In terms of tangible &#8216;product&#8217;, <a href="https://dl.dropboxusercontent.com/u/30619235/salisbury/salisbury-1.01.iso">Salisbury actually consists of a single ISO download</a>, just 27MB in size.</p>
<p>You use that ISO to kickstart the building of a <strong>Salisbury Server</strong> -a small server running <span class='classtoolTips1' style='border-bottom:2px dotted #888;'>RCSL</span> that I&#8217;ve referred to in previous weeks as a &#8216;Linux toolbox&#8217;. Once your Salisbury Server is up and running, you use <em>it</em> to build your <strong>Oracle Servers</strong>. Those Oracle servers can run Oracle versions 11.2.0.1 or 11.2.0.3 in standalone or RAC mode. If you choose a standalone build, the Salisbury Server will automatically install the Oracle software for you, and create a simple shell script that will create a database when run post-install. If you instead choose to create a RAC-capable server, Salisbury will copy across all necessary software (and get users, groups, kernel parameters and so on correctly configured), but it won&#8217;t attempt to install anything automatically (because working out whether all the component parts of a cluster are up and running is a bit tricky!)</p>
<p>I present Salisbury here as, more or less, a <em>fait accompli</em> -but how it works and why are all things I&#8217;ve discussed in considerable detail over recent weeks, so if you&#8217;ve been following along, there shouldn&#8217;t be too many surprises (and if you haven&#8217;t, you can always step back to <a href="http://www.dizwell.com/2013/03/12/splendid-isolation/">this post</a>, which started it all, and read forward from there). I will try to pull it all together into a single, long article before long, though.</p>
<h2>Building a Salisbury Server</h2>
<p>The quick version of getting the Salisbury Infrastructure™ to work for you is this:</p>
<ul>
<li>Build a new server with at least 512MB RAM and 60GB free hard disk space. Ensure it has two DVD drives.</li>
<li>Load your distro-of-choice&#8217;s full installation disk into the primary drive</li>
<li>Load the Salisbury ISO into the secondary drive</li>
<li>Boot your server and hit &lt;TAB&gt; at the boot menu. Make your build process Kickstart-defined by adding <strong>ks=hd:sr1/salisbury.ks</strong> to the bootstrap line.</li>
<li>Sit back and let the installation process complete.</li>
</ul>
<p>Your new Salisbury Server will have only a root user account (password: <strong>dizwell</strong>). You can change that password with the <strong>passwd</strong> command, of course.</p>
<p>The Salisbury Server will automatically be a web server, complete with all sorts of useful files and packages which it can distribute to client Oracle Servers. However, the really important stuff is Oracle&#8217;s database server software -and, much as I&#8217;d like to, licensing restrictions mean I can&#8217;t provide that for you. Instead, you have to source that yourself, either from OTN (for free, but only at version 11.2.0.1), or from edelivery (if you have a proper, paid-for subscription and want to download version 11.2.0.3 or better).</p>
<p>However you source it, you should obtain both database zips AND the grid zip and copy all three files to the /var/www/html directory of your Salisbury Server (FTP transfer with Filezilla or a similar tool is probably the easiest way of doing that).</p>
<p>In their wisdom, Oracle Corporation saw fit to name their software multiple different ways, depending on how you sourced it and what version you&#8217;re dealing with. This is a recipe for Salisbury Confusion™ -but it&#8217;s easily avoided by renaming whatever you download in a consistent way, as follows:</p>
<ul>
<li>oradb-1120<em>x</em>-1of2.zip</li>
<li>oradb-1120<em>x</em>-2of2.zip</li>
<li>oragrid-1120<em>x</em>.zip</li>
</ul>
<p>Replace the &#8220;x&#8221; in those names to reflect the actual version in use, of course. There is no flexibility about this: the Oracle software components <em>must</em> end up being named in this way if the Salisbury Server is to be of any future use to you in building Oracle Servers.</p>
<p>By renaming files in this way, it&#8217;s perfectly possible to have one Salisbury Server be able to create <em>both</em> versions of Oracle database: just download all 6 files (the 11201 three and the 11203 equivalents), and rename them all according to the above-mentioned scheme. When both versions are possibilities, you&#8217;ll be able to specify which one to use for any particular Oracle Server at build time, as I&#8217;ll explain shortly.</p>
<p>So, after building your Salisbury Server, you just have to copy Oracle software to it (and rename it as appropriate), just once. After that, it&#8217;s ready for duty.</p>
<p>Note that the Salisbury Server build involves copying its own installation media to disk. If you build your Server using OEL 6.3, for example, then a /var/www/html/oel/63 directory will be created and populated on it automatically. Such a server can then only help build other OEL 6.3 servers. If you want to be able to build CentOS or Scientific Linux Oracle Servers, maybe mixing up versions 6.3 and 6.4 as the mood takes you, you can do that provided you create /var/www/html/centos/63, /var/www/html/sl/64 and similar directories yourself. The directory names have to be of the form /centos, /sl or /oel and the version directories have to be either /63 or /64. After creating any additional directories in this way, you can then simply copy over the contents of the full install media for that distro/version combination. Make sure you use the <strong>full</strong> installation media, not the &#8220;Live CD&#8221; versions. There is, however, no need to copy the second DVD into the directories where one is available: disk 1 will suffice.</p>
<h2>Build an Oracle Server with Salisbury</h2>
<p>Once your Salisbury Server is up and running, you can use it to construct new Oracle servers. An Oracle Server must have at least 2GB RAM and 25GB of free hard disk space.</p>
<p>You boot a new Oracle Server with the <strong>netinstall</strong> boot disk of your distro of choice. At the boot menu, you invoke the Kickstart process by pressing &lt;TAB&gt; and then adding a <strong>ks=&lt;<em>URL&gt;</em> </strong>string to the bootstrap line. That &lt;URL&gt; element will be formed from the following elements:</p>
<ul>
<li>Salisbury Server&#8217;s IP address</li>
<li>kickstart.php filename</li>
<li>five possible URL variables</li>
<li>Two possible Kickstart parameters</li>
</ul>
<p>It is assumed that your Salisbury Server has an IP address of 192.168.8.250 (if not, you&#8217;ll have to edit various files on the Salisbury Server itself).</p>
<p>The Kickstart filename is simply <strong>kickstart.php</strong></p>
<p>The seven possible URL variables are:</p>
<ul>
<li><strong>distro</strong>  (one of either <strong>centos</strong>, <strong>sl</strong> or <strong>oel</strong>)</li>
<li><strong>version</strong> (one of either <strong>63</strong> or <strong>64</strong>)</li>
<li><strong>hostname</strong> (pretty much anything you like, so long as it&#8217;s a valid host name)</li>
<li><strong>domain</strong> (pretty much anything you like, so long as it works as a domain name)</li>
<li><strong>rac</strong> (one of either <strong>y</strong> or <strong>n</strong>, depending on whether you expect to be running a RAC or standalone database on the finished server)</li>
<li><strong>ip</strong> (the IP address of the server, in a.b.c.d form)</li>
<li><strong>ic</strong> (the IP address of the cluster interconnect, in a.b.c.d form, assuming one exists)</li>
</ul>
<p>The two possible Kickstart parameters are:</p>
<ul>
<li><strong>ksdevice</strong>=&lt;name of network interface to use initially, if there are 2 or more network cards present, such as <strong>eth0</strong> or <strong>eth1</strong>&gt;</li>
<li><strong>oraver</strong>=&lt;<strong>11201</strong> or <strong>11203</strong>, depending on which version of the Oracle software you want to use; can also be set to <strong>none</strong> to mean &#8216;don&#8217;t copy any Oracle software at all&#8217;&#8230; useful for second and subsequent nodes of a cluster&gt;</li>
</ul>
<p>You <strong>must</strong> supply a distro and version, but if you miss out any of the other parameters or variables, defaults will kick in. If you fail to supply an &#8220;oraver&#8221;, for example, 11.2.0.1 will be assumed; if you don&#8217;t say whether &#8220;rac&#8221; should be &#8216;y&#8217; or &#8216;n&#8217;, a standalone, non-RAC installation will ensue, and so on.</p>
<p>At a minimum, therefore, you will initiate your Oracle Server build by typing something like the following at the bootstrap line:</p>
<pre>ks=http://192.168.8.250/kickstart.php?distro=centos&amp;version=63</pre>
<p>A complete bootstrap line, leaving nothing to chance, would look more like this:</p>
<pre>ks=http://192.168.8.250/kickstart.php?distro=oel&amp;version=64&amp;hostname=alpher&amp;domain=dizwell.home&amp;rac=y&amp;ip=192.168.0.35&amp;ic=10.0.0.1 ksdevice=eth0 oraver=11203</pre>
<p>Notice that the URL variables are present as one, continuous string, begun with a &#8220;?&#8221;, separated by &#8220;&amp;&#8221; and without any spaces. The Kickstart parameters, however, are supplied as space-separated keyword/value pairs at the end of the URL.</p>
<p>Of course, if you specify variables which imply software choices that your Salisbury Server does not have available to it, you can expect the Oracle Server build to fail. If you say <strong>oraver=11203</strong>, for example, when you&#8217;ve only stored 11.2.0.1 software on the Salisbury Server, then your finished server will have no Oracle software on it at all. If you&#8217;ve prepped your Salisbury Server to host all possible distro and Oracle versions, though, then you can specify any of the available options in whatever combination and expect a completely automated O/S and Oracle software installation accordingly.</p>
<p>Oracle Servers built via Salisbury will end up with a root user (password <strong>dizwell</strong>) and an oracle user (password <strong>oracle</strong>). You can change either or both of these passwords after installation, of course.</p>
<p>Non-RAC Oracle Servers will have a version of the Oracle software installed. No database will exist, but a <strong>createdb.sh</strong> shell script will have been created in the /home/oracle directory. Running that (as the oracle user) will result in the automatic creation of a database called <strong>orcl</strong>. SYS, SYSTEM and other administrative passwords will be set to <strong>oracle</strong>, but these can be changed using standard database commands at any time.</p>
<p>RAC Oracle Servers will have no software automatically installed, but an <strong>/osource</strong> directory will have been created, within which are <strong>database</strong> and <strong>grid</strong> directories containing the appropriate unpacked Oracle software. The software is therefore immediately ready for installation, whenever you&#8217;re satisfied that the entire cluster is up and running.</p>
<p>All Oracle Servers will be built with mounts of NFS shares made available by the Salisbury Server itself. There are two such mounts: <strong>/gdata</strong> and <strong>/ddata</strong>, which correspond to the Salisbury Server&#8217;s <strong>/griddata</strong> and <strong>/dbdata</strong> directories. Non-RAC Oracle Servers can just ignore the existence of these shares, but RAC Oracle Servers can make use of them during the Grid and Database software installs to store grid and database components on a shared file system. It is assumed that RAC Servers will use their own, local, non-shared file systems for storing the Oracle <em>software</em> components.</p>
<p>Both Salisbury and Oracle Servers can be managed remotely with Webmin (point a browser to it at port 10000). Both can also be monitored at the command line with <strong>nmon</strong>.</p>
<p>Oracle Servers will have <strong>rlwrap</strong> capability baked-in, so local SQL*Plus sessions will make use of it to provide a scroll-able command line history (that is, you can hit the up- and down-arrow keys in SQL*Plus to retrieve previously-typed SQL statements). Should anyone have ideas for what other software components would be useful to add to either the Salisbury or Oracle servers (or both), please feel free to drop me a line. If it&#8217;s useful and do-able, I&#8217;ll do it!</p>
<p>Note that both the Salisbury and Oracle Server builds are fatal to anything that might already be sitting on the hard disk of the servers involved: Kickstart is used to simply wipe all partitions it finds. Don&#8217;t point Salisbury at pre-loved servers that contain vitally-important data, therefore: you will lose it all if you do.</p>
<h2>Conclusion</h2>
<p>Salisbury is obviously a lot more complicated to describe than Gladstone! In practice, though, you should find it hands-free, highly automatic and, basically, a piece of cake to use.</p>
<p>The complexity arises because it&#8217;s an infrastructure, not a script -though it&#8217;s an infrastructure that bootstraps itself into existence courtesy of Kickstart scripts.</p>
<p>It depends on several version-dependent components, of course: Kickstart scripts designed for version 6.x <span class='classtoolTips1' style='border-bottom:2px dotted #888;'>RCSL</span> distros won&#8217;t work with version 5.x <span class='classtoolTips1' style='border-bottom:2px dotted #888;'>RCSL</span> distros, for example. Similarly, response files that perform perfect 11.2.0.1 Oracle installs blow up spectacularly when confronted with 11.2.0.3 software. I don&#8217;t expect Salisbury to cope with arrival of Red Hat 7 and Oracle 12 without a degree of pain, therefore! I do believe, though, that its underlying techniques and technologies are flexible and extensible enough to be able to cope as the future does its worst.</p>
<p>It&#8217;s taken quite some weeks to get it to this state: I hope someone out there finds it as useful as I have!</p>
<h3><strong>Known Issues</strong></h3>
<table style="border-color: #6f015f; border-width: 1px;" border="1">
<tbody>
<tr>
<td><strong><span style="font-size: x-small;">Date</span></strong></td>
<td><strong><span style="font-size: x-small;">Issue</span></strong></td>
<td><strong><span style="font-size: x-small;">Status</span></strong></td>
</tr>
<tr>
<td><span style="font-size: x-small;">10th April 2013</span></td>
<td><span style="font-size: x-small;">Prerequisite failure in 11.2.0.3 (possibly 11.2.0.1 also) concerning compat-libcap1-1.10. This can be ignored, like all the other prerequisite failures, and the Grid software will still compile and install correctly.</span></td>
<td><span style="font-size: x-small;">Fixed</span></td>
</tr>
<tr>
<td><span style="font-size: x-small;">11th April 2013</span></td>
<td><span style="font-size: x-small;">RAC Install on 11.2.0.1 fails to start ohasd with &#8220;inappropriate ioctl for device&#8221; error. This is a known bug with 11.2.0.1 on 6.x distros, and the fix was documented in <a href="http://www.dizwell.com/articles/linux-desktop-rac-on-nfs/">my earlier RAC-on-Linux article (see section 6)</a>. Fix must be applied <span style="text-decoration: underline;"><strong>before</strong></span> you run the root.sh script.</span></td>
<td><span style="font-size: x-small;">Workaround Available</span></td>
</tr>
<tr>
<td><span style="font-size: x-small;">11th April 2013</span></td>
<td><span style="font-size: x-small;">RAC on 11.2.0.3: both the Grid and Database installs fail at prerequisite check for &#8216;resolv.conf integrity&#8217; (PRVF-5637: DNS response time could not be checked). This is a known bug: see MOS 1480242.1. The workaround is to click the &#8216;Ignore All&#8217; button.</span></td>
<td><span style="font-size: x-small;">Workaround Available</span></td>
</tr>
</tbody>
</table>
<h3><strong>Forthcoming Attractions<br />
</strong></h3>
<ul>
<li>Response file scripts for Grid and Database installations (11.2.0.3 only)</li>
<li>Shell script to automate the fix for 11.2.0.1 RAC on 6.x distros</li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dizwell.com/2013/04/10/salisbury-plain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 21/33 queries in 0.009 seconds using disk
Object Caching 1889/1905 objects using disk

 Served from: diznix.com @ 2013-05-22 06:58:24 by W3 Total Cache -->