Tuesday, March 30, 2010

wps messaging engine issues



This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system.

Posted via email from shaker's posterous

Thursday, March 25, 2010

nmon performance: A free tool to analyze AIX and Linux performance

http://www.ibm.com/developerworks/aix/library/au-analyze_aix/

The nmon tool is designed for AIX and Linux performance specialists to use for monitoring and analyzing performance data, including:

  • CPU utilization
  • Memory use
  • Kernel statistics and run queue information
  • Disks I/O rates, transfers, and read/write ratios
  • Free space on file systems
  • Disk adapters
  • Network I/O rates, transfers, and read/write ratios
  • Paging space and paging rates
  • CPU and AIX specification
  • Top processors
  • IBM HTTP Web cache
  • User-defined disk groups
  • Machine details and resources
  • Asynchronous I/O -- AIX only
  • Workload Manager (WLM) -- AIX only
  • IBM TotalStorage® Enterprise Storage Server® (ESS) disks -- AIX only
  • Network File System (NFS)
  • Dynamic LPAR (DLPAR) changes -- only pSeries p5 and OpenPower for either AIX or Linux

Also included is a new tool to generate graphs from the nmon output and create .gif files that can be displayed on a Web site.



This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system.

Posted via email from shaker's posterous

Friday, March 19, 2010

installing websphere or wps application using wsadmin (jacl or jython)

1.       Use scripts in websphere or process server scriptLibraries folder

/opt/ibm/WebSphere/ProcServer/scriptLibraries

2.       Use the wsadmin script with jython (python running on java) or jacl option

http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/txml_callappinstall.html or

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.express.doc/info/exp/ae/txml_script.html

The following steps are for using jacl option and above link will show the syntax for using jython instead (for jython you have to use wsadmin.sh –lang jython and issue AdminApp.install command):

Steps:
- copy the ear file to some staging directory ex: /home/wpsadmin
- cd to profile root bin. ex: /opt/ibm/WebSphere/ProcServer/profiles/
DEV01/bin
- run wsadmin as below
./wsadmin.sh (or wsadmin.sh –lang jython or wsadmin.sh -lang jython -user wsadmin -password wsadmin)
- use the jacle script to install the app using default values (when
there is only one cell/node/server)
$AdminApp install "/home/wpsadmin/HelloWorldProcessApp.ear"  or AdminApp.install('/home/wpsadmin/HelloWorldProcessApp.ear') for jython.

for a specific server use the following
$AdminApp install "/home/wpsadmin/HelloWorldProcessApp.ear" {-node
dvlpsij01Node01 -cell dvlpsij01Node01Cell -server server1} or

