Ask Your Question
0

How to execute runInstaller of oracle database using puppet

asked 2016-12-16 06:38:33 -0600

Saket gravatar image

updated 2016-12-19 09:18:47 -0600

DarylW gravatar image

I have created a script like below to install oracle database but not able to run it. Kindly suggest the proper steps for execution.

Puppet scripts are created by root user and script is executing from root user but the installation should be executed from oracle user.

exec{"DB Installation":
  command => "/u01/saket/software/database/runInstaller -silent -ignorePrereq -showProgress -responseFile /u01/saket/software/db_response.rsp'",
  user => "oracle",
  cwd => "/u01/saket/software/database",
  environment => [
   'TMP=/u01/saket/app/tmp',
   'ORACLE_BASE=/u01/saket/app',
   'ORACLE_HOME=$ORACLE_BASE/oracle/product/11.2.0/db_1',
   'LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib',
   'CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib'
 ],
}
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-12-21 11:55:06 -0600

stivesso gravatar image

Hello,

I'm suggesting that you use biemond/oradb Forge Module for your Oracle DB Installation (much simpler...). If you're confused about to use it for Oracle DB Installation, then this post can be used as a how-to: Oracle Database Server Installation with biemond/oradb

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-12-16 06:38:33 -0600

Seen: 42 times

Last updated: Dec 21 '16