otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
MavenWire


Database Administration Database installation, creation, administration and related topics.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old January 12th, 2010, 02:29
Member
 
Join Date: Aug 2009
Location: Hyderabad, India
Posts: 57
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 1
bscyadav is on a distinguished road
Lightbulb shortcut to OTM DB installation

Hi All,
As a learning / new commer to OTM biggest challenge was to install OTM, When ever I was installing OTM the biggest problem was with the DB scripts which were never getting installed fully as there was allways an error not sure if it was only my issue, infact I had tracked many issues posted with same errors.
This post is to create a short cut on reducing the script running problem

This is only for people who want to install OTM for learning or Training purpose and not for any

This for 5.5v CU5
Files listed
OTM-DB-OLD.doc -> Old steps as mentioned in Admin Guide
OTM-DB-NEW.doc -> modified by me.
TABLE_SPACE.sql -> in case you encounter the problem with standard file use this.
imp_otmv55.par -> DB import file.
otmDUMP_04012010.dmp -> database dump file

hope this helps!!
Attached Files
File Type: zip OTM_DB_install.zip (9.66 MB, 18 views)
__________________
B.S.Chakravarthy Yadav
Product Design Head
Kirasol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old January 13th, 2010, 01:53
Senior Member
 
Join Date: Apr 2008
Location: Taiwan
Posts: 209
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 12
Thanked 97 Times in 74 Posts
Rep Power: 3
josephliang will become famous soon enoughjosephliang will become famous soon enough
Send a message via MSN to josephliang Send a message via Skype™ to josephliang
Re: shortcut to OTM DB installation

Nice work of putting everthing together.
However, I found some parts you are missing or misunderstood.

Here are my tips for OTM DB Installation:
Create Database
Make sure DB parameter O7_DICTIONARY_ACCESSIBILITY=true
This is the most important step. Without this, you might encounter all kind of problems later.

Create Tablespace
Make sure you have at least 4GB for DATA and INDX tablespaces to import OTM seeded DB dump (otmv55_partition.dmp)

Import Database
Based on my experiences, it's better to import DB by sys (despite OTM Admin Guide says to use system)

OTM DB Scripts
Make sure all scripts in Admin Guide are executed without error.

dbpatch_55.sql
- No matter for fresh installation or upgrade, dbpatch_55.sql MUST be applied.
- Before execute the script, make sure the following classes are in CLASSPATH, if you are using OAS
[OTM]/oas/j2ee/home/lib/ejb.jar
[OTM]/oas/j2ee/home/lib/jta.jar
[OTM]/oas/jdbc/lib/ojdbc14dms.jar
[OTM]/oas/lib/dms.jar
- After the script is completed, check the log files (dbpatch_xxx.log and update_content_xxx.log) to ensure they are error free before proceeding to the next step

Export Database
For backup or DB transfer purpose, you might need to export DB. Based on my experiences, you must export DB by sys with FULL=Y option or using exp_GC3.par

Re-import Database
For restore or DB transfer purpose, you might need to re-import DB. After DB is imported, re-apply OTM DB scripts including insert_security_roles.sql, but NO need to re-apply dbpatch_55.sql
__________________
--
Joseph Liang
Enterprise Integration, Inc.

http://www.eiisolutions.net/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to josephliang For This Useful Post:
chrisplough (January 20th, 2010)
  #3 (permalink)  
Old January 13th, 2010, 10:59
Member
 
Join Date: Aug 2009
Location: Hyderabad, India
Posts: 57
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 1
bscyadav is on a distinguished road
Re: shortcut to OTM DB installation

Hi Joseph,
Thanks for the input,

Actaully the .dmp was taken after the execution of dbpatch_55.sql and insert_security_roles.sql

sorry to ask a dumb question as I am a semi technical guy and not a DBA what difference does it make if i don't run these scripts as already the dump contains the executed scripts and i simply import the .dmp as when i test the same the object count and the DB structure remained same.
or am i missing smething?
Thanks




__________________
B.S.Chakravarthy Yadav
Product Design Head
Kirasol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old January 13th, 2010, 13:34
Senior Member
 
Join Date: Apr 2008
Location: Taiwan
Posts: 209
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 12
Thanked 97 Times in 74 Posts
Rep Power: 3
josephliang will become famous soon enoughjosephliang will become famous soon enough
Send a message via MSN to josephliang Send a message via Skype™ to josephliang
Re: shortcut to OTM DB installation