AdminApp.install("/home/wpsadmin/HelloWorldProcessApp.ear" {-node
dvlpsij01Node01 -cell dvlpsij01Node01Cell -server server1}

for a specific cluster use the following
$AdminApp install "/home/wpsadmin/HelloWorldProcessApp.ear" {-cluster
clustername}

- uninstall the app from default server (assuming there is only one
server). pl note there is no .ear at the end of the app name, just the
name.
$AdminApp uninstall HelloWorldProcessApp

for a specific server use the following
$AdminApp uninstall HelloWorldProcessApp {-node dvlpsij01Node01 -cell
dvlpsij01Node01Cell -server server1}

for a specific cluster use the following
$AdminApp uninstall HelloWorldProcessApp {-cluster clustername}



This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system.

Posted via email from shaker's posterous

installing websphere or wps application using wsadmin (jacl or jython)

1.       Use scripts in websphere or process server scriptLibraries folder

/opt/ibm/WebSphere/ProcServer/scriptLibraries

2.       Use the wsadmin script with jython (python running on java) or jacl option

http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/txml_callappinstall.html

the following steps are for using jacl option and above link will show the syntax for using jython instead:

Steps:
- copy the ear file to some staging directory ex: /home/wpsadmin
- cd to profile root bin. ex: /opt/ibm/WebSphere/ProcServer/profiles/
DEV01/bin
- run wsadmin as below
./wsadmin.sh
- use the jacle script to install the app using default values (when
there is only one cell/node/server)
$AdminApp install "/home/wpsadmin/HelloWorldProcessApp.ear"

for a specific server use the following
$AdminApp install "/home/wpsadmin/HelloWorldProcessApp.ear" {-node
dvlpsij01Node01 -cell dvlpsij01Node01Cell -server server1}

for a specific cluster use the following
$AdminApp install "/home/wpsadmin/HelloWorldProcessApp.ear" {-cluster
clustername}

- uninstall the app from default server (assuming there is only one
server). pl note there is no .ear at the end of the app name, just the
name.
$AdminApp uninstall HelloWorldProcessApp

for a specific server use the following
$AdminApp uninstall HelloWorldProcessApp {-node dvlpsij01Node01 -cell
dvlpsij01Node01Cell -server server1}

for a specific cluster use the following
$AdminApp uninstall HelloWorldProcessApp {-cluster clustername}



This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system.

Posted via email from shaker's posterous

Sample Scripts for WebSphere Application Server Administration

These sample jacl and Jython scripts let you automate common administation tasks and configure security in WebSphere Application Server Versions 5, 6 and 6.1. Download them and run them as is, or modify them to suit your environment.

http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html



This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system.

Posted via email from shaker's posterous

Monday, March 15, 2010

what does the first line of unix/linux script #!/bin/ksh means?

#!/bin/ksh or #!/usr/bin/ksh is added as the first line for any unix or linux scripts. Why?

Originally, we only had one shell on unix. When you asked to run a command, the shell would attempt to invoke one of the exec() system calls on it. It the command was an executable, the exec would succeed and the command would run. If the exec() failed, the shell would not give up, instead it would try to interpet the command file as if it were a shell script.

Then unix got more shells and the situation became confused. Most folks would write scripts in one shell and type commands in another. And each shell had differing rules for feeding scripts to an interpreter.

This is when the "#! /" trick was invented. The idea was to let the kernel's exec() system calls succeed with shell scripts. When the kernel tries to exec() a file, it looks at the first 4 bytes which represent an integer called a magic number. This tells the kernel if it should try to run the file or not. So "#! /" was added to magic numbers that the kernel knows and it was extended to actually be able to run shell scripts by itself. But some people could not type "#! /", they kept leaving the space out. So the kernel was exended a bit again to allow "#!/" to work as a special 3 byte magic number.
So
#! /usr/bin/ksh
and
#!/usr/bin/ksh
now mean the same thing. I always use the former since at least some kernels might still exist that don't understand the latter.

And note that the first line is a signal to the kernel, and not to the shell. What happens now is that when shells try to run scripts via exec() they just succeed. And we never stumble on their various fallback schemes.



This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system.

Posted via email from shaker's posterous

Friday, March 12, 2010

Global Shared Library in WebSphere and Process Server

Question

How can I share my assets (Java™ binaries, XML schemas, and WSDL definitions) by-reference between Service Component Architecture (SCA) modules in the WebSphere Process Server run-time environment?

 

Cause In WebSphere Integration Developer, the default sharing behavior for assets is share-by-copy. That is, at build time, SCA library projects, containing shared SCA module assets become .jar files that are included in each SCA module application enterprise archive (.ear) file. Shared Java library artifacts are also included in each SCA module application .ear file.
Depending on the size of the libraries, number of assets, and number of deployed modules, the share-by-copy module can result in a large memory footprint. Sharing these assets by-reference can reduce this memory footprint.

Answer

http://www-01.ibm.com/support/docview.wss?rs=2307&uid=swg21322617



This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system.

Posted via email from shaker's posterous

Monday, March 8, 2010

How to install an application onto websphere or wps using a script?

Reference Link:

http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/txml_deployapp.html

Steps:

- copy the ear file to some staging directory ex: /home/wpsadmin

- cd to profile root bin. ex: /opt/ibm/WebSphere/ProcServer/profiles/DEV01/bin

- run wsadmin as below

./wsadmin.sh

- use the jacle script to install the app using default values (when there is only one cell/node/server)

$AdminApp install "/home/wpsadmin/HelloWorldProcessApp.ear"

for a specific server use the following

$AdminApp install "/home/wpsadmin/HelloWorldProcessApp.ear" {-node dvlpsij01Node01 -cell dvlpsij01Node01Cell -server server1}

for a specific cluster use the following

$AdminApp install "/home/wpsadmin/HelloWorldProcessApp.ear" {-cluster clustername}

- uninstall the app from default server (assuming there is only one server). pl note there is no .ear at the end of the app name, just the name.

$AdminApp uninstall HelloWorldProcessApp

for a specific server use the following

$AdminApp uninstall HelloWorldProcessApp {-node dvlpsij01Node01 -cell dvlpsij01Node01Cell -server server1}

for a specific cluster use the following

$AdminApp uninstall HelloWorldProcessApp {-cluster clustername}



This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system.

Posted via email from shaker's posterous

Thursday, March 4, 2010

FAQ about WebSphere Application Server security

Because the integrity of your processing environment is at stake, questions about security must be answered as quickly as possible. To that end, this article provides quick, direct answers to some of the most frequently asked questions about IBM® WebSphere® Application Server security.

http://www.ibm.com/developerworks/websphere/techjournal/1003_botzum/1003_botz...



This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system.

Posted via email from shaker's posterous

Monday, March 1, 2010

WebSphere Portal Single Sign-On (SSO) resources