srvctl add database -d databaseName -o /u01/app/oracle/product/12.1.0/dbhome_1
srvctl modify database -d databaseName -a 'DG_DADOS,DG_FRA,DG_REDOA,DG_REDOB,DG_REDOC'
srvctl setenv database -d databaseName -T "TNS_ADMIN=$ORACLE_HOME/network/admin"
srvctl enable database -d databaseName
srvctl config database -d databaseName
Database unique name: databaseName
Database name:
Oracle home: /u01/app/oracle/product/12.1.0/dbhome_1
Oracle user: oracle
Spfile:
Password file:
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Disk Groups: DG_DADOS,DG_FRA,DG_REDOA,DG_REDOB,DG_REDOC
Services:
OSDBA group:
OSOPER group:
Database instance: databaseName
srvctl getenv database -d databaseName -t "TNS_ADMIN"
databaseName:
TNS_ADMIN=/u01/app/oracle/product/12.1.0/dbhome_1/network/admin