<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
 xmlns:admin="http://webns.net/mvcb/"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:content="http://purl.org/rss/1.0/modules/content/"
 xmlns:wfw="http://wellformedweb.org/CommentAPI/">
<channel>
<title>Sean Cull</title>
<description>Tech tips on Notes / Domino and life with a Tablet PC</description>
<link>http://www.seancull.co.uk/public/seancull.nsf/</link>
<language>en-uk</language>
<lastBuildDate>Fri, 27 Aug 2010 00:24:14 +0100</lastBuildDate>
<item>
<title>852 XPages runtime engine faced an OutOfMemoryError on EC2</title>
<pubDate>Fri, 27 Aug 2010 00:24:14 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/852-xpages-runtime-engine-faced-an-outofmemoryerror-on-ec2.htm</link>
<category>Amazon EC2</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/852-xpages-runtime-engine-faced-an-outofmemoryerror-on-ec2.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/852-xpages-runtime-engine-faced-an-outofmemoryerror-on-ec2.htm</guid>
<content:encoded><![CDATA[ <strong>Update : Back on 851, just can't get 852 to run reliably on my ec2 setup ( note Ubuntu is unsupported )</strong> <br /> <br />Ever since I upgraded my <a href="http://www.seancull.co.uk/Public/seancull.nsf/archive?openview&amp;title=Amazon%20EC2&amp;type=cat&amp;cat=Amazon%20EC2">EC2 Ubuntu 8.04 instance </a> to 852 I have been having daily crashes due to Outofmemory Errors. <br /> <br /> 08.26.2010 23:19:48 &nbsp; HTTP JVM: >>>> <br /> 08.26.2010 23:19:48 &nbsp; HTTP JVM: The XPages runtime engine faced an OutOfMemoryError <br /> 08.26.2010 23:19:48 &nbsp; HTTP JVM: You can fix this by increasing the value of the HTTPJVMMaxHeapSize variable in notes.ini <br /> 08.26.2010 23:19:48 &nbsp; HTTP JVM: >>>> <br /> <br /> A small EC2 instance only has 1.7Gb of memory so it is going to struggle in any case. I have tried HTTPJVMMaxHeapSize = 64M, 128M and 256M. <br /> 851 was set to 256Mb by default whereas 852 is set to 64Mb as default. <br /> <br /> This technote <a href="http://www-01.ibm.com/support/docview.wss?uid=swg21377202">http://www-01.ibm.com/support/docview.wss?uid=swg21377202</a> explains the background but it the only part I fully understand is the bit that reads <br /> <br /> <h3>"XPages is an exciting new way to work with Domino applications. It brings Domino fully into Web 2.0 technologies as a world class leader. " </h3><br /> <br /> It basically says go to 64 Bit - is this windows, &nbsp;Linux or both. If Linux then I assume the 32bit installation file as there is no 64bit version ? <br /> Will 64 Bit make any difference if it is memory limited in any case ? <br /> If I am memory limited do I make the value higher or lower ? <br /> <br /> I appreciate that this is not an issue to people running on proper production hardware but it is an issue for development servers and appliances. <br /> <br /> It could also be affected by using Ubuntu but it has been very good in all other respects up until now. <br /> <br /> If you can't read this its because my server has crashed ! <br /> <br /> Sean   ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/852-xpages-runtime-engine-faced-an-outofmemoryerror-on-ec2.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/852-xpages-runtime-engine-faced-an-outofmemoryerror-on-ec2.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Domino 852 - make sure that you test your Xpage applications first</title>
<pubDate>Wed, 25 Aug 2010 11:27:12 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/domino-852-make-sure-that-you-test-your-xpage-applications-first.htm</link>
<category>Admin Tips</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/domino-852-make-sure-that-you-test-your-xpage-applications-first.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/domino-852-make-sure-that-you-test-your-xpage-applications-first.htm</guid>
<content:encoded><![CDATA[ Just a quick tip for any other "traditional notes client developers". With traditional Notes applications it has been very very rare that an upgrade has caused problems with functionality, I have only ever seen it a couple of times over thousands of applications. <br /> <br /> We upgraded to 8.5.2 yesterday and both of our Xpages applications currently under development stopped working. In both cases 8.5.2 was fussier than 8.5.1 about tolerating some dubious SSJS code. <br /> <br /> as an example this code worked on 8.5.1 <br /> <br /> var Statusnumber : integer = Statustext <br /> <br /> whereas in 8.5.2 it required the more correct <br /> <br /> var Statusnumber : integer = parseInt(Statustext) <br /> <br /> While this may indeed be the correct thing to happen the combination of steep learning curve, significant server changes in a point release and a complacency built up over years as a Notes client developer may also affect a few other people so heads up. <br /> <br /> Sean <br />   ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/domino-852-make-sure-that-you-test-your-xpage-applications-first.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/domino-852-make-sure-that-you-test-your-xpage-applications-first.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>This blog is now running on 8.5.2 on Amazon EC2, S3 Firefox Organiser was useful</title>
<pubDate>Tue, 24 Aug 2010 11:25:19 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/this-blog-is-now-running-on-8.5.2-.htm</link>
<category>Admin Tips</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/this-blog-is-now-running-on-8.5.2-.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/this-blog-is-now-running-on-8.5.2-.htm</guid>
<content:encoded><![CDATA[ Now running on 852, the whole upgrade took 5 or 6 minutes, in fact the hardest part was getting the install files to the server. <br /> <br /> I used Amazon S3 storage and the wget command from Linux. <br /> <br /> One useful tip is that although the S3 control panel has an upload limit of 600Mb the Firefox <a href="https://addons.mozilla.org/en-US/firefox/addon/3247/">S3 Firefox Organiser</a> does not and doesn't require flash either. <br /> <br /> Well done IBM for getting the files up promptly. <a href="http://collaborationmatters.com/blog/cmblog.nsf/dx/its-notesdomino-8.5.2-ga-day-and-here-are-your-part-numbers">Stuart McIntyre</a> has a list of part codes.  <br /> <br />For some reason the Linux Traveler server is listed under Windows but it is there.<br /> <br /> Sean   ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/this-blog-is-now-running-on-8.5.2-.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/this-blog-is-now-running-on-8.5.2-.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Xpages and why my tendency to Gold Plate has got harder to manage.</title>
<pubDate>Mon, 26 Jul 2010 22:06:03 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/xpages-and-gauging-the-best-cost-functionality-point.htm</link>
<category>Opinion</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/xpages-and-gauging-the-best-cost-functionality-point.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/xpages-and-gauging-the-best-cost-functionality-point.htm</guid>
<content:encoded><![CDATA[ When we are working on a new application we often talk about bronze, silver and gold plating.  <br /> <br />I have a tendency to want to make things too good when in fact the customer is no better off for my efforts, we refer to this as Sean's Silver or Gold plating. Its a particular issue as we almost always work to a fixed price and experience has also shown me that every extra bell and whistle increases testing and support throughout the life of the application. <br /> <br />Xpages allows you to take this to whole new levels because the traditional constraints imposed by designing applications within the Notes client have been removed. Now you can have two equally functional Xpage applications &nbsp;that are wildly different in terms of the interface bells and whistles. <br /> <br />The new functionality is obviously much welcomed and as we develop more design patterns it gets easier but it does make me wonder if it is also a risk to Notes ? <br /> <br />I have heard the opinion expressed several times over the years that one Notes real strengths was that you could ( only ) produce cheap applications and it was therefore very competitive. With Xpages even a simple departmental app can now be very feature rich ( or Gold Plated ). Pricing ourselves out of jobs or failing to deliver value for money to our customers is now something that we have to work harder at because our toolbox is so much bigger. A good problem to have but one that needs thought. <br /> <br />Sean  ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/xpages-and-gauging-the-best-cost-functionality-point.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/xpages-and-gauging-the-best-cost-functionality-point.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Notes basic ( non eclipse ) is very useful now but will it hold Notes back in the future ?</title>
<pubDate>Mon, 26 Jul 2010 21:42:31 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/notes-basic-non-eclipse-is-very-useful-now-but-will-it-hold-notes-back-in-the-future-.htm</link>
<category>Lotus</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/notes-basic-non-eclipse-is-very-useful-now-but-will-it-hold-notes-back-in-the-future-.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/notes-basic-non-eclipse-is-very-useful-now-but-will-it-hold-notes-back-in-the-future-.htm</guid>
<content:encoded><![CDATA[ I had my "<a href="http://en.wiktionary.org/wiki/road_to_Damascus">road to Damascus moment</a>" recently when I saw the same app run in Xpages on the client and on the web with no extra coding, or more accurately not much extra coding.  <br /> <br />I realised that Notes had passed a huge milestone and some of my long held beliefs were unceremoniously dumped. One of these was that customers were best with the Notes basic ( non-eclipse ) client. It is considerably faster and despite working on notes apps full time neither I nor my colleagues had yet had cause to use any of the eclipse functionality. <br /> <br />Now when we are looking at new apps our first inclination is to want to do it in Xpages if it is likely to be a repeatable solution. This is not just because we are geeks and it is fun but because with our business heads on we believe that we have a much better chance of selling that application to potential customers who do not, and unlikely to ever, run Notes clients. <br /> <br />Notes basic was good for getting people with older hardware ( often < 3 years old ) onto newer versions of Notes. That was a very good thing in the battle for hearts and minds. We needed to get them off R5 / 6 and onto something which really showed what Notes could do. <br /> <br />But hang on, is there not a danger that we will be repeating history with Xpages and Notes Basic. If developers mostly want to code in Xpages and as a consequence people with Notes basic will progressively get left behind and, even though they are on Notes 8.x or maybe 9.x. They &nbsp;will have that dangerously substandard experience that is analogous to users being on R5. I am stretching the point a little but I do think that it is a very valid concern. <br /> <br />So do I think Notes basic is a good thing ? Yes I do for now but I think it could quite possibly be a bad thing if it were continued on into Notes 9.x. <br /> <br /> <br />Sean  ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/notes-basic-non-eclipse-is-very-useful-now-but-will-it-hold-notes-back-in-the-future-.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/notes-basic-non-eclipse-is-very-useful-now-but-will-it-hold-notes-back-in-the-future-.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Receiving POP3 mail into a Linux Domino server using getmail and sendmail</title>
<pubDate>Mon, 26 Jul 2010 07:42:55 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/pollin-for-pop3-mail-with-a-linux-domino-server-using-getmail-and-sendmail.htm</link>
<category>Admin Tips</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/pollin-for-pop3-mail-with-a-linux-domino-server-using-getmail-and-sendmail.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/pollin-for-pop3-mail-with-a-linux-domino-server-using-getmail-and-sendmail.htm</guid>
<content:encoded><![CDATA[ I have a need to receive mail from a POP3 account into a domino server running on Centos 5.5 as an appliance. &nbsp; <br /> <br /> Some time ago on windows I used the <a href="http://www.chimera.co.nz/">Chimeras Email Forwarding System</a> which worked very well but this was a Linux server. <br /> <br /> The scheme I came up with uses a combination of &nbsp;<a href="http://pyropus.ca/software/getmail/">Getmail version 4</a> and <a href="http://www.sendmail.org/">Sendmail</a>. <br /> <br /> Getmail is a Linux utility which will poll different types of mail accounts and then pass those messages on. It has an option to pipe the messages to an external mail delivery agent such as Sendmail. Sendmail can then send them on to the Domino server as SMTP on the localhost address. <br /> <br /> These notes are for a Centos 5.5 installation with the Webmin web based management console <br /> <br /> <h3> Install and configure Getmail </h3> <br /> <br /> Create a new user called mailer or similar and a password. This is because Getmail will not call Sendmail if it is run as root. <br /> <br /> As Root download Getmail <br /> <br /> see <a href="http://pyropus.ca/software/getmail/documentation.html#installing">http://pyropus.ca/software/getmail/documentation.html#installing</a> <br /> <br /> $ cd /tmp/ <br /> $ wget http://pyropus.ca/software/getmail/old-versions/getmail-4.20.0.tar.gz <tt><br /> $ tar xzf getmail-version.tar.gz<br /> $ rpm -ihv getmail-version-release.noarch.rpm<br /> $ cd getmail-version<br /> $ python setup.py build</tt><br /> <tt><br /> I then used Winscp to create the configuration file /home/mailer/.getmail/getmailrc</tt> <tt><br /> </tt> <br /><tt>In this case the receiving account on the Domino server will be the Administrator account.</tt> <tt>Getmail has lots of other options </tt><br /> <br /> &#91;retriever&#93; <br /> type = SimplePOP3Retriever <br /> server = acme.com <br /> username = peter pan <br /> password = <password> <br /> <br /> &#91;destination&#93; <br /> type = MDA_external <br /> path = /usr/sbin/sendmail <br /> arguments = ("-i","-bm", "administrator@localhost") <br /> <br /> &#91;options&#93; <br /> verbose = 0 <br /> read_all = false <br /> delete = false <br /> message_log = ~/.getmail/log <br /> <br /> &#91;default&#93; <br /> <tt><br /> <h3>Configure Sendmail</h3></tt> <br /> <tt><br /> Sendmail and Domino cannot normally run on the same box because they both need to bind to port 25. In this scenario Sendmail does not need to listen to port 25 so it can be configured to listen on port 26 ( or any other unused port ). I used the Webmin client to make this change under Servers > Sendmail > Network Ports</tt> <br /> <br /> <img  alt="Image:Receiving POP3 mail into a Linux Domino server using getmail and sendmail" border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/pollin-for-pop3-mail-with-a-linux-domino-server-using-getmail-and-sendmail.htm/content/M2?OpenElement" /><br /> <br /> <tt><br /> <h3>Testing the System</h3></tt> <br /> <tt><br /> Log in as mailer</tt> <tt><br /> enter getmail -v <br /> The -v gives a verbose output so that you can see what is happening. </tt><br /> <tt><br /> <h4>Scheduling the getmail task</h3></tt> <br /> <tt><br /> I used webmin to set up the cron job running as the mailer user</tt> <br /> <tt><br /> System > Scheduled Cron Jobs</tt> <br /> <br /> <img  alt="Image:Receiving POP3 mail into a Linux Domino server using getmail and sendmail" border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/pollin-for-pop3-mail-with-a-linux-domino-server-using-getmail-and-sendmail.htm/content/M3?OpenElement" /><br /> <tt><br /> <h4>Other things to remember</h4></tt> <br /> <tt><br /> You may need to set Sendmail up to start on bootup</tt> <tt><br /> You may need to allow pop3 mail through your firewall</tt> <br /> <tt><br /> As usual all feedback on better schemes welcomed !</tt> <tt><br /> Sean</tt>   ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/pollin-for-pop3-mail-with-a-linux-domino-server-using-getmail-and-sendmail.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/pollin-for-pop3-mail-with-a-linux-domino-server-using-getmail-and-sendmail.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Please read Jakes post and give your views in the comments</title>
<pubDate>Tue, 13 Jul 2010 11:20:29 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/please-read-jakes-post-and-give-your-views-in-the-comments.htm</link>
<category>Lotus</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/please-read-jakes-post-and-give-your-views-in-the-comments.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/please-read-jakes-post-and-give-your-views-in-the-comments.htm</guid>
<content:encoded><![CDATA[ Jake has apparently been asked to leave Planet Lotus. This is just daft. <br /> <br /> I don't know Jake from Adam but he is certainly part of this community and his insights into both Domino and Sharepoint ( and PHP and RUBY etc ) are very much valued. Please express your opinions on Jakes blog. <br /> <br /> <a href="http://planetlotus.org/6f8d6c">http://www.codestore.net/store.nsf/unid/BLOG-20100713-0453</a> <br /> <br /> Sean   ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/please-read-jakes-post-and-give-your-views-in-the-comments.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/please-read-jakes-post-and-give-your-views-in-the-comments.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>EC2, too clever for me, snapshots, multiple servers, instant servers, but &quot;release&quot; your IP address and it all falls over ( for days ).</title>
<pubDate>Fri, 2 Jul 2010 09:34:47 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/ec2-too-clever-for-me.htm</link>
<category>Admin Tips</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/ec2-too-clever-for-me.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/ec2-too-clever-for-me.htm</guid>
<content:encoded><![CDATA[ Dear reader, you will probably be reading this in a few days time because I have just pressed the wrong button in EC2. <br /> <br /> It's been an interesting lesson. Part of moving to the cloud is all the extra redundancy that you get. You feel that the incredibly powerful controls that you are given mean that in some respects you haven't really given away control but rather gained it. <br /> <br /> You might feel uncomfortable going for a small or new host organisation but you feel safer with the big people like Amazon EC2. <br /> <br /> The problem is that humans are still involved and some of the services that you have been given are only on loan. In my case the fixed IP address from Amazon was only on loan and when I accidentally gave it back I couldn't get it back again. In the on premise paradigm people had redundant power supplies, redundant drives, redundant switches but did any one worry as much about loosing an IP address whilst still with the same connectivity provider ? <br /> <br /> Its good that its Friday ( shame it wasn't Friday evening though ) because when you see this on Monday on Planet Lotus the link might actually work depending on your local ISP's DNS caching. Was it a good weekend for you ? <br /> <br /> <h3>What happened</h3> <br /> <br /> EC2 has a great feature called an "Elastic IP Address" that allows you to have a static IP address that you can switch between EC2 instances ( servers ). <br /> <br /> If you would like to avoid some chaos then you SHOULD NOT EVER choose to "release" your Elastic IP address for once you do it disappears and is lost forever. <br /> <br /> This means that you need to get a new one and re-do all of your DNS A records again. This means that your site will be down for days. <br /> <br /> When moving the IP address between instances you should use the Disassociate option below. You will notice that the Release option is greyed out. <br /> <br /> <img  alt="Image:EC2, too clever for me, snapshots, multiple servers, instant servers, but &quot;release&quot; your IP address and it all falls over ( for days )." border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/ec2-too-clever-for-me.htm/content/M2?OpenElement" /><br /> <br /> However, if you have just terminated the instance that had been associated with that IP address the console ( quite logically ) looks like this <br /> <br /> <img  alt="Image:EC2, too clever for me, snapshots, multiple servers, instant servers, but &quot;release&quot; your IP address and it all falls over ( for days )." border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/ec2-too-clever-for-me.htm/content/M3?OpenElement" /><br /> <br /> Now I know that the logical thing to do ( in hind sight ) would be to click the Associate button but my brain has not twigged that the Dissociate action happened automatically when the instance was terminated so I clicked the "Release Address" button and got this. <br /> <br /> <img  alt="Image:EC2, too clever for me, snapshots, multiple servers, instant servers, but &quot;release&quot; your IP address and it all falls over ( for days )." border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/ec2-too-clever-for-me.htm/content/M4?OpenElement" /><br /> <br /> I really want them to change it to say this <br /> <br /> <img  alt="Image:EC2, too clever for me, snapshots, multiple servers, instant servers, but &quot;release&quot; your IP address and it all falls over ( for days )." border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/ec2-too-clever-for-me.htm/content/M5?OpenElement" /><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br />   ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/ec2-too-clever-for-me.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/ec2-too-clever-for-me.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Amazon EC2 - good and bad</title>
<pubDate>Thu, 1 Jul 2010 15:49:44 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/amazon-ec2-good-and-bad.htm</link>
<category>Admin Tips</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/amazon-ec2-good-and-bad.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/amazon-ec2-good-and-bad.htm</guid>
<content:encoded><![CDATA[ Some of you may have noticed that the site has just been down for about 25 minutes. <br /> <br /> I decided to make a new AMI ( basically a template ) of the running server now that it has FP3 and for some reason doing this took the server down - its probably in the small print somewhere. <br />  <br />I had to terminate the instance to get the data volume back under my control but I was then able to bring up a new server and switch the IP address within another 10 minutes. While I was at it I brought a bigger server up. <br /> <br /> I had been updating the AMI so that I could create a temporary cluster to move from a small server to a larger server seamlessly - something I'll need to try another time ! <br /> <br /> <a href="http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-persistent-ec2-domino-instance-with-ebs-boot-volumes.htm?opendocument&amp;comments#anc1">Previous article on setting up a domino server on EC2</a>   ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/amazon-ec2-good-and-bad.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/amazon-ec2-good-and-bad.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>We didn&#8217;t sell Lotus Notes but we used Notes to make a customer 30% more efficient over &#163;12M of work since 2002</title>
<pubDate>Thu, 1 Jul 2010 07:56:02 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/we-didnt-sell-lotus-notes-but-we-used-notes-to-make-a-customer-30-more-efficient-over-12m-of-work-since-2002.htm</link>
<category>Download</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/we-didnt-sell-lotus-notes-but-we-used-notes-to-make-a-customer-30-more-efficient-over-12m-of-work-since-2002.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/we-didnt-sell-lotus-notes-but-we-used-notes-to-make-a-customer-30-more-efficient-over-12m-of-work-since-2002.htm</guid>
<content:encoded><![CDATA[ Following the suggestion that we should all have a theme on the value that users get from Notes I thought that I would mention this one. <br /> <br /> <a href="http://www.seancull.co.uk/public/foculweb.nsf/dx/pRIME%20010.pdf/$file/pRIME%20010.pdf"><img  src="http://seancull.co.uk/Public/seancull.nsf/dx/primethumbnail.jpg/$file/primethumbnail.jpg"></a> <br /> <br /> It is a Notes application that we have been developing with ABB since 2002 and which <a href="http://www.edbrill.com/ebrill/edbrill.nsf/dx/focul-posted-a-nice-case-study-of-lotus-notes-usage-at-abb">Ed Brill</a> has mentioned before. Our customer has now been good enough to quantify the benefits, hence the quote on the first page. <br /> <br /> “Working with FoCul has delivered quality and efficiency improvement to our consultancy processes and services, whilst retaining the ability to customise work processes at short notice to meet specific customer needs <br /> <br /> The benefit has been a 30% efficiency saving, allowing ABB to deliver over £12M of studies more competitively since 2002” &nbsp; <br /> <br /> David Stanier, Principal Consultant, ABB <br /> <br /> I should point out that the application has not made ABB £3M better off by increasing their margins because the efficiency savings have helped them to be more competitive and win more work - try putting an ROI on that.<br /> <br /> No individual part of the application is rocket science ( although we are very proud of the whole piece ), it is just a good Notes Application, a business tool. The benefits come from enabling very highly skilled engineering consultants to collaborate with each other and with their clients, to use a shared best practice approach and to significantly reduce the time they spend on administration - its not hard to kill the competitiveness of a project by having experts compiling huge word documents. <br /> <br /> The development costs have been 300K in total over the 8 years with the costs being split pretty evenly across that period as more functionality has been added. ABB have probably spent a similar amount of time internally in terms of specification workshops, testing and peer training / support. <br /> <br /> It is worth noting that FoCul hardly ever sells Lotus Notes ( hoping to sell XPages though ) and really does very little in terms of renewals. IBM probably sells ABB 100 - 200k licences a year.   ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/we-didnt-sell-lotus-notes-but-we-used-notes-to-make-a-customer-30-more-efficient-over-12m-of-work-since-2002.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/we-didnt-sell-lotus-notes-but-we-used-notes-to-make-a-customer-30-more-efficient-over-12m-of-work-since-2002.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Am I happy with where Notes is from a technical standpoint ? Yes more than ever</title>
<pubDate>Fri, 18 Jun 2010 14:13:03 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/am-i-happy-with-where-notes-is-from-a-technical-standpoint-yes-more-than-ever.htm</link>
<category>8.5.1</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/am-i-happy-with-where-notes-is-from-a-technical-standpoint-yes-more-than-ever.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/am-i-happy-with-where-notes-is-from-a-technical-standpoint-yes-more-than-ever.htm</guid>
<content:encoded><![CDATA[ I have just recorded a <a href="http://www.thisweekinlotus.com/audio/twil.nsf/dx/this-week-in-lotus-004-youre-being-blindsided-by-sharepoint">podcast with Stuart McIntyre, Darren Duke, Sharon Bellamy, Matt White and Bruce Elgort </a>and it got me thinking.<br /> <br /> Although I have commented on some blogs over the last week I have not posted anything myself so here goes. <br /> <br /> <strong>Am I happy with where Notes is from a technical standpoint - yes more than ever.</strong> <br /> <br /> <a href="http://www.focul.net">My company</a> focuses on a "double niche" - organisations that are in the manufacturing sector and have a pre-existing Notes infrastructure. With XPages we can now think of it as less of a double niche because we can design once for the web and the Notes client at the same time. This is a huge advance and as someone pointed out on the podcast pretty unusual in terms of platforms. Notes has always been much more capable than the vast majority of its users know and now this is even more the case. <br /> <br /> We are developing our first <a href="http://www.deliverytoolkit.com/Public/FDT/fdtwiki.nsf/dx/Management_of_Change_for_Process_Safety">application</a> which will run as an appliance at a customer site that is non notes. But it also runs as a local replica in the Notes client - how cool is that ? Think Google Gears but better ( and still supported ). I might regret this but here are the <a href="http://web001.focul.net/Partners_Web/2138_CHP/chp_moc.nsf#">daily</a> and <a href="http://web001.focul.net/Partners_Web/2138_CHP/weekly_moc.nsf#">weekly </a> builds ( sorry Andrew ! ). Trust me it looks the same in the Notes Client.<br /> <br /> I deliberately used the phrase "where Notes is technically" because I am not as happy around the non technical side. Its not that it has suddenly got worse rather that the gap between "what Notes can do" and what people "think Notes can do" has got much wider and so my frustration has got greater. <br /> <br /> I will openly admit to having looked to see if we can offer solution on the MS platforms as well as Domino and I have always come away confident that for what we do Notes has very limited competition. So what are the issues ? <br /> <br /> <h3>IBM has got to value retaining clients</h3> Reps need to be incentivised for renewals - it will stop companies on < 8.x thinking the product is dated. <br /> <br /> Its a virtuous circle that will ensure that IBM customers get better value from Notes through applications, DAOS, servers running faster on existing hardware etc. &nbsp;and IBM spends less time fighting a rear guard battle against a mail platform and a file server. <br /> <br /> People often talk about life cycles - what is IBM's view on the lifecycle of a customer ?<br /> <br /> <h3>IBM has got to be wholistic about Notes being a development platform</h3>If I sell a 10K Xpage app to a company with <1000 employees the whole project is 12K ( 2k for the utility express server ). If I sell the same App to a company with 1001 employees the whole project costs maybe 25k. This means that I can't be competitive in large companies - that just seems daft. <br /> <br /> At the same time pricing by individual users is not the answer either - for example if I write an app that manages brochures or safety data sheets the client will absolutely not pay £X per month for each customer just because they are listed in a NAB somewhere ( in reality it drives you to LAMP or to use a daft email based system with response parsing to avoid the restrictions ). <br /> <br /> I honestly don't know the answer but the current scheme is not helpful. There may be ways and means around this but if so this should be open and transparent or people will just not bother. <br /> <br /> <h3>IBM needs to lower the threshold for existing and "net new" developers to start using XPages</h3>While I applaud the work by individuals in IBM the whole documentation piece is very very poor and the learning curve is much too steep. <br /> <br /> The Wikis are a nice idea but they are too diverse - new users want focused examples and tutorials. For example follow this link to look at the wiki articles on &nbsp;<a href="http://www-10.lotus.com/ldd/ddwiki.nsf/xpViewCategories.xsp?lookupName=Developing%3A%20XPages%20for%20Notes%20client">XPages in the client</a> - a strategically important area for Lotus ?. While again I applaud the work of the individuals who made the entries the formatting alone makes it unpalatable. If IBM is going to depend on Wikis they need to employ some editors. <br /> <br /> <h3>IBM needs to bundle 2 or 3 really good Apps with Domino</h3>so that businesses get more value and so that they can see how good Notes can be in terms of Business Applications. <br /> <br /> I would caution that this is not an opportunity to deploy sexy Composite Apps because businesses need to be able to dissect the bundled apps and learn how to put new ones together - in most uses cases Composite apps are too expensive. If there was a good Holidays Management App wouldn't most customers use it ? <br /> <br /> Some people will argue that OpenNtf does this. While I have huge respect for the IBM employed OpenNtf developers the Wiki as an example is not fit for production ( test being would you encourage the CXO to use it ). It is a marvellous thing for developers to use and dissect but it is too buggy and incomplete to give to a customer. I say this as someone who <a href="http://focul.net/Partners_Web/2141_FDT_ASSET_WIKI/Wiki.nsf">uses them a lot</a>. I would say the same of the Blog template as well ( although Steve Castledine did recently <a href="http://www.stevecastledine.com/sc.nsf/dx/dominoblog-give-me-the-dirt">seek feedback</a> on this one ).<br /> <br /> <h3>Just a couple more observations :</h3> <br /> <br /> IBMs current methods to promote Notes do not work - &nbsp;I think that is a statement many people would respond "A strongly agree". &nbsp;Einstein said <strong><br /> <br /> "Insanity: doing the same thing over and over again and expecting different results</strong><strong>"</strong><br /> <br /> IBM also wonder why LAMP, Ruby etc.. get such uptake when they don't have marketing either. To me the answer is in the barriers to adoption. If, for example, the on premises suite from IBM was available free for up to ten users would the Lotus community grow much ? Would the public perception of Notes improve ? I am not wedded to this idea, I don't think that it would directly create work for me, but it would require a shift in mindset on the part of IBM and I think that is what I am really looking for. It would also have negligible cost ( this licence would be unsupported) . Yes I know that there is a downside to giving away fee stuff, been there and had my fingers burnt, but it should be considered - think about Einstein's quote above. <br /> <br /> The action list above is all "IBM to do". People will say two things - "what about you Mr Business Partner, ISV etc.. ?" and "look, just use another platform ?" <br /> <br /> To the first I would say yes we all need to do more but our passion needs to be matched by IBM, not just Ed, IBM. There also needs to be a clearer roadmap about Notes as a design platform. People have rightly cautioned against building careers and businesses around a single vendor. I agree and it is a concern for me but to be good at what you do it is sometimes necessary. The thing that scares people away is not seeing a shared roadmap for the product. I don't understand the roadmap for Notes as a design platform and the lack of a sensible licensing structure sometimes makes me wonder if there is a roadmap.<br /> <br /> To the second point I would respond that the platform is very very good and from a technical perspective is the best choice for me and my work. The hardest part is getting over the general lack of confidence in the platform that exists in the wider IT community. <br /> <br /> Lastly ( I'm impressed your still here ! ) I think that some rebranding should be considered. I love Lotus Notes but "Lotus Notes" has negative connotations for too many people. <br /> <br /> I personally would like to see "IBM Xpages" being pushed as a brand for non mail web delivered applications. It is easier to say to potential customers that the solution is based on IBM XPages rather than on Notes ( I think hardly anyone outside of this audience has heard of Domino ). Xpages could be positioned as an "Add-in" to Notes. I also like the idea of a better XPages specific development environment in addition to DDE. I feel like I've just publically disowned a child ! <br /> <br /> Anyhow, in conclusion I am hugely pleased with Notes, it is so much better than Exchange + sharepoint, I think the IBM developers are doing a fantastic job with the resources that they have but this misguided public impression of Notes needs to be addressed and the old ways are not working. <br /> <br /> p.s.I know nothing about marketing so all of the above could be rubbish !   ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/am-i-happy-with-where-notes-is-from-a-technical-standpoint-yes-more-than-ever.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/am-i-happy-with-where-notes-is-from-a-technical-standpoint-yes-more-than-ever.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Fixing an Overheating Toshiba M700 </title>
<pubDate>Thu, 17 Jun 2010 21:42:44 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/fixing-an-overheating-toshiba-m700-.htm</link>
<category>My hardware</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/fixing-an-overheating-toshiba-m700-.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/fixing-an-overheating-toshiba-m700-.htm</guid>
<content:encoded><![CDATA[ I have been quite frustrated with my Toshiba M700 for the last couple of months. It never seemed to run as well as it should with the CPU maxing out at 100%, the battery going very quickly and the casing getting hot.<br /> <br /> I had deliberately bought the M700 as a desktop replacement but I was at the point where I was just about to but a desktop anyway because I thought it was beyond the M700 to run two external monitors. I even thought about a Mac Book Pro until I saw the price. <br /> <br /> I noticed that while the CPU was maxed out the Windows 7 Resource monitor was showing that the CPU frequency was only around 40% of the maximum attainable. I downloaded <a href="http://www.alcpu.com/CoreTemp/">coretemp</a> which showed that one of the cores was running at 103 C and I noticed that there was a correlation between the temperature and the CPU frequency - the system was throttling the frequency at these extreme temperatures. <br /> <br /> <img  alt="Image:Fixing an Overheating Toshiba M700 " border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/fixing-an-overheating-toshiba-m700-.htm/content/M2?OpenElement" /><br /> <br /> Being worried that it was a problem with Windows 7 I booted it to Linux from a USB drive. This was inconclusive so then I restored an old XP backup, Initially I thought that I had solved the problem but the machine was still running at 103 C although the throttling didn't seem so bad ( it is harder to measure in XP ). I still felt something was wrong. <br /> <br /> Anyhow, being an Engineer I felt that there was something not quite right so I decided to take it apart, as you do. I found some good instructions <a href="http://www.irisvista.com/tech/laptops/Toshiba-Portege-M700/take-apart-tablet-pc-1.htm">here</a> which helped, particularly with the keyboard connection. <br /> <br /> Everything around the heat sync looked pretty clean and I almost gave up but when I blasted it with compressed air for good measure quite a lot of debris flew out. I rebuilt the machine - try and remember where the long bolts came from ! - and now it is running very very happily on windows 7 at 55 C and it feels like a powerful machine again. <br /> <br /> If you are having similar problems It might be worth shooting some air into the fan vent. There is a hatch to give access but the access is not really that good. <br /> <br /> Strangely I have just tried to re-create the problem by blocking the vent and cant get it to be bad enough to get past 90 C. It just shows how a small amount of dirt can clog the heat exchanger very effectively.   ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/fixing-an-overheating-toshiba-m700-.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/fixing-an-overheating-toshiba-m700-.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Sorted : Help ! Anyone know what has happened to the A Deep-dive on Building Lotus Domino Applications with XPages webcast ? </title>
<pubDate>Thu, 17 Jun 2010 16:03:04 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/help-anyone-know-what-has-happened-to-the-a-deep-dive-on-building-lotus-domino-applications-with-xpages-webcast-.htm</link>
<category>Lotus</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/help-anyone-know-what-has-happened-to-the-a-deep-dive-on-building-lotus-domino-applications-with-xpages-webcast-.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/help-anyone-know-what-has-happened-to-the-a-deep-dive-on-building-lotus-domino-applications-with-xpages-webcast-.htm</guid>
<content:encoded><![CDATA[ Sorry folks, I seem to be attracting a lot of readers which was not my intention. <br /> <br /> I was desperate to see the " Deep-dive on Building Lotus Domino Applications with XPages webcast " but the link in my confirmation email just went to a page that said "thank you". <br /> <br /> <img  alt="Image:Sorted : Help ! Anyone know what has happened to the A Deep-dive on Building Lotus Domino Applications with XPages webcast ? " border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/help-anyone-know-what-has-happened-to-the-a-deep-dive-on-building-lotus-domino-applications-with-xpages-webcast-.htm/content/M2?OpenElement" /><br /> <br /> When I followed the <a href="http://www-01.ibm.com/software/rational/talks/">other link</a> in the confirmation email the web cast was not listed either - the link was for the Rational site for some reason. <br /> <br /> I got there in the end and it was an excellent webcast - the link below should show a replay by tomorrow - the start is a bit deep but it then goes on to show some good stuff and wets the appetite for 8.5.2<br /> <br /> <a href="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?lang=en_US&amp;source=dw-c-wcsdp&amp;S_PKG=062310A&amp;S_CMP=dW&amp;ca=ddc- ">https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?lang=en_US&amp;source=dw-c-wcsdp&amp;S_PKG=062310A&amp;S_CMP=dW&amp;ca=ddc-</a>   ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/help-anyone-know-what-has-happened-to-the-a-deep-dive-on-building-lotus-domino-applications-with-xpages-webcast-.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/help-anyone-know-what-has-happened-to-the-a-deep-dive-on-building-lotus-domino-applications-with-xpages-webcast-.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>AppendRTItem - only appends the first 32 k - I never knew that</title>
<pubDate>Wed, 16 Jun 2010 09:32:32 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/appendrtitem-only-appends-the-first-32-k-i-never-knew-that.htm</link>
<category>Dev Tips</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/appendrtitem-only-appends-the-first-32-k-i-never-knew-that.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/appendrtitem-only-appends-the-first-32-k-i-never-knew-that.htm</guid>
<content:encoded><![CDATA[ A comment buried in the official example <br /> <br /> <a href="http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_designer.nsf/f4b82fbb75e942a6852566ac0037f284/29d555eb0e7645bc8525704a0040f417?OpenDocument">Note The changes are not visible until the document (after the script has completed) is closed and reopened. Also note that the AppendRichTextItem method appends only the first 32K of a RichTextItem; the remainder is truncated.</a> <br /> <br /> Thanks to Jake's <a href="http://www.codestore.net/errors.nsf/all/D1F851909DB2C37986256E9800424BCD?OpenDocument">code store error list</a> - I didn't even know the list existed.  <br /> <br />update : <br />I have fed this back to IBM.  ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/appendrtitem-only-appends-the-first-32-k-i-never-knew-that.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/appendrtitem-only-appends-the-first-32-k-i-never-knew-that.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>SNTT : Installing Traveler on an old 32 bit server is so much easier with linux than windows server 2008</title>
<pubDate>Thu, 10 Jun 2010 08:00:00 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/traveler-on-linux.htm</link>
<category>Admin Tips</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/traveler-on-linux.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/traveler-on-linux.htm</guid>
<content:encoded><![CDATA[ <img  alt="Image:SNTT : Installing Traveler on an old 32 bit server is so much easier with linux than windows server 2008" border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/traveler-on-linux.htm/content/M2?OpenElement" /><br /> <br /> Note 1 : Notes 8.5.2 &nbsp;is beta and there are no guarantees that the features described here will be in the final product that IBM ships. <br /> <br /> Note 2 : The description below is for a development server and may or may not be suitable for production depending on your circumstances. <br /> <br /> Having <a href="http://www.seancull.co.uk/public/seancull.nsf/dx/sntt-creating-a-persistent-ec2-domino-instance-with-ebs-boot-volumes.htm">moved to Amazon EC2 </a>I I recently decommissioned an old Dell Poweredge 650 server and decided to put it to good use to test 8.5.2 CD5. This server has no DVD drive, is 32 bit and cannot boot from USB. <br /> <br /> My original plan had been to get some more experience of Server 2008 R2 but I ended up going down the Linux route as it was much simpler. <strong><br /> <br /> <h2>Linux Install</strong> </h2><br /> <br /> Download CDs for Centos 5.5 ( yes I know it is not officially supported ) <br /> Do a minimal install - don't even choose the server options <br /> Access the server via SSH using Putty <br /> Upload the install files using Win SCP <br /> Install Domino <br /> Install Traveler ( using the silent install feature ) <br /> Install <a href="http://blog.nashcom.de/nashcomblog.nsf/dx/domino-unix-start-script-update-ubuntu-support.htm?opendocument&amp;comments#anc1">Daniel Nashed's startup scripts</a> <strong><br /> <br /> <h2>Windows Install</strong> </h2><br /> <br /> Check Server 2008 R2 requirements - 64 bit - oops <br /> Eventually find Server 2008 Standard 32 Bit <br /> Can only be installed from DVD - oops <br /> Create a boot usb instead using this very <a href="http://technet.microsoft.com/en-us/magazine/dd535816.aspx">useful hint</a> - easiest way to make a boot disk I have seen so far <br /> Server won't boot from USB - oops <br /> Create a Windows 7 Recovery Disk <br /> Boot from the Recovery Disk <br /> Navigate to the option for command prompt <br /> Plug in the USB drive <br /> Access the Server 2008 setup files on the USB drive <br /> Install Windows Server 2008 <br /> Upload Domino Install Files <br /> Install Traveler <strong><br /> <br /> <h2>The thoughts that came to mind were :</strong><strong> </strong><strong></h2></strong><br /> <br /> <li> Wow - Linux Traveler</li><br /> <li> Is IBM missing a trick by not jumping on the green bandwagon and allowing people to recycle old 32 bit servers ? &nbsp;</li> <br /> <li> The whole Linux dependency problems that were such a pain in R6 and R7 seem to have totally vanished &nbsp;</li> <br /> <li> My colleague who uses an iPhone just continued to sync via Traveller against the IP address ( now a Linux server ) - he never noticed the change. &nbsp;</li> <br /> <li> &nbsp;Wouldn't it be great if IBM supported a free distribution of Linux ( I run Domino on Ubuntu and CentOS, albeit on a small scale &nbsp;) </li><strong><br /> <br /> <h2>The 64 Bit install </strong></h2><br /> <br /> To satisfy my original intention to try out Server 2008 I decided to install it on my 64 bit laptop. <br /> <br /> I have previously installed 64 Bit Centos &nbsp;which allowed me to install it to and then boot from a USB drive leaving the original 32 bit Windows 7 install on the laptop intact. <br /> <br /> No such luck with Windows. It will not install to a USB drive so you need to create a partition or swap out the disc - I guess I needed a disc upgrade anyway, maybe I should buy a 64 bit dev server after all. You would almost think that it was MS who sold hardware. <br /> <br />p.s. MS do some great software too !  ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/traveler-on-linux.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/traveler-on-linux.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>SNTT: Creating a static HTML version ( e.g. for a CD ) of your Xpage Wiki</title>
<pubDate>Thu, 20 May 2010 07:00:00 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-static-html-version-e.g.-for-a-cd-of-your-xpage-wiki.htm</link>
<category>Admin Tips</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-static-html-version-e.g.-for-a-cd-of-your-xpage-wiki.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-static-html-version-e.g.-for-a-cd-of-your-xpage-wiki.htm</guid>
<content:encoded><![CDATA[ On a number of occasions in the past I have been asked if I can make a Notes database into an interactive CD for non-notes users, for example at the end of a project. <br /> I found that the best approach has been to make a simple html domino site and then use a tool like <a href="http://en.wikipedia.org/wiki/HTTrack"> WinHTTrack</a> to spider through it and create a HTML copy. <br /> One of the restrictions of this approach is that you cannot use any client side JavaScript for menus etc.. <br /> <br /> I have tried this technique on the XPage Wiki and it works relatively well for simple sites. With the Javascript being server side the WinHTTrack is non the wiser and faithfully reproduces it in static HTML although you will obviously find that combobox filters don't work. <br /> <br /> <a href="http://focul.net/Partners_Web/2141_FDT_ASSET_WIKI/Wiki.nsf/dx/Project_Introduction">This is a live Xpage Wiki</a> <br /> <br /> <a href="http://hosting.focul.co.uk/seancull/CAM2/web001.focul.net/Partners_Web/2141_FDT_ASSET_WIKI/Wiki.nsf/dx/Project_Introduction.html">This is a copy of same wiki as static HTML.</a> <br /> <br /> There are a couple of "features" that you may need to address. <br /> <br /> 1) Some CD burner software will not handle long URLs. In the past I have had to write code to parse the files and file names shortening these although with USB pens now being so cheap there is not so much call for CDs <br /> <br /> 2) Twisties / Sections that are closed by default need to be modified to be open as clicking on them to open them does not create a new url <br /> <a href="http://hosting.focul.co.uk/seancull/CAM2/web001.focul.net/Partners_Web/2141_FDT_ASSET_WIKI/Wiki.nsf/dx/Project_Plan.html">In this example</a> I had to modify the Xpage design to default the section / twisty open (prtContent) <br /> <br /> <img  alt="Image:SNTT: Creating a static HTML version ( e.g. for a CD ) of your Xpage Wiki" border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-static-html-version-e.g.-for-a-cd-of-your-xpage-wiki.htm/content/M2?OpenElement" />  ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/sntt-creating-a-static-html-version-e.g.-for-a-cd-of-your-xpage-wiki.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-static-html-version-e.g.-for-a-cd-of-your-xpage-wiki.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>SNTT: Creating a static HTML version ( e.g. for a CD ) of your Xpage application</title>
<pubDate>Thu, 20 May 2010 07:00:00 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-static-html-version-e.g.-for-a-cd-of-your-xpage-application.htm</link>
<category>Admin Tips</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-static-html-version-e.g.-for-a-cd-of-your-xpage-application.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-static-html-version-e.g.-for-a-cd-of-your-xpage-application.htm</guid>
<content:encoded><![CDATA[ I'm speaking at the <a href="https://www-950.ibm.com/events/wwe/grp/grp006.nsf/v16_agenda?openform&amp;seminar=4EAFUNES&amp;locale=en_GB" >IBM Power of Business Applications conference</a> on the 16th June at IBM Bedfont Lakes. This article is about a neat trick from the application that I will be presenting but won't have time to talk about on the day so I thought I would post it here.<br /> <br /> <img  alt="Image:SNTT: Creating a static HTML version ( e.g. for a CD ) of your Xpage application" border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-static-html-version-e.g.-for-a-cd-of-your-xpage-application.htm/content/M2?OpenElement" /><br /> <br /> On a number of occasions in the past I have been asked if I can make a Notes database into an interactive CD for non-notes users, for example at the end of a project. <br />  <br />I found that the best approach has been to make a simple html domino site and then use a tool like <a href="http://en.wikipedia.org/wiki/HTTrack"> WinHTTrack</a> to spider through it and create a HTML copy. <br /> One of the restrictions of this approach is that you cannot use any client side JavaScript for menus etc.. <br /> <br /> I have tried this technique on the XPage Wiki and it works relatively well. With the Javascript being server side the WinHTTrack is non the wiser and faithfully reproduces it in static HTML although you will obviously find that combobox filters don't work. <br /> <br /> <a href="http://focul.net/Partners_Web/2141_FDT_ASSET_WIKI/Wiki.nsf/dx/Project_Introduction">This is a live Xpage Wiki</a> <br /> <br /> <a href="http://hosting.focul.co.uk/seancull/CAM2/web001.focul.net/Partners_Web/2141_FDT_ASSET_WIKI/Wiki.nsf/dx/Project_Introduction.html">This is a copy of same wiki as static HTML.</a> <br /> <br /> There are a couple of "features" that you may need to address. <br /> <br /> 1) Some CD burner software will not handle long URLs. In the past I have had to write code to parse the files and file names shortening these although with USB pens now being so cheap there is not so much call for CDs <br /> <br /> 2) Twisties / Sections that are closed by default need to be modified to be open as clicking on them to open them does not create a new url <br /> <a href="http://hosting.focul.co.uk/seancull/CAM2/web001.focul.net/Partners_Web/2141_FDT_ASSET_WIKI/Wiki.nsf/dx/Project_Plan.html">In this example</a> I had to modify the Xpage design to default the section / twisty open (prtContent) <br /> <br /> <img  alt="Image:SNTT: Creating a static HTML version ( e.g. for a CD ) of your Xpage application" border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-static-html-version-e.g.-for-a-cd-of-your-xpage-application.htm/content/M3?OpenElement" />  ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/sntt-creating-a-static-html-version-e.g.-for-a-cd-of-your-xpage-application.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-static-html-version-e.g.-for-a-cd-of-your-xpage-application.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>Amazon EC2 Running costs after 1 full month - 52 USD</title>
<pubDate>Thu, 13 May 2010 20:01:12 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/amazon-ec2-running-costs-after-1-full-month-52-usd.htm</link>
<category>Admin Tips</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/amazon-ec2-running-costs-after-1-full-month-52-usd.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/amazon-ec2-running-costs-after-1-full-month-52-usd.htm</guid>
<content:encoded><![CDATA[ I have been running a Domino server in EC2 for a couple of months now and thought I would do a post about the costs. I wrote up the scheme <a href="http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-persistent-ec2-domino-instance-with-ebs-boot-volumes.htm">here</a>. Note that this is a Domino server built from scratch and not the new <a href="http://www.edbrill.com/ebrill/edbrill.nsf/dx/guest-blog-mike-masterson-domino-on-amazon-ec2-web-service">Domino development image</a>. The server is based in Ireland.<br /> <br /> The server is pretty small scale being used for the FoCul Web sites, this blog, as a development server and as a hub between 4 other servers. If anyone has any particular usage metrics they would like to see I would be happy to oblige. I have posted a screenshot of the usage view from log.nsf as a simple comparison. TLogging / DAOS is not being used. <br /> <br /> The main point to note is that I am using a spot instance. This is less than 50% of the cost of a regular instance. As I mentioned before I am a little confused by this scheme as you are currently only able to bid up to USD 0.045 which is well below the usual USD 0.095 price. I am a little uncomfortable that I could be cut off by a price spike but the last spike was valentines day. <br /> <br /> Using the spot instance is <strong>saving USD 484 per annum</strong> - possibly a bit less as I would probably switch to the standard rate at busy times. The prices I am achieving are similar to those from a reserved instance without paying the USD 227 pa or USD 116 pa over 3 years fixed fee - see <a href="http://aws.amazon.com/ec2/pricing/">EC2 pricing</a>. On first inspection it would appear that VAT cannot be recovered on these costs. The costs include 2 backup snapshots of the 60Gb data drive. The scheme used means that for a true "development server" you can stop and start the instance at will with no loss of data. Starting the server easily takes less than 5 minutes.<br /> <br /> In terms of the perfomance I have been pretty happy. Here is an example of a well populated wiki => <a href="http://focul.net/Partners_Web/2141_FDT_ASSET_WIKI/Wiki.nsf">CAM2 Project</a>. Sometimes there is a short delay while Xpage apps load but once they are going they are fine.<br /> <br /> I have taken out the Amazon Cloudwatch partial month and a little bit of S3. The Cloudwatch in its simplest form is not worth paying for. <br /> <br /> <a href="http://www.seancull.co.uk/public/seancull.nsf/dx/bill.jpg/$file/bill.jpg"><img  src="http://www.seancull.co.uk/public/seancull.nsf/dx/billsmall.jpg/$file/billsmall.jpg"> </a> <br /> <br /> <a href="http://www.seancull.co.uk/public/seancull.nsf/dx/usage.jpg/$file/usage.jpg"><img  src="http://www.seancull.co.uk/public/seancull.nsf/dx/usagesmall.jpg/$file/usagesmall.jpg"> </a> <br /> <br /> At these kinds of costs the server is comparable with the cheapest physical servers I have seen ( <a href="http://www.heartinternet.co.uk/dedicated-servers/">GBP 80 2.33 Ghz 2 GB</a> ) versus EC2 1.2 Ghz 1.7GB although if the server were being used to host systems under under an SLA you would really need to use the reserved instance pricing ( and annual fee ) to make sure that a price spike did not take your server down. <br /> <br /> Overall I am very pleased with the whole setup. The flexibility and scalability of the EC2 system are much better than anything I have seen before.   ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/amazon-ec2-running-costs-after-1-full-month-52-usd.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/amazon-ec2-running-costs-after-1-full-month-52-usd.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>SNTT : Accessing a Notes Server with a notes client via Port 22</title>
<pubDate>Thu, 13 May 2010 07:00:00 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/quick-ssh-port-1352-tip.htm</link>
<category>Admin Tips</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/quick-ssh-port-1352-tip.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/quick-ssh-port-1352-tip.htm</guid>
<content:encoded><![CDATA[ You can get to a Notes server from a Notes client via port 22 if you use the tunnelling feature in Putty. <br /> Useful if you are looking at an appliance type deployment for browser apps. <br /> Note that you will need a connection document listing the ip address as localhost as you cannot type localhost directly into the server name in the File >> Open >> Lotus Notes Application window as you can ( sometimes ) with an IP address.<br /> <br /> <img  alt="Image:SNTT : Accessing a Notes Server with a notes client via Port 22" border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/quick-ssh-port-1352-tip.htm/content/M2?OpenElement" />  ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/quick-ssh-port-1352-tip.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/quick-ssh-port-1352-tip.htm?opendocument&amp;comments</wfw:comment>
</item>
<item>
<title>SNTT: Creating a persistent EC2 Domino Instance with EBS boot volumes</title>
<pubDate>Thu, 1 Apr 2010 07:00:00 +0100</pubDate>
<link>http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-persistent-ec2-domino-instance-with-ebs-boot-volumes.htm</link>
<category>Admin Tips</category>
<dc:creator>Sean Cull</dc:creator>
<comments>http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-persistent-ec2-domino-instance-with-ebs-boot-volumes.htm?opendocument&amp;comments</comments>
<guid isPermaLink="true">http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-persistent-ec2-domino-instance-with-ebs-boot-volumes.htm</guid>
<content:encoded><![CDATA[ <img  alt="Image:SNTT: Creating a persistent EC2 Domino Instance with EBS boot volumes" border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-persistent-ec2-domino-instance-with-ebs-boot-volumes.htm/content/M2?OpenElement" /><br /> <br /> update : there is now also an official IBM Domino AMI and a <a href="http://www-10.lotus.com/ldd/ddwiki.nsf/dx/IBM_Lotus_Domino_8.5.1_on_Amazon_Web_Services_A_getting_started_guide">wiki article although I think it will take some work to make it persistent.</a> <br /> <br /> After reading Michael Brown's <a href="http://www.browniesblog.com/A55CBC/blog.nsf/dx/10032010184744MBRB6E.htm?opendocument&amp;comments">excellent article</a> about setting up an "Ephemeral" Domino server on EC2 I decided to look at using EC2 a bit harder. This blog is now running on EC2 and I have been very very impressed with the functionality that this service provides. I would obviously like to test the system more but early indications are that it has good potential for VSMB and SAAS Domino offerings.<br /> <br /> When you follow Michael's guide you get a Domino server which uses the "Ephemeral" disk which is automatically deleted when the the instance is terminated. An alternative approach is to build the system using the Amazon Elastic Block Storage ( EBS ) system for storage. These EBS volumes have the potential ( note the word potential ) to remain intact after the instance is terminated. This means that should the instance fail your data will remain intact. It also means that you can take advantage of options to use "spot pricing" and to resize your server.<br /> <br /> This article will take you through a method to set up such a server using Ubuntu 8.04. I am not an expert in Linux or EC2 so I would appreciate your comments on any improvements that I could make to the scheme. You should also note that as yet there is no licence for Domino on EC2 but the <a href="http://www-01.ibm.com/software/lotus/passportadvantage/pvu_for_Amazon_Elastic_compute_cloud.html">licences for DB2 usage </a>suggest that a small EC2 instance is 50 PVU points. Ed Brill has posted of a forthcoming licence but this is intended for "Development and Proof of Concept" usage. <br /> <br /> Michael covers setting up the Amazon account, it is really straight forward. The console is a great example what can be achieved with CSS. <br /> <br /> <img  alt="Image:SNTT: Creating a persistent EC2 Domino Instance with EBS boot volumes" border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-persistent-ec2-domino-instance-with-ebs-boot-volumes.htm/content/M3?OpenElement" /><br /> <br /> <h2>The Scheme </h2><br /> Once you have an account you can set up an instance. These instances are usually set up from a images called AMIs. There are many images to choose from but I choose to use Ubuntu 8.04 because we already use that for other servers. This was probably a more complicated choice than Michael's Fedora but I wanted to be consistent with what we already do here.<br /> <br /> A recent feature in EC2 is the idea of instances based on bootable EBS volumes which can ( but not always ) &nbsp;retain data after the instance is terminated. Although this seemed like a very straight forward concept there are some points of detail that I originally missed and which are important. <br /> <br /> With the introduction of bootable EBS instances Amazon also introduced the ability to stop and start an instance <span style="text-decoration:underline">as well</span> as terminating an instance. You are not charged when your instance is stopped. The important point to note here is that the default EBS will retain its data while stopped <span style="text-decoration:underline">but will loose its data when terminated<strong>.</span> </strong>&nbsp;There is a way to stop this using the EC2 command line options but in this article I want to present a scheme that is straight forward for any admin to try ( including myself ! ). <br /> <br /> The scheme I settled on ( any improvements welcomed ) was to create an EBS boot instance and have a second EBS volume which contained the Notes data. This allows me to terminate the instance and then restart it ( or a clone of it ) with no data loss. Termination is required if you want to take advantage of spot pricing or change the specification of server you are using in terms of CPU or memory. The production instance is based on an AMI which was created AFTER Domino was installed and configured. You could actually use this approach with an ephermeral boot instance and an EBS data volume. <br /> <br /> Public <tt>ami-7fc6ed0b</tt> &nbsp;>> Instance >> Domino Installed >> Domino Configured >> Private ami -xxxxxxxxx >> Instance(s)<br /> <br /> An "elastic IP" address was used to provide a static address for the server. <br /> <br /> I got to this scheme after <br /> <br /> 1) trying a single volume approach and then realising that the EBS will reset and loose its data after a termination. <br /> <br /> 2) realising that although the EC2 snapshot facility is really powerful there is no easy way to restore a snapshot as an EBS boot instance whereas it is very easy to do this for a dedicated data volume. <br /> <br /> <h2>Getting the Domino Install files</h2><br /> I found the easiest way to get the Domino install files onto the new instance was to fire up an off the shelf instance of a Linux Desktop so that I could download the installation files from the IBM Passport Advantage or Business Partner web portals. Having downloaded the files I then created the data volume that I would later use on the Domino server, mounted it on this temporary instance and saved the files for later use. You could use FTP or winSCP to upload them to the server instance but my upstream bandwidth is pretty limited. <br /> <br /> I created the desktop instance using this AMI. <a href="http://alestic.com/">ami-94446fe0 </a> Note that the AMI codes are different for different regions - this one is eu-west-1. <br /> <br /> login using <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">putty</a> and the username root and your existing key pair. Note that you will have to use puttygen to convert the Amazon keypair first. <br /> Update the instance with any updates.<br /> >>apt-get update <br /> <br /> now set up a temporary user as the <a href="http://www.nomachine.com/download-client-windows.php">NXClient</a> does not have the keypairs installed and I just want to use password authentication <br /> <br /> >>user-setup <br /> <br /> Now start the <a href="http://www.nomachine.com/download-client-windows.php">NXClient</a> &nbsp;and login using the new account <br /> <br /> Created a new volume in EC2 using the EC2 management console. I sized this to be my data drive for the domino server. <br /> <br /> Now attach the volume using the EC2 management console Once it is attached in /dev/sdl ( or wherever ) you need to format it in a terminal window <br /> >> sudo mkfs -t ext2 /dev/sdl <br /> <br /> You can then make a directory and mount it <br /> <br /> >>mkdir temp <br /> >>sudo mount /dev/sdl /temp <br /> <br /> I found that at this point the volume is owned by root so I had to chown it to my temp user acoount. There is probably a more graceful way of doing this. <br /> <br /> >>sudo chown tempuser:tempuser temp <br /> <br /> Now you can launch firefox and download your installation files from Passport Advantage onto this volume for use on the new Domino server later. <br /> <br /> When you are finished unmount the volume >> sudo umount /dev/sdl ( note the spelling of umount )<br /> <br /> Then go to the ec2 management console and detach this volume. <br /> <br /> Then terminate your instance. <br /> <br /> <h2>Creating the master Domino instance</h2><br /> I created a new bootable EBS image using &nbsp;<tt>ami-7fc6ed0b</tt>, &nbsp;my firewall rules and key pairs ( the username is ubuntu ) . Once the image had booted I attached the data volume to the instance as /dev/sdl ( note that this is sdL not sd1 ). <br /> Don't forget to update <br /> <br /> >> sudo apt-get update <br /> <br /> I created a directory called local and mounted the data drive into this directory using the command <br /> <br /> >>sudo mount /dev/sdl /local/ <br /> <br /> Then I changed the ownership to notes <br /> <br /> >> sudo chown -R notes:notes /local<br /> <br /> I installed Domino using my installation files as described by Michael but note that as Ubuntu does not have a root user you need to take some extra steps during the install. <br /> <br /> Create the notes user and group <br /> <br /> >>sudo useradd -m notes &nbsp;( should create group at the same time ) <br /> >>sudo passwd notes <br /> <br /> Now as per Michael's scheme you need to copy the keypairs from the existing user ( in this case ubuntu ) to /home/notes/.ssh and then assign ownership to Notes. Notes that in this image of Ubuntu you are copying from the /home/ubuntu/.ssh directory. <br /> <br /> from the /home/ubuntu directory do a directory listing using <br /> <br /> >>ls -a . This shows that there is a .ssh directory <br /> <br /> now copy the files to /home/notes/.ssh <br /> <br /> >>sudo cp /home/ubuntu/.ssh/authorized_keys /home/notes/.ssh <br /> >> sudo chown -R notes:notes /home/notes <br /> <br /> Now expand the Domino install files as shown below <br /> <br /> >>cd /local <br /> >>sudo tar -xvf XXXXXXX.tar <br /> <br /> now go to the expanded folders until you find the install file <br /> <br /> >>sudo su &nbsp; &nbsp;<- this is important on ubuntu<br /> >>./install <br /> <br /> I then used <a href="http://winscp.net/eng/download.php">WinSCP</a> to copy the server the server ID file to the local/notesdata directory while logged in as the user notes. This ensures that the id file belongs to the Notes account. <br /> <br /> Now complete the Notes configuration using the remote setup console as described by Michael. <br /> <br /> Next I installed <a href="http://blog.nashcom.de/nashcomblog.nsf/dx/domino-unix-start-script-update-ubuntu-support.htm?opendocument&amp;comments#anc1">Daniel Nasheds startup scripts</a>. These make it much easier to start, stop and monitor a domino server on Linux. The readme has the latest instructuons. <br /> <br /> copy rc_domino to /etc/init.d &nbsp;( use sudo ) <br /> copy rc_domino_script to /opt/ibm/lotus <br /> <br /> >>cd /opt/ibm/lotus <br /> >>chmod 755 rc_domino_script <br /> >> cd /etc/init.d <br /> >> chmod 755 rc_domino <br /> <br /> Then set run level <br /> <br /> >> sudo update-rc.d rc_domino defaults <br /> <br /> you can now start Domino using the command /etc/init.d/rc_domino start <br /> <br /> /etc/init.d/rc_somino stop and /etc/init.d/rc_domino monitor are also very useful <br /> <br /> You also need to tell the server to mount the data volume at startup. As Ubuntu doesn't give the option to use root access with Winscp the easiest way to do this is to use the <a href="http://unixhelp.ed.ac.uk/vi/ref.html">vi editor</a> <br /> <br /> >> sudo vi /etc/fstab &nbsp; &nbsp; &nbsp; adding the line /dev/sdl &nbsp; &nbsp; /local &nbsp;etx2 &nbsp; defaults &nbsp; 0 &nbsp; 0 <br /> <br /> Once the Domino server is just how you would like it ( don't forget to set the correct host name in the server document and on the ports ) you need to make a new private AMI of this ready to run server. <br /> <br /> Shut down Domino and Linux and then stop the instance ( NOT Terminate ). Now create a snapshot of the 15GB EBS boot volume and convert that to a private AMI &nbsp;so that when you terminate the instance you can get back to this point easily. <br /> <br /> <img  alt="Image:SNTT: Creating a persistent EC2 Domino Instance with EBS boot volumes" border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-persistent-ec2-domino-instance-with-ebs-boot-volumes.htm/content/M4?OpenElement" /><br /> <br /> Now terminate the instance and create a new one using your own private AMI. Because the instance will start before you get the chance to attach the data volume you will need to stop it and attach the volume via the EC2 control panel - make sure that you use the same designation as earlier e.g /dev/sdl. When you now restart the instance it will automatically mount the data drive and launch Domino successfully. <br /> <br /> You will also have to re-assign the elastic IP address. Note that I also found that I had to unassign and then reassign the elastic IP address anytime I rebooted the server from the linux console &nbsp;- I am not sure if this is a feature or how it should be. <br /> <br /> With the server running you can take snapshots of the data drive as often as you want to. These can be used to restore data as they can be mounted as an additional volume and the files accessed. You can stop the server at will ( and your charges will stop ) or you can terminate the server and then quickly create a new instance. You can also create other instances from the same image meaning that you could very quickly establish a cluster pair as an example. <br /> <br /> <h2>Setting up inbound and outbound email</h2> <br /> There are quite a few details to be understood here and I am not yet convinced that all of them are sorted satisfactorily. <br /> <br /> 1) You will need to open port 25 in your firewall rules. You can do this via the ec2 control panel and the change is instantaneous <br /> <br /> 2) Amazon add all of their IP addresses to the black list at Spamhaus - so any emails that you send out will be blacklisted. You need to ask them to remove it from the black list using &nbsp;the form on <a href="http://aws.typepad.com/aws/2010/03/reverse-dns-for-ec2s-elastic-ip-addresses.html">this page</a>. They send you a copy as soon as you try sending mail <br /> <br /> 3) You will need to use the same form to set up a reverse DNS which also means that you need a valid A record in place for your elastic IP<br /> <br /> 4) You <span style="text-decoration:underline"><em>may</em></span> need to add the physical IP address of the network connection to the internet site document for SMTP. <br /> <br /> <img  alt="Image:SNTT: Creating a persistent EC2 Domino Instance with EBS boot volumes" border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-persistent-ec2-domino-instance-with-ebs-boot-volumes.htm/content/M5?OpenElement" /><br /> <br /> This is the one that I am not convinced about ( and any advise would be gratefully received ) . Initially I was getting "Authentication is not enabled in the SMTP Internet Site Document" even though I had one set up ( and a Global settings document ). The move to the EC2 server did also coincide with a move to using "Internet Site Documents" as we no longer run Sametime so it may be that I have configured something wrong. The work around seems to be to add the actual network address to the SMTP internet site document. You can get this by using >>ifconfig in the console. The behaviour does not seem terribly consistent so I need to explore further. This restriction will add another task to your short list of things to configure when you launch a new instance.  <br /> <br /><strong>update</strong> <br />I recently switched servers and this was an issue again. I definitely had to insert the local IP address for the server. <br />This also seemed to require a full Server restart<br /> <br /> <h2>Costs</h2> <br /> The costs of running the server are made up of four components <br /> 1) you need an IBM licence for the server which I have assumed you already had <br /> 2) the EBS volumes have a cost <br /> 3) the CPU usage has a cost and <br /> 4) there are data transfer costs. <br /> <br /> Although these are clearly set out by Amazon It was not clear how much a chatty Domino server would cost overall - this was part of my wanting to try out the system - time shall tell. <br /> <br /> One interesting point is the spot market pricing for CPU usage. I must be missing a trick here because there seems to be a loop hole. Normally an hour of CPU usage in Europe would be 0.095 dollars on the flat rate ( not yet sure about the VAT component of this ). <br /> <br /> If you pay a fixed up front sum for 1 or 3 years you can get a reduced tariff of 0.045 dollars per hour. On the spot market you bid a price and your server runs while the price is below your cap - it terminates ( not stops ) once the price exceeds the cap. Historically this price has been below 0.045 dollars and in fact the most you can bid is 0.045 dollars. So I am running this instance you are looking at for <= 0.045 dollars with no up front payment - how does that work ? <br /> <br /> <img  alt="Image:SNTT: Creating a persistent EC2 Domino Instance with EBS boot volumes" border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-persistent-ec2-domino-instance-with-ebs-boot-volumes.htm/content/M6?OpenElement" /><br /> <br /> <img  alt="Image:SNTT: Creating a persistent EC2 Domino Instance with EBS boot volumes" border="0" src="http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-persistent-ec2-domino-instance-with-ebs-boot-volumes.htm/content/M7?OpenElement" /><br /> <br /> <h2>Performance</h2><br /> <br /> Firstly let me say that this is not an enterprise deployment - it runs www.focul,.net, www.deliverytoolkit.com, this blog and is a demonstration and development server. Having said that the performance so far is at least on a par with the physical server that it replaces which was a 4 year old single cpu 2.8hz &nbsp;1.5gb machine on Windows server 2003 ( yes I know not exactly a speed demon either ). <br /> <br /> I have not turned on Transaction Logging as I am not sure what impact it would have ( no real spindles ) so &nbsp;that is an experiment for another day. The Amazon cloudwatch system ( a paid for extra ) is actually very basic showing CPU utilisation and network traffic. CPU Utilisation is low and memory utilisation ( 1.7 GB ) is over 95% but that is how Linux works. I'll post the trends next week. <br /> <br /> If anyone would like any more specific metrics please ask, I am interested in knowing what your impressions of the performance are. <br /> <br /> Well that's it, a bit long and rambling but hopefully of use. Please let me have any ideas or corrections so that I can update the article.   ]]></content:encoded>
<wfw:commentRss> http://seancull.co.uk/Public/seancull.nsf/dxcomments/sntt-creating-a-persistent-ec2-domino-instance-with-ebs-boot-volumes.htm</wfw:commentRss>
<wfw:comment> http://seancull.co.uk/Public/seancull.nsf/dx/sntt-creating-a-persistent-ec2-domino-instance-with-ebs-boot-volumes.htm?opendocument&amp;comments</wfw:comment>
</item>
</channel></rss>
