Detail:

Customizing Managed Server Configuration via WebLogic Server Administration Console

The managed server configuration can be customized via native WebLogic tools such as the WebLogic Server Administration Console and WLST commands.

Use the following steps to customize the managed server configuration via the WebLogic Server Administration Console.

Detailed Step to change the Port:

Step 1:

Log on to the WebLogic Server Administration Console.
Click on the ‘Servers’ link. This link takes you to a page containing a summary of the WebLogic Administration Server and all managed servers.
Click on the managed server whose configuration needs to be updated. A page containing various tabs for the settings of the managed server appears.
Update the configuration parameters as needed.
Click the ‘Save’ button to save the configuration changes.
Once the customizations are complete and saved, click the ‘Activate Changes’ button in the ‘Change Center’ panel to activate the change

Step 2:

Then perform the following steps on all application tier nodes participating in the same cluster that this managed server is part of:

Source the run file system.

To delete references of the old managed server port in the OHS configuration files mod_wl_ohs.conf and apps.conf:

$ perl <FND_TOP>/patch/115/bin/txkSetAppsConf.pl \
-contextfile=<CONTEXT_FILE> \
-configoption=removeMS \
-oacore=<host>.<domain>:<port> \
-oafm=<host>.<domain>:<port> \
-forms=<host>.<domain>:<port> \
-formsc4ws=<host>.<domain>:<port> \
-ekanban=<host>.<domain>:<port> \
-accessgate=<host>.<domain>:<port> \
-yms=<host>.<domain>:<port>

where

The argument contextfile accepts the complete path to the context file.
The arguments oacore, oafm, forms, formsc4ws, ekanban, accessgate and yms accept a comma-separated list of managed server details in the following format:
<host>.<domain>:<port>
host, domain and port are the hostname, domain and port of the managed server whose reference is to be deleted.

Example :

if the port number of the managed server oacore_server3 on host ‘testserver’ and domain ‘example.com’ is being changed from 7205 to 7305, the following command should be executed to remove references of port 7205:

$ perl <FND_TOP>/patch/115/bin/txkSetAppsConf.pl -contextfile=<CONTEXT_FILE> \
-configoption=removeMS -oacore=testserver.example.com:7205

Step 3:

To add back the managed server entry in the OHS configuration files with the new port:

$ perl <FND_TOP>/patch/115/bin/txkSetAppsConf.pl \
-contextfile=<CONTEXT_FILE> \
-configoption=addMS \
-oacore=<host>.<domain>:<port> \
-oafm=<host>.<domain>:<port> \
-forms=<host>.<domain>:<port> \
-formsc4ws=<host>.<domain>:<port>

where
The argument contextfile accepts the complete path to the context file.
The arguments oacore, oafm, forms, formsc4ws accept a comma-separated list of managed server details in the following format:
<host>.<domain>:<port>
host and domain are the hostname and domain name of the newly added node
port is the port of the new managed server whose reference is to be added

Example:

To add back entry of managed server oacore_server3 on host ‘testserver’ and domain ‘example.com’ with port 7305, the following command should be executed:

$ perl <FND_TOP>/patch/115/bin/txkSetAppsConf.pl -contextfile=<CONTEXT_FILE> \
-configoption=addMS -oacore=testserver.example.com:7305

If Oracle HTTP Server is enabled on the node, restart it as follows:

On UNIX:
$ sh <ADMIN_SCRIPTS_HOME>/adapcctl.sh stop
$ sh <ADMIN_SCRIPTS_HOME>/adapcctl.sh start

Once all the above step completes. Please login to the weblogic console again and see the new port information.

 

 

Recommended Posts

Start typing and press Enter to search