1. Restore database test to data volume. 2. Then shudowntest. copy all datafiles, tempfile, redofile, to yldata volume. 3. Use pfile, open
1. Restore database test to data volume. 2. Then shudown test. copy all datafiles, tempfile, redofile, to yldata volume. 3. Use pfile, open
As shown below ,,
1. Restore the database test to the data volume first.
2. Then shudown test. copy all datafiles, tempfile, and redofile to the yldata volume.
3. Use pfile, open test Library, copy pfile --> ylpfile to change the ylpfile of the rehearsal environment.
Path to point to the datafile of the yldata volume.
4. Use ylpfile open nomount and datafile on the yldata volume.
5. re-create the control file of the yldata Library (note that you need to change the path for executing yldata in datafile and redo in contronfile)
6. alter database open resetlogs. open the database on the yldata volume.
A2bs1010: test> df-h | grep test
/Dev/vx/dsk/test_yl1/testl1_data 200G 123G 76G 62%/db/bank/test/data
/Dev/vx/dsk/test_yl1/testl1_log 200G 3.5G 195G 2%/db/bank/test/log
/Dev/vx/dsk/test_yl2/testl2_data 200G 124G 76G 62%/db/bank/test/yldata