PureApplication 2.2

PureApplication 2.2

Last week, IBM announced the general availability of PureApplication System, Software, and Service version 2.2. There are a lot of exciting developments in this release.

As previously announced, there is now a beta offering of OpenStack Kilo on Intel-based systems.

There are a number of multi-system enhancements that I’m excited about. For example, we are raising the limit on the number of systems in a subdomain from two to four. We are also alleviating the problem of the proliferation of multi-system shared service deployments, by allowing you to link shared service deployments from one multi-system environment profile to another. We’ve also improved the workflow for managing multi-system certificate trust stores.

We’ve significantly enhanced the chargeback reporting capabilities for PureApplication System in version 2.2. And on top of this list of highlights, there are many additional minor enhancements and improvements.

I’m very proud to have had a small part in reaching this milestone. Congratulations to the rest of the PureApplication development team!

Over rock and under tree

Well, that was fast. In a matter of a few weeks, I made the jump from Knight Wazer to Royalty Wazer, after having driven a total of 4,665 miles. It is interesting to me that, during this period of two and a half weeks, the point value required to reach royalty did not change. It makes sense to me that this value may be recalculated less frequently, perhaps on a weekly or monthly basis, but I crossed both week and month boundaries without the point value being updated.

This indicates to me that the activity at the 1% mark for Waze members—at least in North Carolina—is stagnant, as the 1% bar is not moving. Thus, in North Carolina less than 1% of the total Waze membership is highly active.

Roads go ever ever on

Last November I joined the Waze traffic and navigation community. I’ve been using Waze since then for my daily commute and also used it for our family’s Thanksgiving trip. My commute time is 35 minutes in one direction compared to the national average of 25 minutes.

It is now mid-February, three months later, and I’m a little surprised at how rapidly I’ve been able to progress in ranking. Just today I received the Waze Knight status, which means that I am in the top 4% of users in my state, North Carolina.

Thus far I have driven only 3,472 miles with Waze. The majority of my Waze points come from driving miles, although I have achieved a fairly normal set of bonus points (for example, using Waze four days out of one week). That is not a lot of activity to reach the top 4%!

If I’d had to guess, I would have expected that somewhere in the neighborhood of 20% of Waze’s user base was fairly active. But from my experience, at least in North Carolina I would say that number must be less than 5% and could be much less than that. Now I’m very curious to see whether and how quickly I’m able to reach the top 1%.

PureApplication and hybrid cloud

hybrid-redbookIBM has published a new Redbook that discusses how you can build a hybrid cloud solution using PureApplication System, Software and Service.

I’m privileged to have served as a contributor to this Redbook, with a particular focus on the ways in which PureApplication’s multi-system management and deployment capabilities allow you to build cross-site and hybrid business solutions.

But even beyond multi-system deployment, the power of patterns combined with the variety of PureApplication offerings allows for a genuine “write once, run anywhere” model for applications.

Slow down to speed up

The next maneuver that Mott proposed for his pupils was most complicated: ‘Randy, you’re in Gemini down here and you must intercept Agena-B up here. Don’t go for the target. Burn straight ahead. Go faster to go slower.’

‘Doc, I understand that part. But what in hell do I do next?’

‘As you move to a higher orbit, your speed will begin to drop off, and believe it or not, if you obey the figures your computer will be feeding you, you’ll bring your Gemini right in behind the target. The computer will time it so that when you’re about a hundred feet apart, your speeds will be identical, and so will your orbit. Then your twelve-year-old son could dock the two vehicles, because you can make the Gemini move a quarter of a mile an hour faster than the Agena, ease it into a docking.’

Claggett and Pope looked at each other, and the former said, with his bright Texan grin, ‘Like the pretty girl said in My Fair Lady, “I think I got it.”’

‘I believe the professor said that,’ Mott said. ‘And to protect you,’ he added, ‘we always time the docking so it occurs in the daylight part of the orbit.’

‘Real thoughtful,’ Claggett said.

‘So think about the orbits tonight. Memorize the diagram. And keep telling yourself, “To go faster, I must go slower.”’ (James Michener, Space, 502)

You can envision this somewhat counter-intuitive aspect of orbital mechanics in a couple of different ways. First, you can think of the higher orbit as stealing your kinetic energy (slowing you down) and converting it into potential energy (increasing your altitude). You can also picture it in terms of Kepler’s second law, which states that an orbit sweeps out equal areas in equal time. The higher your orbit, the more area your radius is sweeping across, and so your momentum becomes slower in order to compensate.

orbit2This notion of speeding up to slow down (and conversely slowing down to speed up) is useful for considering how organizations and projects scale. When your project (program, product, etc.) is small and your customer base is small, you can and do move very quickly. If you are a programmer, it is possible to rewrite your entire codebase in a few weeks. At this stage, organizational disciplines can feel like unnecessary drag on this perceived speed. But if you have fallen into the trap of thinking that way, as your project and customer base grow, the lack of discipline actually becomes a drag on your ability to make further change. Over time, with a continued lack of discipline, both the chance of error and the so-called blast radius of that error become larger. You are slowed down both by your fear of error, and by the cost of having to correct such errors. Being thus slowed down, how can you speed back up?

