On a good day, installing the oracle driver for python goes like:

$ ORACLE_HOME=/opt/oracle/wherever-your-libocci-lives/ pip install cx_Oracle

Such good days are sufficiently rare that I'm looking into 
jython<https://informatics.gpcnetwork.org/trac/Project/wiki/BuilderSaga#Appendix:ConsiderJython>
 so we can just use the JDBC driver. I know a lot more than I really want to 
about installing cx_Oracle on various linux distributions, so if you can supply 
specific diagnostics, I can probably help you get past any issues.

Our oracle config (currently) looks like:
[deid]
username = data_builder
database = BHeronB2
host = localhost
drivername = oracle+cx_oracle
password = %(EXTRACT_PASSWORD)s
port = 1521
and when we run dfbuilder.py, we set the EXTRACT_PASSWORD environment variable 
appropriately (using Jenkins).

I expect BHeronB2 isn't portable to your site; salt to taste.

The host = localhost because we use ssh tunnels to connect to the Oracle 
database server; again, salt to taste.

--
Dan

________________________________
From: Phillip Reeder [[email protected]]
Sent: Tuesday, January 06, 2015 1:53 PM
To: Dan Connolly
Cc: [email protected]
Subject: Re: Installing DataBuilder

Do you have a mk file with the oracle driver for Python?  It looks like the vm 
install downloads the pg driver.  I’m planning to sit down with our sysadmin on 
that server tomorrow and attempt the install.  If it works,  I’ll document the 
changes and make sure the gpc-dev group gets them.

Also, if you have a dfbuild-extract.conf.example with an oracle driver info in 
it, I’ll probably need that too.

Thanks,
Phillip

From: Dan Connolly <[email protected]<mailto:[email protected]>>
Date: Tuesday, January 6, 2015 at 1:31 PM
To: Phillip Reeder 
<[email protected]<mailto:[email protected]>>
Subject: RE: Installing DataBuilder

It was developed for Oracle; that's how we normally run it.

I'm not sure what to tell you beyond the installation documentation in the 
source code. I'm willing to help with any specific problems that come up; copy 
the gpc-dev list if you can, please, so that we all learn together.

--
Dan

________________________________
From: Phillip Reeder 
[[email protected]<mailto:[email protected]>]
Sent: Tuesday, January 06, 2015 1:23 PM
To: Dan Connolly
Subject: Installing DataBuilder

What is required to install DataBuilder on a non-i2b2 VM machine, and one 
running oracle, not postgress?  I’m looking at installing it on our dev machine 
and trying to figure out the best path to take, without killing our dev i2b2 
server:).

If I change the paths to my webclient & i2b2 url’s etc in the i2b2_vm_deploy.mk 
file,  do you think it will get me close enough that with a little help 
debugging, we could make it work?

Thanks,
Phillip

________________________________

UT Southwestern


Medical Center



The future of medicine, today.

_______________________________________________
Gpc-dev mailing list
[email protected]
http://listserv.kumc.edu/mailman/listinfo/gpc-dev

Reply via email to