Skip to content

anthshor/oracledb-multi-nodejs

Repository files navigation

#Multiple node.js -> Oracle DB

##Pre Requirements

  • Vagrant (www.vagrantup.com)
  • VirtualBox
  • Software directory with Oracle binaries already downloaded and contained within it:
$ ls software
keep								oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm
linuxamd64_12102_database_1of2.zip				oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm
linuxamd64_12102_database_2of2.zip				oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm

##Summary:

####DB node (2Gb mem):

  • Install oracle-rdbms-server-12cR1-preinstall
  • Install DB software
  • Create database
  • Install node.js
  • Install node.js driver for Oracle

####Web Tier x 5 (1Gb mem each):

  • Install instant client
  • Install node.js
  • Install driver for Oracle
  • Run test

####Background A simple test query (web_connect_test.js) are executed from each of the 5 remote web servers to the Oracle DB and the results are displayed in the browser.

Run

vagrant up | tee vagrant.log

####Open browser for each web node to see if it's worked:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published