delete_oracle_database
De-configures and deletes Oracle Database.
Format
emcli delete_oracle_database -input_file=data:"absolute file path" [-instances|-software|-all] [-schedule= [frequency:interval|weekly|monthly|yearly]; start_time:yy-MM-dd HH:mm; end_time:yy-MM-dd HH:mm; [repeat:#m]; [months:#,#,#,...]; [days:#,#,#,...]; [tz:{timezone ID}]; [grace_period:xxx] ] [ ] indicates that the parameter is optional.
Options
-
software
Deletes the empty SIDB home.
-
listeners
Deletes or de-configures listeners running from the oracle home.
-
all
Deletes the instances, listeners, and the software home.
-
input_file
Property file that contains necessary parameters to perform de-configure and delete Oracle Database. Use "emcli describe_input -oracle_database" command to get the list of properties for performing cleanup operation.
-
schedule
-
frequency: Frequency type with which the Oracle Restart is removed. It can be interval (in minutes), weekly, monthly, or yearly
-
start_time: Denotes the starting time of Cleanup Oracle Restart in the format yy-MM-dd HH:mm
-
end_time: Denotes the end time of Cleanup Oracle Restart in the format yy-Mm-dd HH:mm
-
repeat: Repetition rate at Cleanup Oracle Restart. If the frequency is interval, then repeat will be in minutes
-
months: Number of months after which repetition of Cleanup Oracle Restart will occur
-
days: Number of days after which repetition of Cleanup Oracle Restart will occur
-
tz: Time Zone ID
-
Examples
Example 1
This example cleans the Oracle Database Instances based on property file "deletesiha.txt" with the specified schedule.
emcli delete_oracle_database -instances -input_file="data:/tmp/deletesidb.txt" -schedule="frequency:interval;start_time:15-10-27 05:30;end_time:14-10-12 05:23;repeat:30;grace_period:60;tz:America/New_York"
Example 2
This example cleans the Oracle Database based on property file "deletesiha.txt".
emcli delete_oracle_database -all -input_file="data:/tmp/deletesiha.txt"