Installing PyMQI 1.2 on CentOS 5.5

PyMQI 1.2 got released recently. Check the announcement here.

I was installing on my workstation which runs CentOS 5.5. I usually try to test here before putting on RHEL.

I think majority of MQ installations are still on RHEL 5.* as 6 came out recently. The default python installation is 2.4 on RHEL 5.5 and doesn’t contain the ctypes by default. This needs to be downloaded from the sourceforge download as found in the project page and install as per the instructions.

Download the pymqi 1.2 source code from the launchpad page and install it. You need gcc and also python-devel RPM packages installed as pre-requisties.

The last part which I had to do on my work station to avoid exporting LD_LIBRARY_PATH. I had to add /usr/lib64/python2.4/site-packages and /opt/mqm/lib64 and run ldconfig to avoid the missing packages error. Once done, fire up the interpreter,

[mine@tatooine ~]$ python
Python 2.4.3 (#1, Nov 11 2010, 13:30:19)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pymqi
>>> pymqi.__version__
'1.2'
>>>

Advertisements

jython django and WMQ

With Jython picking up steam, is it possible to call WMQ java API from Jython natively? I know pymqi is there, but will it be beaten in performance by java MQI?

Will it be possible to create a django application with WMQ as transport or develop a monitoring site for WMQ? I will be exploring these in next few months.

HTPC built on Zotac Zbox HD-ID11

I got a Zotac Zbox HD-ID11 with the latest Intel Atom D510 Dual core on ION2. Its a nice piece of hardware for a HTPC but will be a bit on the expensive side if you are building your own. I had to get a internal HDD 2.5″ drive and SODIMM 200 pin 800 MHz DDR2 RAM. I installed XBMCLive. The HDMI doesnt work out of the box so had to patch Alsa to the latest driver to get it working. Still have to update the BIOS to fix the fan “constantly running” issue and a good remote which can use the protocol XBMC understand. Overall, it has been good.

Of course, it has not been easy as the post sounds. I had to rebuild it multiple times to get the whole thing working as expected over the weekend. It reminded me of the old times when you had to rebuild and recompile Linux for every hardware few years back.

A HTPC replacement for my old xbox

The xbox I have is quite old now. It’s running a very old version of XBMC too and replacement is due for some time.
I was looking for components to build my own HTPC. But looking at my requirements, it wont be used for any ripping, gaming or even browsing, but just as a nettop tethered to a TV. It should be able to decode a standard Blu-Ray disc and should play movies from my PC attached to the network. It should not make any noise.
I came across Intel Atom with Nvidia ION chipset in may discussion topics and looks to be a good choice too. This can stream/decode Blu-ray movies. Still looking whether I need to build my own mini-ITX or buy off the shelf brands like Acer, Asus or Zotac and install XBMC on top of that.
The Zotac Zbox HD-ID11 seems to be good.

Thought encina gone with TxSeries 5.1

Really, but it still exists in the depths of CICS. Websphere MQ 7.0 clients manual lists encina libraries to link when CICS is used as an extended transactional client.

Value of TPM Platform Assumed value of AXLIB
CICS AIX /usr/lpp/encina/lib/libEncServer.a(EncServer_shr.o)
CICS HP-UX /opt/encina/lib/libEncServer.sl
CICS Solaris /opt/encina/lib/libEncServer.so
CICS Windows systems libEncServer

Isn’t it wonderful !!!

Old blogs

Continued from my old blogs here and here.