Wednesday, 30 April 2014

WebSphere Application Server on AIX - 64 bits, no buts

( with apologies to the AS/400 CISC > RISC migration programme for nicking their marketing phrase - 64 bits, no buts )

So I was seeing this exception earlier, whilst trying to install WebSphere Application Server Network Deployment 8.5.2 onto a 64-bit of AIX 7.1 on a p710: -

ERROR: The 32-bit IBM WebSphere Application Server Network Deployment package cannot be installed in a 64-bit package group.

Interestingly, I'd seen something similar earlier with IBM Installation Manager 1.6.2: -

ERROR: The 32-bit IBM? Installation Manager package cannot be installed in a 64-bit package group.

It took me a while to crack it, but the problem was in my response file.

This was what I had had: -

WAS

...
<profile id='IBM WebSphere Application Server V8.5' installLocation='/opt/IBM/WebSphere/AppServer'>
<data key='eclipseLocation' value='/opt/IBM/WebSphere/AppServer'/>
<data key='user.import.profile' value='false'/>
<data key='cic.selector.os' value='aix'/>
<data key='cic.selector.arch' value='ppc64'/>
<data key='cic.selector.ws' value='motif'/>
<data key='cic.selector.nl' value='en'/>
<data key='user.select.64bit.image,com.ibm.websphere.ND.v85' value='true'/>
...

IIM

...
<profile id='IBM Installation Manager' installLocation='/opt/IBM/InstallationManager/eclipse' kind='self'>
<data key='eclipseLocation' value='/opt/IBM/InstallationManager/eclipse'/>
<data key='user.import.profile' value='false'/>
<data key='cic.selector.os' value='aix'/>
<data key='cic.selector.arch' value='ppc64'/>
<data key='cic.selector.ws' value='gtk'/>
<data key='cic.selector.nl' value='de,no,fi,ru,hr,fr,hu,sk,sl,sv,ko,el,en,pt_BR,it,iw,zh,es,cs,ar,zh_HK,zh_TW,th,ja,pl,da,tr,nl'/>
</profile>

...

The solution was simple, if not self-evident.

The problem was with this line: -

...
<data key='cic.selector.arch' value='ppc64'/>
...

Even though I was installing a 64-bit version of the software onto a 64-bit OS, I needed to change the line to: -

...
<data key='cic.selector.arch' value='ppc'/>
...

Once I did this, the installation went as smooth as a silk glove sliding down the silky smooth back of a silk-worm that's just used silky-smooth shampoo :-)

No comments:

Note to self - use kubectl to query images in a pod or deployment

In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...