Up the WAS-ZOO

The final piece of the IBM “it’s broke please fix it” list was getting Websphere Application Server Express Edition V7 installed and running.  What triggered this “simple” activity was that there was some discussion of source management and version control  tools on the midrange.com list and Rational Team Concert was mentioned as something folks didn’t have much experience with.  So I decided to check it out, especially since RTC is free to use for Open Source projects which was exactly what I had in mind.

However, RTC relies on WAS and my past experiences with WAS have been anything but pleasant.  I have run Tomcat and Glassfish as servlet containers and they install smoothly and run great. WAS, on the other hand, has always been a challenge to install and run.  But, if it is required it is required, so I started down the simple path of getting WAS 7 Express installed.

WAS on i installs multiple ways.  I first took the approach of running the installer from Windows, which *seemed* the easiest.  The installer ran until about the 40% mark on the configuration step, and, 8 hours later, still hadn’t progressed but had not errored out either.  So I shot the installer and restarted.  I quickly learned that it wasn’t quite so simple to end and restart the install.  The installer complained about a .lck file in the ‘tmp’ folder that had to be removed.  However, the installer wasn’t intelligent enough to give me the full path as to where to find this file (as an aside, this ALWAYS aggravates me about installers.  They rarely tell you where they are stuffing things even though they may ask you where to install the software).  After a full scan on my laptop hard drive looking for the mysterious file, it occurred to me that since the installer was installing to the i, perhaps I should look there.  Voila! So I cleaned up the installer files in the IFS and restarted the installer.  Same result. So I cleaned up after install #2 and decided to do some more reading and perhaps download the CD images from the IBM web site to make sure I had the latest and greatest.

And yes, I DID review the prerequisites and made sure I was current on PTF’s and groups.  I had downloaded the WAS Group as well, ready to install it once I had the product installed.  I tried the GUI install one more time with the new CD’s I had downloaded, same result (#3). The next approach I tried, this time using the new CD images, was to attempt an install from PASE.  Although not as sexy as the GUI, I was hoping I would get better feedback on what was going on.  This install (#4) again reached the 40% mark on the configuration step and, after about an hour, dumped an error message to the console (at least I got an error!).  Install fails on configuration action 80Fos400.

Googling turned up very little.  I again revisited the requirements and double checked them.  After one more try (#5) I then submitted a PMR and began  to work with IBM trying to solve the problem.  I will spare you the details, but the next 5 attempts also failed (so now we are up to 10 install attempts).  Finally, an IBM’er jumped on the box which led to a couple of revelations:

1) Even though all the licensed programs indicated that they were happily installed, a command called CHKPGMOPT indicated otherwise.  That lead to two PTF applies that wouldn’t have been uncovered any other way.

2) Although I had downloaded the WAS group PTF, my attempt to apply it resulted in a error about the product not being installed (DUH – I hadn’t been able too).  However, it turns out I was taking the wrong install approach on the group.  I need to take option 8 on the PTF  menu.

3) My path environment variables weren’t correct.  I sorted them out and I doubt it contributed to the fix but, what the hey…

With those actions taken, the install just zippity-do-dah’ed along.  WAS is now installed and happily sucking up memory and CPU cycles.  I guess that the lesson here is that even if you RTFM, the devil is in the details of carrying out the steps.  Counter intuitive as it was, installing the WAS group BEFORE installing the product was the way to go.

Posted in Uncategorized | Comments Off on Up the WAS-ZOO

A little Linux success

After ranting about how difficult it was to install Linux on the blade (vs IBM i), I was hoping I’d get some quick resolution.  However, the scenario ended up like this:

The VIOS folks tossed it over the wall to the Linux folks.

The Linux folks determined that I did NOT have a support agreement for Linux on the blade.  They closed the call.

I reopened the call, arguing that the problem manifested itself when using the terminal window to install Linux but the terminal window, being a part of VIOS (IVM) would be part of a supported product.

Silence.

I then, through trial and error, determined it to be a Firefox issue.  I *could* install with IE8 but not with FF.  I reported this back to IBM expecting that they would proceed with determining the cause of the incompatibility and get it fixed.  Au Contraire!  Browser incompatibilities are not part of the mission of IBM support so they closed the call.

