- IBM WebSphere Application Server 8.0 Administration Guide
- Steve Robinson
- 252字
- 2021-04-02 18:28:33
Silent profile creation
Now we have installed WAS silently, we need to cover how to create profiles using the profile management command-line script. The script is located in the<was_root>/bin
folder with the following name:
- For Linux:
./manageprofiles.sh
- For Windows:
manageprofiles.bat
The following table explains the valid command-line modes for the manageprofiles
script:


To automatically create a profile, we will now craft a command-line script complete with command-line options to create a profile, with the same settings we used in our manual IIM profile creation earlier.
Please run the following command from the<was_root>/bin
directory.
- For Linux:
./manageprofiles.sh -create -profileName appsrv01 -profilePath <was_root>profiles/appsrv01 -templatePath <was_root>/profileTemplates/default -cellName appsrv01node01 -hostName node01.waslocal.com -nodeName node01
- For Windows:
manageprofiles.bat -create -profileName appsrv01 -profilePath <was_root>\profiles\appsrv01 -templatePath <was_root>\profileTemplates\default -cellName appsrv01node01 -hostName node01.waslocal.com -nodeName node01
The result will be as follows:
INSTCONFSUCCESS: Success: Profile appsrv01 now exists. Please consult /var/apps/was8/profiles/appsrv01/logs/AboutThisProfile.txt for more information about this profile.
Now that we have demonstrated how to create a profile using a command-line script, it is recommended that you experiment with the -help
command to drill down into all the available subcommands of each mode of the manageprofiles
command script. It may also be pertinent to read up on how to use the -response
mode option, which allows a profile response file to be used instead of using such a lengthy command line. Response files are very useful in automation when you want to have a master script to manage many different profile creation types. Each different profile type can be specified by different response files.
- Adobe Photoshop 網頁設計與制作標準實訓教程(CS5修訂版)
- PPT設計實用教程
- Spring Security 3
- 微信小程序開發(fā)入門與實踐
- Photoshop CS6從入門到精通
- 中文版CorelDRAW X6基礎培訓教程
- 中文版CorelDRAW基礎培訓教程
- 數碼攝影后期處理秘笈:Photoshop CC專業(yè)調色(第2版)
- 印象筆記留給你的空間2.0:個人知識管理實踐指南
- Tomcat 6 Developer's Guide
- 邊做邊學:Illustrator CS6平面設計案例教程(微課版)
- Refactoring with Microsoft Visual Studio 2010
- JBoss AS 5 Performance Tuning
- 中文版3ds Max 2016基礎培訓教程
- Revit 2022中文版完全自學一本通