Tuesday, April 9, 2013

Websphere administration Commands

 

VersionInfo Command 

1.Deployment Manager Profile Creation:

./manageprofiles.sh -create  -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/dmgr
-profileName Dmgr01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01 -hostName servername

2.Federate a node:

  ./addNode.sh <dmgr_host> <dmgr_port>.Execute this command from the Appserver
bin directory which you want to federate to deployment manager.

 3.VersionInfo  Command

versionInfo.sh -file /tmp/version.txt
WVER0010I: Copyright (c) IBM Corporation 2002, 2012; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.1.48, dated 2/8/12
     
It is used to find the version of WAS and fixpack installed.The versionInfo command generates a report that includes a list of installed fix packs and interim fixes

4.ShowLog  Command

   ./showlog.sh activity.log /tmp/activity.txt

5.Check Websphere Application Server Status

   Go to the profile path and issue the command  ./serverstatus.sh server1(This is the server name)
This will tell whether the server is in stop state or it is started.





No comments:

Post a Comment

Your suggestions please