I did pick up this tidbit though, and I document it here so I can find it again: You can start the terminal for a given partition in VIOS by issuing the mkvt -ID X command  from the command line where X is the number of the partition.  To exit the partition terminal use the key combination ENTER, ~, . (period).   Whether the VIOS terminal is running in the “Remote Control” window from the AMM or from Telnet or SSH, the commands work.  So now I have a workaround.

I was able to finally get the SLES 11 Linux (PPC64)  partition running and accessible from VNC using a technique found at the Novell site where I posted. Read it all the way through.  The solution is posted at the end of the link in the post: http://forums.novell.com/novell-product-support-forums/suse-linux-enterprise-server-sles/sles-configure-administer/373530-sles-11-vnc-issue-no-desktop-just-gray.html

So that gets Linux (SLES 11 PPC64)  running again.  Now if I can get WAS 7 going on my i, the software application installation challenges for the week are done.

Posted in Uncategorized | Tagged , , , , , , | Comments Off on A little Linux success

The easiest partition on a JS12 blade (is NOT Linux)

A few months back I participated in the IBM i 7.1 beta program and I absolutely marveled at how ridiculously simple it was to install i5/OS on a new partition.  Create the partition, activate it, use Operations Console to connect, bada bing!  start feeding the beast with DVD’s and …done.  It maybe took two hours start to finish.

Having experienced a quick and easy install with a “difficult” operating system, I decided to try something easy.  A well supported, well known, easy to install Linux distro.  Since Suse Linux Enterprise Server is supported in the Power PC 64 bit world, I downloaded SLES 11 and pulled up the install instructions and have now spent two days trying to get the distro to install.  I have posted to a few forums but apparently Linux on Power, particularly on a JS12 blade running VIOS and the IVM to install the OS is a bit of a mystery.

The maddening part is that I have done this somewhat successfully before but I am not making much progress at the moment. The issue is getting a terminal window to display so that I can begin the install process. The JS12 implementation guide says to start a Remote control session using the AMM (easy to do) and then activate the defined partition in the IVM (also easy to do), and use the IVM option to “Open a Terminal Window” (another easy step). So far so good. The part that doesn’t seem to be working is the “terminal window” popup in the IVM that is supposed to appear to authenticate only appears for a second or two and then it disappears without an opportunity to log in. The AMM Remote Control terminal window changes from displaying the VIOS console to a blank screen. Seems to me that in my last successful attempt at installing Linux using the IVM I saw all the installation prompts in the remote console of the AMM but I can’t be sure.

The missing terminal window is a show stopper since there is no way to install the OS headless.  In fact, the original install of SLES11 was deleted because I couldn’t get the GUI to ever run, even after installing the OS in text mode (which is no easy feat).

Ah! Would it were that Linux was as easy to install as i5/OS!  Whenever I DO get it installed, I will post the “trick” here (whatever it is) so at least I can find it again…

Posted in Uncategorized | Tagged , , , | Comments Off on The easiest partition on a JS12 blade (is NOT Linux)

Nothing to fear but … change itself…

There are few things that strike fear into the heart of a small business owner than changing Internet or telephone service providers.  These days those two are usually linked so the double fear factor looms when such a change is considered.

I have been a VERY satisfied QWEST customer for years.  I don’t know when Qwest originally deployed DSL in my area but I was an early adopter (could it have been 10 years ago?).  In any case, that move from 56k to 1.2mbps was fantastic.  And, in those many years I have never experienced an unanticipated interruption in service.  They have been as close to perfect and unchanging as is possible.  But, there’s is the rub.  No changes. DSL in the 21st century, especially as we begin a new decade, is the 56k of 90’s.  It is just too slow to sustain a growing small business.

I have to also blame Qwest’s wonderful market machine that has dropped monthly “bingo” cards into my mailbox extolling the virtues of “high speed” broadband.  YES.  I *want* high speed Internet up to 7mbps!!!  But, having developed the desire, they couldn’t produce.  After patiently waiting two years, it was time to move, so I pulled the plug on Qwest and switched to Comcast.

