Tuesday 10 March 2015

WebSphere Application Server Profile Creation command line

An application server is a Server program in a computer in a Distributed Network that provides the business logic for an application program. The application server is frequently viewed as part of a three-tier application, consisting of a graphical user interface  server, an application (business logic) server, and a Data Base and Transaction server.
The application server is the primary runtime component in all configurations and is where
an application actually executes. All WebSphere Application Server configurations can have
one or more application servers. ... With Network Deployment, you can build a distributed
server environment consisting of multiple application servers maintained from a central
administration point. In a distributed server environment, you can cluster application
servers for workload distribution.

Creating Application Server Profile

For Windows:

AppServer_root/bin>manageprofiles 

-create -profileName AppSrv01 

-profilePath "C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01" 

-templatePath "C:\Program Files\IBM\WebSphere\AppServer\profileTemplates\default" 

-nodeName AppSrv01node 

-cellName WASCell 

-hostName was.local.com

-enableAdminSecurity true

-adminUserName wasadmin

-adminPassword wasadmin


verfication:

check AppSrv01_create.log is created under C:\Program Files\IBM\WebSphere\AppServer\logs\manageprofiles\

find for <message>Returning with return code: INSTCONFSUCCESS</message> in AppSrv01_create.log file



Now Start the server 

C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\bin>startServer server1 -username wasadmin -password wasadmin

after PID is generated in generated



opening console

from Browser and give URL

http://was.local.com:9060/ibm/console



For Unix Flavours:

/usr/IBM/WebSphere/AppServer/bin>./manageprofiles.sh \

-create -profileName AppSrv01 \

-profilePath /usr/IBM/WebSphere/AppServer/profiles/AppSrv01 \

-templatePath /usr/WebSphere/AppServer/profileTemplates/default \

-nodeName AppSrv01node  \

-cellName WASCell \

-hostName was.local.com

-enableAdminSecurity true

-adminUserName  wasadmin

-adminPassword wasadmin


verfication:

check AppSrv01_create.log is created under /usr/IBM/WebSphere/AppServer/logs/manageprofiles/

find for <message>Returning with return code: INSTCONFSUCCESS</message> in AppSrv01_create.log file



Now Start the server 

/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin>./startServer server1 -username wasadmin -password wasadmin

after PID is generated in generated



opening console

from Browser and give URL

http://was.local.com:9060/ibm/console


Note:  1.Change your HostName to was.local.com

          2.For Windows: Find Administrative console port (Default port no 9060) from  C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\AboutThisProfile.txt 
            For Unix Flavours :         /usr/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/AboutThisProfile.txt 




No comments:

Post a Comment