This appendix describes how to perform advanced administration tasks on your WebLogic domains. This appendix explains the following topics.
You can create multiple domains using the same user and password. However, if you prefer to have separate passwords for each of your domains, you need to update your WebLogic user and password session variables after each domain installation.
The plan that creates new domains always uses the default session variable names, WL_DEFAULT_USER and WL_DEFAULT_PASSWORD.
Install the new domain and AdminServer using the default WebLogic session variables, WL_DEFAULT_USER and WL_DEFAULT_PASSWORD.
See How to Create a WebLogic 9 Domain and Administration Server.
Go to the Session Variables page by clicking Session Variables at the top of the browser interface.
Create new session variables for the newly installed AdminServer.
These new session variables have the same value as the default variables with which you installed the AdminServer.
Attribute Name |
Default Session Variable Names |
New Session Variable Names |
---|---|---|
adminUser |
WL_DEFAULT_USER |
WL_TEST_USR |
adminPassword |
WL_DEFAULT_PASSWORD |
WL_TEST_PWD |
Go to the host Details page for the AdminServer you created in step 1 and click Edit.
Update the AdminServer's host type attributes.
For example, replace the adminUser value with :[session:WL_TEST_USR].
If you have another domain to install, return to the Session Variables page and update the default WebLogic session variables with the new values to be used for the next domain you plan to install.
In the Common Tasks section in the browser interface, click WebLogic 9.
Click the Components link.
If necessary, navigate to the com/sun/weblogic9 components directory.
The table of WebLogic 9 components is displayed.
In the Component column, click the AdminServer component.
The AdminServer Component Details page is displayed.
In the Component Procedures table, click the Run link for the domainUtil procedure.
The Plans Details Run page is displayed.
Select the Administration Server that you want to update from the Current Installations list.
Click Run Selected Installations.
The Plans Details Run page is displayed for the autogenerated plan for this update.
In the Plan Variables text field, enter the appropriate update utility that you want to run.
Specify one or more of the following values.
activate – Use this variable to activate any changes on the WebLogic domain.
undoAndStop – Use this variable to undo any changes to the WebLogic domain and stop the server.
stopEdit – Use this variable to halt any changes to the WebLogic domain.
cancelEdit – Use this variable to cancel any changes to the WebLogic domain.
undoUnactivatedChanges – Use this variable to undo those changes that have not been activated on the WebLogic domain.
undo – Use this variable to undo all changes to the WebLogic domain.
Change any of the options and limits as necessary.
Click Run Plan (includes preflight).