In this tutorial we will learn how to create Cell profile in WebSphere 8.5. For creating a Cell profile we will be using the Profile Management tool in the WebSphere Customization Toolbox. 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.

Followings are the bullet points of How to Create Cell profile in WebSphere 8.5:

  • Understand what is Cell profile
  • Prerequisites
  • Create Cell Profile in WebSphere 8.5
  • Verify the Cell profile
  • Start and Stop Application Server and 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 Cell profile in WebSphere 8.5

  1. Understand what is Cell profile
    A cell profile combines two profiles: a deployment manager profile and an application server profile. In this case, the deployment manager and application server reside on the same system, and the application server profile is already federated to the deployment manager cell.Using this type of profile is a good way to quickly set up a distributed server environment. It can be useful for test environments that can have all nodes on one test system. To know more about the profiles check understand Profiles in WebSphere Application Server
  2. Prerequisites
    1. To create Cell profile you must have installed WebSphere Application Server V8.5 on your machine. In case of any help check Installing WebSphere 8.5 tutorial.
    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-Cell-Profile-in-WebSphere-8.5-hostname
  3. Create Cell profile in 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 Cell profile in WebSphere 8.5
      Create Cell Profile in WebSphere 8.5
    4. From the Environment Selection panel, select Cell and click Next
      Create Cell Profile in WebSphere 8.5
    5. Select the Advanced profile creation to specify your own configuration values during profile creation. Click Next.
      Create Cell Profile in WebSphere 8.5
    6. Check Deploy the administrative console and Deploy the default application checkbox in the Option Application Deployment screen and click Next.
      Create Cell Profile in WebSphere 8.5
    7. From the Profile Name and Location panel, provide the following name and location information
      Deployment manager profile name : Dmgr02
      Application Server profile name : AppSrv02
      Profile directory : /app/IBM/WebSphere/AppServer/profiles/
      Do not select the Make this profile the default option.
      Click Next.
      Create Cell Profile in WebSphere 8.5
    8. 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 Cell Profile in WebSphere 8.5
    9. From the Administrative Security panel, ensure that Enable administrative securityoption check box is not checked. Click Next.
      Create Cell Profile in WebSphere 8.5
    10. From the Security Certificate (Part 1) panel, accept the default selections and click Next.
      Create Cell Profile in WebSphere 8.5
    11. Accept the Security Certificate (Part 2) panel defaults. Click Next.
      Create Cell Profile in WebSphere 8.5
    12. 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 Cell Profile in WebSphere 8.5 Create Cell Profile in WebSphere 8.5 Create Cell Profile in WebSphere 8.5
    13. In the Web Server Definition panel, accept the default value. Do not create a web server definition. Click Next.
      Create Cell 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 Cell Profile in WebSphere 8.5
    15. The profile creation completes and the profile Dmgr02, AppSrv02 profile is created. Notice that the Launch the First steps console check box is selected. Click Finish, and the First steps console launches.
      Create Cell Profile in WebSphere 8.5
  4. Verify the Cell profile
    1. The First steps console is associated with the deployment manager profile, Dmgr02, that was created. Each profile has its own First steps console. Click Installation verification from the First steps console.
      Create Cell 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 Cell 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 Cell Profile in WebSphere 8.5
  5. Start and Stop the Application Server and DMGR
    1. DMGR
      We can start and stop the dmgr in Dmgr02 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 Dmgr02

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

        Create Cell Profile in WebSphere 8.5
        Use following command to verify that status of dmgr. Sample output is as follows, in which DMGR is in stop mode

        ./serverStatus.sh -all

        Create Cell Profile in WebSphere 8.5

      2. Start the DMGR using startManager
        Open a terminal and navigate to the bin directory of Dmgr02

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

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

        ./startManger.sh

        Create Cell Profile in WebSphere 8.5

      3. Stop the DMGR using startManager
        Open a terminal and navigate to the bin directory of Dmgr02

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

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

        ./stopManger.sh

        Create Cell Profile in WebSphere 8.5

    2. Application Server
      As the AppSrv02 is the federated node (Default behavior in case of Cell Profile) we need to start node agent. Node agent is the java process which works as a mediator between DMGR and Application Server node. In case of federated node we always have to start node agent before starting any Application Server process.

      1. Check the status of the node agent
        Open a terminal and navigate to the bin directory of AppSrv02

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

        Create Cell Profile in WebSphere 8.5

        Use following command to check the status of the node agent. Sample output is as follows

        ./serverStatus.sh -all

        Create Cell Profile in WebSphere 8.5

      2. Start the Node Agent
        Open a terminal and navigate to the bin directory of AppSrv02

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

        Create Cell Profile in WebSphere 8.5

        Use following command to start the node agent. Sample output is as follows

        ./startNode.sh

        Create Cell Profile in WebSphere 8.5

      3. Start the Application Server
        Once the node agent is started we can start the Application Server. Open a terminal and navigate to the bin directory of AppSrv02

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

        Create Cell Profile in WebSphere 8.5

        Use following command to start the Application Server. Sample output is as follows

        ./startServer.sh server1

        Create Cell Profile in WebSphere 8.5

      4. Stop the Application Server
        Open a terminal and navigate to the bin directory of AppSrv02

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

        Create Cell Profile in WebSphere 8.5

        Use following command to stop the Application Server. Sample output is as follows

        ./stopServer.sh server1

        Create Cell Profile in WebSphere 8.5

      5. Stop the node agent
        Open a terminal and navigate to the bin directory of AppSrv02

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

        Create Cell Profile in WebSphere 8.5

        Use following command to stop the Application Server. Sample output is as follows

        ./stopNode.sh

        Create Cell Profile in WebSphere 8.5

    3. Remember that you must start node agent before starting or stopping the Application Server. If you miss this you may face the issue.
  6. Access the Admin Console
    Open a browser and enter following URL to access the admin console. Note 9062 is the port which I have asked you to note down while creating the profile. Click on Login to access the console.
    http://techienote:9062/ibm/console
    Create Cell Profile in WebSphere 8.5
    From the left windows, click Servers > Server Types > WebSphere Application Server
    Create Cell Profile in WebSphere 8.5
    You will see the server1 which we have started earlier. If you are unable to see the green status then start the corresponding node agent and Application Server.
    Create Cell Profile in WebSphere 8.5
    To check the node status, from the left hand side, click System Administration > Node
    Create Cell Profile in WebSphere 8.5
    You will see the techienoteNode2 which we have started earlier. If you are unable to see the green status then start the corresponding node agent and Application Server.
    Create Cell Profile in WebSphere 8.5
  7. Directory Structure
    Following is the directory structure of cell profile
    Create Cell Profile in WebSphere 8.5

  8. Logs
    A number of log files are created during the installation and profile creation process. Click the image to see it in better resolution.
    Create Cell 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 Cell Profile in WebSphere 8.5
Tagged on:             

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