Migrating A Database - Oracle X6-2-HA Deployment And User's Manual

Database appliance
Hide thumbs Also See for X6-2-HA:
Table of Contents

Advertisement

dbhome_2/network/admin"))
)
Save the file.
4.
Restart the listener.
5.
srvctl stop listener -l listener
srvctl start listener -l listener

Migrating a Database

Use the RMAN Duplicate command to migrate the entire database to the appliance.
Before migrating the database, verify that a network connection exists between the
source and destination databases.
Verify that the sysdba connection to the auxiliary database is working. Use the
1.
password that you defined when you created the database with the --
instanceonly flag.
sqlplus sys/password@hostname:PORT/GLOBAL_DBNAME as sysdba << EOF
select 1 from dual;
exit;
EOF
The following example uses the Welcome_12 password for myhost on port 1521
for PRODDB.example.com.
sqlplus sys/Welcome_12@myhost:1521/PRODDB.example.com as sysdba << EOF
select 1 from dual;
exit;
EOF
As oracle user, set the ORACLE_HOME and ORACLE_SID environment
2.
variables.
ORACLE_HOME=path of Oracle Home against which the AUX DB is created
ORACLE_SID=database unique name
Display a list of all database storage configured on the appliance and database
3.
storage identifiers (ID).
Use the odacli list-dbstorages to display the storage IDs for all configured
filesystems.
# odacli list-dbstorages
ID Type
------------------------------------ -------- ----------- ----------
68d13446-f26c-49ee-ab75-a393732aa88a
ff2023d9-338d-4cff-8bb4-e73a89e32ce4
Migrating Databases
DBUnique Name
Asm
rdb1
Configured
Acfs
PRODDB
Configured
Chapter 9
Status
9-15

Advertisement

Table of Contents
loading

Table of Contents