IBM WebSphere Application Server Profiles Management (Creation & Deletion of profiles)

Useful link to understand on IBM WebSphere Application Server Profile https://www.slideshare.net/saxena_knp/ibm-websphere-application-server-types-of-profiles
How to Create and Delete WAS Profiles ?
To create Stand Alone Profile:
[root@oc1660108063 bin]# pwd
/data/ibm/WebSphere/AppServer/bin
[root@oc1660108063 bin]# ./manageprofiles.sh -create -profileName AppSrv01 -profilePath /data/ibm/WebSphere/AppServer/profiles/AppSrv01 -templatePath /data/ibm/WebSphere/AppServer/profileTemplates/default
To Delete Stand Alone Profile:
 
Note: Stop the WAS instance before executing the below command.
 
[root@oc1660108063 bin]# pwd
/data/ibm/WebSphere/AppServer/bin
[root@oc1660108063 bin]# ./manageprofiles.sh -delete -profileName AppSrv01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
To create DMGR Profile:
[root@oc1660108063 bin]# pwd
/data/ibm/WebSphere/AppServer/bin
[root@oc1660108063 bin]# ./manageprofiles.sh -create -profileName Dmgr01 -profilePath /data/ibm/WebSphere/AppServer/profiles/Dmgr01 -templatePath /data/ibm/WebSphere/AppServer/profileTemplates/dmgr
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
To create Custom Profile and Federate to DMGR Profile:
Note: You have to start the DMGR instance first then only you can perform the below command. because while federation it will look for DMGR SOAP port is listening or not, if SOAP port is not listening then the custom profile federation node to DMGR will get fail.
[root@oc1660108063 bin]# pwd
/data/ibm/WebSphere/AppServer/bin
[root@oc1660108063 bin]# ./manageprofiles.sh -create -dmgrHost localhost -dmgrPort 8879 -profilePath /data/ibm/WebSphere/AppServer/profiles/AppSrv01 -templatePath /data/ibm/WebSphere/AppServer/profileTemplates/managed
Note: Command to Federate profile which is not yet federated to DMGR Profile: <profile_home>\bin>./addnode.sh <hostname of dmgr><soap connector port no of dmgr>[includeapps -username  **** password ****]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
To List existing WAS Profiles:
[root@oc1660108063 bin]# pwd
/data/ibm/WebSphere/AppServer/bin
[root@oc1660108063 bin]# ./manageprofiles.sh -listProfiles
To delete all Listed Profiles:
Note: Stop all the WAS instance before executing the below command.
[root@oc1660108063 bin]# pwd
/data/ibm/WebSphere/AppServer/bin
[root@oc1660108063 bin]# ./manageprofiles.sh -deleteAll
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Comments

Popular posts from this blog

SSL certificate in WebSphere Application Server

Tomcat Upgrade Steps on Windows.