Wenn Sie mit dem Profilassistenten (im Dialogbetrieb oder unbeaufsichtigt) erstmalig ein Profil erstellen, wird eine Befehlszeilenversion der Profilerstellungsaktion in eine Protokolldatei geschrieben. Sie können diese Befehlszeile dann der Protokolldatei entnehmen und sie in geänderter Form für die Erstellung anderer Profile verwenden.
Nachfolgend ein Beispiel für eine erfasste (unveränderte) Befehlszeile zum Erstellen eines neuen Profils, wie am Parameter -create ersichtlich ist:
(Oct 12, 2006 9:42:58 AM), Install, com.ibm.ws.install.wbiserver.ismp.actions. CalculateManagedProfileInvocationAction, msg1, CAPTURED_COMMAND_LINE_DESC: Die folgende Zeile entspricht etwa der Befehlszeile für diese Ausführung des Profilassistenten. Ein Unterschied besteht jedoch darin, dass die von Ihnen ausgewählten Ports (-portsFile) nicht enthalten sind. Außerdem wird der Befehl das Profil nicht einbinden. Folgende Parameterwerte müssen Sie möglicherweise ändern: profileName, profilePath, nodeName, cellName, hostName, dmgrHost und dmgrPort. Außerdem müssen Sie alle ausgeblendeten Kennwortwerte ändern. (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>meineBefehlszeile.sh INSTCONFSUCCESS: Das Profil ist jetzt vorhanden. INSTCONFSUCCESS: Profilerstellung erfolgreich. INSTCONFSUCCESS: Profilerstellung erfolgreich. /opt/IBM/WebSphere/ProcServer/bin>
C:\Programme\IBM\WebSphere\ProcServer\bin>meineBefehlszeile.bat INSTCONFSUCCESS: Das Profil ist jetzt vorhanden. INSTCONFSUCCESS: Profilerstellung erfolgreich. INSTCONFSUCCESS: Profilerstellung erfolgreich. C:\Programme\IBM\WebSphere\ProcServer\bin>
(c) Copyright IBM Corporation 2005, 2006.
Das Information Center basiert auf Eclipse-Technologie (http://www.eclipse.org).