Creating A New WebSphere Instance
Im planning to create more than 1 WebSphere instance on my box, im using a CentOS for development, and IBM AIX for production. On this example i have an instance named “AppSrv01” and trying to create a new WebSphere instance “AppSrvTeller”. Btw, im using WAS 6.1 on my box.
Okay here we go,
first is executing manageprofiles.sh to create a new profiles, when im executing manageprofiles.sh -help -create
, it will print
The following command line arguments are required for this mode. Command-line arguments are case sensitive. -create: Creates a new profile. Specify -help -create -templatePath <path> to get template-specific help information. -templatePath: The fully qualified path name of the profile template that is located on the file system. The following example selects a template: -templatePath <app_server_home>/profileTemplates/<Template_name> -profileName: The name of the profile. -profilePath: The intended location of the profile in the file system. The following command line arguments are optional, and have no default values. Command-line arguments are case sensitive. -isDefault: Make this profile the default target of commands that do not use their profile parameter. -omitAction: Omit optional features.
you just provide the needed parameters, well in my case i’ll show you what i write on my console
[root@localhost bin]# uname -a Linux localhost.localdomain 2.6.18-128.el5 #1 SMP Wed Jan 21 10:44:23 EST 2009 i686 i686 i386 GNU/Linux [root@localhost bin]# pwd /opt/IBM/WebSphere/AppServer/bin [root@localhost bin]# sh manageprofiles.sh -create -profileName AppSrvTeller -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default/ -profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrvTeller INSTCONFSUCCESS: Success: Profile AppSrvTeller now exists. Please consult /opt/IBM/WebSphere/AppServer/profiles/AppSrvTeller/logs/AboutThisProfile.txt for more information about this profile.
Hope it can help others
2 Comments
Mr Hanky
about 9 years agoThanks, this was very useful and helpful as we were suffering the pain and agony working with WAS!
Replyedwin
about 9 years agoHi hanky, yes i feel your pain :)