Friday, January 25, 2013

How to disable HTTP Keep-Alive connections for all out-going requests in WSO2 ESB

By default, WSO2 ESB establishes HTTP Keep-Alive connection with the back-end web service. However, in some cases, we want to close connections just after using them specially when back-end server does not properly support Keep-Alive connections .
At individual proxy service or sequence level, you can add NO_KEEPALIVE property to disable Keep-Alive connection between ESB and backend web services.

<property name="NO_KEEPALIVE" value="true"
scope="axis2"/>

However, if you want to disable Keep-Alive connections globally for all message mediations, the above property will not be the solution.

In such cases, you can add the following parameter to ESB_HOME/repository/conf/nhttp.properties file.

http.connection.disable.keepalive=1

Thursday, January 24, 2013

Installation specific commands in AIX




Below are the commands which are related to the installation in aix.






lslpp -l
To see the details of installed file sets






lslpp -ha bos.net.*
To list the installation history of all file set in bos.net packages






lslpp -f bos.rte
To list the files in the bos.rte package






lslpp -w /etc/hosts
To list the file set which contain /etc/hosts

Paging space commands in AIX


Below are the commands related to the paging space in AIX.







lsps -a
To list out all paging spaces






lsps hd6
To display the details of the paging space hd6






chps -a y paging00
To turn on the paging space paging00 on next reboot






chps -a n paging00
To turn off the paging space paging00 on next reboot






chps -s4 paging00
To

Disable telnet in AIX




The procedure to disable telnet in AIX is as follows:

#vi /etc/inetd.conf

comment out telnet from this file (#telnet ... ... .. )

save it and

#refresh -s inetd

Then telnet session will be disabled in that server from now


Filesystem commands in AIX






lsfs
Lists all filesystems in the
/etc/filesystems entry






lsfs -a
To list all filesystems (default)






lsfs -q
List all filesystems with
detailed info (shows size of FS and LV in it. so we can check whether size
of LV=size os FS)






lsfs -l
Specify the output in list format






lsfs -c
Specify the output in column format


Recreate BOOT LOGICAL VOLUME (BLV) in AIX