Estrarre una riga comandi manageprofiles esistente da un file di log per ripetere o eseguire una creazione o implementazione del profilo simile sullo stesso o su un altro sistema.
Di seguito è riportato un esempio di una riga comandi catturata (non modificata) per la creazione di un nuovo profilo. In questo caso, il comando è stato utilizzato per creare un nuovo profilo, come indicato dal parametro -create:
(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: Il profilo ora esiste. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. /usr/IBM/WebSphere/ProcServer/bin>
/opt/IBM/WebSphere/ProcServer/bin>myCommandline.sh INSTCONFSUCCESS: Il profilo ora esiste. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. /opt/IBM/WebSphere/ProcServer/bin>
/opt/ibm/WebSphere/ProcServer/bin>myCommandline.sh INSTCONFSUCCESS: Il profilo ora esiste. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. /opt/ibm/WebSphere/ProcServer/bin>
/opt/IBM/WebSphere/ProcServer/bin>myCommandline.sh INSTCONFSUCCESS: Il profilo ora esiste. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. /opt/IBM/WebSphere/ProcServer/bin>
C:\Program Files\IBM\WebSphere\ProcServer\bin>myCommandline.bat INSTCONFSUCCESS: Il profilo ora esiste. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. INSTCONFSUCCESS: L'implementazione del profilo è riuscita. C:\Program Files\IBM\WebSphere\ProcServer\bin>