Aimstar

AIMSTAR Blog

Configuring Oracle WebLogic Node Manager

Posted by Theodore Williams on Aug 2, 2017 11:50:00 AM

Configuring the Script Node Manager in WebLogic 12c


The Oracle WebLogic Node Manager can be used to start and stop WebLogic managed servers on a host.  In general, the WebLogic Admin Server is used for administrative duties and the managed servers are used to deploy applications on WebLogic.  This article details how to configure WebLogic Node Manager.

Relevant Topics: Oracle DBA,  Oracle WebLogic, Node Manager, WebLogic Managed Server

In the following, $WL_HOME is the WebLogic home directory and $MW_HOME is the Oracle Fusion Middleware home established during WebLogic installation.

  1. First, set the environment for the WebLogic Scripting Tool by sourcing the following file:

$WL_HOME/server/bin/setWLSEnv.sh

 [oracle@Forge bin]$ source /u01/app/weblogic/wls/wlserver/server/bin/setWLSEnv.sh

CLASSPATH= …

 .

.

.

PATH=…

.

.

.

Your environment has been set.

 

[oracle@Forge bin]$

 

 

  1. Next, start the WebLogic Scripting Tool. Run the command:

 

Java weblogic.WLST

 

[oracle@Forge wlserver]$ java weblogic.WLST

 Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

wls:/offline>

 

  1. Connect to the Admin Server with the following command

 

wls:/offline>  connect ('weblogic', ‘<passwd>', 't3://localhost:7003')

Connecting to t3://localhost:7003 with userid weblogic ...

Successfully connected to Admin Server "AdminServer" that belongs to domain "base_domain".

Warning: An insecure protocol was used to connect to the

server. To ensure on-the-wire security, the SSL port or

Admin port should be used instead.

 

wls:/base_domain/serverConfig>

 

The connection was successful.  We will address the “insecure protocol” warning in an upcoming post.

 

  1. Use the following command to enroll the host machine with the WebLogic domain to be used. This allows Node Manager to accept requests from the domain.

 

nmEnroll(‘$MW_HOME/user_projects/domains/base_domain’, ‘(‘$MW_HOME/user_projects/domains/base_domain/nodemanager’)

 

wls:/base_domain/serverConfig> nmEnroll('/u01/app/weblogic/wls12130/user_projects/domains/base_domain','/u01/app/weblogic/wls12130/user_projects/domains/base_domain/nodemanager')

Enrolling this machine with the domain directory at /u01/app/weblogic/wls12130/user_projects/domains/base_domain ...

Successfully enrolled this machine with the domain directory at /u01/app/weblogic/wls12130/user_projects/domains/base_domain.

wls:/base_domain/serverConfig>

 

 Login to the WebLogic Server.

  weblogic_home.png

 

A WebLogic machine is a representation for a host on which WebLogic will run.  We will configure a WebLogic machine to use Node Manager. 

 In the Admin Console,

Click Environment --> Machines.

 

  1. The Summary of Machines screen displays

 summary_of_machines.png

 

Click New.

 

  1. The Create a New Machine screen displays.

 create_a_machine.png

 

Give the machine a name.  Select an operating system for the machine if desired.  For example, “Unix”.

Click Next.

 

  1. The Create a New Machine screen with more details displays.

 create_a_new_machines_details2.png

Enter a type, listen address, and listen port for the machine.  Enter the name of the server in the Listen Address field.

 Click Finish.

 

  1. The Summary of Machines screen displays showing the newly created machine.

  summary_of_machines2.png

 

 10. Start Node Manager with the command:

 

$MW_HOME/user_projects/domains/base_domain/bin/startNodeManager.sh &

 

[oracle@Forge bin]$ /u01/app/weblogic/wls12130/user_projects/domains/base_domain/bin/startNodeManager.sh &

 CLASSPATH= …

.

.

.

<INFO> <Secure socket listener started on port 5556 …

.

.

.

 

  1. At this point, Node Manager is running and is associated with a machine. We can use this configuration to start a WebLogic managed server to deploy applications.

 

WebLogic-APEX-Oracle-Checklist

 

Topics: Oracle DBA, Oracle Database Administration, Oracle WebLogic, WebLogic, Node Manager, WebLogic Managed Server

Oracle APEX Configuration White Paper

Get detailed information on integrating WebLogic, APEX, and Oracle Rest Data Services

Oracle APEX allows rapid development of database applications utilizing the Oracle database.  Oracle WebLogic may be used as the web server for Oracle APEX applications by utilizing Oracle REST Data Services (ORDS), formerly named the APEX Listener.  This white paper details the steps needed to set up an Oracle APEX environment using Oracle Rest Data Services (ORDS) on Oracle WebLogic.

Please click the button below to get detailed information on:

  • Installing APEX
  • Configuring WebLogic
  • Securing WebLogic
  • Installing ORDS
  • Configuring APEX for LDAP Authentication

 APEX-WebLogic-ORDS White Paper

 

Subscribe to Email Updates

Recent Posts