Monday, 24 February 2014

IBM PureApplication System - My first few hours ... and a command-line already :-)

Whilst attending an IBM PureApplication System (IPAS) training course, one of my colleagues showed me how to download and use the Command-Line Interface (CLI) to access the IPAS management application directly.

As you can see, I have downloaded and unpacked the downloaded ZIP file: -

-rw-r--r--@  1 hayd  staff   9498832 24 Feb 14:35

here: -


IBM ship a Python-based client with the IPAS software, and kindly provide a Windows (!) batch file to start the Python scripts: -

$ pwd


$ ls -al

total 32
drwxr-xr-x@ 7 hayd  staff  238 24 Feb 14:54 .
drwxrwxr-x@ 7 hayd  staff  238 24 Feb 14:50 ..
drwxr-xr-x@ 6 hayd  staff  204 12 Dec 18:40
-rwxr-xr-x@ 1 hayd  staff  951 12 Dec 18:40 pure
-rwxr-xr-x@ 1 hayd  staff  575 12 Dec 18:40 pure.bat
-rwxr-xr-x@ 1 hayd  staff  796 12 Dec 18:40 savePassword
-rwxr-xr-x@ 1 hayd  staff  365 12 Dec 18:40 savePassword.bat

Thankfully, there is also a way to start the Python client directly, without needing to resort to Windows :-) which helps with my Mac :-)

However, there is one more hurdle: -

$ ./pure -h -u ipas_admin -p passw0rd

gives me: -

CWZCI0007E: An error occurred while communicating with the appliance at

However, there is a Technote for that: -

Local fix

Use the system IP address instead of the hostname in the command
line interface invocation.

Problem summary

A problem with the Java JDK 7  was being encountered when using
the hostname of the system while setting up the connection to
the system.

If I instead start the CLI as follows: -

./pure -h -u ipas_admin -p passw0rd

which works a trick: -

Welcome to the IBM PureApplication System CLI.  Enter 'help' if you
need help getting started.
>>> help
The CLI provides an interpreted Jython scripting
environment that enables you to manage the system from a
remote machine.

All of the interactive help information provided by the CLI is also
available at:

The CLI assumes you have some familiarity with
version 2.5.1 of the Python language.  If not, there are many
sources of information available in both printed form and on
the web.

PS I did NOT find it necessary to escape special characters in my password, which is nice :-)

No comments:

TIL - read-only variables in Linux

 A co-worker was seeing an exception: -  line 8: TMOUT: readonly variable when trying to SCP a file from a remote Linux box. I did some digg...