Friday, February 18, 2011

Wrong Conclusion

I've concluded my previous post by saying that our organization should probably use EMC for every system, I was berated for this conclusion and with a good reason - I was wrong.
Yes - if stability is the only consideration so sticking with EMC is a very good idea, but it's not.
There are also other considerations, like money - EMC (and it's maintenance) is expansive and many times you need a lot of storage for an unimportant purpose. There's also the fact that there's a limitation on how many servers you can physically connect to the EMC.
So the right answer is, like always, somewhere in between, trying to meet all the needs with one solution is very ambitious, there should be a few solutions available - not a single one and not dozens of them. The important thing is that when you arrive to a point where you decide to use a new solution:
  • You do it for a good reason.
  • You "take care of it" - you need to test it, monitor it and have a standard for maintaining it, just like you have with any other solution.
Hopefully this atones for my sin...

Friday, December 31, 2010

Multiple Points of Failure

I wrote in an earlier post about how sometimes it's best to rely on well known technologies rather than on carefully tailored solutions. Last week we had just the perfect example for this concept and this time from the hardware domain.

So what happened?
One of our system crashed and won't boot, probably because of a major OS failure since the mirrored disc seemed to be corrupted as well, the only guess we have for the underlying cause is lack of space on the C: drive but we don't really have a way of knowing for sure post-mortem.
The system was all on this single disc so we had to use the backup. Bad news, apparently the last backup was from like a month ago. Recovering data from the corrupted discs we've managed to narrow the damage to two weeks of lost data, but that's not the point, losing data is something that should never happen and we really try hard to prevent those kind of things from happening.

So where did we go wrong? Well, most of our systems use EMC for storage, not in this case, why?
Usually when we configure a new system we ask ourselves two main questions:
1. Is the system gonna need an SRDF/CE configuration?
2. Is the required storage for the system is more than what comes with the target server's disk drives?
If the answer to either question is YES, we use EMC otherwise we usually use it only as a location for storing the backup of the system. In our case it was the 'otherwise' option.
The problem is that when we use EMC for storage, we also use EMC's RM to take backup and have an already existing system of emails that let us know if the backup was successful.
In our case not only the data wasn't on the EMC but on a local disk but also monitoring on backups didn't exist, of course it is our bad, but that's exactly what I was talking about when I said that it's better to rely on something you're well familiar with.

I guess one of the conclusions is to try and use EMC for every system no matter how low the high availability requirements are and how little disk space is required.

Saturday, September 11, 2010

Exploring

One of the most basic things one does with his OS is managing files, this task becomes critical if you have to access multiple file locations - I know it's critical for me, since I manage files on many different servers and on several local locations during a typical workday.
The basic requirements for a file managing utility are pretty much well, ehh... basic: just give me something to comfortably view and transfer files. There are of course a lot of nice additional features: packing/unpacking, good search capabilities, convenient selecting, etc., but for start just give me something I can work with.

Back to my first sentence: managing files should be basic, and well in my humble opinion, not that complicated. So how come Microsoft still have the crippled Windows Explorer?!
Really, unless I'm missing some patent the whole world has I don't understand how come Explorer doesn't implement the most basic feature even the old Norton Commander had - two panes with which you can copy files between locations or easily see the disk's information. Without this so basic ability I don't know if there's really a need to mention other drawbacks (however, I will) like:
  • The XP's\2003 (didn't test it on Windows 7 because I kinda lost hope) totally not working searching within documents feature. I mean, OK let the search be slow, inefficient, whatever, but how can it miss a simple phrase in a .txt file?
  • How do I select all *.foo files in a folder? I'd be very happy to hear a simple answer to that as I really don't know how this is done, and it seems such a basic task...
  • And if it's even possible Windows7\2008 interface is even less user(\me) friendly, didn't really understand what they were trying to do.
  • Well, you got the point by now.
As for me, I've been working with FAR Manager for many years, but today my weapon of choice is Total Commander, obviously it's not perfect but it does the job and does it good. One of many features it has (and Explorer doesn't) is the tabbed interface, I won't say it's genius because I think it's simply a trivial requirement from something that wasn't written 5 years ago.

The thing that most amazes me is that most people still use the old good(?) Explorer, some maybe I'm just hard to please...

Saturday, August 21, 2010

Performance

Every sysadmin has to deal with performance issues once in a while.
As the "the sysadmin of sysadmins" I'm dealing a lot with allocating resources to VMs the developers for the different systems use. This is not a simple task since I have limited physical hardware and about 100 virtual development servers to manage and of course everyone wants his VMs to be as strong as needed. Or more accurately as desired.

The thing is that from my experience, the strength you need for a development server is usually far below official specs since you don't experience the same load on development environments and you don't really need everything to be as smooth as with a production environment.
Of course we do experience more serious performance issues on development environments - especially with new systems we are not fully familiar with yet, but it seems in most cases those issues are not solved by pimping up the server.
I've found myself more than once trying to explain that there's a "real" performance issue and that someone (depending on the case) has to take a really good look at the code, the design or whatever and find the problem, because it's not going to be solved by adding cores, RAM or using a physical server. In those cases I usually have to supply a proof that the RAM and CPU are sufficient and even then I have to deal with claims like "but it's a VM, it might be lying".

It's really like trying to solve an NP-Complete problem in a brute force technique by adding more computational power - this is not a real solution if your input is not bounded and things are never really this simple...

Monday, July 26, 2010

History

Only last week I've completed an upgrade I've been working on for a long long time - working on a low priority project while leading a team doesn't contribute to agile upgrading. At least I've learned some things since back when.

Interestingly enough the Apache .dll error didn't reproduce on other development environments. Up until the moment of truth - the production upgrade. Obviously I had no recollection of the solution, I did remember running into this error and had it documented in my notes but not the solution - shame on me. Luckily, this time this error was documented in Metalink and the solution was much simpler- there was a missing Windows .dll (msvcr70.dll if I'm not mistaken).
But the more interesting issue is the one that prevented OPMN startall CA from completing...

After opening an SR (and a lot of debugging) I discovered the issue was with "ldapbinding" on the SSL port taking a long long time, in other words some heavy load on this port. I was advised starting the oidldapd process with more dispatchers (I later learned adding more workers worked better for me), that did solve the issue but this is not what baffles me about this case.
The first OID server I upgraded didn't suffer from this issue, I used to attribute it to the fact that it was the only server not being part of an OID cluster - although because of the nature of the upgrade process it always seemed like a lame excuse.
The thing is... the first production server I've upgraded was OK as well. There's now only one thing I can think of common to both servers: they both weren't installed by me. My memory fails me again here, since there might be an additional server I didn't install and did had the problem, but there's a good chance it was installed in a slightly different way, a way I don't think should affect oidldapd's function but still a different way.
The thought that drives me crazy right now is what kind of different installation steps my ancestors could have taken that matter so much, all I did was following their (with time evolved) documentation. Or maybe they did do some secret configuration steps they left no trace of???

Saturday, July 17, 2010

Temporary

One of the things I've learned being a sysadmin is that there's no such thing as a "temporary solution", if you're presented with one or thought about one yourself first ask yourself how do you feel about this solution becoming permanent, because it's here to stay.
Reasons for temporary solutions becoming permanent are numerous, but I think most of them come down to the (reasonable) claim that it's better to turn efforts to something that needs fixing than to something that already works. Many times the burden of maintaining such a temporary solution falls on the sysadmin so one else sees how bad it really is and sometimes it's just more efficient (in the immediate time frame) to accept this burden than to solve the issue once and for all.

