프로파일 작성 마법사를 (대화식 또는 자동으로) 사용하여 프로파일을 작성하거나 기능 업그레이드할 경우 명령행 버전의 프로파일 작성 또는 기능 업그레이드이 로그 파일에 기록됩니다. 로그 파일에서 이 명령행을 추출하고, 수정하며, 이 명령행을 사용하여 기타 프로파일을 작성하거나 기능 업그레이드할 수 있습니다.
프로파일을 작성하는 데 사용된 캡처된 명령행의 매개변수는 -create이며, 명령행 형식은 보통 manageprofiles -create입니다. 프로파일을 기능 업그레이드하는 데 사용된 캡처된 명령행의 매개변수는 -augment이며, 명령행 형식은 보통 manageprofiles -augment입니다. 명령행에서 이러한 매개변수를 전환하지 마십시오. 예를 들어, -create를 -augment로 대체하지 마십시오. 다른 매개변수 및 인수가 잘못되어 있으므로 결과 스크립트가 작동하지 않습니다.
다음은 새 프로파일 작성에 대해 캡처된(수정되지 않은) 명령행의 예입니다. 이 예에서 -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 "ESB01" -profilePath "/opt/o054 4.12/profiles/ESB01" -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" -scaSecurityPassword "MASKED_PARAMETER_VALUE"
/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 "rootPassword" -winserviceStartupType "manual" -dbJDBCClasspath "null" -dbType "CLOUD SCAPE" -ceiSampleJmsUser "root" -ceiSampleJmsPwd "myRootPwd" -cei SampleServerName "server1" -ceiDbProduct "CLOUDSCAPE_V51_1" -ceiDbName "" -ce iDbUser "" -ceiDbPwd "myPassword" -ceiDbSysUser "" -ceiDbSysPwd "myPassword" -ceiDbJdbcDriverClasspath "" -ceiDbJdbcDriverType "" -ceiDbServerName "" -ceiDbServerPort "" -ceiDbNodeName "" -ceiDbExecuteScript s "" -configureScaSecurity "true" -scaSecurityUserId "root" -scaSecurityPassword "myRootPwd"
/opt/IBM/WebSphere/ESB/bin>myCommandline.sh INSTCONFSUCCESS: The profile now exists. INSTCONFSUCCESS: Profile augmentation succeeded. INSTCONFSUCCESS: Profile augmentation succeeded. /opt/IBM/WebSphere/ESB/bin>
C:\Program Files\IBM\WebSphere\ESB\bin>myCommandline.bat INSTCONFSUCCESS: The profile now exists. INSTCONFSUCCESS: Profile augmentation succeeded. INSTCONFSUCCESS: Profile augmentation succeeded. C:\Program Files\IBM\WebSphere\ESB\bin>