Usage of orainstRoot.sh and root.Sh execution in Oracle 10g Installation:
The first Script that we run is orainstRoot.sh which is located in $ORACLE_BASE/oraInventory for example : /u01/opt/app/oracle/oraInventory
The script should be run as root user
The usage of this script is :
It creates the inventory pointer file (/etc/oraInst.loc), The file shows the inventory location and group it is linked to.
Changing groupname of the oraInventory directory to oinstall group.
The second Script is root.sh, which should be run as root user
root.sh script performs many things, namely
It changes or correctly sets the environment variables
copying of few files into /usr/local/bin , the files are dbhome,oraenv,coraenv etc.
creation of /etc/oratab file or adding database home and SID's entry into /etc/oratab file.
root.sh script is located in $ORACLE_HOME directory.
The best way what else operations are performed when we run these script is to pay attention when we execute those and read the script execution log.
hope it help you all a bit.
Cheers...
15 years 3 months + of experience in database administration, performance engineering and software cost optimization. Expert in architecture of large scale product, service features in product developments and several POCs executions. Specialty in Database administration, Database Performance, SQL, PLSQL, Shell, Simple solutions for Designing Performance engineering solutions, actively working on Software Cost Optimization in CLOUD. Always ready for new challenges with simple solutions
Thursday, February 18, 2010
Subscribe to:
Post Comments (Atom)
thanks a lot, really understood it..
ReplyDelete