Websphere Profiles
Websphere Profiles
Profiles are set of files that represent a Websphere Application Server configuration.
Generally a Websphere Application Server installation takes 300MB. If you want to install more than one WAS it wastes the memory to overcome that we use the concept of profiles.
Websphere Application Server files are split into two categories, They are
- Product Binaries
- Configuration Files
1. Product Binaries: Product binary files are set of shared read only Static file or Binary files that are used to run on Application Server. So, using one server binary files we can install more than one application server with their own configuration.
2. Configuration Files: These are set of user customizable data files. It contains "Websphere Configuration", Installed applications, Resource Adopters, Properties, Logfiles, etc.,
Advantages of Profiles:
- Each profile uses the same product binary files
- Simpler than multiple Websphere installations & updates
- Less disk space
Managing Profiles:
- PMT (Profile Management Tools) - Eclipse base GUI
- ManageProfiles.sh (bat) - Command Line
Websphere Network Deployment Profiles:
When we install " ND Packages " then it will comes with types of profiles use the same product files.
- Cell Profile
- DMGR (Deployment Manager) Profile -- (Management)
- Application Server Profile -- (Standalone)
- Custom Profile -- (Managed)
- Administrative Agent
- Job Manager
- Secure proxy
1. Cell Profile:
- It creates a instant cell
- Creates both a Deployment Manager(DMGR) and a Federated Node
2. DMGR Profile:
- It just creates a Deployment Manager
- The basic function of the deployment manager is to deploy applications to a cell of application servers, which it manages. Each application server that belongs to the cell is a managed node.
3. Application Server Profile:
- It just creates a Standalone application server
- This is equivalent to Base or Express application server
- Has a Node name, Cell name property and corresponding directories
- Cell directory is over written upon federation
4. Custom Profile:
- It just creates an empty Node
- Even Nodeagent is also not available
5. Administrative Agent:
The basic function of the administrative agent is to provide a single interface to administer multiple unfederated application servers.
If you create the profile with the manageprofiles command, specify app_server_root/profileTemplates/management for the -templatePath parameter and ADMIN_AGENT for the -serverType parameter to create this type of management profile.
6. Job Manager
The basic function of the job manager is to provide a single console to administer multiple base servers, multiple deployment managers, and do asynchronous job submission.
You can create the profile using the Profile Management Tool or the manageprofiles command. If you create the profile with the manageprofiles command, specify app_server_root/profileTemplates/management for the -templatePath parameter and JOB_MANAGER for the -serverType parameter to create this type of management profile.
7. Secure Proxy
Use the secure proxy server to take requests from the Internet and forward them to application servers. The secure proxy server resides in the DMZ.
Below are the sample commands to create various profiles using manageprofiles command .
Application Server Profile:
Go to <was-root>/bin
DMGR Profile :
./manageprofiles.sh -create -profileName appsrv01 -profilePath <was_root>/profiles/appsrv01 -templatePath <was_root>/profileTemplates/default -cellName appsrv01node01 -hostName node01.waslocal.com -nodeName node01
The expected outcome of it will be:
INSTCONFSUCCESS: Success: Profile appsrv01 now exists. Please consult <was_root>/profiles/appsrv01/logs/AboutThisProfile.txt for more information about this profile.
Please check the –help parameter of the manageprofiles shell in order to see all the available options for this command.
./manageProfiles.sh -create -profileName Dmgr01 -templetPath /opt/IBM/WebSphere/AppServer/profileTemplates/dmgr or management -serverType DEPLOYMENT_MANAGER -hostname your_ServerName
After creation it will show the path /opt/IBM/WebSphere/AppServer/Profiles/Dmgr01/logs/AboutThisProfile.txt for to see more information about DMGR profile, Like Node_Name, Cell_Name, Host_Name, Admin_Security, AdminConsole_Port(9060), AdminConsole_SecurePort(9043), Management_BootstrapPort(9809), Management_SOAP(8878), Etc.,
Custom Profile:
./manageProfiles.sh -create -profileName Custom01 -templetPath /opt/IBM/WebSphere/AppServer/profileTemplates/managed
After creation it will show the path /opt/IBM/WebSphere/AppServer/Profiles/Custom01/logs/AboutThisProfile.txt
for to see more information about Custom profile
Comments
Post a Comment