Oracle X6-2-HA Deployment And User's Manual page 127

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

Advertisement

Note:
For a standby database, open the standby database in READ ONLY mode
before executing the odacli register-database command.
Follow these steps to register a database:
If you have Oracle Database version 12.1 with SQL patches, ensure that the
1.
sqlpatches are in the Oracle Database Appliance environment. If the patches are
not in the environment, copy the $OH/sqlpatch directories from the source
database home to the $OH in Oracle Database Appliance before executing the
odacli register-database command
The odacli register-database command invokes the datapatch utility for
applying the post patch SQLs. If the source database has any sqlpatches applied
that are not present in the Oracle Database Appliance environment, then the
datapatch will fail.
If you have Oracle Database version 11.2 with SQL patches, you must roll back
2.
any patches applied to the source database that are not part of the installed
Oracle Database Bundle patch (BP).
Register the database with Oracle Database Appliance.
3.
odacli register-database -c OLTP -s odb1 -sn proddb.example.com -p
Password for SYS:
{
"jobId" : "317b430f-ad5f-42ae-bb07-13f053d266e2",
"status" : "Created",
"message" : null,
"reports" : [ ],
"createTimestamp" : "August 08, 2018 05:55:49 AM EDT",
"description" : "Database service registration with
"updatedTime" : "August 08, 2018 05:55:49 AM EDT"
}
rpandrap: ]# odacli describe-job -i "317b430f-ad5f-42ae-
bb07-13f053d266e2"
Job details
----------------------------------------------------------------
ID: 317b430f-ad5f-42ae-bb07-13f053d266e2
Description: Database service registration with
db service name: proddb.example.com
Status: Success
Created: November 23, 2018 5:55:49 AM EDT
Message:
Task Name
----------------------------- ------------------------------
restore control file
move spfile to right location November 23, 2018 5:56:08 AM EDT
register DB with clusterware
reset db parameters
db service name: proddb.example.com",
Start Time
November 23, 2018 5:55:49 AM EDT
November 23, 2018 5:56:13 AM EDT
November 23, 2018 5:57:05 AM EDT
Chapter 9
Migrating Databases
9-17

Advertisement

Table of Contents
loading

Table of Contents