In this tutorial we will learn how to create DMGR profile in WebSphere 8.5. For creating a DMGR profile we will be using the Profile Management tool in the WebSphere Customization Toolbox.

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 DMGR profile in WebSphere 8.5:

  • Understand what is DMGR profile
  • Prerequisites
  • Create DMGR Profile in WebSphere 8.5
  • Verify the DMGR profile
  • Start and Stop DMGR
  • Access Admin Console
  • 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 is step by step process of  How to create DMGR profile in WebSphere 8.5

  1. Understand what is DMGR profile
    You create a deployment manager profile (for example, Dmgr01) that contains the deployment manager process. The deployment manager process is the main administration process that manages all other IBM WebSphere Application Server processes running in the cell, including node agents and application server processes.
  2. Prerequisites
    1. You must complete the Installing IBM Installation Manger and Installing WebSphere 8.5 tutorial to set up the environment.
    2. Edit the hosts file to map techienote to the IP address where we are going to create the DMGR profile. Sample is as follows
      Create DMGR Profile in WebSphere 8.5
  3. Create DMGR Profile WebSphere 8.5
    1. Login as a wasadmin user and open a command prompt by pressing CTRL + ALT + T
    2. Start the WebSphere Customization Toolbox by running following command
      /app/IBM/WebSphere/AppServer/bin/ProfileManagement/wct.sh

      Create DMGR Profile in WebSphere 8.5

    3. Once the WebSphere Customization Toolbox is open, click on Create button to create DMGR profile in WebSphere 8.5
      Create DMGR Profile in WebSphere 8.5
    4. From the Environment Selection panel, select Management and click Next
      Create DMGR Profile in WebSphere 8.5
    5. From the Server Type Selection panel, select Deployment manger and click Next
      Create DMGR Profile in WebSphere 8.5
    6. Select the Advanced profile creation to specify your own configuration values during profile creation. Click Next.
      Create DMGR Profile in WebSphere 8.5
    7. Ensure that the Deploy the administrative console (recommended) check box is selected. Click Next.
      Create DMGR Profile in WebSphere 8.5
    8. From the Profile Name and Location panel, provide the following name and location information
      Profile name : Dmgr01
      Profile directory : /app/IBM/WebSphere/AppServer/profiles/Dmgr01
      Do not select the Make this profile the default option.
      Click Next.
      Create DMGR Profile in WebSphere 8.5
    9. The Node, Host and Cell Names panel allows you to set the node name, cell name and host name. Default values are completed based on the detected host name for your server. Ensure that Node name, Host name and Cell name are correct. Click Next.
      Create DMGR Profile in WebSphere 8.5
    10. From the Administrative Security panel, ensure that Enable administrative security option check box is not checked. Click Next.
      Create DMGR Profile in WebSphere 8.5
    11. From the Security Certificate (Part 1) panel, accept the default selections and click Next.
      Create DMGR Profile in WebSphere 8.5
    12. Accept the Security Certificate (Part 2) panel defaults. Click Next.
      Create DMGR Profile in WebSphere 8.5
    13. The Port Values Assignment panel allows you to set any ports for the deployment manager to prevent conflicts with other profiles. Accept the default port values (which can be different from the example shown). Click Next
      Note the administrative console port for the deployment manager. We need this port to access DMGR Admin Console.
      Create DMGR Profile in WebSphere 8.5
    14. The Profile Creation Summary panel shows all of the choices you made on previous panels. Verify the summary information with what you entered previously. Click Create.
      Creation of the profile usually takes several minutes to complete.
      Create DMGR Profile in WebSphere 8.5
    15. The profile creation completes and the profile Dmgr01 profile is created. Notice that the Launch the First steps console check box is selected. Click Finish, and the First steps console launches.
      Create DMGR Profile in WebSphere 8.5
  4. Verify the DMGR profile
    1. The First steps console is associated with the deployment manager profile, Dmgr01, that was created. Each profile has its own First steps console. Click Installation verification from the First steps console.
      Create DMGR Profile in WebSphere 8.5
    2. The installation verification test tool runs and shows messages to indicate verification status. Use the scroll bar to scroll to the bottom to see all the messages. The following messages are shown if the installation verification was successful:
      IVTL00701: The Installation Verification Tool verification succeeded.
      IVTL00801: The installation verification is complete.
      Create DMGR Profile in WebSphere 8.5
    3. Close the First steps output – Installation verification window.
    4. The newly created profile is listed in the Profile Management Tool.
      Create DMGR Profile in WebSphere 8.5
    5. Click File > Exit to close the WebSphere Customization Toolbox.
  5. Start and Stop the DMGR.
    We can start and stop the dmgr in Dmgr01 profile through command line. There are a number of command-line scripts that help you manage the application server.
    Three of the most useful are startManager, stopManager, and serverStatus.

    1. Check the status of the dmgr using serverStatus
      Open a terminal and navigate to the bin directory of Dmgr01

      cd /app/IBM/WebSphere/AppServer/profiles/Dmgr01/bin

      Create DMGR Profile in WebSphere 8.5Use following command to verify that dmgr is running. Sample output is as follows

      ./serverStatus.sh -all

      Create DMGR Profile in WebSphere 8.5

    2. Stop the dmgr using stopManger
      Open a terminal and navigate to the bin directory of Dmgr01

      cd /app/IBM/WebSphere/AppServer/profiles/Dmgr01/bin

      Create DMGR Profile in WebSphere 8.5Use following command to stop the dmgr. Sample output is as follows

      ./stopManager.sh

      Create DMGR Profile in WebSphere 8.5

    3. Start the dmgr using startManager
      Open a terminal and navigate to the bin directory of Dmgr01

      cd /app/IBM/WebSphere/AppServer/profiles/Dmgr01/bin

      Create DMGR Profile in WebSphere 8.5Use following command to start the dmgr. Sample output is as follows

      ./startManger.sh

      Create DMGR Profile in WebSphere 8.5

  6. Access Admin Console
    Use following URL to access Admin Console of DMGR. Note 9061 is the port which I have asked you to note down while creating the profile. Click on Login to access the console.
    http://techienote:9061/ibm/console
    Create DMGR Profile in WebSphere 8.5 Create DMGR Profile in WebSphere 8.5
  7. Understand directory structure
    Whenever we create a profile following directories get created.
    bin: This is for programs, scripts, and DLLs
    config: This is for configuration files
    configuration: This is for configuration settings
    etc: This is for dummy key ring, key files, plug in keys
    firststeps: This is for firststeps utility
    installableApps: This is for applications that can be installed
    installedApps: This is for applications that are installed in application server
    installedConnectors: This is for installed resource adapters installedFilters
    logs: This is for trace and log files
    properties: This is for configuration property files that WebSphere uses
    servers: This is for server configuration
    temp: This is for temporary area for files that are created during JSP processing
    tranlog: This is for transaction log files
    wstemp: This is for temporary area for events
  8. Logs location
    A number of log files are created during the installation and profile creation process. Click the image to see it in better resolution.
    Create DMGR Profile in WebSphere 8.5

Hope you have liked this tutorial. Do comment and let me know in case of any issues or error.

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 DMGR Profile in WebSphere 8.5

3 thoughts on “Create DMGR Profile in WebSphere 8.5

  • August 15, 2015 at 3:53 pm
    Permalink

    Do we have silent scripts for Installation manager , websphere, IHS, plugin installation for 8.5

    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