Now I gotta admit, this was more stressful than waiting for the birth of my first child.  I imagined all of the things that could possibly go wrong and each of them gave me buyers remorse on deciding to switch.  The installation day came and went with a smooth install of the modem and over less than an hours time I switched over the modem, SBS 2003 and then my DNS entries to the new IP addresses and….nothing broke!  Everything kept humming right along.  The only suspicious wrinkle is that my VOIP traffic seems not to be working on the Comcast network so I need to do more sleuthing to determine the cause (admittedly it took a while to fine tune my Asterisk server even on Qwest).  With a planned Asterisk upgrade in my future, I may wait until I upgrade and then do the troubleshooting.

But wait, there’s more!  Last week I cut the phones over and….nothing broke again!  The phones continued to ring, this time with the included Caller ID (which was extra and therefore not present with my Qwest account).  I know this is all too good to be true and a few of my Facebook friends have warned me of the coming Armageddon but I just can’t get over how easy this was.

To do’s: I had XO handling my 800 lines and due to some arcane rules for Comcast, I need to have a bill with activity on all 3 800 lines before I can swap them over.  But, sometime in July I should receive my very first consolidated Internet/Phone/Long Distance bill and it should be lower than the 3 bills I had before.  That is actually wrinkle #2.  I have gotten my first Comcast bill and I am having trouble reconciling the current bill against the promised costs.  It is about $30 more than I think I was promised.  Oh, and a $99 Comcast special arrived in the mail today.  I have a little bit more than a $99 bill in front of me….

So, it may all just be too good to be true.  We’ll see.  I have faster Internet and free outbound long distance.  Oh, and I also have cable TV, for the first time in my life, so things are looking up (maybe).

With Qwest being sold to CenturyTel (whoever they are) I may have gotten out just in time.  In fact, time will tell…

Posted in Uncategorized | Tagged , , , | Comments Off on Nothing to fear but … change itself…

A successful Common Experience

The 1960’s returned, for a few days at least, during the Common Conference and meeting and 50th anniversary celebration in Orlando. If you didn’t attend, you missed a great conference. I’d say this: If you didn’t attend for economic reasons I can understand, but the investment for me was worth every penny. If you didn’t attend because you thought Common’s best years were behind it, then you missed an opportunity to experience some of it’s former glory. It was a vibrant and fun week.

That is not to say everything was perfect. The austerity measures taken by the board last year did impact the evening activities, particularly the “Ask the experts” night and the “fun and games” night. Without substantial food and at least subsidized alcohol (the staple of the IBM i user) the events were poorly attended. I *can* tell you that the Common staff did their very best to provide as much as the budget allowed but when some budgets were cut completely (like the CaN budget that provided those evening activities) there is only so much you can do. My hope is that next year the CaN budget will receive some attention so that the “community” activities aren’t shortchanged.

The BEST part of the conference were the great, well attended sessions. Although the conference was smaller in the number of sessions offered, it still felt “large” because the facilities were “right sized” for the event. Overall I’d give the conference a B+ grade.

It will be interesting to see how the San Antonio event turns out. It is structured much differently in terms of speaker/volunteer compensation and size. If successful, it could point the way back to the restoration of some of the benefits cut last year (we hope!).

If you missed the Common Conference then you really MISSED a great conference. Make sure you register and get in on the fun in Minneapolis next spring!

Posted in Uncategorized | Tagged , , | Comments Off on A successful Common Experience

The swirling vortex of commitments

How often have you committed to do something thinking: “I have *months* to get this done, no problem!”  Only to find out the months are suddenly gone and you are at the commitment vortex, trying to traverse it with being totally sucked into the maelstrom?  You drop the oranges you are juggling.  You step on the trip wire of overcommitment.  Basically, you end up in deep kim chee.

Alas!  That is were I find myself now.  *Months* ago I committed to one presentation for the Common Conference in Orlando on May 3rd. Then I found out that the one was actually three.  Then I committed to deliver a totally new module in my time and attendance system. Now I find myself heading out on a two day trip to volunteer for more development work (gratis) and wanting to add yet another consulting trip in the next couple of weeks.  What is wrong with me???  I haven’t even touched my new presentation yet and have no idea of the amount of code I’ll have to crank out in order to get it done.

On top of that, I am *blogging* when I should be working!!!  I have to stop right now and…

