6 Node Manager Tutorial
This chapter includes the following sections:
Creating Node Manager in a New Domain
Use the Fusion Middleware Configuration Wizard to create and configure Node Manager in a new domain.
To create an instance of per domain, Java-based Node Manager in a new domain, complete the following steps:
- Start the Configuration Wizard:
- From a command window, change to the
ORACLE_HOME/
oracle_common/common/bin
directory, whereORACLE_HOME
represents the directory you specified as the Oracle Home when you installed Oracle WebLogic Server. - Execute the
config.cmd
command for Windows or theconfig.sh
command for UNIX.
- From a command window, change to the
- Use the Configuration Wizard to create a new, basic domain:
- On the Create Domain screen, select Create a new
domain and select a domain directory location. This is your
DOMAIN_HOME
directory. Click Next. - On the Templates screen, accept the default Create Domain Using Product Templates. Click Next.
- On the Administrator Account screen, enter the credentials of the Oracle WebLogic Server administrator. Click Next.
- On the Domain Mode and JDK screen, accept the default Domain Mode and JDK. Click Next.
- On the Create Domain screen, select Create a new
domain and select a domain directory location. This is your
- Create a Node Manager instance, a Managed Server, and a machine in your domain:
- On the Advanced Configuration screen, select Node Manager and Topology options. Click Next.
- On the Node Manager screen, accept Per Domain Default Location as the default Node Manager type and enter the credentials of the Node Manager administrator. Click Next.
- On the Managed Servers screen, click Add. Accept the default server name, listen address, and listen port (7003). Click Next.
- On the Clusters screen, click Next.
- On the Machines screen, click Add. Accept the default machine name, Node Manager listen address, and Node Manager listen port. Click Next.
- Assign the Administration Server and Managed Server to your machine:
- On the Assign Servers to Machines screen, select your Administration Server and Managed Server in the left column.
- Use the right arrow button to assign the Administration Server and Managed Server to your machine in the right column.
- Click Next.
- Complete your domain configuration:
- On the Configuration Summary screen, review your configuration and click Create.
- When the Configuration Process screen shows that your domain has been created successfully, click Next.
- On the Configuration Success screen, select Start Admin Server to start your domain. Click Finish.
Starting Node Manager
To start Node Manager in a WebLogic domain environment, use the startNodeManager.cmd
command for Windows and the startNodeManager.sh
command for UNIX.
To start Node Manager in your domain, complete the following steps:
Using Node Manager to Start a Managed Server
Use the WebLogic Server Administration Console to ensure that Node Manager is running and to start a Managed Server in your domain.
To start a Managed Server in your domain using Node Manager, complete the following steps:
- Start the WebLogic Server Administration Console:
- Ensure that the Administration Server is running.
If you selected the Start Admin Server option in the Configuration Wizard, the Administration Server should be running.
If the Administration Server is not running, change to the
DOMAIN_HOME
/bin
directory and execute thestartWebLogic.cmd
command for Windows or thestartWebLogic.sh
command for UNIX. - Launch a Web browser and enter the following
URL:
http://hostname:port/console
Where,
hostname
is the DNS name or IP address of the Administration Server andport
is the listen port on which the Administration Server is listening for requests (port 7001 by default). - When the login page appears, enter the user name and the password you entered when creating your domain in the Configuration Wizard.
- Ensure that the Administration Server is running.
- Ensure that Node Manager is running.
- In the left pane of the WebLogic Server Administration Console, select Environment and click Machines.
- In the Machines table, select the name of your machine.
- Select Monitoring and click Node Manager Status.
- If Node Manager is running, Status will be Reachable.
Note:
To configure Node Manager settings in the WebLogic Server Administration Console, expand Environment, click Machine, select machine_name, click Configuration, and then click Node Manager. - In the left pane of the WebLogic Server Administration Console, select Environment and click Servers.
- Select the Control page.
- In the Servers table, select the checkbox next to your Managed Server.
- Click Start.
A message appears confirming that Node Manager will start the selected server instance. Refresh the WebLogic Server Administration Console page, and the Managed Server state changes from
SHUTDOWN
toRUNNING
.Your Managed Server is now running in your domain.