delete_oracle_restart
De-configures and deletes Oracle Restart (SIHA).
Format
emcli delete_oracle_restart -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
-
instances
De-configures the Oracle Restart (SIHA) instance only.
-
software
Deletes the empty Oracle Restart (SIHA) home.
-
all
De-configures and Delete Oracle Restart (SIHA) home.
-
input_file
Property file that contains necessary parameters to perform de-configure and delete Oracle Restart. Use "emcli describe_input -oracle_restart" 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 Restart Instances based on property file "deletesiha.txt" with the specified schedule.
emcli delete_oracle_restart -instances -input_file="data:/tmp/deletesiha.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 Restart based on property file "deletesiha.txt".
emcli delete_oracle_restart -all -input_file="data:/tmp/deletesiha.txt"