Certainly this sort of breakneck early speed may be a legitimate tradeoff. The term technical debt was coined to help articulate the fact that such a tradeoff is being made for the sake of present benefit against future cost. But as an organization or project grows, the need to pay down this technical debt becomes more and more critical. And this is where notions such as “paying off debt” and “slowing down to speed up” can help us to feel perfectly at ease with the time and effort we are spending on organizational disciplines that do not obviously contribute to more features and more customers.

For example: if I have “slowed down” by taking the time to create a large battery of automated tests for my codebase, then I am actually able to “speed up” in making further changes to that codebase, because I have a higher degree of confidence not only that my changes will not break existing behaviors, but thereby that my changes will not result in added support costs by exposing my customers to bugs.

To paraphrase the wise man: better is he who has self-governance than he who, without it, governs a city.

And keep telling yourself, “To go faster, I must go slower.”

See also: The Start-Up Trap

PureApplication in Malaysia

Last week I helped to facilitate an IBM PureApplication pattern camp in Kuala Lumpur, where we helped PureApplication customers and business partners from Malaysia, Thailand and Vietnam to build their own patterns. While there was snow and ice back home in Raleigh, it was very bright and warm in Kuala Lumpur!

kualalumpur

Along the way we had a chance to discuss best practices for script packages and scripting, high availability and disaster recovery, multi-system deployment, IBM Bluemix running directly on PureApplication System, and best practices for backup. It’s exciting to see PureApplication growing in Southeast Asia!

Applying maintenace to your PureApplication instance using the command-line interface

The PureApplication Knowledge Center documents how to apply maintenance to your instance using the virtual system management console. If you have maintenance that you want to apply to a large number of virtual system instances, you may wish to automate the application of this maintenance using the command-line interface. The Knowledge Center also documents how you can find and apply ifixes and fixpacks to your virtual system instances using the CLI. The following interactive session using the PureApplication CLI demonstrates how you can do this. First, we apply an ifix to an instance:

[ibmadmin@smoonen pure.cli]$ bin/pure -h 172.21.72.32
User name: smoonen
Password:
Welcome to the IBM PureApplication System CLI.  Enter 'help' if you
need help getting started.
>>> import time
>>> # Locate the virtual system instance
>>> instance = deployer.virtualsysteminstances.list({"deployment_name":"WebSphere advanced cluster"})[0]
>>> # Show me the names of the available fixes
>>> [fix['name'] for fix in instance.findFixes()]
[u'scott-efix', u'8.5.5.4-WS-WASProd-TFPI54321_8.5.5004.20150101_1412']
>>> # Apply the efix to all of the applicable nodes
>>> efix = [fix for fix in instance.findFixes() if fix['name'] == 'scott-efix'][0]
>>> operation = instance.applyFixes([ {'vmtemplate': template, 'vmfixes': [efix] } for template in efix['applicableto'] ])
>>> for x in range(30) :
...    if operation.status != 'PENDING' and operation.status != 'ACTIVE' : break
...    time.sleep(30)
...    operation.refresh()
...
{
  "complete_time": "2016-01-19T06:30:15.479Z",
  "name": None,
  "operation_id": "o-f846360f-2f02-458c-873e-6cabbff4335f",
  "parameters": (nested object),
  "result": "{
     "ODRNode.11453175791583.MAINTENANCE": "SUCCESS",
     "IHSNode.11453175791582.MAINTENANCE": "SUCCESS",
     "CustomNode.11453175791585.MAINTENANCE": "SUCCESS",
     "DmgrNode.11453175791584.MAINTENANCE": "SUCCESS"
  }",
  "return_value": (nested object),
  "role": "MAINTENANCE",
  "status": "COMPLETED",
  "submit_time": "2016-01-19T06:29:20.119Z",
  "type": "configuration",
  "virtualapplication": (nested object)
}
>>>

You follow a similar procedure, using slightly different method names, to apply a fixpack rather than an ifix:

>>> fixpacks = instance.findFixpacks()['candidate_fixpacks']
>>> # List available fixpacks
>>> for name in fixpacks.keys() :
...   print name + ': ' + str([fixpack['version'] for fixpack in fixpacks[name]])
...
IBM WebSphere Application Server Network Deployment: [u'8.5.5.5']
IBM HTTP Server for WebSphere Application Server: [u'8.5.5.5']
WebSphere Customization Toolbox: [u'8.5.5.5']
Web Server Plug-ins for IBM WebSphere Application Server: [u'8.5.5.5']
>>> # Update WAS ND
>>> operation = instance.applyFixpack('IBM WebSphere Application Server Network Deployment', '8.5.5.5')
>>> # Follow similar procedure as earlier to monitor for operation completion
>>> # Repeat to update other products

Powering off your PureApplication System using the command-line interface

The PureApplication knowledge center documents how you can initiate a shutdown of your PureApplication System using the system console, by navigating to the System | System Settings page and clicking the “Shut down the system” link in the Power section:

shutdown

Alternately, you can use the following statement in the PureApplication command-line interface to initiate a shutdown:

[ibmadmin@smoonen pure.cli]$ bin/pure -h 172.17.16.209
User name: smoonen
Password:
Welcome to the IBM PureApplication Software CLI.  Enter 'help' if you
need help getting started.
>>> admin.racks[0]._restattrs["target_state"] = "shutdown"
>>>