Tuesday, 1 April 2014

basics of websphere

Find no of profiles

[oracle@websphe bin]$ pwd
/u03/local/opt/was/was70/profiles/node02/bin

[oracle@websphe bin]$ ./manageprofiles.sh -listProfiles
[dmgr, node02, node01]

Find was version
[oracle@websphe bin]$ ./versionInfo.sh

WVER0010I: Copyright (c) IBM Corporation 2002, 2005, 2008; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.5.1, dated 6/15/11

--------------------------------------------------------------------------------
IBM WebSphere Application Server Product Installation Status Report
--------------------------------------------------------------------------------
Report at date and time April 1, 2014 9:45:29 PM PDT
Installation
--------------------------------------------------------------------------------
Product Directory        /u03/local/opt/was/was70
Version Directory        /u03/local/opt/was/was70/properties/version
DTD Directory            /u03/local/opt/was/was70/properties/version/dtd
Log Directory            /u03/local/opt/was/was70/logs
Backup Directory         /u03/local/opt/was/was70/properties/version/nif/backup
TMP Directory            /tmp

Product List
--------------------------------------------------------------------------------
ND                       installed
Installed Product
--------------------------------------------------------------------------------
Name                     IBM WebSphere Application Server - ND
Version                  7.0.0.27
ID                       ND
Build Level              cf271250.01
Build Date               12/13/12
Architecture             Intel (32 bit)
--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------
[oracle@websphe bin]$

[oracle@websphe bin]$ ./installRegistryUtils.sh -listProducts

WNIF0100I: Copyright (c) IBM Corporation 2006; All rights reserved.
WNIF0102I: Install registry reporter version 1.17
----------------------------------------------------------------------------
IBM WebSphere Application Server Install Registry Report
----------------------------------------------------------------------------
Report at date and time April 1, 2014 9:46:36 PM PDT
----------------------------------------------------------------------------
Product Installed
----------------------------------------------------------------------------
Offering ID                  UPDI
Installation Location        /u03/local/opt/was/was70/UpdateInstaller
Version                      7.0.0.27
Product Installed
----------------------------------------------------------------------------
Offering ID                  ND
Installation Location        /u03/local/opt/was/was70
Version                      7.0.0.27

----------------------------------------------------------------------------
End Install Registry Report
----------------------------------------------------------------------------

find java Version

[oracle@websphe bin]$ ./java -fullversion

java full version "JRE 1.6.0 IBM Linux build pxi3260sr12-20121025_01 (SR12)"

Start DMGR

[oracle@websphe bin]$ ./startManager.sh 
ADMU0116I: Tool information is being logged in file
           /u03/local/opt/was/was70/profiles/dmgr/logs/dmgr/startServer.log
ADMU0128I: Starting tool with the dmgr profile
ADMU3100I: Reading configuration for server: dmgr
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server dmgr open for e-business; process id is 9394

Stop DMGR 

if global security is enabled we will pass username and password

[oracle@websphe bin]$ ./stopManager.sh -username bharath -password welcome321

ADMU0116I: Tool information is being logged in file
           /u03/local/opt/was/was70/profiles/dmgr/logs/dmgr/stopServer.log
ADMU0128I: Starting tool with the dmgr profile
ADMU3100I: Reading configuration for server: dmgr
ADMU3201I: Server stop request issued. Waiting for stop status.
ADMU4000I: Server dmgr stop completed.

Start Node

[oracle@websphe bin]$ ./startNode.sh 

ADMU0116I: Tool information is being logged in file
           /u03/local/opt/was/was70/profiles/node/logs/nodeagent/startServer.log
ADMU0128I: Starting tool with the node profile
ADMU3100I: Reading configuration for server: nodeagent
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server nodeagent open for e-business; process id is 9482

Stop Node
[oracle@websphe bin]$ ./stopNode.sh -username bharath -password welcome321
ADMU0116I: Tool information is being logged in file
           /u03/local/opt/was/was70/profiles/node/logs/nodeagent/stopServer.log
ADMU0128I: Starting tool with the node profile
ADMU3100I: Reading configuration for server: nodeagent
ADMU3201I: Server stop request issued. Waiting for stop status.
ADMU4000I: Server nodeagent stop completed.

Find servers/JVM status 

[oracle@websphe bin]$ ./serverStatus.sh -all -username bharath -password welcome321

ADMU0116I: Tool information is being logged in file
           /u03/local/opt/was/was70/profiles/node/logs/serverStatus.log
ADMU0128I: Starting tool with the node profile
ADMU0503I: Retrieving server status for all servers
ADMU0505I: Servers found in configuration:
ADMU0506I: Server name: nodeagent
ADMU0506I: Server name: server1
ADMU0508I: The Node Agent "nodeagent" is STARTED
ADMU0508I: The Application Server "server1" is STARTED

[oracle@websphe bin]$ 

No comments: