WebSphere RAD6 Server Cleanup
Wednesday, April 9th, 2008If you are working on multiple projects using RAD 6.X, you must have noticed the slowness after some time. This happens because test server is shared across workspaces and applications are deployed into same server-instance; hence making things sluggish.
If you do not switch project / workspace on daily basis; consider a profile cleanup before every switch. We have observed significant performance boost after such cleanup.
Assumptions (make appropriate changes if your environment is different).
RAD_HOME=”C:\Program Files\IBM\Rational\SDP\6.0″
COMPUTER_NAME=your hostname (without domain)
DNS_DOMAIN=domain name
1. Open command prompt.
2. Change current directory to to %RAD_HOME%\runtimes\base_v6\bin
3. Run following command
wasprofile.bat -deleleAll
4. Remove %RAD_HOME%\runtimes\base_v6\profiles\default (if any).
5. Run following command
wasprofile.bat -create -profileName default -isDefault \
-profilePath “%RAD_HOME%\runtimes\base_v6\profiles\default” \
-templatePath “%RAD_HOME%\runtimes\base_v6\profileTemplates\default” \
-hostName %COMPUTER_NAME%.%DNS_DOMAIN% \
-nodeName %COMPUTER_NAME%Node01 \
-cellName %COMPUTER_NAME%Node01Cell
Example
wasprofile.bat -create -profileName default -isDefault \
-profilePath “C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\default” \
-templatePath “C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\profileTemplates\default” \
-hostName ATHLON.sudhaker.com \
-nodeName ATHLONNode01 \
-cellName ATHLONNode01Cell
6. Great! Now it is time to enjoy the faster WSAD.
Please drop me a comment if you find it useful
Cheers,
Sudhaker