EBS Oracle VM Templates
OK, now I am angry. The other day I emailed the Steven Chan, he's the Senior Director at Oracle in Applications Technology Integration, Oracle E-Business Suite Development, about The EBS Challenge. Just a courtesy thing, I wasn't sure if he had seen it or not. Well, today he wrote me back... And what did he tell me? He told me about two recent, and by recent I mean December...you know...about the time I started this whole saga of installing EBS, posts of his. Actually, I'm not sure who I am more made at, him or John. I suppose I could excuse Steven since we have never interacted before...but John? Are you telling me John didn't know about this? John knew the pain I was going through just to create the stupid 300 GB VDI. John knew! I can come to no other conclusion than John purposely tortured me. I hate you now John. Alright...that might be a little harsh. Wait...no, it's not harsh at all. Yes it is. If you don't feel like going through this exercise yourself, here is the easy way out: -- E-Business Suite 12.1.1 Templates for Oracle VM Now Available-- Using Oracle VM with Oracle E-Business Suite Virtualization KitThanks John...we're not friends anymore. :) Labels: ebs, funny, install
EBS Install Guide - Part 4
By John Piwowar [ blog | twitter ] This is the fourth and final post in the "Installing E-Business Suite" series, where we'll take a quick look at the GUI. As with the command line interface, going into deep detail would take more time and space than is practical, but I'll try to present some of the high points. I'll close with a final list of useful references for EBS administrators, and then return you to you regularly scheduled oraclenerd programming. Thanks again, Chet!Part 1 --> Part 2 --> Part 3 --> Part 4 The NavigatorAfter logging in to Oracle Applications (you remember that from the end of Part 2, right?), you'll be presented with the Navigator. Depending on the responsibilities granted to your user, the length of the list in the left column of the Navigator will vary. When connected as SYSADMIN, you'll most often be interested in the "System Administrator" and "System Administration" responsibilities. Clicking a responsibility will populate the center column of the Navigator with the functions assigned to that responsibility, and clicking one of those functions will take you to that function, either in the HTML interface or the Forms interface. As shown in the screenshot below, the small icons next to the links indicate whether a link will launch Oracle Forms or just take you to another HTML page. To the right of the two Navigator columns is the list of Favorites, which can be especially handy if you've been granted a lot of responsibilities and can't be bothered to remember which responsibility provides your most frequently-used functions.  The SYSADMIN user offers access to a wide variety of responsibilities and functions, particularly in the Vision instance. As you might expect, SYSADMIN also has "superpowers:" some responsibilities offer expanded functionality only to the SYSADMIN user. If you're interested in seeing what a more common, but still fairly powerful, user looks like, you can log in as one of the following users: MFG, OPERATIONS, SERVICES, MRC, or HRMS. These users are seeded in the Vision instance with the password 'welcome'. The forms interfaceEBS has been evolving to use a more HTML- and Javascript-based UI, but a large proportion of the end-user functionality (and some crucial administrative functions) are presented via Oracle Forms. When you click on a link for a function that is handled by forms, Java will launch the Forms interface for you. It really, really helps in this case to be running on a supported Java+Browser+Operating System combination (Linux users take note: Oracle does not currently plan to certify Linux desktop OS versions to run EBS clients). In addition, make sure that you've either disabled your browser's popup blockers, or added your EBS server to your popup blocker's whitelist, otherwise Forms may fail to launch and you might mistakenly conclude that they're broken. Here's a quick demo of the start of the Forms interface, so you know what to expect. I chose the "System Profile Options" form for convenience, not because it's super-important...though it's certainly a normal amount of important: Click appropriate link in the Navigator (or, as in this case, the Favorites list...yay, laziness!). A new browser window or tab will open, displaying a Forms servlet launcher. Depending on your browser's security settings, you may be asked a few questions about whether you want your EBS server to be allowed to communicate with your browser. I've found Safari to be particularly persnickety about this.  One of the browser windows (or tabs) that will open during the launch of Forms contains a "Do not close this window" warning. Hint: they're not kidding. Make sure it stays open for the duration of your Forms session.  After a bit of waiting and spawning those extra browser windows, you should get a view of the Forms interface. It'll probably try to take over all of your screen real estate (at least it does on my laptop), so it'll be impossible to miss:  A few things to note: - The Forms function you selected may be specific enough to require a series of sub-forms, in which case you'll see parent forms open underneath.
- As with the web interface, there's a Navigator form, with all of the functions available to the current responsibility. If you select the Navigator form, the little "top hat" icon will become active, and you can switch to a new responsibility.
- You can bask in the warm, comfortable nostalgia of desktop-app-like "File, Edit, Tools, etc" menu system.
- If you use the Navigator to select a function that is HTML-based, you'll be popped back out into your browser. It might come as a surprise the first few times, but you'll get used to it. ;-)
- If you close the Navigator window, you'll be asked to confirm that you want to exit Oracle Applications
DiagnosticsOracle makes it easy to collect a lot of diagnostic information about the various EBS applications modules and tech stack components. A lot of the diagnostic test output can be packaged up and shipped to Oracle Support to support SR resolution. I've also been able to resolve issues on my own using Diagnostics that I might otherwise have had to open an SR to resolve, which makes the Diagnostics a clear timesaver. Access Diagnostics from either the "Application Diagnostics" responsibility or the "Diagnostics" link at the top of the Oracle Applications home page. Using the responsibility is a bit more straightforward.  I'll spare you a long, screenshot-laden walkthrough of Diagnostics, but you'll find that there are over 280 applications to choose from, each with its own set of tests. The applications AD (Applications DBA), FND (Application Object Library), and SYSTEM_TEST (HTML platform) are probably the most immediately interesting to you at this point. For fun, run the EBusinessSecurity test group under FND and see what holes are left open in a default system. :-) OAM: Oracle Applications Manager (OAM)I'm sure I'll lose a lot of "street cred," assuming I've ever had any, for extolling the virtues of a GUI-and-dashboard-based administration interface, but Oracle Applications Manager is pretty nifty. Come to think of it, maybe I'll lose cred just for using a word like "nifty." Oh well. OAM is available to users granted the System Administrator or System Administration responsibility. Access individual OAM functions from those responsibilities, or start at the Dashboard to begin exploring its functionality.  OAM can quickly display the overall health of your system, lets you change some Apps configuration options, provides facilities to report on applied EBS patches and analyze new ones, manage the various moving parts that comprise the Workflow system, and much more. Click around for a bit; they've packed a lot in there:  I should note that OAM and the Diagnostics utilities discussed above are part of the base Oracle Applications system, included as part of standard EBS licensing. OAM should not be confused with the Oracle Applications Management Pack for Grid Control, which is a separately-licensed product. Standing on the shoulders of giantsOkay, that's a wrap! Thanks for sticking through to the end; I'll leave you with one last list of reference material. If you want to dig further into learning about EBS, here are some useful resources and blogs. I'm bound to miss a lot here, but you won't go very wrong starting with this list: - First and foremost, if you aren't following Steven Chan's blog, you are doing yourself a huge disservice. Steven and his blogging team are are all heavily involved in the Applications Technology and Applications Technology Integration groups at Oracle. They will keep you up to date on the evolution of the Oracle Applications tech stack "as it happens," with certification announcements, discussions of advanced features and configurations, and pointers to interesting EBS whitepapers. If you've ever tried to navigate the labyrinth of Oracle's certification matrix, you'll recognize that Steven's list of certifications for the EBS tech stack components alone is worth a visit to his blog. Steven also maintains a list of Apps-related blogs, both within Oracle and in the broader community.
- The OTN EBS forums are an invaluable resource for getting answers to your EBS questions. Most of the time, it seems like Oracle Ace Hussein Sawwan is holding the entire show together with his encyclopedic knowledge and crazy My Oracle Support skills. There are a lot of very helpful regulars there to pick up the slack when Hussein steps out for dinner, too (I'm not convinced that he sleeps). The EBS on Linux, EBS R12 Install/Upgrade, and EBS Technology General Discussion forums are a good place to start.
- Atul Kumar's Online Apps DBA blog covers a wide variety of topics related to the technical side of Oracle Applications, including the integration of a wide variety of Oracle products with EBS, and more "real-world" deployment scenarios than this installation guide provides. It seems like there isn't an Oracle product this dude hasn't installed; it's pretty impressive.
- Eddie Awad's famous OraNA service has an "Applications and Apps Technology" subcategory, and you'll see some interesting tidbits come through there.
- Ben Prusinski, Oracle Ace and RAC expert, has recently ventured into the realm of Apps DBA work, and many of his recent blog posts have covered R12-related topics.
Labels: ebs, install, jpiwowar
My EBS Install Saga - Part II
Finally!  After just a little over a month, I've finally gotten this stupid thing installed. Read a bit of my prior trials and tribulations here. CostIn total, I believe this cost me about $250. - $80 - 320 GB Hard Drive which I didn't use for this install (but meant to)
- $100 - 1 TB hard drive which I did use for this exercise.
- $70 - Amazon EC2 usage. Most of the $70 is because I used a 26 ECU machine (8 dual core CPUs, 64 GB RAM)
The EC2 expenses are high mostly because I spent more time connecting and such than actually doing any work. When you have a powerful machine, work is easy (and justifiable). I could download a 1.5 GB file in 3 seconds...well, it seemed like 3 seconds. Plus, I was learning how it all worked. As far as disk space goes, I didn't have any. Maybe a total of 300 GB to start spread on 3 different disks. Now I need one of those big ass workstations so I can actually work with this software. Sadly, as I have priced them out, I can't get under $4K. Anyone from HP or Dell (or Apple) reading? Wanna give me one of your workstations? I'll blog about it...a lot. InstructionsI followed John's instructions to the letter. I received the same error screen as he did  Checked the logs as instructed, found the problem error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory The only errata I've found is that mine was a 32 bit system and not a 64 bit system...but who cares? It works. I followed his instructions to create the symbolic link...I would never in a million years been able to figure that out. I'm fortunate to have used the 9i and 10g Oracle Application Server and OC4J extensively in the past, I just need to figure out where everything is located. ResourcesMy goal is 2 fold - Create a test environment with EBS, OBIEE and OBIA
- Prove (or disprove) a theory about integration with APEX I have
That means I need to have room (memory) to run another VM. Not for APEX, but for the OBIEE/DW space. Very first thing I did was go into the database init file. I changed the sga_target from 1G to 512M and I changed the pga_aggregate_target from 1G to 512M. Next up, I'll be trimming some of the memory allocation for the OC4J instances...but not yet. I'm just going to bask in the glow of finally getting this thing done. I'll also read up Part 3 of John's Install Guide and Part 4 will be coming out this week, probably tomorrow afternoon. John, you are the man! Thanks! Labels: ebs, funny, install
My EBS Install Saga
(Yes, it is sad that I am writing this on New Year's Eve...I'm on a mission at this point and nothing will stop me).So I've been trying to follow along with John's EBS Install series...and by trying to follow along I mean I'm still on step 0 (zero). First, it was a lack of space. 300 GB to be exact. So I went out and bought a 320 Seagate expansion drive. I can't remember that far back, but I think other things came up and I had to requisition that space for other projects. A couple of weeks ago, I found a 1 TB external drive (USB 2.0) for $100. Couldn't pass it up. Sweet...now I'm all set to do this thing. Somewhere, somehow, I removed all the carefully managed installation files. Couldn't find them. So I started over. A quick reminder, it's 46.25 GB of download, which takes a total of about 8 hours...even with 25 Mbps down. I am really thankful that Kris Rice doesn't do EBS...he'd be in for a world of hurt. OK, I'm downloading the files and unzipping them simultaneously...to save a little bit of time. Get everything downloaded and unzipped...this might be where the fun really begins. If this is your first time, I'm using VirtualBox. The rest of the setup is like this: -- Dell XPS M1530 -- Intel Duo Core T1555 1.83 Ghz -- 3 GB RAM -- 1 TB Seagate External Drive (USB 2.0) -- Ubuntu Karmic Koala (9.10) Not the most powerful machine in the world...but decent enough for 99% of everything. Of course by everything I mean everything but EBS. The first time I created a 300 GB Dynamic HDD. That's the one I downloaded and unzipped all the files too. Upon completion, it had grown to 68.5 GB. OK, let's run it. Kick off the rapidwiz script, run through the first couple of screens and then it does a system check. Oops...there's not enough space. John did say that 350 GB would be preferable...I obviously didn't listen. OK, so I could either expand that HD or shrink it and add another. Expansion is not possible (yet) in VirtualBox. I tried cloning (not sure why) and still ended up with a 300 GB disk of which 68.5 GB was used. I then tried to use zerofree so that I could compact it (again, I have no idea why I was trying to do this). Those attempts were very unsuccessful because I couldn't figure out how to make the HD read-only. I did figure out a way later...just add a bad line in /etc/fstab and then you can run zerofree. What was the poing of compacting it though? No idea. In one of the more recent versions of VirtualBox (I think 3.0), you could add a second HD. At least that's when I noticed that ability. So I created a new Dynamically-expanding 300 GB HD and attached it through the VirtualBox GUI. Now I was stuck trying to figure out how to mount the stupid thing. Mr. Brad Tumy to the rescue. Kick off the rapidwiz script, get through all the setup screens and it's installing...I left it over night...and one more night...78 GB had been written to disk. I killed it. How about just creating a 300 GB Fixed HD? Tried it...ran for 24 hours...about 60 GB had been created. I killed it. Maybe I could use Shared Folders. I consulting The Twitter and was reminded of my recent fun with Shared Folders. Hmmm....How am I going to do this? Then an IM with a colleague where he asked about The Cloud. It would be nice to have a test environment, as we are all remote, that we could share. I gave him 2 suggestions, I could buy a beefy machine and host it here at home or I (we) could try to do something in The Cloud. That got me thinking...The Cloud? Hmmm...let's see if I can install OBIEE there. I was immediately sold when I downloaded the OBIEE software (1.5 GB) in like 3 seconds (14 or 15 Mbps). I got OBIEE installed and running on Windows...but when I was creating the Instance, I noticed some pretty beefy boxes. Maybe I could create the 300 GB VDI in The Cloud? Yes, absolutely! So I fired up a 20 ECU Windows Server Datacenter (2008?), with 8 dual core CPUs and 7.5 GB of memory. It took 2 hours to create the VDI. Sweet! Now...how in the hell am I going to get that 300 GB down to my machine? Since my local drive was attached, perhaps I could just drag and drop it there. Nope...didn't like that. I'll zip it up! Using 7zip, I was able to compress it to a very modest 360.9 MB. That's got to be close to a million percent compression right? Downloaded that via IIS (had to set that up as well) and began to unzip it. First 5 GB took about 5 minutes, so I'm thinking 5 hours. Then it started to crawl. I was at 75 GB after 10 hours which was going to put me at 40 total hours. But it looked like it was exponential...that 40 hours probably would have ended up around 1 million hours. I don't have that kind of time. I killed it. Consulted The Twitter again. @TedC and @jtdavies offered up some suggestions. @TedC told me to use Amazon S3. @jtdavies told me to split it up and use rsync. Being incredibly impatient and quite possibly very stupid, I "split" the difference. Using my 400 GB attached Volume, I decided to use The File Splitter to split the files. 10 MB chunks. 3000 some odd files. No worries, I'll just zip up every 100 or so, download and unzip. Until I ran out of room. *%##@$!!~!@#$%#$#$**&%(*##@@!!!!!!! Shoot me...now! I created a second (well, third) volume, 315 GB, which would be the target for the split files. Attached it and began the split...again. This time, 10 GB chunks. I wasn't worried about the size as they compress very nicely. Two of those equals about 24 MB of download. So I'm almost done with that...about 95% complete. I just have to download 2 more zipped files. The funner part will be getting those put back together...if it's even possible. I've read up on cat, I just hope it comes through. If you have any suggestions...or you want to come over to my house or remote into my computer and help me...that would be awesome! :) Labels: ebs, funny, install
The EBS Challenge
I'm going to go ahead and say it, I believe John Piwowar's EBS series has been a success. I'm not talking in hits or those types of metrics because I haven't really analyzed the impact his articles have had. I'm talking about inspiring others to do the same. I believe that's where the real value has come from. So far John has written 6 articles, 3 here and 3 companion pieces on his sites. He sent me the 4th last weekend (about an hour after the 3rd) which I will post next week (holiday lull here). He claims that's a record for him, 8 articles in a single month. Anyway, here's the list of people who have decided to take the EBS Challenge: Jake Kuramoto added to the fray by posting an article on John's series, Install the E-Business Suite with Your Pals. Jake worked with EBS back in the 80's I think. :) I'm pretty sure I left people off this list. So if you know of anyone or are someone using John's install guides, let me know through the various methods of communication (twitter, comments, email, IM, etc). I'll add your name to the list with links and all...would be fun to see how many names we can get on here. If you did use the guide and would like to write up your experiences (I will be writing one myself) and post them here as a guest author, or you want to write it on your own blog, let me know. I'll add links next to your name pointing to your article. Also, there is no time limit either. If you follow the guide next December and would like to be added, I can do that too. Labels: ebs, install
EBS Install Guide - Part 3
By John Piwowar [ blog | twitter ] This is the third post in my "Installing E-Business Suite" series. Now that your Vision installation is (hopefully) complete, it's time to start exploring the system a bit. Thanks again to Chet for the opportunity to share here, and for his patience as I took longer than was strictly necessary to finish this installment.Part 1 --> Part 2 --> Part 3 --> Part 4It's impossible to provide a comprehensive overview of the various command-line utilities used to manage the E-Business Suite in the space of one (or even a few blog posts, but in this post I'll show you how to start and stop the services, and point you to a few references where you can learn more, if you're into that sort of thing. I don't ever claim perfect memory, but you can probably assume that anything you later discover to be missing was omitted to save space, not because I forgot about it. Stopping EBS servicesIt's a good idea to shut down the EBS database ASAP after installation to take a full backup. Before you can shut down the database, you need to shut down the applications tier, or your system will probably become cranky. The "shut down everything" script for the apps tier is called adstpall.sh, and it calls scripts to stop individual components and bring down the system in a (usually) graceful manner. Run adstpall.sh as the applvis user: [applvis@londo ~]$ $ADMIN_SCRIPTS_HOME/adstpall.sh You are running adstpall.sh version 120.10
Enter the APPS username: apps Enter the APPS password: The logfile for this session is located at /u01/ebs/R12VIS/inst/apps/R12VIS_londo/logs/appl/admin/log/adstpall.log Executing service control script: /u01/ebs/R12VIS/inst/apps/R12VIS_londo/admin/scripts/jtffmctl.sh stop script returned: **************************************************** You are running jtffmctl.sh version 120.3 Shutting down Fulfillment Server for R12VIS on port 9355 ... jtffmctl.sh: exiting with status 0
.end std out. .end err out. ****************************************************
Executing service control script: /u01/ebs/R12VIS/inst/apps/R12VIS_londo/admin/scripts/adcmctl.sh stop script returned: **************************************************** You are running adcmctl.sh version 120.17.12010000.3 Shutting down concurrent managers for R12VIS ... ORACLE Password: Submitted request 5798328 for CONCURRENT FND SHUTDOWN
adcmctl.sh: exiting with status 0
adcmctl.sh: check the logfile /u01/ebs/R12VIS/inst/apps/R12VIS_londo/logs/appl/admin/log/adcmctl.txt for more information ...
.end std out. .end err out. ****************************************************
Executing service control script: /u01/ebs/R12VIS/inst/apps/R12VIS_londo/admin/scripts/adoafmctl.sh stop script returned: **************************************************** ERROR : Timed out( 100000 ): Interrupted Exception You are running adoafmctl.sh version 120.8 Stopping OPMN managed OAFM OC4J instance ... ****************************************************
Executing service control script: /u01/ebs/R12VIS/inst/apps/R12VIS_londo/admin/scripts/adformsctl.sh stop script returned: **************************************************** ERROR : Timed out( 100000 ): Interrupted Exception You are running adformsctl.sh version 120.16 Stopping OPMN managed FORMS OC4J instance ... ****************************************************
Executing service control script: /u01/ebs/R12VIS/inst/apps/R12VIS_londo/admin/scripts/adoacorectl.sh stop script returned: **************************************************** ERROR : Timed out( 100000 ): Interrupted Exception You are running adoacorectl.sh version 120.13 Stopping OPMN managed OACORE OC4J instance ... ****************************************************
Executing service control script: /u01/ebs/R12VIS/inst/apps/R12VIS_londo/admin/scripts/adapcctl.sh stop script returned: **************************************************** You are running adapcctl.sh version 120.7.12010000.2 Stopping OPMN managed Oracle HTTP Server (OHS) instance ... opmnctl: stopping opmn managed processes... adapcctl.sh: exiting with status 0 adapcctl.sh: check the logfile /u01/ebs/R12VIS/inst/apps/R12VIS_londo/logs/appl/admin/log/adapcctl.txt for more information ...
.end std out. .end err out. ****************************************************
Executing service control script: /u01/ebs/R12VIS/inst/apps/R12VIS_londo/admin/scripts/adalnctl.sh stop script returned: **************************************************** adalnctl.sh version 120.3 Shutting down listener process APPS_R12VIS. adalnctl.sh: exiting with status 0
adalnctl.sh: check the logfile /u01/ebs/R12VIS/inst/apps/R12VIS_londo/logs/appl/admin/log/adalnctl.txt for more information ...
.end std out. .end err out. ****************************************************
Executing service control script: /u01/ebs/R12VIS/inst/apps/R12VIS_londo/admin/scripts/adopmnctl.sh stop script returned: **************************************************** You are running adopmnctl.sh version 120.6 Stopping Oracle Process Manager (OPMN) and the managed processes ... opmnctl: stopping opmn and all managed processes... adopmnctl.sh: exiting with status 0 adopmnctl.sh: check the logfile /u01/ebs/R12VIS/inst/apps/R12VIS_londo/logs/appl/admin/log/adopmnctl.txt for more information ...
.end std out. .end err out.**************************************************** adstpall.sh:Exiting with status 3 adstpall.sh: check the logfile /u01/ebs/R12VIS/inst/apps/R12VIS_londo/logs/appl/admin/log/adstpall.log for more information ...
You may not see the timeout errors listed above for the 10gAS components, but you might, if your server is slow or particularly busy when you're trying to shut down services. Shutting down the apps tier can take a while, particularly while waiting for the concurrent managers to exit. Eventually, though, there shouldn't be any apps-related processes left running: [applvis@londo ~]$ ps -ef | grep applvis applvis 16667 16665 0 19:55 pts/2 00:00:00 -bash applvis 18927 16667 0 20:34 pts/2 00:00:00 ps -ef applvis 18928 16667 0 20:34 pts/2 00:00:00 grep applvis Once the apps are down, switch over to the database software owner (oravis) and shut down the database services. It' s possible to do this using the normal lsnrctl and sqlplus commands you already know, but for purposes of completeness (i.e. egregious pedantry), we'll use the EBS-supplied wrapper scripts. First, use addlnctl.sh to stop the listener: [oravis@londo ~]$ $ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/addlnctl.sh stop R12VIS You are running addlnctl.sh version 120.1.12010000.2 Logfile: /u01/ebs/R12VIS/db/tech_st/11.1.0/appsutil/log/R12VIS_londo/addlnctl.txt Shutting down listener process R12VIS ... addlnctl.sh: exiting with status 0 Finally, use addbctl.sh to shutdown the database: [oravis@londo ~]$ $ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/addbctl.sh stop immediate You are running addbctl.sh version 120.1
Shutting down database R12VIS ...
SQL*Plus: Release 11.1.0.7.0 - Production on Sat Dec 12 20:44:35 2009 Copyright (c) 1982, 2008, Oracle. All rights reserved. Connected. Database closed. Database dismounted. ORACLE instance shut down. Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
addbctl.sh: exiting with status 0 Backing up the database is left as exercise for the reader, but I suggest using RMAN. Starting EBS componentsOkay, time to start everything back up, in reverse order of shutdown. First, the database listener: [oravis@londo ~]$ export PATH=$PATH:$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME [oravis@londo ~]$ addlnctl.sh start R12VIS You are running addlnctl.sh version 120.1.12010000.2 Logfile: /u01/ebs/R12VIS/db/tech_st/11.1.0/appsutil/log/R12VIS_londo/addlnctl.txt Starting listener process R12VIS ...
addlnctl.sh: exiting with status 0 Then, the database... [oravis@londo ~]$ addbctl.sh start You are running addbctl.sh version 120.1
Starting the database R12VIS ...
SQL*Plus: Release 11.1.0.7.0 - Production on Sat Dec 12 22:29:22 2009 Copyright (c) 1982, 2008, Oracle. All rights reserved. Connected to an idle instance. ORACLE instance started. Total System Global Area 521936896 bytes Fixed Size 2161272 bytes Variable Size 218105224 bytes Database Buffers 289406976 bytes Redo Buffers 12263424 bytes Database mounted. Database opened. Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing optionsaddbctl.sh: exiting with status 0 You'll note that I also used the database downtime to downsize the memory footprint of the database a bit. I'll confess that I didn't do any careful testig to arrive at these values; I just whacked a bunch of parameters by 50%. Your mileage may vary. :-) Finally, back to the applvis user to start up the apps. I'll demonstrate an alternate means of running adstrtal.sh that doesn't involve prompting for a password. This is also a legitimate way to call adstpall.sh, but in both cases, be mindful that the password for the all-powerful APPS database user will be in your command history. Seems convenient on the surface, until you consider the security implications. Yes, it's just a test server, but safety begins in the sandbox. ;-) [applvis@londo ~]$ adstrtal.sh apps/apps You are running adstrtal.sh version 120.15 The logfile for this session is located at /u01/ebs/R12VIS/inst/apps/R12VIS_londo/logs/appl/admin/log/adstrtal.log Executing service control script: /u01/ebs/R12VIS/inst/apps/R12VIS_londo/admin/scripts/adopmnctl.sh start [[I'll spare your eyeballs the full, verbose startup of all the components. It's unsurprisingly similar to the output from running adstpall.sh, and admit it, you didn't really read through that output in great detail either, did you? ]] adstrtal.sh: check the logfile /u01/ebs/R12VIS/inst/apps/R12VIS_londo/logs/appl/admin/log/adstrtal.log for more information ...
Again, on a slower system you may get some timeout errors from the 10gAS components. For your peace of mind, you can check the status of those components with adopmnctl.sh until the status of all the components reads, "Alive." [applvis@londo ~]$ adopmnctl.sh status You are running adopmnctl.sh version 120.6 Checking status of OPMN managed processes... Processes in Instance: R12VIS_londo.londo.local ---------------------------------+--------------------+---------+--------- ias-component | process-type | pid | status ---------------------------------+--------------------+---------+--------- OC4JGroup:default_group | OC4J:oafm | 22974 | Alive OC4JGroup:default_group | OC4J:forms | 22836 | Alive OC4JGroup:default_group | OC4J:oacore | 22678 | Alive HTTP_Server | HTTP_Server | 22619 | Alive adopmnctl.sh: exiting with status 0 Yay. Carry on, then. Other important stuffNow you know how to stop and start Oracle Applications. If you're just going to be exploring the apps as a hobbyist, that should be enough to get you going. There's a lot more to learn, however, if you're interested in understanding common EBS maintenance tasks, including: - adadmin: This utility is used to maintain objects in the Apps database and applications tier filesystem. Common tasks include recompiling invalid database objects, regenerating forms and reports files, and enabling and disabling maintenance mode (a required task during patching). adadmin is invoked by the applications owner (applvis in our case). To get an better idea of what adadmin does, type
adadmin help=y from the command line, or just type adadmin to invoke its text-based menu system and explore from there. - Autoconfig: In the Dark Ages of Oracle Applications, making configuration changes in EBS was fraught with peril. Changing the value of a directory or port for an application server component could involve touching multiple config files, and missing one file could lead to confusing (at best) or disastrous (what's worse than disastrous?) results. Nowadays, Autoconfig takes care of configuration file management for you. The trade-off is that any manual changes made to Autoconfig-managed configuration files will be overwritten when Autoconfig is run. There are two versions of Autoconfig: one for the applications tier ($ADMIN_SCRIPTS_HOME/adautocfg.sh), and one for the database tier ($ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/adautocfg.sh). In general, you'll be using the apps tier version of Autoconfig much more frequently. It's worth noting that Autoconfig does not manage the database pfile or spfile; changes to database initialization parameters can be made without concerns about Autoconfig clobbering them.
- adpatch: This may not be relevant to your current sandbox, but in the real world you are unlikely to run an unpatched EBS system. adpatch is the utility that drives the patching process for the applications tier file system and Apps database objects. It does not handle patching the database and application server ORACLE_HOMEs, however, you still get to use the trusty Opatch utility for that.
Almost done!The 4th and final part of this little "scratching the surface of E-Business Suite" adventure will take a look at a few parts of the UI. You know what that means, right? Yup, more screenshots! I bet you can't wait! References:- Michael Taylor (mdtaylor), Oracle Ace and "installing EBS on unsupported versions of SUSE" guru (among other things), posted some recommendations on OTN for extreme downsizing of the memory consumed by the EBS database and concurrent managers.
- My Oracle Support Doc 396009.1 breaks down the database initialization parameters for R12. Configure for the low end, unless you're really building out a Vision instance for use by lots of people, in which case you need to stop reading this guide before you get yourself into trouble. ;-)
- If you're interested in setting up your applvis OS user's environment so that the Apps environment is sourced automatically and the various Apps administration utilities are added to your path at login, I know a guy who wrote not one, but two blog posts about that.
- Chapter 4 of the Oracle Applications Maintenance Utilities guide covers the adadmin utility
- The Oracle Applications Patching Procedures guide covers the use of adpatch, and the patching process in general
- And, finally, Chapter 5 of the Oracle Applications Concepts guide discusses Autoconfig, and provides a context for use of the tool (that's a pretty bad pun, but only if you've read the guide).
Labels: ebs, install, jpiwowar
OBIEE: Install on Windows
This install on Windows is not significantly different than it is on Oracle Enterprise Linux, in an effort to maintain my Learning OBIEE page, I felt it necessary. I know there are differences between the different flavors of Windows, but it certainly doesn't feel like it. I remember installing a 9i EE Database on XP Home 6 or 7 years ago, that was kind of fun. I'll stop blathering on.OBIEE: 10.1.3.4 Host: Ubuntu 9.04 Virtual stuff: VirtualBox Guest OS: Windows Vista Ultimate From what I understand, OBIEE was originally intended for Windows (Server) environments. All of the client software runs on Windows only. The Server software runs on both *nix and Windows. So no matter what, I could not avoid a Windows installation. Part II of Installing on OEL would be "Installing the OBIEE Client Software", which is this post. I will not only be installing the Server components, I will be installing the Clients Applications too. I'll stop blathering on...part III've already installed Java 6. I've located my setup.exe file and start the installation  Next Specifying the directories, I accept the defaults. I'm also using OC4J. Next.  Complete. Next.  Point to the SDK, enter in my oc4jadmin password...hopefully I'll remember it this time.  Accepting the default, you don't need to enter anything here.  I am setting all the services to start manually. This is a virtual machine and do use it for other things. Next.  English. Next.  Summary. Next.  It's now running.  Small side note, OBIEE installer reported 100% within minutes of starting. It reported 100% completion for about 30 minutes. Yeah, done. Some notes on OC4J. Next.  Restart your computer. Finish.  Almost 32 minutes to complete.  I've restarted the machine. 0C4J is started automatically (you can turn this off, and I will...eventually)  Now, go into your Services applet. To get there, go to Control Panel --> Administrative Tasks. There you should see an icon that says Services. Scroll down until you see the services that begin with Oracle.  All of these are stopped (trust me). First up, start the Oracle BI Java Host Service    Next is the Oracle BI Presentation Server    Now let's test them out. Go to http://localhost:9704/  Good. Now let's login. On the right side of that page, click on Launch. Enter the oc4jadmin password you submitted during installation.  That should take you here  Now for BI Publisher  Check. And Analytics?  Check. ApplicationsNow I just want to make sure I have all the applications. Administration Tool  Check. Catalog Manager  Check. I'll save all the connecting of all the parts for a different post. Labels: howto, install, obiee, windows
OEL, OBIEE, VirtualBox and Shared Folders
I spent the week installing OBIEE in Windows (Vista Ultimate) and OEL 5, Update 4. I've always tried to install the software I'm working with, it helps to give me a better understanding of what's going on. I don't always understand at first, but after prolonged exposure, I can more easily put the pieces together. DigressionI can remember trying to install OAS on a Windows server back in 2002, multiple times. I had absolutely no idea what I was doing...just clicking buttons and stuff. In particular, there was the was this one night...err, morning, 4 AM to be exact where I was installing the software for what felt like the 200th time. Did I mention I was onsite... and in the server room? The only reason I remember that particular time was the justification I was using...LC was T minus 1 week. PostIn the OEL/OBIEE article, I mentioned some problems that I had, those problems are the reason for this post. I'll recall the setup: Guest Oracle Enterprise Linux 5, Update 4 Oracle Business Intelligence Enterprise Edition, 10.1.3.4 Java 6 (1.6_0.17) Memory: 1280M Diskspace: 30 GB
Host Ubuntu 9.04 VirtualBox 3.0.10 --VirtualBox Guest Addtions (i.e. Shared Folders) Dell XPS M1530 3 GB RAM 150 GB Hard Drive I believe that's all that is relevant. If I left something off, let me know and I'll add it in. This is a fresh install of OEL. After installation of the OS, I installed the Guest Additions so I could 1, get a higher screen resolution and 2, I could use Shared Folders. From the host, I unzipped the OBIEE software into /opt/software/oracle/obiee/linux, I then un-tarred (?) the resultant .tar file. From the guest, I logged in as root and issued: mount -t vboxsf software /mnt/software * You can see the full set of instructions on the Shared Folder post I then navigated to the directory via the mounted path /mnt/software/oracle/obiee/linux/RH_Linux/Server/Oracle_Business_Intelligence From there I followed the instructions. [oracle@localhost Oracle_Business_Intelligence]$ ./setup.sh -console InstallShield Wizard
Initializing InstallShield Wizard...
Preparing Java(tm) Virtual Machine... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ............ It would just hang there. For the longest time. I poured over the documentation to see if I missed a required library or something. Nothing. I ran and reran the UnixChk.sh script multiple times (the script checks to see if OBIEE can be installed and outputs SUCCESS or FAILURE). I would start and stop this installation over and over. Going so far as to let it run overnight (which for me is about 5 hours). I could get past this part, given sufficient time, typically down to the point where it is actually writing the software to disk (presumably anyway). Installing $L(com.siebel.analytics.install.AnyStringConstants, InstallConfig.ProductName) $P(SiebelAnalyticsProductBean.productNumber). Please wait...
|-----------|-----------|-----------|------------| 0% 25% 50% 75% 100% |||||||||||||||||||||||||||||||||||||||||||||||||||
Installing Oracle Business Intelligence 10.1.3.4.1. Please wait... ||||||||||||||||||||
Again, it would just sit there. Finally, on Wednesday evening I saw a friend of mine ( Tom Roach, former President of SOUG) online (or did he see me?). Anyway, I told him about the situation and, since he expressed interest in my problem, I offered to show him. We then spent the next 30 minutes trying to get him access to my computer. Suffice it to say, I can do that easily on Windows. Ultimately, he talked me through enabling SSH and he was in. That's when the magic began. As I watched him type up all these commands, looking through scripts...and starting and stopping the installation. I had my own personal (*nix) trainer. First, I believe he ran [oracle@localhost Oracle_Business_Intelligence]$sh -x ./setup.sh -console Which then output all kinds of stuff I didn't recognize. I asked him later what it was, the sh command let's you debug the shell script to get a better idea of what is going on. When he killed it, I noticed an error, "'run' class cannot be found" or something along those lines. Before Tom showed up, I had suspected there was something going on with my Java environment. I tried using jcontrol to change the memory allocated to Java upon start with no luck. I began installation, then ran jconsole to see what was going on with the JVM. I saw "things" that must have been the problem...none of this proved out in the end. In fact, I think I told Tom that originally, that I suspected that the Java environment wasn't set up correctly. He then noticed that it was calling Linux.jar in the same directory. So he ran that directly (to eliminate a possible error in the main script I'm guessing): [oracle@localhost Oracle_Business_Intelligence]$exec Linux.jar -console or something very close to that. Occasionally he'd run this " history" command. Wow! You can see all the commands you've entered. That's helpful. Next up he tried to run "strace." "File or directory not found" Tom, prefix it with /sbin or /bin. No go. It's not installed. I then began to look for it on 1 of the 4 ISO images. Found it and loaded it. ENTER STRACE COMMAND He then began to pour through the when he notices lines like this: wait4(5171, 0xbfa23aac, WNOHANG|WSTOPPED, NULL) = 0 read(3, 0x8a39cd0, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(5, 0x8a39cd0, 4096) = -1 EAGAIN (Resource temporarily unavailable) nanosleep({0, 10000000}, NULL) = 0 wait4(5171, 0xbfa23aac, WNOHANG|WSTOPPED, NULL) = 0 read(3, 0x8a39cd0, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(5, 0x8a39cd0, 4096) = -1 EAGAIN (Resource temporarily unavailable) nanosleep({0, 10000000}, NULL) = 0 wait4(5171, 0xbfa23aac, WNOHANG|WSTOPPED, NULL) = 0 read(3, 0x8a39cd0, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(5, 0x8a39cd0, 4096) = -1 EAGAIN (Resource temporarily unavailable) nanosleep({0, 10000000}, 0) = ? ERESTART_RESTARTBLOCK (To be restarted) Googled those, but I believe he had his suspicions. He also found the following useful, but I'm not sure why. I think he mentioned something about the fork() and trying to change directories but being unable to. getcwd("/home/oracle"..., 1024) = 13 chdir("/mnt/software/.../Oracle_Business_Intelligence") = 0 pipe([3, 4]) = 0 pipe([5, 6]) = 0 fork() = 5171 chdir("/home/oracle") = 0 close(4) = 0 close(6) = 0 fcntl64(3, F_GETFL) = 0 (flags O_RDONLY)If I can't recall very clearly it's because we started this IM at about 11:30 PM EST. It was now approaching 1 AM. Based on what he said and the problems Jake had previously, I began to seriously think it might have something to do with the Shared Folders. I wondered aloud on IM, "Could this be due to the Shared Folders and the OS's inability to write there?" Tom, "Perhaps" I asked if I should just move the software to the OS and run it from there. By then Tom was giving me a great tutorial on screen. Tom didn't get to installing the software successfully, but he gave me sh, screen, history, and strace. By reviewing the output with him and explaining what I was trying to do, Tom got me going in the right direction. After 2 hours, now 1:30 AM, Tom finally succombed. That was pure awesome...thanks again Tom for your help! I wasn't ready for sleep yet (besides being a bit of an insomniac), I had new life. First copied the files over to the guest OS. Ran the UnixChk.sh script then ran the setup.sh script. After about a minute, I was prompted for my first response. Sweet! I answered all the questions and went down to watch TV for an hour or so. I came back, answered a few more questions and it was done. Only to be destroyed later that morning and re-installed. Labels: failed, install, obiee, oel, virtualbox
OBIEE: Install on OEL 5.4
I've had a fun week installing this on OEL. Six times I've started and stopped because it would just sit there and hang. I had it installed a few weeks ago, but if memory serves me, I let it run overnight and everything was up and running. I blew that one away so I could get some more practice (and I wanted to write it up). I'll post on the problems later (thanks Tom!) but for now, these are the steps I took to install OBIEE 10.1.3.4 on Oracle Enterprise Linux 5, Update 4. For the uninitiated (i.e. Linux n00bs), it is no where near as "difficult" as installing the database. No creating "extra" users or groups...pretty much just rock 'n roll. I've already created a new VM with a user "oracle." Halfway through (this whole process) I thought about using "oraclebi" or something different as I will be installing 11gR2 on this machine, but I got lazy. Once the VM was created the very first thing I did was install Java 6 (1.6_0.17 or something) SDK with Java EE. I won't go through that installation, but you do need to remember, if you are new to Linux, that you must change the permissions on the .bin file to make it executable. Java is installed. Next up, I need to make sure the open-files parameter for ulimit is at or above 10240. How do you do that? With some help from a friend, I logged in as root and edited the /etc/security/limits.conf file. I added the following lines: #<domain> <type> <item> <value> #
#* soft core 0 #* hard rss 10000 #@student hard nproc 20 #@faculty soft nproc 20 #@faculty hard nproc 50 #ftp hard nproc 0 #@student - maxlogins 4 * soft nofile 10240 * hard nofile 63536 # End of file
Now logged in as oracle, I issue the ulimit -a command to see what the current setting is (should be 10240 as I specified that as the minimum (soft)) [oracle@localhost OracleBI]$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 20479 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 10240 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 20479 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited How did I know to do this? It's in the docs, page 46 or so. I also need to add 2 directories: [root@localhost ]# mkdir /usr/local/OracleBI [root@localhost ]# mkdir /usr/local/OracleBIData Then change the ownership of those directories to oracle [root@localhost ]# chown oracle /usr/local/OracleBI [root@localhost ]# chown oracle /usr/local/OracleBIData OK, we're cooking now. Wait, need to change the permissions on the location of the SDK you just installed. OBIEE provides you with a script to do this (and one to reverse it), but I just [root@localhost ]# chmod ugo+rwx /opt/SDK -R Yes, I opened it up to the world...this is just a sandbox. I can do what I want. Obviously not recommended for production purposes. Almost there. Navigate to your unzipped/untarred location which for me is /obiee: [oracle@localhost ]$ cd /obiee/RH_Linux/Server/Oracle_Business_Intelligence [oracle@localhost ]$ls -ltr total 882548 -rwxrwxrwx 1 oracle root 12 Dec 10 01:45 media.inf -rwxrwxrwx 1 oracle root 2460 Dec 10 01:45 setup.sh -rwxrwxrwx 1 oracle root 6395 Dec 10 01:45 license.xml drwxrwxrwx 4 oracle root 4096 Dec 10 01:45 Config -rwxrwxrwx 1 oracle root 859572849 Dec 10 01:47 setup.jar -rwxrwxrwx 1 oracle root 48675 Dec 10 01:47 UnixChk.sh drwxrwxrwx 2 oracle root 4096 Dec 10 01:47 help -rwxrwxrwx 1 oracle root 108 Dec 10 01:47 version.txt drwxrwxrwx 3 oracle root 4096 Dec 10 01:47 script -rwxrwxrwx 1 oracle root 43145508 Dec 10 01:47 Linux.bin drwxrwxrwx 3 oracle root 4096 Dec 10 01:47 doc First up, run the UnixChk.sh to make sure we've got everything. [oracle@localhost Oracle_Business_Intelligence]$ ./UnixChk.sh SUCCESS!! - This machine is configured for Oracle BI EE 10.1.3.4 Sweet. I'm running this in console mode because I can't seem to run the GUI. Both xterm and xclock work, as suggested by the installation guide, but it still fails. I'll worry about the another day. To install [oracle@localhost Oracle_Business_Intelligence]$ ./setup.sh -console InstallShield Wizard
Initializing InstallShield Wizard...
Preparing Java(tm) Virtual Machine... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ................................... ............ ------------------------------------------------------------------------------- Please read the information below.
IMPORTANT!!! The complete installed Oracle BI EE suite requires at least 2.5 GB of free disk space.
At least 200 MB of free disk space in the /tmp and /var/tmp directories is required for installing Oracle BI EE.
Press 1 for Next, 3 to Cancel or 4 to Redisplay [1] 1 That "Preparing Java(tm) Virtual Machine" part is where it was hanging up before...it takes about 60 seconds to initialize. Enter 1 and hit Enter. ------------------------------------------------------------------------------- Oracle Business Intelligence Installation
Welcome. Oracle Business Intelligence will be installed.
Browse or Enter the Installation Location: [/usr/local/OracleBI]
Browse or Enter the Data Location: [/usr/local/OracleBIData]
Select the Installation Type:
[X] 1 - Basic: Minimum security. Installs Oracle Containers for J2EE (OC4J). [ ] 2 - Advanced: Enhanced security. Requires Oracle Application Server 10.1.3.1.0 or greater.
To select an item enter its number, or 0 when you are finished: [0] Just hit enter to accept the default (Basic) Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 1 Enter 1 then Enter. Choose the setup type that best suits your needs.
[X] 1 - Complete All Oracle Business Intelligence components will be installed. [ ] 2 - Oracle Business Intelligence Server Only server components will be installed. (Includes Oracle Business Intelligence Server, Cluster Controller, Scheduler, Systems Management.) [ ] 3 - Oracle Business Intelligence Presentation Services Only presentation services components will be installed. (Includes Oracle Business Intelligence Presentation Services, Presentation Services Plug-in, BI Office, Systems Management.) [ ] 4 - Oracle Business Intelligence Client Tools Only client components will be installed. (Includes Oracle Business Intelligence Client Tools.) [ ] 5 - Oracle Business Intelligence Publisher Oracle Business Intelligence Publisher will be installed. [ ] 6 - Custom The program will be installed with the features you choose. Recommended for advanced users.
To select an item enter its number, or 0 when you are finished: [0] Hit Enter for Complete, otherwise enter the number for your choice. Enter 1, Enter (Next). Now you are prompted for the location of the SDK you just installed, enter it and hit Enter ------------------------------------------------------------------------------- Java Development Kit (JDK) Location
Java Development Kit 1.5.0 or greater is required.
Browse or Enter the JDK Location (JAVA_HOME): [] /opt/SDK/jdk Then enter your password, confirm it and hit "Next." Set the password for the oc4jadmin administrator user. This password should be used for any OC4J operations post-install. Remember the password because it cannot be reset and will be used for uninstallation.
Administrator username: oc4jadmin
Administrator password:
Confirm password:
Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 1 Error Message Language Selection...for me the default, hit Enter and then Next. Then Please wait... Error Message Language Selection
A chosen component requires the selection of a language for presentation of error messages. Please select one of the following languages:
[ ] 1 - Arabic [ ] 2 - Chinese (Simplified) [ ] 3 - Chinese (Traditional) [ ] 4 - Croatian [ ] 5 - Czech [ ] 6 - Danish [ ] 7 - Dutch [X] 8 - English [ ] 9 - Finnish [ ] 10 - French [ ] 11 - German [ ] 12 - Greek [ ] 13 - Hebrew [ ] 14 - Hungarian [ ] 15 - Italian [ ] 16 - Japanese [ ] 17 - Korean [ ] 18 - Norwegian [ ] 19 - Polish [ ] 20 - Portuguese (Brazilian) [ ] 21 - Portuguese (European) [ ] 22 - Romanian [ ] 23 - Russian [ ] 24 - Slovak [ ] 25 - Spanish [ ] 26 - Swedish [ ] 27 - Thai [ ] 28 - Turkish
To select an item enter its number, or 0 when you are finished: [0]
Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 1
Please wait... "Confirmation Screen", hit Next ------------------------------------------------------------------------------- Oracle Business Intelligence 10.1.3.4.1 will be installed in the following location:
/usr/local/OracleBI
with the following features:
Oracle Business Intelligence JDBC Driver Oracle Business Intelligence Systems Management Oracle Business Intelligence Server Oracle Business Intelligence Cluster Controller Oracle Business Intelligence Scheduler Oracle Business Intelligence Client Oracle Business Intelligence Presentation Services Oracle Business Intelligence Presentation Services Plug-in and BI Office Oracle Business Intelligence Publisher
for a total size:
2626.9 MB
Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 1 Then the fun starts... Installing $L(com.siebel.analytics.install.AnyStringConstants, InstallConfig.ProductName) $P(SiebelAnalyticsProductBean.productNumber). Please wait...
|-----------|-----------|-----------|------------| 0% 25% 50% 75% 100% |||||||||||||||||||||||||||||||||||||||||||||||||||
Installing Oracle Business Intelligence 10.1.3.4.1. Please wait... |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Creating uninstaller...
Please wait...
------------------------------------------------------------------------------- The InstallShield Wizard has successfully installed Oracle Business Intelligence 10.1.3.4.1. Choose Next to continue the wizard.
Press 1 for Next, 3 to Cancel or 4 to Redisplay [1] 1
------------------------------------------------------------------------------- Oracle Business Intelligence Installation Summary
The installation of Oracle Business Intelligence Enterprise Edition 10g (10.1.3.4.1) was successful.
Access the Welcome Page at /usr/local/OracleBI/index_bi_ee.html
Oracle Containers for J2EE (OC4J) is automatically started at the end of installation.
OC4J can be manually started by running the command: /usr/local/OracleBI/setup/oc4j -start
Press 1 for Next, 3 to Finish or 4 to Redisplay [1] 1 WARNING: could not delete locked file /tmp/ismp002/7262907 WARNING: could not delete locked file /tmp/ismp002 [oracle@localhost Oracle_Business_Intelligence]$ cd /usr/local/OracleBI I skipped a Next there, I didn't think you would mind. Total time for installation? Your software is installed, now what?Now you run and test it! Three things I need to do to start it: 1. Start the Oracle BI Server (ra-sa.sh) 2. Start the Presentation Services (ra-saw.sh) 3. Start the OC4J instance (oc4j) These files are located in /usr/local/OracleBI/setup [oracle@localhost OracleBI]$ ./setup/run-sa.sh start Oracle BI Server startup initiated. Please wait for a while for the Oracle BI Server to completely start. Execute the following command to check the Oracle BI Server logfile and see if it started. tail -f /usr/local/OracleBI/server/Log/NQServer.log [oracle@localhost OracleBI]$ tail -f /usr/local/OracleBI/server/Log/NQServer.log 2009-12-10 11:21:53 [36007] Loading repository /usr/local/OracleBI/server/Repository/samplesales.rpd. 2009-12-10 11:21:54 [14055] Loading subject area: Sample Sales ... 2009-12-10 11:21:56 [14056] Finished loading subject area: Sample Sales. 2009-12-10 11:21:56 [58002] Query Cache loaded with 0 entries from saved cache files. 2009-12-10 11:21:56 Analytics [oracle@localhost OracleBI]$ ./setup/run-saw.sh start Oracle BI Java Host startup initiated. Please check '/usr/local/OracleBIData/web/log/javahost.out.log' for Oracle BI Java Host startup details. Please go to the '/usr/local/OracleBIData/web/log/javahost' directory for Oracle BI Java Host log files after starting up. Oracle BI Presentation Services startup initiated. Please go to the '/usr/local/OracleBIData/web/log' directory for Oracle BI Presentation Services log files. And finally OC4J [oracle@localhost OracleBI]$ ./setup/oc4j -start Starting OC4J from /usr/local/OracleBI/oc4j_bi/j2ee/home ... Maybe now it's a finally...and finally some pretty pictures. OC4J Home  OC4J Admin Login  OC4J Admin  BI Publisher  Analytics  Next up, configuring data sources. Labels: howto, install, obiee
OBIEE: OEL Uninstall
I've been fighting with VirtualBox and OBIEE the last couple of days trying to get it installed. Finally resolved the issue early this morning with the help of a friend...post coming shortly. Now I'm uninstalling it so I can repeat the process from this morning in a more lucid state. I've found the documentation for OBIEE not quite as robust as the database documentation. Specifically, it's not HTML-ified. So direct linking is (near) impossible. On page 97 of the Oracle Business Intelligence Infrastructure Installation and Configuration Guide are the uninstall directions. Nothing fancy mind you, but I've gotten in the habit lately of documenting everything I do, no matter how seemingly mundane. In OracleBI_HOME there is a directory called...uninstall: [root@localhost local]# ls -ltr OracleBI total 96 -rwxr-x--- 1 oracle oracle 108 Dec 10 01:47 version.txt drwxr-x--- 2 oracle oracle 4096 Dec 10 01:51 log drwxr-x--- 3 oracle oracle 4096 Dec 10 01:51 Install_Backup drwxr-x--- 4 oracle oracle 4096 Dec 10 01:51 oui drwxr-x--- 2 oracle oracle 4096 Dec 10 01:51 index_bi_ee_files drwxr-x--- 3 oracle oracle 4096 Dec 10 01:52 install drwxr-x--- 17 oracle oracle 4096 Dec 10 01:52 oc4j_bi drwxr-x--- 4 oracle oracle 4096 Dec 10 01:53 systemsmanagement drwxr-x--- 4 oracle oracle 4096 Dec 10 01:57 odbc drwxr-x--- 2 oracle oracle 4096 Dec 10 01:57 jdbc drwxr-x--- 12 oracle oracle 4096 Dec 10 02:00 server drwxr-x--- 10 oracle oracle 4096 Dec 10 02:03 corda50 drwxr-x--- 2 oracle oracle 4096 Dec 10 02:03 setup drwxr-x--- 8 oracle oracle 4096 Dec 10 02:03 web drwxr-x--- 4 oracle oracle 4096 Dec 10 02:08 office drwxr-x--- 4 oracle oracle 4096 Dec 10 02:13 xmlp -rwxr-x--- 1 oracle oracle 22546 Dec 10 02:17 index_bi_ee.html drwxr-x--- 3 oracle oracle 4096 Dec 10 02:17 inventory drwxr-x--- 4 oracle oracle 4096 Dec 10 02:18 uninstall In that directory is setup.bin, run it. [oracle@localhost local]$ ./OracleBI/uninstall/setup.bin -console InstallShield Wizard
Initializing InstallShield Wizard...
Please wait... I was running it in console mode (i.e. command line interface or CLI) because I've been having problems getting the GUI version to run. Since I'm somewhat lazy, I haven't bothered to figure out the cause (xterm and xclock do work though). Again, the documentation on OBIEE isn't as strong as it is for the database. Console works just fine though... ------------------------------------------------------------------------------- Oracle Business Intelligence 10.1.3.4.1 will be uninstalled from the following location:
/usr/local/OracleBI
with the following features:
Oracle Business Intelligence JDBC Driver Oracle Business Intelligence Systems Management Oracle Business Intelligence Server Oracle Business Intelligence Cluster Controller Oracle Business Intelligence Scheduler Oracle Business Intelligence Client Oracle Business Intelligence Presentation Services Oracle Business Intelligence Presentation Services Plug-in and BI Office Oracle Business Intelligence Publisher
Press 1 for Next, 3 to Cancel or 4 to Redisplay [1] 1 Select 1 and Enter. You'll then be prompted for the oc4jadmin password ------------------------------------------------------------------------------- OC4J Administrator User Information
Enter the administrator user information for the Oracle Containers for J2EE (OC4J) which is used by Oracle Business Intelligence.
Administrator username: oc4jadmin
Administrator password: Administrator password: Administrator password:
Confirm password:
Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1] 1 Enter it, enter 1 and enter Enter (couldn't resist). Please wait while processes shutdown.
|-----------|-----------|-----------|------------| 0% 25% 50% 75% 100% ||||||||||||||||||||||||||||||||||||||||||||||||||
|-----------|-----------|-----------|------------| 0% 25% 50% 75% 100% |||||||||||||||||||||||||||||||||||||||||||||||||| Please wait while processes shutdown.
|-----------|-----------|-----------|------------| 0% 25% 50% 75% 100% ||||||||||||||||||||||||||||||||||||||||||||||||||
Uninstalling the Oracle BI Server PerfMon counters...
Uninstalling the Oracle BI Presentation Services PerfMon counters...
Uninstalling Oracle Business Intelligence 10.1.3.4.1...
------------------------------------------------------------------------------- The InstallShield Wizard has successfully uninstalled Oracle Business Intelligence 10.1.3.4.1. Choose Finish to exit the wizard.
Press 1 for Next, 3 to Finish or 4 to Redisplay [1] 1 WARNING: could not delete locked file /usr/local/OracleBI/systemsmanagement/resources WARNING: could not delete locked file /tmp/ismp001 WARNING: could not delete locked file /usr/local/OracleBI/server/Repository WARNING: could not delete locked file /usr/local/OracleBI/server/Sample WARNING: could not delete locked file /usr/local/OracleBI/systemsmanagement WARNING: could not delete locked file /usr/local/OracleBI/Install_Backup WARNING: could not delete locked file /usr/local/OracleBI/xmlp/XMLP/Admin/Security WARNING: could not delete locked file /usr/local/OracleBI/server/Sample/paint WARNING: could not delete locked file /usr/local/OracleBI/xmlp WARNING: could not delete locked file /usr/local/OracleBIData/web/log WARNING: could not delete locked file /usr/local/OracleBI/xmlp/XMLP WARNING: could not delete locked file /usr/local/OracleBI/xmlp/XMLP/Admin WARNING: could not delete locked file /usr/local/OracleBI/server/Bin WARNING: could not delete locked file /usr/local/OracleBI/server/Sample/samplesales WARNING: could not delete locked file /tmp/ismp001/5409220 WARNING: could not delete locked file /usr/local/OracleBIData/web All done. Now a little cleanup: [oracle@localhost local]$ rm -Rf OracleBI rm: cannot remove directory `OracleBI': Permission denied [oracle@localhost local]$ su root Password: [root@localhost local]# ls -ltr total 80 drwxr-xr-x 2 root root 4096 Jan 8 2009 src drwxr-xr-x 2 root root 4096 Jan 8 2009 sbin drwxr-xr-x 2 root root 4096 Jan 8 2009 libexec drwxr-xr-x 2 root root 4096 Jan 8 2009 lib drwxr-xr-x 2 root root 4096 Jan 8 2009 include drwxr-xr-x 2 root root 4096 Jan 8 2009 games drwxr-xr-x 2 root root 4096 Jan 8 2009 etc drwxr-xr-x 2 root root 4096 Jan 8 2009 bin drwxr-xr-x 4 root root 4096 Dec 8 05:41 share drwxr-x--- 3 oracle root 4096 Dec 10 09:12 OracleBIData drwxr-x--- 2 oracle root 4096 Dec 10 09:13 OracleBI [root@localhost local]# rm -Rf OracleBI [root@localhost local]# rm -Rf OracleBIData/ [root@localhost local]# ls -ltr total 72 drwxr-xr-x 2 root root 4096 Jan 8 2009 src drwxr-xr-x 2 root root 4096 Jan 8 2009 sbin drwxr-xr-x 2 root root 4096 Jan 8 2009 libexec drwxr-xr-x 2 root root 4096 Jan 8 2009 lib drwxr-xr-x 2 root root 4096 Jan 8 2009 include drwxr-xr-x 2 root root 4096 Jan 8 2009 games drwxr-xr-x 2 root root 4096 Jan 8 2009 etc drwxr-xr-x 2 root root 4096 Jan 8 2009 bin drwxr-xr-x 4 root root 4096 Dec 8 05:41 share Done. Now to reinstall for the last time. Labels: howto, install, obiee
EBS Install Guide - Part 2
By John Piwowar [ blog | twitter ] This is the second post in my "Installing E-Business Suite" series, where we actually install the software. Hopefully by now you've read part 1, downloaded the software, and configured your Linux server. Thanks again to Chet for the opportunity to share on his blog; I'm enjoying this guest spot on ORACLENERD Inc's New Media Empire (2.0!). And now, welcome to screenshot village; we hope you enjoy your stay.Part 1 --> Part 2 --> Part 3 --> Part 4The Oracle Applications Rapid Install Wizard, more commonly called RapidWiz, drives the EBS installation process. If you're accustomed to using the Oracle Universal Installer, you'll find that RapidWiz "feels" a bit different, but it still has that comforting grey, "Hi, I'm a Java-based Oracle software installer!" look to it. Step 1: Launching RapidWizLog in to your Linux server's desktop as root, not oracle. Open a terminal window and change to the startCD/Disk1/rapidwiz subdirectory of the software staging area Run the rapidwiz utility in that directory: [root@londo R12stage]# cd startCD/Disk1/rapidwiz/ [root@londo rapidwiz]# ./rapidwiz You should see a few launch messages in your terminal window, and the welcome screen of the installer will appear. Click Next: Step 2: Select installation typeIn the Wizard Operations window, make sure that "Install Oracle Applications" is selected, but do not check the Express Install box. Click Next: Step 3: OCM configurationIn the Oracle Configuration Manager window, leave all the fields and options blank, and click Next. OCM is not a complication we need right now. :-) Step 4: Configuration ChoiceSince this is a new install, select the first option ("Create a new configuration") in the Configuration Options window and click Next. Step 5: Port pool assignmentSelect a number between 0 and 99 from the port pool list in the Global System Settings window, then click Next. Doesn't matter which number; choose your favorite. In past releases I've had issues where selecting 0, 1, or 99 has caused strange problems later, but those were pretty obscure and not consistently repeatable, so don't let that stop you from living on the edge. ;-) Step 6: Database node configurationNow we're finally getting to the fun bits! In the Database Node Configuration window, verify that the following fields have correct values: - Database type is "Vision Demo Database"
- Hostname and domain name match the host and domain names on your Linux server. If you've configured this correctly in /etc/hosts and /etc/sysconfig/network, RapidWiz should pull the correct values.
- The Operating System value should match your server's platform (Linux x86 or Linux x86-64)
Change the following fields as necessary: - Database SID: You can leave this at the default (VIS), or change it if you prefer.
- Database OS user: The OS user you created in part 1 as the owner of the Oracle software (e.g. oravis)
- Database OS group: Change to oinstall
- Base Directory: This should be set to a directory in the Very Large Mount Point(tm) that you created in part 1. RapidWiz doesn't exactly conform to the OFA standard, but if you're picky about such things, you can click the "Edit Paths" button for finer control over where things go. I'm usually picky, but for the sake of saving you a few more screenshots, I'm letting RapidWiz decide where to file everything this time. :-)
 Note: If your specified base directory doesn't exist, you'll need to create it. Um, whoops. Actually, I intentionally skipped that step just so you could get an example of what error conditions you might encounter during configuration. That's me, taking one for the team. It's just the sort of guy I am.  Make sure to change the ownership, and to grant write permissions to the oinstall group: [root@londo rapidwiz]# cd /u01 [root@londo u01]# mkdir -m 775 -p ebs/R12VIS [root@londo u01]# chown -R oravis:oinstall ebs [root@londo u01]# ls -lR ebs Click OK once you've created the base directory, make sure the installer has retained your other configuration settings, and click Next. Step 7: Applications node configurationThe next window, "Primary Applications Node Configuration," takes most of its values from the database node configuration. You'll need to change the values of Apps OS user and Apps OS group to match the ones created in part 1 of this series. Everything else should be fine; you'll just need to verify. Again, if you want to tinker with specific locations in the installation, you can click the Edit Paths button, but that's beyond the scope of these instructions. Oh yeah, and click Next when you're done. Step 8: Node information reviewThe Node Information window presents a review of the servers you've configured so far, and offers the option to add an additional server. Adding a server would be useful in the case of multi-node installations, but for now, just click (what else?) Next: Step 9: Pre-install system checksRapidWiz will pop up a window showing the system checks it is performing prior to installation. Basically, it's making sure that the necessary ports are open for the applications and database to run, that there's enough disk space to install, that it can write to all its directories, etc. After the checks are done, a Pre-Install Checks results window will appear. Hopefully you'll see all green checkmarks, as below. If you see red X's next to any of the test categories, click on the X to see a log from the test run, find and fix the errors, and click the Retry button to re-run the tests. Once all tests have been run successfully, click Next.  Step 10: The actual installation partClick Next at the Install Review window, then Yes in the inevitable "are you sure you want to install?" box, and you're off to the races! Or maybe off to run some errands while blue bars crawl across the installer windows for a few hours, whichever. You'll notice that the terminal window from which you launched RapidWiz will display some information about where it's writing out log files. Hopefully we won't need those, because the installation will just go swimmingly, right?  Step 11: Post-install checksAfter a while (probably a few hours, depending on how speedy your server is) the installation will complete, and post-install checks will begin. If some of the post-install checks are listed as failed initially, don't be too worried. The initial startup of E-Business Suite can pretty resource-intensive, and it's not unusual for some of the post-install checks to time out waiting for responses from web pages, or for application server components themselves to time out when starting up. Keep in mind that you're installing software intended to run on server-class hardware, and your server might be under spec somewhere (disk speed, CPU, memory).  Here's what my post-install checks looked like the first time around. Ouch. As with the pre-install checks, you can click on the icons to see more about the failed checks. I'll spare you all 5 screenshots, but in this case, all the messages have the same theme: HTTP server taking too long to respond. Step 12: A troubleshooting interludeMy poor 2-CPU "server" had a load average above 10 when the post-install checks first ran, and a ridiculous level of I/O wait (thanks, 5400RPM hard drive!), so the first thing I did was to wait until the system has settled down a bit, and then click the Retry button. Unfortunately, the outcome of the post-install checks didn't change, so I had to look into fixing the web server. What follows may not be applicable to your install situation, but it does provide a small taste of basic Oracle Applications troubleshooting, so please bear with me. If you get bored, or if your post-install checks were all successful, you can always skip ahead to step 14. ;-) The first thing I did was to log in as the owner of the Oracle Applications software, applvis in this case. Then, I set up the OS environment to be able to better navigate the various sections of the Apps filesystem. You'll often hear this called "sourcing the Apps environment." [root@londo ~]# su - applvis [applvis@londo ~]$ . /u01/ebs/R12VIS/apps/apps_st/appl/R12VIS_londo.env If you don't feel like digging through the documentation to find out where the Apps environment file should be for your system, you can find the value from the result of the "Environment File" post-install check. The output from that check lists a number of environment files; the one that's relevant here is the " APPL_TOP environment file." Using the newly-defined environment variables, I checked the status of the 10g Application Server components and tried to restart the web server: [applvis@londo ~]$ $ADMIN_SCRIPTS_HOME/adopmnctl.sh status You are running adopmnctl.sh version 120.6 Checking status of OPMN managed processes... Processes in Instance: R12VIS_londo.londo.local ---------------------------------+--------------------+---------+--------- ias-component | process-type | pid | status ---------------------------------+--------------------+---------+--------- OC4JGroup:default_group | OC4J:oafm | 10677 | Alive OC4JGroup:default_group | OC4J:forms | 12390 | Alive OC4JGroup:default_group | OC4J:oacore | 10505 | Alive HTTP_Server | HTTP_Server | N/A | Down
adopmnctl.sh: exiting with status 0 adopmnctl.sh: check the logfile /u01/ebs/R12VIS/inst/apps/R12VIS_londo/logs/appl/admin/log/adopmnctl.txt for more information ... This confirms that the web server is the only component that's currently failing, and the other app server components of the system are starting as expected. [applvis@londo ~]$ $ADMIN_SCRIPTS_HOME adapcctl.sh start You are running adapcctl.sh version 120.7.12010000.2 Starting OPMN managed Oracle HTTP Server (OHS) instance ... opmnctl: opmn is already running. opmnctl: starting opmn managed processes... ================================================================================ opmn id=londo.local:6255 0 of 1 processes started. ias-instance id=R12VIS_londo.londo.local ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -------------------------------------------------------------------------------- ias-component/process-type/process-set: HTTP_Server/HTTP_Server/HTTP_Server/ Error --> Process (index=1,uid=1625958549,pid=26727) failed to start a managed process after the maximum retry limit Log:/u01/ebs/R12VIS/inst/apps/R12VIS_londo/logs/ora/10.1.3/opmn/HTTP_Server~1.log
adapcctl.sh: exiting with status 0adapcctl.sh: check the logfile /u01/ebs/R12VIS/inst/apps/R12VIS_londo/logs/appl/admin/log/adapcctl.txt for more information ... That doesn't look so great, but at least I have a log file to review: [applvis@londo ~]$ tail /u01/ebs/R12VIS/inst/apps/R12VIS_londo/logs/ora/10.1.3/opmn/HTTP_Server~1.log -------- 09/12/05 19:28:55 Start process -------- /u01/ebs/R12VIS/inst/apps/R12VIS_londo/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd /u01/ebs/R12VIS/apps/tech_st/10.1.3/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory That missing shared object library file is the most likely culprit. This often, but not always, means that there's a required OS package missing. In this case, a review of the installed packages on my server didn't show anything missing, so I turned to Google and My Oracle Support. I quickly found a handful of references in OTN forums and Oracle's non-EBS documentation to a quirk of installing R12.1 on 64-bit Oracle Enterprise Linux 5. One symlink later, and I was on my way: [root@londo ~]# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2 [applvis@londo ~]$ $ADMIN_SCRIPTS_HOME/adapcctl.sh start You are running adapcctl.sh version 120.7.12010000.2 Starting OPMN managed Oracle HTTP Server (OHS) instance ... opmnctl: opmn is already running. opmnctl: starting opmn managed processes... adapcctl.sh: exiting with status 0 adapcctl.sh: check the logfile /u01/ebs/R12VIS/inst/apps/R12VIS_londo/logs/appl/admin/log/adapcctl.txt for more information ... [applvis@londo ~]$ $ADMIN_SCRIPTS_HOME/adopmnctl.sh status You are running adopmnctl.sh version 120.6 Checking status of OPMN managed processes...Processes in Instance: R12VIS_londo.londo.local ---------------------------------+--------------------+---------+--------- ias-component | process-type | pid | status ---------------------------------+--------------------+---------+--------- OC4JGroup:default_group | OC4J:oafm | 10677 | Alive OC4JGroup:default_group | OC4J:forms | 12390 | Alive OC4JGroup:default_group | OC4J:oacore | 10505 | Alive HTTP_Server | HTTP_Server | 29299 | Alive After that, the post-install checks all came back green. Which is good, because I hadn't clicked Next in a while: Step 14: Grand Finale(what, you thought I'd risk the whole exercise by ending on step 13?)And now, after hours of downloads and nigh-endless unzipping, the EBS install is done! That tempting "Connect to Oracle Applications Release 12.1.1" button may work, but if it doesn't, don't despair. Click Finish, open a web browser, and go the URL http:// server.domain:80nn. The value for nn is the "port pool" value you selected in the early stages of the installation. Hopefully you know what "server" and "domain" are. :-) For example, when I browse to http://londo.local:8055, I am redirected to the main login page for EBS:   If you want to start looking around a little bit, the "superuser" for Oracle Applications is SYSADMIN, and the default password for the account is the same as the username. If you attempt to launch any of the Oracle Forms-based parts of the Apps interface from a browser on your Linux server, you may run into trouble. The EBS Forms interface is famously finicky on Linux-based browsers; I usually access EBS from browser on a Windows or OS X desktop, rather than from Linux, but the OTN forums are full of tips on how to get EBS Forms working on Linux. I'll try to dig up some links for the next post, or you can chime in with comments if you've already been down that road. Thanks for following along! I hope that your installation experience is even more painless than this one. In part 3, I'll cover a few basic topics following the theme, "great, it's installed, now what do I do?" ReferencesLabels: ebs, howto, install, jpiwowar, oracle
|