One example I always fall back to when I have an argument about a temporary solution is the example of the email sending mechanism we use in our Oracle Applications system:
Our basic solution for sending email is based on an EBS alert that monitors a table we insert data into when we want the system to send an email to someone. An important detail: an EBS alert is simply a database trigger that is wrapped with a test that the table was updated by APPS - the EBS administrative user.
Now, several years ago we've started using ApEx as a platform for developing applications over our EBS. The catch - ApEx applications don't use the APPS user so they can't send email the way we used to, at least not without modification to our mechanism. "Luckily", ApEx has it's own email sending mechanism so we decided to use it as a temporary solution. That was about three years ago.
At this point you probably can ask me "well, who cares?", and I'll probably answer "well, I do". I do, because when we upgraded our mail server to Exchange 2007 it didn't really like the Hebrew encoding ApEx was using and decided not to display it properly. So after a day or two in which emails just weren't sent from the affected ApEx applications we had to devise a solution I'm not sure anyone will know about when the Exchange server will be upgraded to 2010.
It's a shame because the solution to this is issue was designed a long time ago, the ApEx mechanism causes application pages to hang while mail is being sent, but still - why fix something that isn't broken?

Beware of temporary solutions.

Tuesday, June 15, 2010

Copy-Paste

I can't think of many features that are both absolutely necessary and the biggest threat to the world as we know it (well, almost) at the same time as the ability to copy and paste text at the blink of a Ctrl+C\V.
Retyping (or rewriting) a text over and over again is something computers excel at, but we humans can't stand, I guess that's the origin of punishments where you have to write a sentence one hundred times or copy sections from a book.

But when I think about it, if you work with computers and you're using copy-paste too frequently you're probably doing something wrong, a few examples:
1. The most trivial example: if you're coding and you've just pasted a code snippet you copied from somewhere else in your code you probably should write a method that implements this code snippet. Even if you've copied someone else's code (from the internet for example) I think that you'll have a better understanding of what the code does by retyping it and there's less chance you'll miss any adjustments you should do.
2. In my line of business I'm often tempted to copy contents of configuration files and the like but as with code, there's a good chance I'll miss some necessary environment adjustments.
3. The last example is "written in blood": you might think you see the text you're going to paste but YOU ARE WRONG. I don't know if hidden characters are to blame or some other clipboard wonder, but I keep encountering commands that malfunction when pasted: I have some OID configuration commands that do this, I encountered it when trying to install Oracle SOA Suite and just today I had a Java command copied straight from Oracle's documentation (as part of installing a connectivity web service between Microsoft's SCOM and Oracle's Grid Control) that just laughed at me until I manually retyped it.

So me, I usually retype EVERYTHING, this way I'm feeling more in control of what I'm doing.

Tuesday, May 18, 2010

Spooling

One of the things I thought was the coolest when I was just starting to learn SQL was the idea of using SQL queries to generate scripts. Sometimes you use this ability in some kind of a GUI and sometimes you spool the output into a file which you later on run as a script (SQL, cmd, etc.). When you spool into a script file you often need to have control on the output formatting - remove "x rows selected" lines and the kind - so that you script executes as intended. To achieve this there are many SQLPlus commands like:
set feedback on\off
set heading on\off
set echo on\off
...
But it seems there's a catch, I wasn't able to determine if this is the expected behavior or just some weird bug, but a while ago we had a problem with an SQL generated script and when we tried to debug it, it seemed like none of the above commands had any effect!
(Unfortunately) I was unable to find the site that helped us to solve the case, but apparently, to function those commands need to be run as part of a script and not from the SQLPlus prompt.

Saturday, April 10, 2010

Good Problems

Most of my posts have something to do with complaining about different products and the ridiculous bugs they have, and anyway who loves problems? Every sysadmin would like to come to the office in the morning drink his cup of coffee (or tea, in my case) and go spend the rest of the day at the beach knowing everything will work perfectly and his presence won't be needed.
But problems, as strange as it sounds, have an upside as well.

