プロファイルを最初に作成するために、プロファイル・ウィザードを (対話式に、またはサイレントに) 使用すると、プロファイル作成のコマンド行バージョンがログ・ファイルに書き込まれます。 このコマンド行をログ・ファイルから抽出し、変更して使用すれば、他のプロファイルを作成できます。
以下に、-create パラメーターで示される、新規プロファイルを作成するために取り込まれた (未変更の) コマンド行の例を示します。
(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>
(c) Copyright IBM Corporation 2005, 2006.
このインフォメーション・センターには Eclipse テクノロジー (http://www.eclipse.org) が採用されています。