This action might not be possible to undo. Are you sure you want to continue?
Take the Oracle users backup through exp command : Connect server with user oracle/oracle : $exp [user name]/[passwd] Enter array fetch buffer size: 4096 > 30000 Export file: expdat.dmp >[Your dmp file name ] (1)E(ntire database), (2)U(sers), or (3)T(ables): (2)U > 2 Export grants (yes/no): yes >y Export table data (yes/no): yes >y Compress extents (yes/no): yes >y User to be exported: (RETURN to quit) > press only Enter ….. ….. Export terminated successfully without warnings 2. Take the cold back up as follows : a. Shutting down the database as follows : Connect server with user oracle/oracle $sqlplus /nolog SQL>/as sysdba SQL>shutdown immediate ; Please wait till the message displays“database closed”. b. Copy physically the SYS, Data , ctl, Redo and .dbf files with cp command which are located in the following destination : /u01/oradata/SSSREF/ in a new folder which are created by you for future using.e.g. $cp tbs_indx.dbf [path of new created folder] 3. Take the back up of init.ora file or pfile with cp command which is located in following location : /u01/oracle10g/dbs/ 4. Similarly take the back up of listener. ora and tnsname.ora which will be generally available in the following destination : u01/oracle10g/network/admin/ 5. Next take the back up of the oratab file which will be available on /var/opt/oracle/ 6. For our safer side take the whole export backup of the SSSREF Database as same as step 1. Now start up with installation stuff for Oracle -10g:-> Step1:- OS LEVEL SETTINGS. Step2:- Down loading the software.
i. Check the OS level space for oracle binaries with command df –h or df –k. If /tmp on your database server has less than 400 Mb of free space. 6. Usually /tmp serves this purpose. Step1:. Set the ORACLE_HOME and LD_LIBRARY PATH in oracle user’s . then you will need to locate another directory with sufficient free space for use during the installation. 5.profile ORACLE_SID=SSSREF export ORACLE_SID ORACLE_HOME=/u01/oracle10g/ export ORACLE_HOME PATH=/usr/bin:/usr/local/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:/u01/oracle10g /bin/ export PATH LD_LIBRARY_PATH=/usr/local/lib:/u01/oracle10g/lib32 export LD_LIBRARY_PATH . Step 5:- check out and test with installation done.9: Math Library (libm) patch 4 Check the following executables are present in OS side or not.Step 3: Down loading the GUI Based X-windows from down load.9: Kernel Patch 111722-04: SunOS 5.com Step 4 : Running the necessary scripts. Verify our OS version with the command : uname –a 2. ld. nm. Verify the below following patches are present or not . with using below command : patchadd -p | grep <patch_number> Patches : 112233-11: SunOS 5. ar.OS LEVEL SETTINGS : 1. ***The Oracle installer will need access to a directory with at least 400 Mb of free space for writing temporary files during installation. Verify weather our OS is 64 bit or 32 bit with command : isainfo -kv 3.e given below Executables must be present in /usr/ccs/bin/ : make.
. Step 3: Database installation steps 1. ctl file and SYS but don’t delete the folders 11.e illustrated below. 10. Create a folder named oracle10g (Because all files after installation will be copied here and our ORACLE_HOME will also be /u01/oracle10g). 5.sh 6. Create a folder e. So it will install only the software.gz file Oracle Meta link to above folder.g. 4.cpio 3./runinstaller. ora10g_temp and Download the ship_rel10_sol64_db. 9.gz $cpio -idm < ship_rel10_sol64_db. Go to the X-window system : StartProgramXmanager2Xbrowser. 2. Given the user name and password as oracle/oracle.installer. The GUI prompt will lead to next further screens we have to just press next &next in the one step before last we have to choose for the check box install oracle software without creating the database . SQL>connected to the idle instance.The changes we have done is bold black letters Step2:- Down loading the software. 7. 8.cpio.. 1. After completing upto 80 % the command prompts you to ask to go to specific root in terminal mode directory and then we have to press enter in the GUI. Now to ahead for creating the Database so first start the database at no mount mode i. Given the IP of DB server in address box. Now go to the home path and then run the . And only delete up the contents only the 9i ‘s Data file.ora like setting up the exact paths for data file. But it will not create the database in the next step the screen shows or displays that oracle 10g installation is successfully . 3. ctl and log file and comment the Archive destination. 2 Now gunzip and extract the following file as follows : $gunzip ship_rel10_sol64_db. Connect server with user oracle/oracle $sqlplus /nolog SQL>connect sys as sysdba SQL>startup nomount.Before creating the database we have to do the necessary changes in init.e Cd /u01/ora10g_temp/Disk1/install/ $ sh . Open a new terminal window.sh i.cpio.
datafiles. In this step we have to create a database by running through the scripts which is given below SQL> CREATE DATABASE SSSREF USER SYS IDENTIFIED BY passw0rd USER SYSTEM IDENTIFIED BY passw0rd logfile GROUP 1 ( '/u01/oradata10g/SSSREF/redo/redo01_1.sql which will be available in the following destination. '/u01/oradata10g/SSSREF/redo/redo02_2. GROUP 3 ( '/u01/oradata10g/SSSREF/redo/redo03_1.sql 16.sql SQL> /u01/oracle10g/rdbms/admin/catproc. '/u01/oradata10g/SSSREF/redo/redo03_2.and pupbld.log'. GROUP 2 ( '/u01/oradata10g/SSSREF/redo/redo02_1.sql . After successfully running of the above scripts we have to run the given for user authentication.log' ) SIZE 50M maxdatafiles 254 maxinstances 8 maxlogfiles 32 maxinstances 1 maxloghistory 1 maxlogfiles 5 character set UTF8 national character set UTF8 DATAFILE '/u01/oradata10g/SSSREF/SYS/system01.sql.log'. 13. SQL> /u01/oracle10g/rdbms/admin/catalog. SQL>@ /u01/oracle10g/sqlplus/admin/pupbld. by running the below scripts i.e SQL> DATABASE CREATED 14.Now after few seconds it will displays that the database is created i. '/u01/oradata10g/SSSREF/redo/redo01_2.e SQL> create tablespace LOB_SEGMENTS DATAFILE '/u01/oradata/SSSREF/tbs_lob_segments.sql 15.dbf' SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED.dbf' SIZE 300M REUSE EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE tempts1 TEMPFILE '/u01/oradata10g/SSSREF/SYS/tempts1. Now run the necessary scripts like catalog.12. cataproc.log' ) SIZE 50M.dbf' SIZE 500M .log' ) SIZE 50M.log'.dbf' SIZE 20M REUSE UNDO TABLESPACE undotbs DATAFILE '/u01/oradata10g/SSSREF/SYS/undotbs01. Next we to create table spaces .
Now we have to unlock the user other wise it will not allow to login to user session area .ora # TNSNAMES. i.6/network/admin/tnsnames.Next have to create the necessary users by running the below script SQL> create user asv519 identified by asv519 default tablespace asset_data. create tablespace indx datafile '/u01/oradata/SSSREF/tbs_indx.ORA Network Configuration File: /u01/oracle/app/product/9.e Connect server with user oracle/oracle $sqlplus /nolog SQL>/as sysdba SQL>shutdown immediate 20.dbf' size 100M DEFAULT STORAGE ( INITIAL 160K NEXT 160K MINEXTENTS 10 MAXEXTENTS UNLIMITED PCTINCREASE 0).0.ora # Generated by Oracle configuration tools.ora in by doing necessary changes in the given path u01/oracle10g/network/admin/tnsnames. 17. 19.Now again once bounce the database i. resource to asv519. create tablespace asset_data datafile '/u01/oradata/SSSREF/tbs_asset_data.e SQL>grant execute on dbms_lock to asv519.ora and listener .DEFAULT STORAGE ( INITIAL 200K NEXT 200K MINEXTENTS 1 MAXEXTENTS 500 PCTINCREASE 0 ). 18.dbf' SIZE 500M default storage ( INITIAL 200K NEXT 200K MINEXTENTS 1 MAXEXTENTS 500 PCTINCREASE 0 ).2. STANDBY = (DESCRIPTION = (ADDRESS_LIST = . In this step up the tnsnames. grant connect.
143.143.143)(PORT = 1521)) ) (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) ) ) SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = u u01/oracle10g/network/admin/listerer.24.24. Next please configure and up the listener.143.(ADDRESS = (PROTOCOL = TCP)(HOST = 172.143)(PORT = 1521)) ) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = SSSREF) ) ) 21.ORA Network Configuration File: / u01/oracle10g/network/admin/listner.24. ora) (PROGRAM = extproc) ) .143)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = standby) (SERVER = DEDICATED) ) ) SSSREF = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.ora # Generated by Oracle configuration tools. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.ora # LISTENER.
Welcome to LSNRCTL.Production on 21-FEB-2007 16:33:22 Copyright (c) 1991.9 Generic May 2002 $ lsnrctl LSNRCTL for Solaris: Version 10. 32 min. 5 sec Trace Level off .Production Start Date 16-FEB-2007 17:01:22 Uptime 4 days 23 hr.2. All rights reserved.2. type "help" for information. 2004.24.0 .(SID_DESC = (GLOBAL_DBNAME = SSSREF) (ORACLE_HOME = u01/oracle10g/network/admin/listener.221 Sun Microsystems Inc.143.0.24.ora ) (SID_NAME = SSSREF) ) (SID_DESC = (GLOBAL_DBNAME = standby) (ORACLE_HOME = u01/oracle10g/network/admin/listner.194.1.9 login: oracle Password: Last login: Wed Feb 21 12:17:01 from 172.1. Oracle. LSNRCTL> start Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.0 .143) (PORT=1521))) STATUS of the LISTENER -----------------------Alias LISTENER Version TNSLSNR for Solaris: Version 10.ora ) (SID_NAME = standby) ) ) Please start the the listner SunOS 5. SunOS 5.0.
log Listening Endpoints Summary.. . 32 min. has 1 handler(s) for this service. Please check the the listner status by using the above command LSNRCTL> status Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172. Instance "SSSREF".ora Listener Log File /u01/oracle10g/network/log/listener.Now please up the oracle server by giving the following commands Connect server with user oracle/oracle $sqlplus /nolog SQL>Startup. The command completed successfully 22.24.0 .24.143.. Instance "SSSREF"...24..ora Listener Log File /u01/oracle10g/network/log/listener. 5 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/oracle10g/network/admin/listener. 24. status READY.. Service "SSSREF" has 1 instance(s). (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.143)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))) Services Summary..0.2.143) (PORT=1521))) STATUS of the LISTENER -----------------------Alias LISTENER Version TNSLSNR for Solaris: Version 10. SQL>select name from v$database.. has 1 handler(s) for this service..Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/oracle10g/network/admin/listener.log Listening Endpoints Summary.Production Start Date 16-FEB-2007 17:01:22 Uptime 4 days 23 hr. Now here you have to check the name of the database.143.1. SSSREF. The command completed successfully 23..143.143)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))) Services Summary. Service "SSSREF" has 1 instance(s). status READY.
.25. From the above step you are confirmed with installation done properly.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue reading from where you left off, or restart the preview.