Websphere Server Profile Creation steps
Below are the commands to create a custom websphere server profile from commandline:
bash-3.00# ./manageprofiles.sh -create -profileName AppSrv02 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/AppSrv02 -profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv02 INSTCONFSUCCESS: Success: Profile AppSrv02 now exists. Please consult /opt/IBM/WebSphere/AppServer/profiles/AppSrv02/logs/AboutThisProfile.txt for more information about this profile. bash-3.00# gedit /opt/IBM/WebSphere/AppServer/profiles/AppSrv02/logs/AboutThisProfile.txt ------------------------------------------------------------------------------------------------------------------------------------------------ Application server environment to create: Application server Location: /opt/IBM/WebSphere/AppServer/profiles/AppSrv02 Disk space required: 200 MB Profile name: AppSrv02 Make this profile the default: False Node name: SolarisNode02 Host name: Solaris Enable administrative security (recommended): False Administrative console port: 9061 Administrative console secure port: 9044 HTTP transport port: 9081 HTTPS transport port: 9444 Bootstrap port: 2810 SOAP connector port: 8881 Run application server as a service: False Create a Web server definition: False ------------------------------------------------------------------------------------------------------------------------------------------------ Start our server: bash-3.00# ./startServer.sh server1 -profileName AppSrv02
Steps to perform:
1. cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv02/config/cells/SolarisNode02Cell/nodes/SolarisNode02/servers/
2. cp -r server1 server2
3. cp /opt/IBM/WebSphere/AppServer/profiles/AppSrv02/config/cells/SolarisNode02Cell/nodes/SolarisNode02/serverindex.xml /opt/IBM/WebSphere/AppServer/profiles/AppSrv02/config/cells/SolarisNode02Cell/nodes/SolarisNode02/serverindex_backup.xml
4. check out /opt/IBM/WebSphere/AppServer/profiles/AppSrv02/config/cells/SolarisNode02Cell/nodes/SolarisNode02/serverindex.xml
5. find out tool for adding an entry
Admin URL is now (for profileName AppSrv02): http://Solaris:9061/ibm/console
In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.