dbhome_2/network/admin"))
)
4.
Save the file.
5.
Restart the listener.
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.
1.
Verify that the
sysdba
connection to the auxiliary database is working. Use the
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
2.
As oracle user, set the ORACLE_HOME and ORACLE_SID environment
variables.
ORACLE_HOME=path of Oracle Home against which the AUX DB is created
ORACLE_SID=database unique name
3.
Display a list of all database storage configured on the appliance and database
storage identifiers (ID).
Use the
odacli list-dbstorages
to display the storage IDs for all configured
filesystems.
# odacli list-dbstorages
ID Type DBUnique Name Status
------------------------------------ -------- ----------- ----------
68d13446-f26c-49ee-ab75-a393732aa88a Asm rdb1 Configured
ff2023d9-338d-4cff-8bb4-e73a89e32ce4 Acfs PRODDB Configured
Chapter 9
Migrating Databases
9-15
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...