Dba Daily
Dba Daily
Dba Daily
On source (devastator)
ORACLE_HOME location is : /u01/app/oracle/product/11.2.0/dbhome_1
On Target (vixen)
Create the directory /u01/app/oracle/product/11.2.0 if it does not exist
* on Target
- set kernel parameters
- chown -R oracle:oinstall /u01/home/
*we should do following stuff because as group is changed sqlplus will not work or connect.
rename config.o and edit OS group name in config.c (Linux) or config.s (Solaris)
relink all
*if Our software is RAC enabled and we dont have crs running in target machine
cd $ ORACLE_HOME/rdbms/lib
make -f ins_rdbms.mk rac_off
make -f ins_rdbms.mk ioracle
relink all
Clone the Oracle Home using the perl script clone.pl which is located under the
$ORACLE_HOME/clone/bin
vixen:$ cd /u01/app/oracle/product/11.2.0/dbhome_1/clone/bin
4. create pfile
Note:-
expecting change of this 1080427 number generated by thread 1 and
beleives that this change is available in log seq 17.
no rows selected
no rows selected
TABLESPACE_NAME CONTENTS
------------------------------ ---------
SYSTEM PERMANENT
SYSAUX PERMANENT
UNDOTBS1 UNDO
TEMP TEMPORARY
USERS PERMANENT
UNDOTBS2 UNDO
EXAMPLE PERMANENT
TBS PERMANENT
8 rows selected.
Tablespace dropped.
TABLESPACE_NAME CONTENTS
------------------------------ ---------
SYSTEM PERMANENT
SYSAUX PERMANENT
UNDOTBS1 UNDO
TEMP TEMPORARY
USERS PERMANENT
EXAMPLE PERMANENT
TBS PERMANENT
7 rows selected.
no rows selected
Tablespace altered.
NAME
---------
PCLONE
INSTANCE_NAME
----------------
pclone
sanity check
#system-config-nfs
a new window will come, enter your folder or mount point to be shared and the hostname of
target.
2. On Target
# service nfs start
3. To unmount
umount /u01/share_point
---------------------------------------------------------------------------------------------------------------------
fdisk /dev/sdb
mkdir /u03
4. Edit fstab
vi /etc/fstab
to share a filesystem
Note
rw means read write permission use the right permission that will serve your
need. it could be
ro (read only).
finally
stop and start nfs daemon to make change take effect
cd /usr/lib/nfs
./mountd
./nfsd
/etc/init.d/nfs.server stop
followed by
/etc/init.d/nfs.server start
To Mount in linux
#mount 147.43.0.10:/u01 /u01/share_point