To help automate the task of configuring a domain, you can record your configuration actions in the Administration Console as a series of WebLogic Scripting Tool (WLST) commands and then use WLST to replay the commands.
WLST is a command-line scripting environment that you can use to create, manage, and monitor WebLogic Server domains. It is installed on your system when you install WebLogic Server.
The Administration Console does not record WLST commands for the following:
While setting preferences, you can specify WLST commands that the Administration Console inserts before and after the commands that you record. For example, you can insert a series of commands that connect WLST to an Administration Server and append commands that terminate the connection. Unless you add such commands, you cannot run your recorded commands as a WLST script.
For examples of WLST scripts, see WLST Online Sample Scripts.
You cannot remove or undo a command once it has been recorded. Instead, you can edit the script file after you stop recording or you can set your preferences to overwrite the script file and re-record the commands.
If you choose the Append To File preference, you can start and stop recording several times before moving to the next steps.
The key file and user configuration files are created in the same
directory as the recorded script file and are named
recording-fileConfig
and
recording-fileSecret
where
recording-file
is the name of the recorded
script file.
If you recorded commands that get or set the values of encrypted attributes, the user configuration and key files must be in the same directory as the script file. If you move the script file, you must also move the user configuration and key files. Only the key file that was used to encrypt the data can be used to unencrypt the data.