Академический Документы
Профессиональный Документы
Культура Документы
The proposed methodology is not a SAP supported migration methodology. Following a successful migration and a GoLive OS Migration Check Analysis, SAP will resume support of the migrated system given the GoLive check is successful.
The procedure below describes the process between AIX and HP-UX.
On source system
1 / 18
VERSION
-----------------
10.2.0.2.0
PLATFORM_NAME ENDIAN_FORMAT
----------------------------------------------------------------------------------------------------- --------------
2 / 18
Solaris[tm] OE (32-bit)
Big
...
3 / 18
19 rows selected.
FILE_NAME
--------------------------------------------------------------------------------
/oracle/SID/sapdata1/undo_1/undo.data1
/oracle/SID/sapdata1/system_1/system.data1
mode
4 / 18
SQL> alter database open read only; - Check whether the database can be transported to the HP-UX IA platform
5 / 18
SYS.DATA_PUMP_DIR
6 / 18
format '/convertdb/%U';
This command produces 3 files in /convertdb (or any other staging area): a transport script to create a new database, a convert script containing RMAN CONVERT DATAFILE command for each of the datafiles and a PFILE for the new database containing the same settings as the source database
1. transport.sql
2. convert.rman
On target system
7 / 18
- Edit the init.ora and change the environment specific parameters - Create a dummy Controlfile in order to convert
SQL>startup nomount;
MAXLOGFILES 255
MAXLOGMEMBERS 3
MAXDATAFILES 254
MAXINSTANCES 50
MAXLOGHISTORY 1168
LOGFILE
GROUP 1 (
'/oracle/SID/origlogA/log_g11m1.dbf',
'/oracle/SID/mirrlogA/log_g11m2.dbf'
8 / 18
) SIZE 50M,
GROUP 2 (
'/oracle/SID/origlogB/log_g12m1.dbf',
'/oracle/SID/mirrlogB/log_g12m2.dbf'
) SIZE 50M,
GROUP 3 (
'/oracle/SID/origlogA/log_g13m1.dbf',
'/oracle/SID/mirrlogA/log_g13m2.dbf'
) SIZE 50M,
GROUP 4 (
'/oracle/SID/origlogB/log_g14m1.dbf',
9 / 18
'/oracle/SID/mirrlogB/log_g14m2.dbf'
) SIZE 50M
-- STANDBY LOGFILE
DATAFILE
'/oracle/stage/system.data1',
'/oracle/stage/undo.data1',
'/oracle/SID/sapdata1/sysaux_1/sysaux.data1',
'/oracle/SID/sapdata2/sr3_1/sr3.data1',
'/oracle/SID/sapdata2/sr3_2/sr3.data2',
'/oracle/SID/sapdata2/sr3_3/sr3.data3',
'/oracle/SID/sapdata2/sr3_4/sr3.data4',
'/oracle/SID/sapdata3/sr3700_1/sr3700.data1',
10 / 18
'/oracle/SID/sapdata3/sr3700_2/sr3700.data2',
'/oracle/SID/sapdata3/sr3700_3/sr3700.data3',
'/oracle/SID/sapdata3/sr3700_4/sr3700.data4',
'/oracle/SID/sapdata4/sr3usr_1/sr3usr.data1'
CHARACTER SET UTF8; - Edit the file convert.rman only for system and done run the script from rman prompt undo tablespaces. Once the changes are
RUN {
11 / 18
FORMAT '/oracle/SID/sapdata1/system_1/system.data1';
- Edit the transport.sql script to reflect the new path for datafiles and redolog files in the CREATE CONTROLFILE section of the script. Also change all references to the init.ora in the script to the new path name of the init.ora
STARTUP NOMOUNT
MAXLOGFILES 255
12 / 18
MAXLOGMEMBERS 3
MAXDATAFILES 254
MAXINSTANCES 50
MAXLOGHISTORY 1168
LOGFILE
GROUP 1 (
'/oracle/SID/origlogA/log_g11m1.dbf',
'/oracle/SID/mirrlogA/log_g11m2.dbf'
) SIZE 50M,
GROUP 2 (
'/oracle/SID/origlogB/log_g12m1.dbf',
13 / 18
'/oracle/SID/mirrlogB/log_g12m2.dbf'
) SIZE 50M,
GROUP 3 (
'/oracle/SID/origlogA/log_g13m1.dbf',
'/oracle/SID/mirrlogA/log_g13m2.dbf'
) SIZE 50M,
GROUP 4 (
'/oracle/SID/origlogB/log_g14m1.dbf',
'/oracle/SID/mirrlogB/log_g14m2.dbf'
) SIZE 50M
-- STANDBY LOGFILE
DATAFILE
14 / 18
'/oracle/SID/sapdata1/system_1/system.data1',
'/oracle/SID/sapdata1/undo_1/undo.data1',
'/oracle/SID/sapdata1/sysaux_1/sysaux.data1',
'/oracle/SID/sapdata2/sr3_1/sr3.data1',
'/oracle/SID/sapdata2/sr3_2/sr3.data2',
'/oracle/SID/sapdata2/sr3_3/sr3.data3',
'/oracle/SID/sapdata2/sr3_4/sr3.data4',
'/oracle/SID/sapdata3/sr3700_1/sr3700.data1',
'/oracle/SID/sapdata3/sr3700_2/sr3700.data2',
'/oracle/SID/sapdata3/sr3700_3/sr3700.data3',
'/oracle/SID/sapdata3/sr3700_4/sr3700.data4',
15 / 18
'/oracle/SID/sapdata4/sr3usr_1/sr3usr.data1'
prompt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prompt * There are many things to think about for the new database. Here
prompt * 1. You may want to redefine the location of the directory objects.
16 / 18
prompt * 2. You may want to change the internal database identifier (DBID)
prompt * or the global database name for this database. Use the
prompt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SHUTDOWN IMMEDIATE
@@ ?/rdbms/admin/utlirp.sql
SHUTDOWN IMMEDIATE
STARTUP PFILE='/oracle/SID/102_64/dbs/init.ora'
@@ ?/rdbms/admin/utlrp.sql
set feedback 6;
17 / 18
18 / 18