Wednesday, June 18, 2008

Oracle Installation : raw device mapping

Create the softlinks as:

 

ln -s /dev/vg_data/rredo01.log redo01.log
ln -s /dev/vg_data/rredo02.log redo02.log
ln -s /dev/vg_data/rredo03.log redo03.log
ln -s /dev/vg_data/rredo04.log redo04.log
ln -s /dev/vg_data/rredo05.log redo05.log
ln -s /dev/vg_data/rredo06.log redo06.log
ln -s /dev/vg_data/rredo07.log redo07.log
ln -s /dev/vg_data/rredo08.log redo08.log
ln -s /dev/vg_data/rcontrol101.ctl control01.ctl
ln -s /dev/vg_data/rcontrol102.ctl control02.ctl
ln -s /dev/vg_data/rcontrol103.ctl control03.ctl
ln -s /dev/vg_data/rsysaux01.dbf sysaux01.dbf
ln -s /dev/vg_data/rsystem01.dbf system01.dbf
ln -s /dev/vg_data/rtemp01.dbf temp01.dbf
ln -s /dev/vg_data/rundotbs01.dbf undotbs01.dbf
ln -s /dev/vg_data/rundotbs02.dbf undotbs02.dbf
ln -s /dev/vg_data/rundotbs03.dbf undotbs03.dbf
ln -s /dev/vg_data/rundotbs04.dbf undotbs04.dbf
ln -s /dev/vg_data/rspfile01.dbf spfile01.dbf
ln -s /dev/vg_data/rexample.dbf example.dbf

 

 

Then Prepare the conf file needed by the installer: -- say db_info.conf

 

control01.ctl=/dev/vg_data/rcontrol01.ctl
control02.ctl=/dev/vg_data/rcontrol02.ctl

redo01.log=/dev/vg_data/rredo01.log
redo02.log=/dev/vg_data/rredo02.log
redo03.log=/dev/vg_data/rredo03.log
redo04.log=/dev/vg_data/rredo04.log

cwmlite01.dbf=/dev/vg_data/rcwmlite01.dbf
drysys01.dbf=/dev/vg_data/rdrysys01.dbf
example01.dbf=/dev/vg_data/rexample01.dbf
indx01.dbf=/dev/vg_data/rindx01.dbf
odm01.dbf=/dev/vg_data/rodm01.dbf
system01.dbf=/dev/vg_data/rsystem01.dbf
temp01.dbf=/dev/vg_data/rtemp01.dbf
tools01.dbf=/dev/vg_data/rtools01.dbf
undotbs01.dbf=/dev/vg_data/rundotbs01.dbf
undotbs02.dbf=/dev/vg_data/rundotbs02.dbf
users01.dbf=/dev/vg_data/rusers01.dbf
xdb01.dbf=/dev/vg_data/rxdb01.dbf

spfile=/dev/vg_data/rspfile
pwdfile=/dev/vg_data/rpwdfile

ocr=/dev/vg_ocr/rocr
vote=/dev/vg_vote/rvote

No comments:

Post a Comment