Saturday, September 13, 2008

Websphere Application Server 6.0 -- Create New Profile through commands

ในที่นี้จะสร้าง profile ชื่อ NewProfile

cd WAS_HOME
cd bin
wasprofile -create -profileName NewProfile
-profilePath "WAS_HOME\profiles\NewProfile"
-templatePath "WAS_HOME\profileTemplates\default"
-nodeName NewProfile
-cellName NewProfile
-hostName localhost

Syntax

# ./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]


ตัวอย่าง portdef.props

WC_defaulthost=9080
WC_adminhost=9060
WC_defaulthost_secure=9443
WC_adminhost_secure=9043
BOOTSTRAP_ADDRESS=2809
SOAP_CONNECTOR_ADDRESS=8880
SAS_SSL_SERVERAUTH_LISTENER_ADDRESS=9401
CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS=9403
CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS=9402
ORB_LISTENER_ADDRESS=9100
DCS_UNICAST_ADDRESS=9353
SIB_ENDPOINT_ADDRESS=7276
SIB_ENDPOINT_SECURE_ADDRESS=7286
SIB_MQ_ENDPOINT_ADDRESS=5558
SIB_MQ_ENDPOINT_SECURE_ADDRESS=5578



Ref: http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tpro_removeprofile.html

No comments: