get_engr_sys_patching_logs
Obtains the diagnostic log files generated by the last patching procedure that completed (either successfully or with errors).
Format
emcli get_engr_sys_patching_logs -system_target_name="system_target_name" -system_target_type="system_target_type" -target_name="target_name" -target_type="target_type" | -component_type="component_type" -log_location="log_location" -required parameter [ ] indicates that the parameter is optional.
Options
-
system_target_name
Specifies the engineered system target name.
-
system_target_type
Specifies the engineered system target type.
-
target_name
Specifies the target name.
-
target_type
Specifies the target type.
-
component_type
Specifies the engineered system component type.
-
log_location
Specifies a location to save the log files.
Examples
Example 1
The following example obtains the log files generated by the last completed patching procedure for the member target clusteradm0102.example.com:cluster of the engineered system DB Machine slcm12.example.com:oracle_dbmachine:
emcli get_engr_sys_patching_logs -system_target_name="DB Machine slc12.example.com" -system_target_type="oracle_dbmachine" -target_name="clusteradm0102.example.com" -target_type="cluster" -log_location="/tmp/log_file
Example 2
The following example obtains the log files generated by the last completed patching procedure for the component Oracle Infiniband Switch of the engineered system DB Machine slcm12.example.com:oracle_dbmachine
:
emcli get_engr_sys_patching_logs -system_target_name="DB Machine slcm12.example.com" -system_target_type="oracle_dbmachine" -component_type="Oracle Infiniband Switch" -log_location="/tmp/log_file"