23.11.09

How to create new profile on WebSphere 6.x

ผมสะดวกมากกว่าที่จะใช้ command line

ก่อนอื่นเข้าไปที่ WebSphere home แล้วเรียกใช้เครื่องมือ wasprofile โดยตัวมันเองมี options ดังนี้

wasprofile.bat -create
-profileName profile_name
-profilePath fully_qualified_profile_path
-templatePath template_path
-nodeName node_name
[-cellName cell_name]
-hostName host_name
[-isDefault]
[-startingPort starting_port | -portsFile file_path]
[-winserviceCheck true | false]
[-winserviceAccountType specified_user | localsystem]
[-winserviceUserName your_user_name]
[-winservicePassword your_password]
[-winserviceStartupType manual | automatic | disabled]
[-debug]

ตัวอย่างเช่น
C:\Program Files\IBM\WebSphere\AppServer\bin>wasprofile -create -profileName AppSrv01 -profilePath "c:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01" -templatePath "c:\Program Files\IBM\WebSphere\AppServer\profileTemplates\default" -nodeName test -cellName Node01Cell -hostName localhost

No comments:

Post a Comment