Thursday, May 10, 2018

How to drop a database in ODA X5(Oracle Database appliance)

Login as root to master node.

[ root@Server01 : Tue Aug 01, 10:27 AM : /root ]
$ oakcli delete database -db test99sb
INFO: 2017-08-01 10:37:41: Look at the log file '/opt/oracle/oak/log/Server01/tools/12.1.2.11.0/deletedatabase_test99sb_73509.log' for more details

Please enter the 'SYS'  password :
Please re-enter the 'SYS' password:

All the storage volumes created for the database 'test99sb' will be deleted. Do you want to continue [Y|N]:Y
INFO: 2017-08-01 10:38:08: Deleting the database test99sb. It will take few minutes. Please wait...
INFO: 2017-08-01 10:38:12: Setting up SSH
...SUCCESS: Ran /usr/bin/rsync -tarqvz /opt/oracle/oak/onecmd/ root@190.130.13.18:/opt/oracle/oak/onecmd --exclude=*zip --exclude=*gz --exclude=*log --exclude=*trc --exclude=*rpm and it returned: RC=0

.........
SUCCESS: All nodes in /opt/oracle/oak/onecmd/tmp/db_nodes are pingable and alive.
INFO: 2017-08-01 10:39:11: SSH has been successfully established
INFO: 2017-08-01 10:40:02: Successfully deleted the database 'test99sb'

No comments:

Post a Comment