When you use the Profile wizard (interactively or silently) to initially create a profile, a command-line version of the profile creation is written to a log file. You can extract this command line from the log file, modify it, and use it to create other profiles.
Here is an example of a captured (unmodified) command line for creating a new profile, as indicated by the -create parameter:
(Oct 12, 2006 9:42:58 AM), Install, com.ibm.ws.install.wbiserver.ismp.actions. CalculateManagedProfileInvocationAction, msg1, CAPTURED_COMMAND_LINE_DESC: The following line is the command line equivalent of your run of the Profile Wizard. It is different in that the ports (-portsFile) you have selected are not included. Also this command line will not federate the profile. Parameter values you may want to change are profileName, profilePath, nodeName, cellName, hostName, dmgrHost, dmgrPort, and any password values which have been masked out . (Oct 12, 2006 9:42:58 AM), Install, com.ibm.ws.install.wbiserver.ismp.actions. CalculateManagedProfileInvocationAction, msg1, CAPTURED_COMMAND_LINE: "/BUILD1/ProcServer01/bin/manageprofiles.sh" -create -profileName "ProcSrv02" -profilePath "/BUILD1/ProcServer01/profiles/ProcSrv02" -templatePath "/BUILD1/ProcServer01/profileTemplates/default.wbiserver" -hostName "mohawkvalley.site" -nodeName "mohawkvalleyNode09" -cellName "mohawkvalleyNode16Cell" -dmgrHost "localhost" -dmgrPort "8879" -OS_NAME "Linux" -winserviceCheck "true" -winserviceAccountType "localsystem" -winserviceUserName "root" -winservicePassword "MASKED_PARAMETER_VALUE" -winserviceStartupType "manual" -dbJDBCClasspath "null" -dbType "CLOUDSCAPE" -ceiSampleJmsUser "root" -ceiSampleJmsPwd "MASKED_PARAMETER_VALUE" -ceiSampleServerName "server1" -ceiDbProduct "CLOUDSCAPE_V51_1" -ceiDbName "" -ceiDbUser "" -ceiDbPwd "MASKED_PARAMETER_VALUE" -ceiDbSysUser "" -ceiDbSysPwd "MASKED_PARAMETER_VALUE" -ceiDbJdbcDriverClasspath "" -ceiDbJdbcDriverType "" -ceiDbServerName "" -ceiDbServerPort "" -ceiDbStorageGroup "" -ceiDbNodeName "" -ceiDbConnectionLocation "" -ceiDbExecuteScripts "" -configureScaSecurity "true" -scaSecurityUserId "root" -scaSecurityPassword "MASKED_PARAMETER_VALUE" -bpcadminUsers "root" -bpcmqUser "root" -bpcmqPwd "MASKED_PARAMETER_VALUE" -dbName "WPRCSDB01" -dbLocation "" -dbUserId "" -dbPassword "MASKED_PARAMETER_VALUE" -dbServerPort "null" -dbHostName "localhost" -dbInstance "ol_" -dbCreateNew "true" -dbDelayConfig "false" -dbStorageGroup "" -dbConnectionLocation "" -configureAppScheduler "true" -appSchedulerServer "server1" (Oct 12, 2006 9:42:58 AM), Install, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
/BUILD1/ProcServer01/bin/manageprofiles.sh -create -profileName "ProcSrv02" -profilePath "/BUILD1/ProcServer01/profiles/ProcSrv02" -templatePath "/BUILD1/ProcServer01/profileTemplates/default.wbiserver" -hostName "mohawkvalley.site" -nodeName "mohawkvalleyNode09" -cellName "mohawkvalleyNode16Cell" -dmgrHost "localhost" -dmgrPort "8879" -OS_NAME "Linux" -winserviceCheck "true" -winserviceAccountType "localsystem" -winserviceUserName "root" -winservicePassword "MASKED_PARAMETER_VALUE" -winserviceStartupType "manual" -dbJDBCClasspath "null" -dbType "CLOUDSCAPE" -ceiSampleJmsUser "root" -ceiSampleJmsPwd "MASKED_PARAMETER_VALUE" -ceiSampleServerName "server1" -ceiDbProduct "CLOUDSCAPE_V51_1" -ceiDbName "" -ceiDbUser "" -ceiDbPwd "MASKED_PARAMETER_VALUE" -ceiDbSysUser "" -ceiDbSysPwd "MASKED_PARAMETER_VALUE" -ceiDbJdbcDriverClasspath "" -ceiDbJdbcDriverType "" -ceiDbServerName "" -ceiDbServerPort "" -ceiDbStorageGroup "" -ceiDbNodeName "" -ceiDbConnectionLocation "" -ceiDbExecuteScripts "" -configureScaSecurity "true" -scaSecurityUserId "root" -scaSecurityPassword "MASKED_PARAMETER_VALUE" -bpcadminUsers "root" -bpcmqUser "root" -bpcmqPwd "MASKED_PARAMETER_VALUE" -dbName "WPRCSDB01" -dbLocation "" -dbUserId "" -dbPassword "MASKED_PARAMETER_VALUE" -dbServerPort "null" -dbHostName "localhost" -dbInstance "ol_" -dbCreateNew "true" -dbDelayConfig "false" -dbStorageGroup "" -dbConnectionLocation "" -configureAppScheduler "true" -appSchedulerServer "server1"
/opt/IBM/WebSphere/ProcServer/bin>myCommandline.sh INSTCONFSUCCESS: The profile now exists. INSTCONFSUCCESS: Profile creation succeeded. INSTCONFSUCCESS: Profile creation succeeded. /opt/IBM/WebSphere/ProcServer/bin>
C:\Program Files\IBM\WebSphere\ProcServer\bin>myCommandline.bat INSTCONFSUCCESS: The profile now exists. INSTCONFSUCCESS: Profile creation succeeded. INSTCONFSUCCESS: Profile creation succeeded. C:\Program Files\IBM\WebSphere\ProcServer\bin>
Last updated: Wed 01 Nov 2006 07:47:12
(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)