First of all, if things were so simple, people like me would be unemployed. We'd still be able to go to the beach, but we wouldn't be getting paid for it. But even without fantasizing about a prefect world, problems are important. Might sound like I'm a bit exaggerating, but I really think problems make you a better sysadmin.
Come to think about it, problems to a sysadmin are like fights to a relationship, no one really wakes up in the morning and thinks to himself "Oh, I'd like a good argument today", but couples do fight and resolving those arguments usually strengthens the bond (and like with systems too much fighting is probably a bad sign). And like those arguments, each problem you tackle makes you understand your system a bit better, understanding that is hard to achieve when everything just works.
The ERP system I used to administer is a great example. ERPs tend to be complex systems and ours not different, we have many utility scripts that accompany the system. Sure, I knew there were some scripts responsible for printing, but until I encountered some problems with them I didn't really get to understand each and single line of code in those scripts. And on the other hand, I wrote some scripts for an interface a few years ago, and those scripts work almost perfectly (I'm not necessarily objective here) up until now, so I'm pretty sure my replacement doesn't really know what's going on inside.

So maybe I should start giving more respect and appreciation to the problems I encounter (and complain less).

Monday, March 15, 2010

Pessimist

Generally, I think in most cases we all should be a bit pessimistic. Being objective is hard and personally I'd rather have a nice surprise than a great disappointment. But that's arguable - I guess optimistic people live longer - but then again, the benefit of long life is arguable as well.

But what I think is not really arguable, is that in my line of work you have to be pessimistic. A major part of being a sysadmin is keeping the system stable, and you can't really do this by being optimistic. To make the system stable you try to think about any scenario as improbable(and pessimistic) as it might be. One good example I can think of, is that having a daily backup is very important in our organization(and I really do hope we're not the only ones), yet for most systems, we've never needed those backups.

I might be taking this a bit too far when I'm berating team members who behave "too optimistically" and tend too answer "I'm getting paid for it" when asked why I'm so pessimistic, but I'm really just trying to make my point.

Monday, February 22, 2010

Fixation

Being a sysadmin has many controversies, take new technologies for instance:
Recently I've installed a Weblogic server to start examining it, as our Oracle AS servers will need to be replaced sometime in the next couple of years since this line of products is going bye-bye. Anyways, it was pretty exciting, new (for me) Fusion 11g UI and the main administration screen is SO busy. So it sounds like I'm all for new technologies... not really, not always.

Yes, you should upgrade existing technologies. Yes, you should check what new technologies are out there. No, you shouldn't use a new technology where an existing one could be used.

I think the best example for my point is building solutions for specific needs.
Let's take my organization's Oracle ERP system for example. Many times a specific need arises and people suggest all kind of cool solutions. In my opinion it's very important to try and base such a solution on an existing technology, I'd rather have a solution that is not perfect than a perfect(like such things exist) solution that will handle this specific case alone and that no one will know about if something goes wrong a few years from now.

So, sometimes, I end up being this guy with a fixation on old and boring technologies...

And if talking about sysadmins, here is a good one :).

Saturday, January 9, 2010

Roach-Tech

When a company designs a product, there are many aspects to take into consideration. The product should be appealing to the eye, ergonomic, cheap to produce, etc.. One aspect I believe most vendors don't consider is that the product should be roach unfriendly. What am I talking about?
Well, take for example Avaya's phone:
You can see that attached to it's back (didn't find a better image) is a panel that gives it it's angle. Apparently this panel is a great habitat (at least in the Israeli climate) for roaches and they even consider it a great place to drop eggs:

That's right, this brown thing is a roach egg.
The phone doesn't look so attractive right now, does it?

Sunday, December 27, 2009

Randomness

Time for a break from professional stuff. The only thing common to this post and my professional posts is my tendency for voodoo crap (although I do consider myself a very reasonable guy).

Lately I've been subject to several events that made me wonder if everything is really a coincidence. What's more interesting is that those different kind of events are not something I've invented and I know many people (supporting comments please) who have experienced similar things as well (and that's not the first time I experience this kind of events as well):

1. Useful Fact - Everyone has some relatively known facts that he's missed during his life, me included. What is strange is that many times you learn one of those facts and then it suddenly pops up everywhere. My example from this month: a lecturer was giving a probability example and mentioned the - unknown to me before - fact that pingvins do not live near the northern pole, a day later this fact was mentioned in a movie.

