Profiles And Fedration
Profile:
A profile defines the run-time environment. The profile includes all the files that the server processes in the run-time environment and that you can change.
The manageprofiles command-line tool defines each profile for the product.
Run the Profile Management Tool or the manageprofiles command each time that you want to create a profile.
You can run the Profile Management Tool or the command-line tool to create a new profile on the same machine as an existing profile. Define unique characteristics, such as profile name and node name, for the new profile. Each profile shares all runtime scripts, libraries, the Java SE Runtime Environment 6 (JRE 6) environment, and other core product files.
Profile types:
1. Deployment manager server (DMGR):
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.
2. Administrative agent server:
The basic function of the administrative agent is to provide a single interface to administer multiple unfederated application servers.
3. Job manager server:
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.
4. Application server profile:
The ability to scale up a standalone application server profile by adding the application server node into a deployment manager cell. Multiple application server processes in a cell can deploy an application that is in demand.
5. Cell profile:
Creation of a cell profile generates a deployment manager and a federated node in one iteration through the Profile Management Tool. The result is a fully functional cell on a given system.
6. Custom profile:
A custom profile does not include default applications or a default server like the application server profile includes. A custom profile is an empty node. Add the node to the deployment manager cell. Then, you can use the administrative interface of the deployment manager to customize the managed node by creating clusters and application servers.
7. Secure proxy profile
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.
* We can create a WebSphere Application Server profile in two ways.
a) GUI – using Profile Management Tool
b) Silent – using manageprofile.sh script
A) GUI – using Profile Management Tool
Step 1) Login to server where WAS is installed.
Go to the path if windows: IBM WebSphere > IBM WebSphere Application Server > Tools > Profile Management Tool
if linux: Default installation location, it will be /app/IBM/WebSphere/AppServer/bin/ProfileManagement)
Launch Profile Management Tool
./pmt.sh
Step 3) On Profile Management Tools, Environment Selection, highlight the Application server environment type.
Step 4) Click the Next button.
Step 5) On Profile Creation Options, select the Typical profile creation radio button.
(Note: choosing Typical profile creation uses the default configuration settings. It assigns unique names to the profile, node, and host. The tool also assigns unique port values.
Alternatively, you can choose Advanced profile creation to specify your own values for settings such as the location of the profile and names of the profile, node, and host.)
Step 6) Click the Next button.
Step 7) On Administrative Security, clear the Enable administrative security checkbox.
Step 8) Click the Next button.
Step 9) On Profile Creation Summary, review the information for accuracy and click the Create button.
The progress screen is displayed. Wait for the progress to complete 100%, which may take several minutes.
Step 10) Optionally, on Profile Creation Complete, you can select the check box for Launch the First steps console.
Step 11) Click the Finish button.
Step 12) If you chose to run First Steps, on WebSphere Application Server, First steps, select the first option, which is entitled: Installation verification.
Step 13)Verify that the installation verification completed successfully. You should get the message entitled: The installation verification is complete.
Step 14) Close the screen for the First steps output.
Step 15) Verify that you can sign on to the Administration Console. For example:http://host:9060/ibm/console
B. Silent – using manageprofile.sh script
Dmgr Profile:
./manageprofiles.sh -create -profileName Dmgr01 -profilePath /app/IBM/WebSphere/AppServer/profiles/Dmgr01 -templatePath /app/IBM/WebSphere/AppServer/profileTemplates/dmgr
Application Server Profile:
./manageprofiles.sh -create -profileName AppSrv01 -profilePath /app/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /app/IBM/WebSphere/AppServer/profileTemplates/default
Custome Profile:
./manageprofiles.sh -create -profileName AppSrv01 -profilePath /app/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /app/IBM/WebSphere/AppServer/profileTemplates/managed
Fedration:
Add the application server node to a deployment manager cell. Adding the application server node to a cell is known as federation. Federation changes the standalone application server node into a managed node. You use the administrative console of the deployment manager to manage the node.
AddNode command:
./addNode.sh localhost_of_dmgr 8879(soap port number of Dmgr)
e.g.
[root@localhost~]./addNode.sh localhost 8879
If security is enabled then:
[root@localhost~]./addNode.sh localhost 8879 -username abcd -passsword xxxxxx
Comments
Post a Comment