Extract an existing manageprofiles command line from a log file to repeat or perform a similar profile creation or augmentation on the same or another system.
Here is an example of a captured (unmodified) command line for creating a new profile. In this case the command was used to create a new profile, as indicated by the -create parameter:
(Nov 3, 2005 9:24:08 AM), Install, com.ibm.ws.install.wbiserver.ismp.actions. CalculateManagedProfileInvocationAction, msg1, CAPTURED_COMMAND_LINE: /opt/o0544.1 2/bin/manageprofiles.sh -create -profileName "ProcSrv01" -profilePath "/opt/o054 4.12/profiles/ProcSrv01a" -templatePath "/opt/o0544.12/profileTemplates/default wbiserver" -federateLater "true" -hostName "eexfvt99.rchland.ibm.com" -nodeName "eexfvt99Node28" -cellName "eexfvt99Node26Cell" -dmgrHost "localhost" -dmgrP ort "8879" -OS_NAME "Linux" -winserviceCheck "true" -winserviceAccountType " localsystem" -winserviceUserName "root" -winservicePassword "MASKED_PARAMETER_ VALUE" -winserviceStartupType "manual" -dbJDBCClasspath "null" -dbType "CLOUD SCAPE" -ceiSampleJmsUser "root" -ceiSampleJmsPwd "MASKED_PARAMETER_VALUE" -cei SampleServerName "server1" -ceiDbProduct "CLOUDSCAPE_V51_1" -ceiDbName "" -ce iDbUser "" -ceiDbPwd "MASKED_PARAMETER_VALUE" -ceiDbSysUser "" -ceiDbSysPwd "MASKED_PARAMETER_VALUE" -ceiDbJdbcDriverClasspath "" -ceiDbJdbcDriverType "" -ceiDbServerName "" -ceiDbServerPort "" -ceiDbNodeName "" -ceiDbExecuteScript s "" -configureScaSecurity "true" -scaSecurityUserId "root" -scaSecurityPassw ord "MASKED_PARAMETER_VALUE" -adminBFMGroups "sadday" -mqUser "root" -mqPwd "MASKED_PARAMETER_VALUE" -dbName "WPRCSDB" -dbLocation "" -dbUserId "" -dbPas sword "MASKED_PARAMETER_VALUE" -dbServerPort "null" -dbHostName "localhost" - dbInstance "ol_" -dbCreateNew "true" -dbStorageGroup "" -dbConnectionLocation "" -configureAppScheduler "true" -appSchedulerServer "server1"
/opt/o0544.1 2/bin/manageprofiles.sh -create -profileName "myProfile" -profilePath "/opt/o054 4.12/profiles/myProfile" -templatePath "/opt/o0544.12/profileTemplates/default wbiserver" -federateLater "true" -hostName "eexfvt99.rchland.ibm.com" -nodeName "myNodeName" -cellName "myCellName" -dmgrHost "localhost" -dmgrPort "8879" -OS_NAME "Linux" -winserviceCheck "true" -winserviceAccountType " localsystem" -winserviceUserName "root" -winservicePassword "MASKED_PARAMETER_VALUE" -winserviceStartupType "manual" -dbJDBCClasspath "null" -dbType "CLOUD SCAPE" -ceiSampleJmsUser "root" -ceiSampleJmsPwd "myRootPwd" -cei SampleServerName "server1" -ceiDbProduct "CLOUDSCAPE_V51_1" -ceiDbName "" -ce iDbUser " " -ceiDbPwd "MASKED_PARAMETER_VALUE" -ceiDbSysUser "" -ceiDbSysPwd "MASKED_PARAMETER_VALUE" -ceiDbJdbcDriverClasspath "" -ceiDbJdbcDriverType "" -ceiDbServerName "" -ceiDbServerPort "" -ceiDbNodeName "" -ceiDbExecuteScript s "" -configureScaSecurity "true" -scaSecurityUserId "root" -scaSecurityPassword "myRootPwd" -adminBFMGroups "sadday" -mqUser "root" -mqPwd "myRootPwd" -dbName "WPRCSDB" -dbLocation "" -dbUserId "" -dbPassword "MASKED_PARAMETER_VALUE" -dbServerPort "null" -dbHostName "localhost" - dbInstance "ol_" -dbCreateNew "true" -dbStorageGroup "" -dbConnectionLocation "" -configureAppScheduler "true" -appSchedulerServer "server1"
/usr/IBM/WebSphere/ProcServer/bin>myCommandline.sh INSTCONFSUCCESS: The profile now exists. INSTCONFSUCCESS: Profile augmentation succeeded. INSTCONFSUCCESS: Profile augmentation succeeded. INSTCONFSUCCESS: Profile augmentation succeeded. /usr/IBM/WebSphere/ProcServer/bin>
/opt/IBM/WebSphere/ProcServer/bin>myCommandline.sh INSTCONFSUCCESS: The profile now exists. INSTCONFSUCCESS: Profile augmentation succeeded. INSTCONFSUCCESS: Profile augmentation succeeded. INSTCONFSUCCESS: Profile augmentation succeeded. /opt/IBM/WebSphere/ProcServer/bin>
/opt/ibm/WebSphere/ProcServer/bin>myCommandline.sh INSTCONFSUCCESS: The profile now exists. INSTCONFSUCCESS: Profile augmentation succeeded. INSTCONFSUCCESS: Profile augmentation succeeded. INSTCONFSUCCESS: Profile augmentation succeeded. /opt/ibm/WebSphere/ProcServer/bin>
/opt/IBM/WebSphere/ProcServer/bin>myCommandline.sh INSTCONFSUCCESS: The profile now exists. INSTCONFSUCCESS: Profile augmentation succeeded. INSTCONFSUCCESS: Profile augmentation succeeded. INSTCONFSUCCESS: Profile augmentation succeeded. /opt/IBM/WebSphere/ProcServer/bin>
C:\Program Files\IBM\WebSphere\ProcServer\bin>myCommandline.bat INSTCONFSUCCESS: The profile now exists. INSTCONFSUCCESS: Profile augmentation succeeded. INSTCONFSUCCESS: Profile augmentation succeeded. INSTCONFSUCCESS: Profile augmentation succeeded. C:\Program Files\IBM\WebSphere\ProcServer\bin>
Last updated: Thu Apr 27 15:20:08 2006
(c) Copyright IBM Corporation 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)