2. Lucky Instinct - A few weeks ago I was checking out Google Dashboard and saw that my last chat conversation has been with someone I knew I didn't talk in a while. I started constructing my next blog post about how Google showed me totally wrong data, but decided to check my "All Mail" anyway. To my surprise I did have a conversation with this person. Apparently she sent me a message just as I closed GMail and unlike in other times when I miss a chat, GMail didn't put this conversation in my Inbox so I had no real way of knowing this message was sent(that's actually a GMail bug as well, but not as bad as showing totally wrong data). This person wished me a happy holiday so this coincidence saved me from being rude. This whole story is a bit like when you forget something minor at home, come back and then recall you actually forgot something much more important and start wondering what would've happened if you didn't recall about the minor thing. But here you can give credit to subconscious, unlike in my example where I just happen to check the Dashboard on the same day. On the other hand, I might have missed a lot of other chats.

3. Déjà vu month - During life you meet and interact with many people and with most of them you later lose contact, you might occasionally meet one of them but that's it. So it strikes me very unlikely that during the last month I've met\reconnected with three different people (with whom I had significant interaction before) from my past. The average amount of time I didn't have any contact with those people is 4 years! And no, those people don't have anything at all in common and don't know one another. I actually had similar month a couple of years ago (interestingly - and unlikely - I think it was the same time of the year).

Do you believe in voodoo now?

Saturday, December 12, 2009

Business Model

Every company has a business model. It can focus on selling a product, selling accessories for the product, selling support, etc.

One type of model is the "consultation" model, it's used when the product the company sells is sold for near to nothing, but the company still has to make money somehow, so the company presents you with experts that will help you through every phase of the implementation.
Now there are two options - the consultant gets paid either on a per project basis or on a per hour basis. The per project option is OK, but it's highly unprofitable for the company - it's never a good idea to commit yourself to an amount of work you don't know how to translate into time(==money).

The per hour option is problematic from the client's side. A "good" consultant from the company's perspective is one that can do the same work for the longest amount of time - to me it seems to contradict professionalism, but that's not my point here - that kind of consultant has no motivation to do his work to the point and as effective as possible or even answer questions on the phone - every question can be seen as something that should be thoroughly discussed on the client's site (and expense).
Now, with support things are easier - if a client feels dealing with a support issue is taking too long he concludes there's a problem with the company, and that's obviously not so good for the company. But consulting taking a long time can easily be painted like a good and thorough work on behalf of the consultant, and since the client often really doesn't have a good idea about the product he can be easily fooled.

Another pitfall you should beware of when taking on a software project.

Friday, October 30, 2009

High-End Software

Like I mentioned a few months ago, I'm currently working on an Enterprise Search project. Since then I discovered a few other annoying things about FAST ESP and other high-end search solutions.

I've tested two main types of search solutions:
1. Entry level solutions - by companies that have another core business except search.
2. High-end solutions - by companies whose core business is search.
Obviously, there a lot of products somewhere in between, but that's always true. Actually, FAST has been lately acquired by Microsoft, but for the purpose of this post it is still under the second category.

Being a newcomer to this field of Enterprise Search I was quite innocent and thought that entry level solutions will be simple, basic and easy to use - no disappointment here, but I also expected high-end solutions to be a complete search suite that can do great and cool stuff.
Well, products I've examined can do great and cool stuff, I'll even exaggerate and say that it feels like everything is possible if you know your way around the product, but in no way these products I've examined are a suite. It almost seems (it's actually sounds like a swell business model) that the products are intentionally designed to make you grate your teeth at every step so they can provide their business partners with work for their consultants. It seems like they try to make the product as naked as possible, leaving only the basics of indexing efficiently, providing customizing tools and a few other abilities. As always, a whining is not complete without a few examples. I'll rely mostly on FAST ESP examples, but not only, I just know it the best:
1. I would expect a high-end solution to include some security enforcement. Say I want to index a file system(obviously there are other examples as well) content source, to the entry level products it's obvious that I want to index the ACLs as well, not so much to the high-end stuff. High-end software will require installing an additional module that I'll have to carefully configure. And that leads me straight to the next point...
2. To configure the security model for FAST ESP to enforce file system security I have to follow the documentation which, put in one simple word, sucks.
Fact: surprisingly the FAST guys realized I might want to index Windows based file systems.
What I'd expect to see in the documentation: a simple to-do list containing every step I should do in order to configure the whole thing.
What I actually got: every piece of the puzzle is in a different part of the documentation so before each of the following revelations I had to wonder why nothing works and why nothing is written (or at least not where I expect to find it):
  • When the module is initially installed no indexed items are searchable, there are a few ways to work around it and they're written at the end of the documentation.
  • There's no built in authentication module (a pity) but at least there are a few ways to work around it as well.
  • To index securely you have to modify the processing pipeline (or the whatever the term the product uses), next point here I come.
3. The products I've examined have far too much of encoding related (Hebrew and computers should not co-exist) issues, some of them I've been able to overcome but still, for now I can't index securely paths with Hebrew in FAST ESP.

I have lots of other examples and I'll probably have a lot more as I go along, but I think I made my point. Totally high-end...

Wednesday, October 21, 2009

Development

I'm not a developer but as the team leader of the sysadmins (which is often referred to as the "technological team") in my department I am interested in the platforms and methods that are used for development, after all the bottom line is that I'm responsible for the stability of the systems and a system is more stable when the correct practices are used.

Let's take for example our Oracle ERP system (which I used to administer so I'm more familiar with it than with other systems). Today we have web applications based on different technologies:
1. PL/SQL cartridge based applications - well, the programmers do know PL/SQL so it's kinda OK, but no new applications are written using this technology and in the next EBS version (R12) it's no longer supported.
2. Java based applications - no one really knows them and they're supposed to be re-written.
3. ApEx based applications - small modifications are still made to them but the knowledge level is pretty low.
4. .NET based applications - that's the technology that all the developers are familiar with and with which the latest applications were developed.
We have all those techniques since each of them fitted a different need at a different time.

One technology we don't currently use is the Oracle Applications Framework which is a pretty strong technology but...
We currently have about 3.5 EBS developers none of which is really specialized in Java (and the Framework is Java based) and the turnover rate in the developers' team is pretty high.
These facts don't really get along well with the multiple development techniques we maintain.

So now it seems like the time to make a strategic decision as to how the EBS development will look in the next few years, I can think of two main approaches:
1. We choose one single technology that we'll use to write all the solutions, obviously it won't meet perfectly all the needs but the programmers will be specialized in this technology and training will be relatively simple.
2. We choose two technologies that will answer two major types of requirements - for example general user applications vs. specialized user applications. The programmers will be less specialized but we'll be able to provide better solutions.

Anything more than that will have too much training and maintenance overhead...

Friday, July 17, 2009

Disappointment

Sometimes you think you've just seen something amazing: on news, a discount or some great technology, since this blog has a certain orientation, I'll focus on the later.

