Friday, December 14, 2007

Oracle Internet Directory

Ye Gods is Oracle Internet Directory some arcane, byzantine software. I've spent the past few days at work, in between other projects, trying to get OID online.

Keep in mind, we're only using OID to resolve Oracle service names. Until now, the Oracle Names Server has done a great job at that. Relatively easy to configure, straight forward to maintain... no worries.

Naturally, this had to change. We're more blunt edge than bleeding edge at work, but even we have to drag ourselves shambling into the modern era... and in the modern era the names server has been relegated to the dustbin. Oracle 10g and higher clients just won't talk to it.

So, with the go ahead from our management that the licensing was worked out, I downloaded the software, brought out the manuals and had at it. How hard could it be, right?

Translating the Necronomicon from ancient Arabic seems trivial by comparison. A full second Oracle instance is required, along with another HTTP server and Oracle Applications server. Then, once all that is set up, one can get OID working. Unless you can't, since the provided documentation is bollocks. The classic moment was when the test to confirm connectivity worked, but the actual command didn't and complained of invalid credentials. Yes, I used the same credentials both times.

Kudos to Dizwell Informatics. His write up on Oracle Internet Directory and it's associated processes is well worth a read if you, like I, found the Oracle documentation lacking. Thanks to his notes, I now have a working OID instance ( at least in test ) that's serving up service names via LDAP.


RatsInMo said...

Okay, so I do a search on "internet directory" thinking I'll find a list of sites like dmoz and such, but instead I get your blog entry. Funny how the web works like that. Thankfully, right above you was an actual list of web directories", so I got accomplished what I needed, but still.

I actually clicked on the link to Oracle, thinking I could figure out what it was about, but I have to say that even after spending 20 seconds on their webpage, I still have no idea what that oracle software does exactly.

Maybe that says something very deep and meaningful about me. Or not.

Rus said...

I doubt it's meaningful; OID is basically an LDAP server which we're using to resolve Oracle service names.

Conceptually, think of it like a different sort of DNS server; provide it a service name and it returns connection information in much the same way that sending a hostname to a DNS server returns an IP address. Just, OID just works for Oracle clients.