After installing IBM WAS, we will proceed further to create profiles. We will use manageprofiles.sh utility under WAS_HOME/bin directory to create profiles.
We will consider WAS_HOME as /opt/IBM/WebSphere/AppServer
1) Creating DMGR profile :
Go to /opt/IBM/WebSphere/AppServer/bin and trigger the below command :
./manageprofiles.sh -create -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/cell/dmgr -profileName Dmgr01 -nodeProfilePath /opt/IBM/WebSphere/AppServer/profiles -cellName `hostname`Cell01 -nodeName `hostname`DMGRNode01
where `hostname` will fetch and apply hostname automatically. You may use the values of your own.
2) Creating AppSrv01 profile :
Go to /opt/IBM/WebSphere/AppServer/bin and trigger the below command :
./manageprofiles.sh -create -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default -profileName AppSrv01 -ProfilePath /opt/IBM/WebSphere/AppServer/profiles -nodeName AppSrvNode01
We have both of our profiles ready.
3) Creating a Custom/managed profile :
Go to /opt/IBM/WebSphere/AppServer/bin and trigger the below command :
./manageprofiles.sh -create -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed -profileName CustomProfile01 -ProfilePath /opt/IBM/WebSphere/AppServer/profiles -nodeName Custom_Node01 -hostname `hostname` -federateLater true
We will consider WAS_HOME as /opt/IBM/WebSphere/AppServer
1) Creating DMGR profile :
Go to /opt/IBM/WebSphere/AppServer/bin and trigger the below command :
./manageprofiles.sh -create -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/cell/dmgr -profileName Dmgr01 -nodeProfilePath /opt/IBM/WebSphere/AppServer/profiles -cellName `hostname`Cell01 -nodeName `hostname`DMGRNode01
where `hostname` will fetch and apply hostname automatically. You may use the values of your own.
2) Creating AppSrv01 profile :
Go to /opt/IBM/WebSphere/AppServer/bin and trigger the below command :
./manageprofiles.sh -create -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default -profileName AppSrv01 -ProfilePath /opt/IBM/WebSphere/AppServer/profiles -nodeName AppSrvNode01
We have both of our profiles ready.
3) Creating a Custom/managed profile :
Go to /opt/IBM/WebSphere/AppServer/bin and trigger the below command :
./manageprofiles.sh -create -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed -profileName CustomProfile01 -ProfilePath /opt/IBM/WebSphere/AppServer/profiles -nodeName Custom_Node01 -hostname `hostname` -federateLater true
No comments:
Post a Comment