This week I was planning my oncoming trip to Slovenia, and me and the Doc got to the point of looking at transportation, specifically trains.
Google led us to this site. If you enter the site you'll notice it adapts to your localization settings - nice! We've started typing "Venice" in the destination and not only we had auto completion we saw support for different writing options for "Venice" - really nice comparing to the dozens of other transportation sites we've seen (at some point we thought it could read Hebrew but that's really an exaggerated expectation). And now to the most amazing feature (tam tam tam...) the prices appear in local (ILS) coin! After being amazed for a couple of seconds (yes I know, it's not really that a sophisticated technology, but as mentioned above we did see other transportation sites), we've decided to check what the British version looks like.
Apparently the two sites give different prices for the exact same trip. Yeah, that's right, three adults traveling from Ljubljana to Venice buying tickets in Israel will pay 453 ILS and the same three adults will pay only 42 pounds traveling from Great Britain. European discount? Don't think so, since Australians pay less. I've tried long and hard to think what could be the code behind those ridiculous results, but I still have no idea, suggestions?

So, going back to the first paragraph the conclusion is that miracles do not exist, sorry kids.

Saturday, June 20, 2009

Making Me Sweat

For quite some time now, I've been working on an Enterprise Search project for my organization. Last week I've installed a FAST ESP system as part of a POC, the system uses many third party software components and since each has it's own license they can't be provided as part of the ESP software and have to be downloaded as part of the installation process.

But, here's the catch, I don't have any Internet access on my network. The installation guide provides a solution for this kind of scenario - install the ESP on a computer with Internet access, after the components are downloaded you can abort the installation and transfer the components any way you want to your LAN.
This is a very strange solution, why run an unnecessary installation? What if I have limited privileges on my Internet computer?
After all, there's a much simpler solution - why not provide me with the links to the components? After all, what I did was to harvest the links from the manifest.xml the installation uses to download the components...
Why make me sweat?

Monday, June 8, 2009

Storming In Or Taking Baby Steps

When you have a problem (specifically, technology related) there are two main methods for dealing with it:
1. Storming In - throwing everything you have at the issue, e.g.: trying every performance related command you know, changing hardware, etc.
2. Taking Baby Steps - slowly and thoroughly analyzing the issue, e.g.: reproducing the issue on a development environment, checking all changes that have been made, etc.

Reality, like always, is some shade of gray so what you do in practice is usually some combination of the above two methods.
Many times it's not clear what approach to use. Storming in will sometimes solve the current crisis but might handle only the symptoms leaving you unprepared for the next time the problem manifests itself (and this time the instant solution might not work). Generally, it's always better to understand the causes for a problem and to investigate them, but sometimes issues won't reproduce on development environments and the causes are just too voodooish and some issues are just simpler to ignore. And after all, time IS a valuable resource.

Thursday, May 28, 2009

The Stage I Fear The Most

Since I became a team leader I've been working more and more with Oracle products other than EBS, mainly iAS and OID. I've noticed that the installation part of iAS-like installations never fails, the stage I've really learned to hate is the Configuration Assistants - each one that completes gives me a sigh of relief, but too many times I'm cursing instead. 

For instance, lately I've been trying to upgrade my 10.2.0.2 OID instance to the latest 10.1.4.3 version, upgrade path looks like this: 10.2.0.2->10.1.4.0.1->upgrade MR->10.1.4.3.
10.1.4.0.1 - check. upgrade MR - check. 10.1.4.3 - uh oh...
Even before installation begins, Oracle tries to outsmart me - documentation says to shut down OPMN, but when I do that I get an error during the initial steps that says it can't determine running processes(like daaaa!). OK, so I start OPMN, but then I get a "dude, you're running services that bother me" message, "OK take it easy, I'm shutting it down" is my reply. Up until now I have the upper hand and the installation itself runs smoothly, as always.
But then comes the one before last CA - the DCM CA that fails because of a problem with an Apache dll. So after trying to solve it for quite some time (replaced dlls, configuration files, etc.) without any positive results I opened an SR, the action plan , is kinda funny - install 10.1.2.3 on top of 10.1.4.0.1, then try again, makes sense don't you think? Well, it does (a bit), my previous attempt did include a 10.1.2.3 upgrade before 10.1.4.01, some maybe I should've thought about it myself.
So I did just that, but then the SSO CA took ages (more like two hours, but you get the idea) to fail, some mixture of opmn stopall/startall got it through but now the OPMN startall CA fails so I didn't even got to the problematic DCM CA yet, I guess I have some frustrating days ahead...

With the CAs I always have the urge to just skip 'em all and run 'em later, on the other hand if things are wrong with the so basic OPMN startall maybe I should handle things now. I'll probably have more updates regarding this issue in following posts.