WebSphere Issues

30/06/2014

Health Center. No JVM detected on localhost on port 1972

Filed under: Java, websphere, WebSphere Portal — Tags: — Ishtiaque @ 5:43 pm

Change in \AppServer\java\jre\lib\healthcenter.properties

From

com.ibm.java.diagnostics.healthcenter.agent.transport=iiop

To
com.ibm.java.diagnostics.healthcenter.agent.transport=jrmp

References:

 

Create and Export certificates using IBM Key Management Utility (gsk7cmd)

Filed under: Other — Tags: , — Ishtiaque @ 1:20 pm
  • gsk7cmd -cert -list -db /tmp/pdsrv.kdb -pw abc123
  • gsk7cmd -cert -create -db /tmp/pdsrv.kdb -pw abc123 -label TST_Cert -size 1024 -dn “cn=TST_Cert,cn=ibm,c=com” -expire 2581
  • gsk7cmd -cert -details -db /tmp/pdsrv.kdb -pw abc123 -label TST_Cert
  • gsk7cmd -cert -export -db /tmp/pdsrv.kdb -pw abc123 -label TST_Cert -type cms -target /tmp/TST_Cert -target_pw abc123 -target_type pkcs12
  • gsk7cmd -cert -delete -db /tmp/pdsrv.kdb -lable TST_Cert
  • gsk7cmd -cert -import -file /tmp/TST_Cert.p12 -pw abc123 -type pkcs12 -target /tmp/pdsrv.kdb -target_pw abc123 -target_type cms -label TST_cert
  • gsk7cmd -db expiry -db pdsrv.kdb -pw password

IBM Integration Bus commands

Filed under: WebSphere Broker, WebSphere MQ — Tags: , — Ishtiaque @ 12:34 pm

List:

  • mqsiservice -v
  • mqsilist
  • mqsilist -r
  • mqsilist brkname
  • mqsilist brkname -d2
  • mqsilist brkname -e execgrp
  • mqsilist brkname -e execgrp -d 2
  • ps -ef|grep Data
  • dspmq
  • dspmqver

Start/Stop:

  • mqsistop brkname (-i -r)
  • mqsistart brkname
  • mqsistopmsgflow broker -e execgrp
  • mqsistartmsgflow broker -e execgrp

Report:

  • mqsireportproperties brkname -e execgrp-o AllReportableEntityNames -r
  • mqsireportproperties brkname -e execgrp -o HTTPConnector -r
  • mqsireportproperties brkname -e execgrp -o HTTPConnector -r
  • mqsireportproperties brkname -e execgrp -o HTTPConnector -n port
  • mqsireportproperties brkname -e execgrp -o ComIbmJVMManager -r
  • mqsireportproperties brkname -e execgrp -o ComIbmCacheManager -r
  • mqsireportproperties brkname -b cachemanager -o CacheManager -r
  • mqsireportproperties brkname -c JDBCProviders -o AllReportableEntityNames -r
  • mqsireportproperties brkname -c JDBCProviders -o Oracle -r
  • mqsireporttrace brkName
  •  mqsireportbroker brkName

Deploy:

  • mqsiapplybaroverride -b origfile.bar -p props.properties -o updfile.bar
  • mqsideploy brkname -e  execgrp -a barfile.bar

Delete:

  • mqsideleteexecutiongroup bkkname -e execgrp

MQ runmqsc:

  • runmqsc queuemgr (Type “end” to exit)
  • display qlocal(myq*)

Run Listener:

  • runmqlsr -t tcp -p 10000 -m QMgrName &

Open IBM Integration/MQ Explorer and Integration Toolkit

  • /opt/mqm/bin/MQExplorer OR /opt/mqm/bin/strmqcfg  (MQ Explorer)
  • /opt/IBM/IntegrationToolkit90/launcher    (IBM Integration Toolkit)
  • /opt/ibm/mqsi/9.0/sample/ConfigManagerProxy/StartConfigManagerProxyExerciser

Enable/Disable Traces

  • mqsichangetrace brkName -u -e execGrp -l debug -c 5000
  • mqsireadlog brkName -u -e execGrp -o trace.xml (Location: /var/mqm/trace.xml)
  • mqsiformatlog -i trace.xml -o formattrace.log

11/06/2014

AIX commands

Filed under: AIX — Ishtiaque @ 10:27 am
  • find /opt/maydir -type f -name “request.log”
  • find . -type d -name “*abc”
  • du -sk /usr/IBM/WebSphere|sort -n -r|head (Find out the size of all directories in a given directory)

Blog at WordPress.com.