After you create a middleware server representation of
a BEA WebLogic server in the administrative console, you must update
configuration settings so that they are defined specifically for your
BEA WebLogic installation.
Before you begin
Federate the node that is running the BEA WebLogic server
and create a representation of the server in the administrative console.
About this task
If you installed BEA WebLogic in a location other than
the default directory, update the WebSphere® variables
so that the installation directory is correct. To perform operations
on your server from the administrative console, you must configure
the server operations for the BEA WebLogic middleware server representation.
Procedure
- Update the WebSphere variables so that
they match the settings on the nodes that are running the BEA WebLogic
server. In the administrative console, click Environment
> WebSphere Variables. Edit the following
variables:
- WEBLOGIC_ADMINHOST
- Specifies the host name of the WebLogic administration server.
- Default value: localhost
- Scope: cell
- WEBLOGIC_ADMINPORT
- Specifies the port of the WebLogic administration server.
- Default value: 7001
- Scope: cell
- WEBLOGIC_ADMINPROTOCOL
- Specifies the protocol to use when connecting to the WebLogic
administration server.
- Default value:t3
- Scope: cell
- WEBLOGIC_ADMINURL
- Specifies the URL for the WebLogic administration server. The
value is created from other variables.
- Default value: ${WEBLOGIC_ADMINPROTOCOL}://${WEBLOGIC_ADMINHOST}:${WEBLOGIC_ADMINPORT}
- Scope: cell
- WEBLOGIC_SERVERROOT
- Specifies an alias to the WEBLOGIC_DOMAINDIR variable.
- Default value: ${WEBLOGIC_DOMAIN_DIR}
- Scope: cell
- WEBLOGIC_SERVERNAME
- Specifies the name of the server in the WebLogic administration
environment.
- Default value: ${WAS_SERVER_NAME}
- Scope: server
- BEA_HOME
- Specifies the root installation location.
Default value: c:\bea
![[For Unix operating system]](../images/unix.gif)
![[For AIX operating system]](../images/aixlogo.gif)
Default value: /opt/bea
- Scope: cell
- WEBLOGIC_HOME
- Specifies the WebLogic root directory. The root is version-specific,
for example {$BEA_HOME}\weblogic91.
- Default value:{$BEA_HOME}\weblogic
- Scope: cell
- WEBLOGIC_DOMAINNAME
- Specifies the name of the WebLogic domain.
- Default value: myDomain
- Scope: cell
- WEBLOGIC_DOMAINDIR
- Builds the path to the WebLogic domain.
- Default value:${BEA_HOME}\user_projects\domains\${WEBLOGIC_DOMAINNAME}
- Scope: cell
If the home directory is different on different
nodes in your configuration, select the node scope and create another
variable with the same name for the specific node.
- Update server operations for the BEA WebLogic server to
include the user name and password.
- In the administrative console, click Servers > Other
middleware servers > BEA WebLogic servers > weblogic_server >
Server operations.
- Edit the stop server operation to include the user name
and password that you use to perform this operation.
- Optional: Update the HTTP and HTTPS ports for
your servers. The default port is 7001. If you use a value
other than the default, you must change the port in the administrative
console.
- In the administrative console, click .
- Edit HTTP connector or HTTPS
connector. Click OK and save and
synchronize your changes.
What to do next
- To use this configuration when you are configuring your other
BEA WebLogic servers, create a server template of your current BEA
WebLogic server.
- To view the log files for your BEA WebLogic server in the administrative
console, use the external log viewing service. This service is enabled
by default. The following directories are configured by default:
- ${{WEBLOGIC_SERVER_ROOT}/${WEBLOGIC_SERVER_NAME}
- ${AGENT.HOME}/logs/${WAS_SERVER_NAME}
- To edit configuration files for your BEA WebLogic server, use
the external configuration service. The following file is included
by default:
- ${WEBLOGIC_SERVER_ROOT}/config.xml on host ${WEBLOGIC_ADMINHOST}
- After you create representations of all the BEA WebLogic servers,
you can add the representations to a dynamic cluster.