Posted in Uncategorized | Comments Off on The swirling vortex of commitments

Some March Musings

Shortly after I posted the Busybox post I received an email from the vendor whose device I was working with, offering assistance.  Nice!  I really haven’t leveraged it (yet) because the toughest nut I had to crack was the roundtrip to the clock on the update and retrieval of data (which IS done).  THAT would still be much, much easier if I could access the clock  using JDBC but there have been a few advantages I have uncovered in working with just the http server and shell scripting. My next challenge is to get the whole thing as secure as possible, but security isn’t critical here: The data doesn’t carry any personally identifiable information and although someone who intercepted the data could manipulate it (I guess), there is a verification step that takes place that makes erroneously paying someone doubtful.

Adding to the mix is the need for checking to see if the clocks are online, updating the data en-mass and clearing data that has been retrieved without losing anything.  Still working through that as well.  The UI is pretty much done but I am not 100% happy with it.  The difficulty is viewing the time clock “punches” in a way that is easy to view.  If someone punches in and out 8 times in one day, how do you present that?  As a horizontal row or as a set of vertical transactions?   Best way to handle it is with agile, iterative steps I think.  See how it works and then improve it.

Lots of chatter about Flex over on the midrange.com list today.  I have seen some demos and sooner or later I’ll take the plunge.  But right now, jQuery and Web 2.0 techniques are my bread and butter for now.  I need to get the application done, and sell a few dozen, before I even think about moving to a new development platform.  All of the data I/O is using Ajax at the moment.  Seems like the most flexible way to go.

I have about a week or two left with this project and then I need to return to ASAAP for some additional polishing work and then jump into the IVR replacement.  Nice to have work, but it would be better to have some income (still working on that!).

Posted in Uncategorized | Tagged , , , , | Comments Off on Some March Musings

A Busybox encounter

If you have worked with embedded systems you have probably bumped into Busybox. If you are a long time Linux geek, you probably know Busybox.  My first encounter with Busybox started last weekend and has been almost non-stop since.  Here is the scoop:

You know that I have a Java based Absence Management System called ASAAP .  I have recently been contracted to develop an automated time clock system and make it work seamlessly with a payroll package.  I naively figured it would be a snap.  This being the 21st Century, I figured I’d just find a electronic time clock  that had a JDBC compliant interface and within a couple of weeks hook it up to ASAAP which already has payroll posting capabilities.  After poking around the Internet, attempting to contact sales people and gather information, I settled on a clock that had a “polling” package to collect the data on a scheduled basis and also push the employee information up to the clock.

After receiving the clock and having a chance to try it out, I was less than enamored with the user interface and my attempts to interface with the DB were frustrated by the fact the DB was an MS Access DB and the JDBC-ODBC bridge is slow and unreliable.  What I wanted was something that allowed secure access to the data over a network.  So, back to square one.

The company I had purchased the timeclock from had a “barebones” configuration that basically had nothing but a scripting api that accessed clock functions in a embedded Linux distro called Busybox. So, I went with the “start from scratch” approach and have been learning (and re-learning) Linux commands and their particular implementation in Busybox.

This tiny footprint Linux distro is pretty cool and the folks on the Busybox mailing list have been very tolerant of this noob as I have bumbled my way through the learning curve.  At this point I have a functioning application that will take input from the keypad or the Proximity badge scan (RFID), look up the employee in the database, display the employee name, prompt them for a punch in or out and store that information in the database.

Next step is to work on data import/export.  Unfortunately the Busybox distro I am working with has a relatively old version of Sqlite3 which doesn’t support JDBC, so my plan is to use the HTTP server and CGI to post data to and retrieve data from the DB.  THAT should be fun!

So I’ll keep you posted on the progress (or lack thereof).  All in all, Busybox provides enough to work with to build this application, I just need the smarts to make it work.

Posted in Uncategorized | Tagged , , , | Comments Off on A Busybox encounter

Pondering when to change from proprietary to Open Source

I engaged in a round of discussions on open source on the Midrange-L list regarding the use and merits of open source software in the enterprise.  I wasn’t really surprised all that much by the content of the discussion, there seems to be some folks who naturally share code and those who don’t, and there isn’t really any way to convince either side to switch. But that discussion did surface some licensing discussion that opened my eyes a bit to the issues of using open source.  Some of that information may influence my projects so it was worth participating.

