refresh_wls
Enables/disables a refresh for one or more Oracle WebLogic Server Domains (target type --> weblogic_domain). This verb reads a file labeled domain_refresh_file in order to refresh the WebLogic Server. The domain_refresh_file is required; refresh cannot occur without it. You must create the file prior to performing refresh.
Format
emcli refresh_wls -input_file=domain_refresh_file:file_path [-debug] [ ] indicates that the parameter is optional
Options
-
input_file
Fully-qualified path of the CSV(Comma-Separated Values) file that contains multiple lines of the Target name and Refresh action (Enable/Disable refresh of the WLS domains/farms to be refreshed).
Note the following advisory information about the format of domain_refresh_file:
-
The target name should be the fully-qualified name of the domain target.
-
Every target is treated as type weblogic_domain.
-
Valid values of the refresh option are "E", "D", and "R". "E" enables a refresh for the WLS Domain, "D" disables the refresh for the WLS Domain, and "R" removes targets that are deleted from the WebLogic Domain.
-
A comma ( , ) is used as the delimiter.
-
The total number of tokens in each line is fixed, and should be equal to 2.
-
The order of parameters is fixed. You must provide the parameters in the same order as specified below in the sample file structure for domain_refresh_file:
/Farm01_base_domain/base_domain,D /Farm02_base_domain/base_domain,E /Farm03_base_domain/base_domain,R
The first entry disables the refresh for target /Farm01_base_domain/base_domain, the second entry enables a refresh for target /Farm02_base_domain/base_domain, and the third entry removes targets from Enterprise Manager that are deleted from /Farm03_base_domain/base_domain.
For more information about the input_file parameter, see -input_file Syntax Guidelines.
-
-
debug
Runs the verb in verbose mode for debugging purposes.
Example
$emcli refresh_wls -input_file=domain_refresh_file:/tmp/refresh/emcli/ domain_refresh_file.csv -debug