How to create a profile in WebSphere

Home > Search > How-to
  by

WebSphere is made up of multiple layers. A cell is a sort of container that contains all of the layers, such as the profiles, nodes, and servers. A clean install of WebSphere will not install any of the layers. The creation of a profile is what creates the layers. An install of WebSphere with no profiles is a sort of empty vessel. This article describes how to create a new profile. WebSphere can contain numerous profiles. Think of each unique profile as a container that has one or more nodes.

 


Create an Application Server Profile using the command line

Before you can create a profile, you must install the application server

Create the profile.

~]# /opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh 
-create 
-profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01
-profileName AppSrv01
-cellName cell01
-nodeName node01 
-serverName server01 
-hostName server01.example.com

 

If creating two profiles on two different servers that will be part of a cluster, give the first profile a node name such as node01 and give the second profile a node name such as node02. This is necessary so that when you are creating the cluster, you can select node01 and node02. The server name will typically be the same on both nodes.

 

If the profile was successfully created, the following output should be displayed.

INSTCONFSUCCESS: Success: Profile your_profile_name now exists.

 

The profile will now exist at /opt/IBM/WebSphere/AppServer/profiles.

~]# ls /opt/IBM/WebSphere/AppServer/profiles
AppSrv01

 

You can now access the web browser console.

 


Create an Management Profile for a Dmgr using the command line

Before you can create a profile, you must install the deployment manager

Create the profile.

~]# /opt/IBM/WebSphere/Dmgr/bin/manageprofiles.sh  
-create 
-templatePath /opt/IBM/WebSphere/Dmgr/profileTemplates/dmgr/ 
-isDefault 
-profileName your_profile_name
-adminUsername your_username
-adminPassword your_password

 

If the profile was successfully created, the following output should be displayed.

INSTCONFSUCCESS: Success: Profile your_profile_name now exists.

 

The profile will now exist at /opt/IBM/WebSphere/Dmgr/profiles.

~]# ls /opt/IBM/WebSphere/Dmgr/profiles
profile01

 

You can now start the Dgmr.

 


Create an Management Profile for a Job Manager using the command line

Before you can create a profile, you must install the deployment manager

Create the profile.

~]# /opt/IBM/WebSphere/Dmgr/bin/manageprofiles.sh  
-create 
-templatePath /opt/IBM/WebSphere/Dmgr/profileTemplates/management/ 
-serverType JOB_MANAGER
-profileName your_profile_name
-adminUsername your_username
-adminPassword your_password

 

If the profile was successfully created, the following output should be displayed.

INSTCONFSUCCESS: Success: Profile your_profile_name now exists.

 

The profile will now exist at /opt/IBM/WebSphere/Dmgr/profiles.

~]# ls /opt/IBM/WebSphere/Dmgr/profiles
JobMgr01

 


Create an Administrative Agent Profile using the command line

Before you can create a profile, you must install the application server. IBM documentation states that an Admin Agent profile default port is 9065. However, the app_server_root/profileTemplates/management/actions/portsUpdate/adminagent.portdef.props file will have WC_adminhost=9060 and WC_adminhost_secure=9043. You can update these to be WC_adminhost=9065 and WC_adminhost_secure=9048 before creating the profile to set the HTTP port to 9065 and hte HTTPs port to 9048.

Create the profile.

~]# /opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh  
-create 
-templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/management/ 
-serverType ADMIN_AGENT
-profileName AdminAgent01
-nodeName AdminAgentNode01

 

If the profile was successfully created, the following output should be displayed.

INSTCONFSUCCESS: Success: Profile AdminAgent01 now exists.

 

The profile will now exist at /opt/IBM/WebSphere/AppServer/profiles.

~]# ls /opt/IBM/WebSphere/Dmgr/profiles
AdminAgent01

 


Using GUI

Launch the Profile Management Tool.

~]# /opt/IBM/WebSphere/your_server_name/bin/ProfileManagement/pmt.sh

 

Select Create.

  • If creating a profile for a network deployment manager (dmgr), select Management, select Deployment Manager, and follow the prompts.
  • If creating a profile for a job manager, select Management, select Job Manager, and follow the prompts.
  • If creating a profile for an application server, select Application server, select Next, and follow the prompts.

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments