Create custom profile and federate it to DMGR WebSphere post demonstrates the process of How to create custom custom profile and how to federate it to a Deployment Manager cell in WebSphere Application Server 8.5 Network Edition (ND).

In this post you are going to create a custom profile, AppSrv03, that defines a node, named techienoteNode03.

The custom profile is automatically federated into the cell, techienoteCell01.

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.

Followings are the bullet points of How to Create custom profile and federate it to DMGR WebSphere:

  • What is custom profile.
  • Prerequisites
  • Create custom profile and federate it to DMGR WebSphere
  • Verify the setup
  • Directory Structure
  • Logs

This tutorial use two variables to define various installation paths. They are as follows

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

Following are the detailed steps of How to Create custom profile and federate it to DMGR WebSphere:

  1. What is custom profile
    A custom profile is an empty node without any server instance that is intended for federation to a deployment manager. After federation, the deployment manager uses it as a target on which it can create, for example, application server profile instances. If you want to know about different types of profile then check Profiles in WebSphere Application Server post. Using a custom profile does not create a server instance. This feature is useful when adding nodes to a cell. The intention of federating a new node into a cell is normally to either add cluster members to the node or create servers named something other than server1.
  2. Prerequisites
    You must have complete following steps, before proceeding further.

    1. Edit the hosts file /etc/hosts to map techienote to the IP address
      Create-custome-profile-and-federate-it-to-dmgr-WebSphere-host-file
    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. You must have installed IBM WebSphere Application Server V 8.5 Network Deployment. In case of any help, check How to Install WAS 8.5 on Ubuntu.
    4. AppSrv01 stand-alone application server profile is created. In case of any help, check How to Create WAS Standalone Application Server.
    5. Dmgr01 dmgr profile is created. In case of any help, check How to Create DMGR profile in WebSphere 8.5
    6. Federate stand-alone node to DMGR profile. In case of any help, check How to Federate a Node into the Deployment Manager Cell
  3. Create custom profile and federate it to DMGR WebSphere
    1. Login as a wasadmin user and open a command prompt by pressing CTRL + ALT + T
    2. As we are going to federate custom node to DMGR cell while creating profile, we must make sure that DMGR is in running state. To confirm the same navigate to /app/IBM/WebSphere/AppServer/profiles/Dmgr01
      cd /app/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/

      Create custom profile and federate it to DMGR WebSphere

    3. Enter the following command to check the status
      ./serverStatus.sh -all

      Create custom profile and federate it to DMGR WebSphere

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

      Create custom profile and federate it to DMGR WebSphere

    5. Start the WebSphere Customization Toolbox by running following command
      /app/IBM/WebSphere/AppServer/bin/ProfileManagement/wct.sh

      Create-custome-profile-and-federate-it-to-dmgr-WebSphere-profile

    6. Once the WebSphere Customization Toolbox is open, click on Create button to create Custom profile in WebSphere 8.5
      Create custom profile and federate it to DMGR WebSphere
    7. Select Custom profile from the Environment Selection screen. Click Next.
      Create custom profile and federate it to DMGR WebSphere
    8. Select the Advanced profile creation to specify your own configuration values during profile creation. Click Next.
      Create custom profile and federate it to DMGR WebSphere
    9. From the Profile Name and Location panel, provide the following name and location information
      Profile name : AppSrv03
      Profile directory : /app/IBM/WebSphere/AppServer/profiles/AppSrv03
      Do not select the Make this profile the default option.
      Click Next.
      Create custom profile and federate it to DMGR WebSphere
    10. Ensure that the Node name and Host name are techienoteNode03 and techienote (they are based on the short form of the host name and not localhost: for example, techienoteNode03).
      Create custom profile and federate it to DMGR WebSphere
    11. On the Federation panel, enter the following information:
      Deployment manager host name: techienote
      Deployment manager SOAP port number : 8879
      Do not click the Federate this node later check box. Click Next
      Create custom profile and federate it to DMGR WebSphere
    12. Accept the defaults on the Security Certificate (Part 1) panel. Click Next.
      Create custom profile and federate it to DMGR WebSphere
    13. Accept the defaults on the Security Certificate (Part 2) panel. Click Next.
      Create custom profile and federate it to DMGR WebSphere
    14. Accept the default on the Port Values Assignment panel. Click Next.
      Create custom profile and federate it to DMGR WebSphere
    15. On the Profile Creation Summary panel, click Create.
      Create custom profile and federate it to DMGR WebSphere
    16. After a couple of minutes, the profile creation is complete. On the Profile Creation Complete panel, clear the Launch the First steps console option. Click Finish to exit the wizard.
      Create custom profile and federate it to DMGR WebSphere
    17. Close the WebSphere Customization Toolbox. You will also see the custom profile in the list.Create custom profile and federate it to DMGR WebSphere
  4. Verify setup
    1. To confirm whether the node is added to the deployment manager’s configuration, open a browser and enter the DMGR Admin Console URL. Click on Login to access the console.
      http://techienote:9061
      Create custom profile and federate it to DMGR WebSphere
    2. Click System administration > Nodes
      Create custom profile and federate it to DMGR WebSphere
    3. The federated node techienoteNode03 is listed. If the node is not displayed, refresh the administrative console.
      Create Custom Profile and Federate it to DMGR WebSphere
  5. Directory Structure
    Following is the directory structure when Create Custom Profile and Federate it to DMGR WebSphere
    Create Custom Profile and Federate it to DMGR WebSphere
  6. Logs
    Most import log file you need to check while federating a node with DMGR cell is /app/IBM/WebSphere/AppServer/profiles/AppSrv03/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.

 

 

 

Create Custom Profile and Federate it to DMGR WebSphere

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