Author Topic: Error Creating Instance using Oracle  (Read 1306 times)

Joe Wolken

  • Full Member
  • ***
  • Posts: 113
  • CMOD iSeries Consultant
    • View Profile
    • OAS Corp.
Error Creating Instance using Oracle
« on: September 24, 2021, 12:23:46 PM »
We have successfully installed and tested an identical QA Server (Instance = ondq) and we are now trying to replicate the process (following IBM Installation manual) to install and configure the PROD server (Instance = ondp).   It is:
RHELinux
Oracle v.19.10.0
CMOD v.10.5

The product installs successfully.  We compared these files to match the setting on QA but changing ondq to ondp:
/opt/ibm/ondemand/V10.5/config/ars.cfg
/opt/ibm/ondemand/V10.5/config/ars.ini
/opt/ibm/ondemand/V10.5/config/ars.dbfs

We get the following error when running the command:  arsdb -I ondp -rtv

[ondp@ause2ldaondp001 config]$ /opt/ibm/ondemand/V10.5/bin/arsdb -I ondp -rtv

ARS4054E DB Error: ORA-12154: TNS:could not resolve the connect identifier specified -- SQLSTATE=, SQLCODE=12154
ARS4023E Unable to connect to ORACLE ondp database

Our Oracle administrator seems to think that the Oracle database on ondp is configured the same as ondq...

Does anyone have an idea what is causing this error or what else to check or resolve this?

Thanks,
Joe
#Installation #Upgrade #Migration #Administration #Integration #Customization #Training, and more!

Call: 512-402-1123
email: wolkenj@oascorp.com 
Click: http://www.OASCorp.com

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Error Creating Instance using Oracle
« Reply #1 on: September 27, 2021, 07:22:52 AM »
Hey Joe...

Can we see the contents of the ars.ini file?

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

Joe Wolken

  • Full Member
  • ***
  • Posts: 113
  • CMOD iSeries Consultant
    • View Profile
    • OAS Corp.
Re: Error Creating Instance using Oracle
« Reply #2 on: September 27, 2021, 12:14:35 PM »
Sure,  Here are the content of the ars.ini file:  I welcome any suggestions, especially if they help solve the problem.  This is basically identical to the QA server we have operational.  We just replaced ondq with ondp on several rows.

[@SRV@_ONDP]
HOST=ause2ldaondp001.company.net
PROTOCOL=2
PORT=0
SRVR_INSTANCE=ondp
SRVR_INSTANCE_OWNER=ondp
SRVR_OD_CFG=/opt/ibm/ondemand/V10.5/config/ars.cfg
SRVR_DB_CFG=/opt/ibm/ondemand/V10.5/config/ars.dbfs
SRVR_SM_CFG=/opt/ibm/ondemand/V10.5/config/ars.cache
SRVR_OD_STASH=/opt/ibm/ondemand/V10.5/config/ars.stash

[@SRV@_DD]
PROTOCOL=1
#Installation #Upgrade #Migration #Administration #Integration #Customization #Training, and more!

Call: 512-402-1123
email: wolkenj@oascorp.com 
Click: http://www.OASCorp.com

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Error Creating Instance using Oracle
« Reply #3 on: September 28, 2021, 09:13:37 AM »
Yeah, everything looks fine with the ini file - I'd have to guess there's still something wrong with the Oracle config. 

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

Joe Wolken

  • Full Member
  • ***
  • Posts: 113
  • CMOD iSeries Consultant
    • View Profile
    • OAS Corp.
Re: Error Creating Instance using Oracle
« Reply #4 on: October 01, 2021, 06:27:57 AM »
Problem resolved.  As we suspected it was an Oracle issue.  Specifically, there was not sufficient permissions granted to the tnsnames.ora file.  The Oracle admin opened up the permissions to the file and the CMDOD arsdb command worked like expected.

Thanks,
Joe
#Installation #Upgrade #Migration #Administration #Integration #Customization #Training, and more!

Call: 512-402-1123
email: wolkenj@oascorp.com 
Click: http://www.OASCorp.com

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Error Creating Instance using Oracle
« Reply #5 on: October 04, 2021, 04:15:04 AM »
Awesome.  Thanks for posting the solution.  :)
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR