WAS basic command

Berikut merupakan command-command paling sederhana untuk menggunakan WAS

Start Server
Login sebagai root
Masuk ke path dimana app server berada “Cd /opt/IBM/ISwarehouse/appServer/bin”
Jalankan command  “./startServer.sh <server>”

Stop Server
Login sebagai root
Masuk ke path dimana app server berada “Cd /opt/IBM/ISwarehouse/appServer/bin”
Jalankan command “./stopServer.sh <server> -username root -password <password>”

Log
Jika terjadi error, lihat log di file SystemOut.log
<WAS Install Dir>/profiles/<profile name>/logs/<server name>/SystemOut.log

Check server status
Windows : serverStatus server1 -username admin_user -password admin_pwd
Linux/UNIX : ./serverStatus.sh server1 -username admin_user -password admin_pwd

Check WAS version
Windows : WAS_HOME/bin genVersionReport.bat
Linux/UNIX : WAS_HOME/bin genVersionReport.sh

This entry was posted in Websphere and tagged , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>