I play in both camps.  I have some “proprietary” solutions that use open source code and I have some projects that I share freely.  The one “proprietary” solution I sell may eventually become open source when fully completed and if there are enough customers to sustain a “support only” business model.  I estimate that I would need about 50 individual school districts to be licensee’s in order to have a critical mass to move to a purely open source model.  But that is a guess.  The first step is to get 50 customers!  The ASAAP product is basically done after two years of solo work and although I have a long list of things I want to add and much code I want to rewrite, it is “ready to market”.  Just in time (barely) to be considered in this (bleak) budget year.

If you need a new attendance solution for your school district that will handle absence recording, substitute dispatch and time card management, drop me a line.

Posted in Uncategorized | Tagged , , , | Comments Off on Pondering when to change from proprietary to Open Source

Technology: The gift that keeps on…taking.

Amid many of the bits I am juggling at the moment, I was gifted with a new Blu-ray drive to add to the video server here at the Helgren household. My son, Jonas, who has done some work for Sony and has seen some pretty nice High Definition video, said that the Blu-ray standard was awesome.  Unfortunately, the video server is low in the pecking order in the rack so I knew it would be a job just to get to the server, let alone replace a drive in the case.  But, I went ahead and pulled the thing, added the drive, got it back in the rack, fired it up and booted back into Vista Media Center.  No joy! No new devices found!

So I pulled out the server again, opened the case and was told by my son to put the SATA cable on the S-O connector and then fire it back up.  Having dutifully done that, returning it to the rack and then firing it up again, no joy!  So my son took the matter into his own hands that inexplicably lead to the dreaded “No Post” condition.  After considerable trial and error, research and diagnostics, I determined that the CPU (Xeon) had given up the ghost, based mostly on the clogged condition of the cooling fins and the diagnostic LED that indicated a power or CPU error.

So, off to ebay to find and order a CPU replacement and, of course, this being a holiday weekend, nothing would ship until Monday.  The CPU arrived Tuesday ($100 including shipping and handling).  I popped it in and….no joy.  More grousing, researching and diagnosing ensued.  Finally, taking the power supply failure route, which was counter intuitive since all the fans spun up and MOBO lights lit up, I noticed that the cooling fan in the power supply wasn’t running.  A clear sign of a power supply failure.  Some frantic, end of day calling around located an acceptable power supply for *only* $175.00!  Granted 850 watts was overkill but it would at least get this monkey off my back.

After installing the new power supply and successfully booting the server, still no Blu Ray device.  Rats!  After much trial and error and some counter intuitive settings in the BIOS (Set the IDE channels to PATA ONLY and suddenly the SATA channels appear! Whoda thunk?) the Blu Ray device is found and configured by Vista.  Hooray Blu Ray!  Fired up the copy of “District 9” that Jonas has also gotten me and it began to play!  No sound but I didn’t have speakers plugged in.  So, shut down, back in the rack, an hour or so getting it to recognize the HDMI video again and Voila!  I have a Blu Ray ready video server!  Fire up District 9 and ….. no sound!  Rats! Whats up the THAT!?

A little more research and then a 75mb update to PowerDVD 9.  Now PowerDVD won’t even start !  Going backwards!   Futz around with that for a few hours and admitted defeat last night at midnight.

This morning is a new day, new possibilities but everything I try won’t get the latest version of PowerDVD running on Vista!  Finally, in desperation, I uninstall everything and reinstall the “old” version from the supplied CD.  Now the Blu Ray video plays again with no sound.  More research, which basically confirms that PowerDVD is a POJ, but a couple of posts point to changing settings in the PowerDVD audio setup.  It is set to HDMI but that doesn’t work.  Recommendation is to set it to s/pdif which also doesn’t work but, when I change it back to HDMI (not the default HDMI) it begins to work! Dumb luck wins again!

So it only took 12 or so hours of my time and $300 to get it all working.  So simple!  Technology gifts are just the thing at Christmas!

Merry Christmas!

Posted in Uncategorized | Comments Off on Technology: The gift that keeps on…taking.