See OTM Admin Guide (http://download.oracle.com/docs/cd/B...nistration.pdf) - Oracle Export/Import Utility section
Quote:
8. After the import finished successfully, there are post-import SQL scripts to be run in the target database. The steps to run these scripts are described in the Installing Oracle Transportation Management on the Database Server section. It is important to follow the instructions to run the scripts. Ensure you log in to the database as right users when running the scripts.
__________________
--
Joseph Liang
Enterprise Integration, Inc.

http://www.eiisolutions.net/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old January 14th, 2010, 00:58
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 378
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 67 Times in 63 Posts
Rep Power: 3
nick.polites will become famous soon enough
Re: shortcut to OTM DB installation

Quote:
Originally Posted by josephliang View Post
Here are my tips for OTM DB Installation:
Create Database
Make sure DB parameter O7_DICTIONARY_ACCESSIBILITY=true
This is the most important step. Without this, you might encounter all kind of problems later.

Just a note that in 6.1 this is changed to false. You will need to login as sysdba before any of your connect strings to import/export a database going forward. Also insert_security_roles.sql is no longer used.
__________________
MavenWire Hosting Admin
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to nick.polites For This Useful Post:
josephliang (January 14th, 2010)
  #6 (permalink)  
Old January 14th, 2010, 01:11
Senior Member
 
Join Date: Apr 2008
Location: Taiwan
Posts: 209
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 12
Thanked 97 Times in 74 Posts
Rep Power: 3
josephliang will become famous soon enoughjosephliang will become famous soon enough
Send a message via MSN to josephliang Send a message via Skype™ to josephliang
Re: shortcut to OTM DB installation

Need to start learning 6.x after this project
__________________
--
Joseph Liang
Enterprise Integration, Inc.

http://www.eiisolutions.net/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old January 19th, 2010, 11:37
Member
 
Join Date: Aug 2009
Location: Hyderabad, India
Posts: 57
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 1
bscyadav is on a distinguished road
Unhappy Re: shortcut to OTM DB installation

Hi
I am not sure if this is a valid request,
Is it possible for any member to upload a DB dump as i have done for 5.5 CU5 for 6.0 as i want to compare the same.
Actually I amworking on OTM SeedDB concept where we generally used to upload to create all the setups in our previous ERP application and instead of running the scripts for every new customer we just use to import this dump.
Above request is for testing in my personal meachine and not for any commercial use
Thanks in advance
__________________
B.S.Chakravarthy Yadav
Product Design Head
Kirasol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old January 20th, 2010, 07:20
Member
 
Join Date: Aug 2009
Location: Hyderabad, India
Posts: 57
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 1
bscyadav is on a distinguished road
Exclamation Re: shortcut to OTM DB installation

When I am trying to install Db for OTM 6.0 I am not ale to set O7_DICTIONARY_ACCESSIBILITY to true
It is allways returning false

I tried below command at SQLPROMPT
alter system set o7_dictionary_accessibility=true scope=spfile;
and also
set the same in init.ora file

but still I am getting error : O7_DICTIONARY_ACCESSIBILITY is false.
is there any other way to make it as true
__________________
B.S.Chakravarthy Yadav
Product Design Head
Kirasol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old January 20th, 2010, 08:08
Member
 
Join Date: Aug 2009
Location: Hyderabad, India
Posts: 57
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 1
bscyadav is on a distinguished road
Lightbulb Re: shortcut to OTM DB installation

got the ans from a DBA
after executing the
alter system set o7_dictionary_accessibility=true scope=spfile;
we need to execute
startup force command in SQLPROMPT
__________________
B.S.Chakravarthy Yadav
Product Design Head
Kirasol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old January 20th, 2010, 09:25
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 1,167
Blog Entries: 8
Groans: 0
Groaned at 1 Time in 1 Post
Thanks: 143
Thanked 258 Times in 161 Posts
Rep Power: 10
chrisplough is a jewel in the roughchrisplough is a jewel in the roughchrisplough is a jewel in the rough
Send a message via AIM to chrisplough
Re: shortcut to OTM DB installation

Don't worry - even I keep a note doc with some of the install differences. It's funny how much changes with v6.1

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Otm 55 Cu5 Installation On Aix raghulakshman Installation and Upgrades 1 November 24th, 2008 16:42
OTM 5.5 CU4 Installation dgoli Installation and Upgrades 22 June 14th, 2008 15:23
OTM installation nikesh mohanlal Reports / BI / FTI and Other Analytics 3 February 20th, 2008 11:19
OTM - FTI Installation surender Hardware and Platforms 1 February 1st, 2008 12:07
OTM 5.5.3 Installation gokul Installation and Upgrades 3 December 11th, 2007 17:44



All times are GMT. The time now is 08:22.
Copyright © 2006-2009, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40