How to Federate a Node into the Deployment Manager Cell post demonstrates the process of federating a node into DMGR cell. During this exercise, you change your stand-alone application server (AppSrv01) environment to a cell environment. If you want to know about different types of profiles available with WebSphere Application Server, then check this.

As per the IBM’s documents of supported Linux distributions, Ubuntu is not supported for IBM products. For evaluation purpose you can install it on Ubuntu, but it is not recommended for production environment. Also you can see it as a reference document to install on another supported Linux distributions.

Following is the summary of what we are going to do in this tutorial

  • Prerequisite
  • Verify that server server1 is running.
  • Open the administrative console for the deployment manager.
  • Federate a node into the Deployment Manager Cell.
  • Verify the cell configuration.
  • Start the application server and test the Snoop servlet.
  • Directory structure
  • Logs

You will federate the application server node, which AppSrv01 defines (and is named as techienoteNode01), into the cell named techienoteCell01, which the deployment manager profile defines. The federation process adds a node agent to the application server node.

The tutorial use two variables to define various installation paths. On Linux, the variable definitions are as follows:

  • <was_root>: /app/IBM/WebSphere/AppServer
  • <profile_root>: /app/IBM/WebSphere/AppServer/profiles

Detailed steps of How to Federate a Node into the Deployment Manager Cell are as follows:

  1. Prerequisite
    You must complete following steps to federate a node into the deployment manager cell.

    1. Edit the hosts file /etc/hosts to map techienote to the IP address
      How to Federate a Node into the Deployment Manager Cell
    2. We are using Ubuntu 15.04 64 bit operating system for this setup. If you are unsure about your OS architecture then check How to find Operating System bit in Linux.
    3. Install IBM WebSphere Application Server V 8.5 Network Deployment. In case of any help, check How to Install WAS 8.5 on Ubuntu.
    4. Create AppSrv01 stand-alone application server. In case of any help, check How to Create WAS Standalone Application Server.
    5. Create Dmgr01 dmgr profile. In case of any help, check How to Create DMGR profile in WebSphere 8.5
  2. Verify that server server1 is running.
    1. Login as a wasadmin user.
    2. Navigate to the /app/IBM/WebSphere/AppServer/profiles/AppSrv01/bin folder
      How to Federate a Node into the Deployment Manager Cell
    3. Enter the following command to check the status
      ./serverStatus.sh server1

      How to Federate a Node into the Deployment Manager Cell

    4. If server1 is not running(as per the our case), start server1 using following command
      ./startServer.sh server1

      How to Federate a Node into the Deployment Manager Cell

  3. Open the administrative console for the deployment manager.
    1. Verify that dmgr is running. To do the same, navigate to the /app/IBM/WebSphere/AppServer/profiles/Dmgr01/bin folder
      How to Federate a Node into the Deployment Manager Cell
    2. Enter the following command to check the dmgr status
      ./serverStatus.sh -all

      How to Federate a Node into the Deployment Manager Cell

    3. If dmgr is not running(as per the our case), start dmgr using following command
      ./startManager.sh

      How to Federate a Node into the Deployment Manager Cell

    4. Open a web browser and end following address:
      http://techienote:9061/ibm/console
    5. Log in to the administrative console by clicking on log in button.
      How to Federate a Node into the Deployment Manager Cell
  4. Federate a node into the Deployment Manager Cell.
    This process takes the existing application server within AppSrv01 and federates its to the deployment manager. This means that it no longer is a stand-alone application server, but instead is part of the newly created cell.

    1. From the deployment manager administrative console, click System administration > Nodes.
      How to Federate a Node into the Deployment Manager Cell
    2. Click Add Node.
      How to Federate a Node into the Deployment Manager Cell
    3. The Managed node option is selected as default. A managed node contains an application server and a node agent. The application server runs as part of the network deployment environment. Keep the default setting and click Next.
      How to Federate a Node into the Deployment Manager Cell
    4. Enter your host name and ensure that correct JMX port is selected. The port number is the JMX connector port of the node you want to federate to the cell. Also select the options to Include applications and Include buses. Keep all remaining defaults. Click OK. The federation process can take several minutes to complete.
      How to Federate a Node into the Deployment Manager Cell
    5. You will see following line in the console in case of successful federation

      ADMU0303I: Update the configuration on the techienoteCell01 Deployment Manager with values from the old cell-level documents.
      ADMU0003I: Node techienoteNode01 has been successfully federated.
      How to Federate a Node into the Deployment Manager Cell

  5. Verify the cell configuration.
    1. Click System Administration > Nodes.
      How to Federate a Node into the Deployment Manager Cell
    2. Two nodes are listed: the deployment manager (techienoteCellManager01), and the techienoteNode01 node that was added.
      How-to-Federate-a-Node-into-the-Deployment-Manager-Cell-
    3. Click System Administration > Nodes agents.How to Federate a Node into the Deployment Manager Cell
    4. Verify that the node agent on techienoteNode01 is started
      How to Federate a Node into the Deployment Manager Cell
  6. Start the application server and test the Snoop servlet.
    1. Click Servers > Server Types > WebSphere application servers.
      How to Federate a Node into the Deployment Manager Cell
    2. Select server1 and click Start. Wait for server1 to start.
      How to Federate a Node into the Deployment Manager Cell How to Federate a Node into the Deployment Manager Cell
    3. Click Applications > Application Types > WebSphere enterprise applications.How to Federate a Node into the Deployment Manager Cell
    4. Check the status for the DefaultApplication. Verify that the DefaultApplication is running.
      How to Federate a Node into the Deployment Manager Cell
    5. Open another browser window and enter the following address:
      http://techienote:9080/snoop
      How to Federate a Node into the Deployment Manager Cell
      If you get information back regarding the server, it verifies that the Snoop servlet works.
  7. Directory Structure
    Following is the directory structure one you have federated a node with DMGR cell
    Federate a Node into the Deployment Manager Cell
  8. Logs
    Most import log file you need to check while federating a node with DMGR cell is /app/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/addNode.log. This file has all the information of node federation. All other logs file are similar to of cell profile. 

Do let us know if you want me to cover any other topic about WebSphere Administration through comments.

If you find any missing point in here, please let us know in comment section or tweet us at@techienotecom. To get more articles like this, subscribe to our RSS feeds.

 

How to Federate a Node into the Deployment Manager Cell

One thought on “How to Federate a Node into the Deployment Manager Cell

  • November 7, 2015 at 10:34 pm
    Permalink

    Am looking for shell scripts for webpshere stop / start – dmgr, nodeagent, jvm instances – clusters.

    Please share me if any sample scripts you have. It will be really helpful.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recommend on Google