Tuesday, 11 September 2012

Agile practise for the cost/effective cloud


Can you tolerate failure?

Some situations cannot tolerate failure: The highly political government project, the business-enabling SAP deployment or the market-leading e-business application all share a common characteristic - getting it wrong hurts.  And the most common symptom of getting it wrong?  Poor performance, poor availability, poor service - and disgruntled customers.

What happens then is where heros make their reputation.  Firefighting, troubleshooting, late-night candle-burning, bonus-generating heroics.  Don't get me wrong, it's great to be a hero - saving the day from evil, just before the clock ticks to zero.  But surely it's better not to get into that position in the first place?

Lessons from other industries

The use of simulation is common in industries where getting performance design right first time is critical to the bottom line.  Imagine building an aeroplane with control systems that didn't respond in times, semiconductors which performed worse than their predecessors, or civil engineering projects which couldn't handle the projected loads.  Scenario planning is also a favourite of agile business.  Just as a chess grand-master is thinking several moves ahead, the business planner looks beyond immediate trends and plans the impact of their next business strategy.

But, IT is sooo complex

For IT professionals, getting it wrong hurts equally as much; but here we are at a significant disadvantage.  The complexity of enterprise-class systems, the interconnected and often opaque nature of cloud services, the lack of insight into business initiatives leave us in the dark.    Whilst we're under constant pressure to reduce cost and risk, the ever-increasing complexity forces us to over-provision, to reduce the risk of getting it wrong. 
But is that right?  Is it true to say that IT is more complex than embedded avionic systems?  Probably it is not true to say that, although the rate of change is certainly higher.  Can we still afford to justify time in planning, even though the sands are constantly shifting under our feet?  In the past, we've focused just on a limited number of critical systems, or performed some pretty rudimentary analysis that makes us comfortable - and trusted in the heros.  But there must be a better way - a way that enables IT to be a part of the planning process, not just driven before the wind like a rudderless ship.  There must, mustn't there?

Converged scenario planning 

Times are changing.  Scenario planning tools have long been available in the marketplace, in the capacity planning sector, and now they are catching up with the needs of the business of cloud management.  Remember, that the agility of cloud computing provokes the need for better management of headroom - to maintain the capacity to support elastic demand, and cost - to do so at a profit.  Cloud Capacity Management solutions must incorporate and translate the needs of the business into capacity requirements, and also translate capacity requirements into business constraints.  And the universal language of business?  Currency.
The new world of the cloud demands alignment between the needs of the business and the capacity provided to it.  The cloud-enabled enterprise IT spend is proportionate to the needs of the business.  The cloud-provider has the challenge of ensuring that its revenue covers its costs and provides a profit margin to its stakeholders.  Efficient decision makers are seizing control of their supply chains, and ensuring that risks and costs are managed effectively throughout.  The convergence of cloud and consumer planning ensures transparency in that decision making process.

The new synergy

Successful business and IT leaders are getting their act together, and learning to co-operate in new fruitful ways.  Planning for IT and business initiatives through capacity management, with focus on both customer experience and the bottom line, is enabling enlightened decision makers to understand the ramifications of their alternative strategies, and understand the budget and risk parameters for their chosen plans.  

It turns out the old adage "a stitch in time saves nine" still has relevance today..

Monday, 3 September 2012

Starting Capacity Management - Five Guiding Principles for Success

A few folk have been posting asking for advice on choosing a Capacity Management tool.  The normal result of that is a flurry of responses from vendors trying to position their tool as the best.  I prefer a different approach - some tools are better for some situations than others, and all of them will have some limitations - Capacity Management has to cover such a diverse range of platforms and use-cases that it's inevitable.

The fundamental principle of Capacity Management
As I tweeted recently, the fundamental principle of Capacity Management is that it exists to reduce cost and risk to business services.  When we're designing that process, selecting a tool, or looking for skills - it is imperative that we keep hold of those guiding principles whenever making a decision.  This means that taking a silo infrastructure view doesn't really help align with understanding or quantifying the risk to business services (unless the business service just happens to match 100% onto the infrastructure, which was the old way of running things but pretty much incompatible with the cloud)

The second principle of Capacity Management
Not all capacity is created equal.  So it is critical that we abandon percentages as a way of comparing different assets.  Percentages are only useful to compare a current value against another, such as the maximum.  But you can't take on server at 20% and another running at 20% and assume that consolidating them will result in a server running at 40% (unless the configuration is identical).  We now need a way of comparing capacities.  One of the popular ways of doing that is through using MHz.  But this approach is plagued with inaccuracy.  The main issue is that the processing power of a CPU is not directly correlated with MHz.  In fact (as I intend to show in a later post) the difference can be roughly stated as 25% per year for some chipsets.  This means that a 2GHz chip from 2010 is roughly equivalent to a 1.5GHz chip from 2011.  And don't forget to control for the effect of hyperthreading - your monitoring tools will report on logical CPUs not physical ones.

The third principle of Capacity Management
Cross-platform visibility is essential.  There is no purpose in having silo'd capacity management.  As indicated in the fundamental principle, it is imperative to identify risk to business services.  This means that we need to get end-to-end visibility on all the components that could introduce risk to service quality; meaning storage, network, virtual, physical - and more.  If you are operating within a silo right now, you need to explore ways to increase your scope and introduce a single, standard process - eliminating the variance in approach and in accuracy that is inevitable if you take a silo'd approach.

The fourth principle of Capacity Management
Operate within a limited set of use-cases.  The natural implication of the third principle is that you can extend your approach to include every asset in a business service - even down the the capacity of things you can't measure.  The fourth principle says that you should constrain the scope of your Capacity Management activities to align with your IT management objectives.  You might be solely interested in optimizing your virtual estates, or you might be focused on a DevOps capacity management lifecycle.  Your choice of tool and process should remain consistently aligned with your objectives.  

The fifth principle of Capacity Management
Don't Capacity Manage in isolation!  Remember that one of the benefits in Capacity Management is in managing risk, implying a connection with change.  Change can be from a business perspective (new channels, better performance, new markets etc.) or an IT perspective (virtualizing, consolidating, upgrading, software release etc.).  Your Capacity Management process must integrate with and add insight into these other critical management processes.  Correlating with IT Financial Management will offer cost/efficiency benchmarking.  Connecting with Release Management will provide scalability and impact assessments.  Working with Business Continuity Management will give scenario planning and quantified risk mitigation.  Capacity Management operating on its own just adds no value to the enterprise and should be terminated.

Summary
Capacity Management is a fundamental of business.  Whether the assets in question are office cubicles, trucks in a fleet, or virtual servers - they all fulfil a business need and represent an investment on behalf of the business to meet that need.  Enterprises operating at a lower risk and cost will enjoy a competitive advantage in the market - and Capacity Management is the vehicle to that advantage.  Use the five guiding principles outlined in this posts, to have the very best chance of success.

Thursday, 9 August 2012

Navigating to the cloud

In my recent post Planning for Better Operating Margin, I explored alternative methods of predictive analytics.  In this post, we'll explore the economics of choice - and how predictive analytics can be used to navigate a route to the cloud.
The fundamentals of the cloud model result in a competitive marketplace - and choice for the consumer.  There are many different routes to cloud computing, representing alternative platforms, service levels, benefits and costs.  Choosing from such a wide range of offerings can be confusing, and scary!  The law of diffusion of innovation says that 50% of the community are either late adopters or laggards - so it follows that popular choices for cloud technology become more and more popular as the word spreads.  However, we're living in a fast paced world.  New technology is springing up all the time, and the marketplace is getting larger and more diverse.  Take for example the cloud niche - virtual storage.  Thus far, this market has been dominated by major players such as VMWare, EMC, Dell, IBM and others - but in light of the growing demand for virtual storage, an array of niche storage players such as Tintri, DataCore, Nimble and others are emerging as stong alternative contenders.

In his recent blog post, Larry Walsh explored the idea that service providers will become the arbitrators of cloud services.  This idea rests on the fact that service agreements with cloud providers are relatively fixed and inflexible.  Empirical evidence would support this - the quality of service you experience from the public cloud provider is mostly non-negotiable.  This is simply another reason why enterprise organisations turn to private clouds for their mission critical systems.  However, the world is a little more complex than that.  Service Providers often fulfil a key role in integrating cloud offerings to deliver a quality of service that can be negotiated and agreed.  I would assert this act of choosing is key to a well-functioning market economy.  We don't all expect the same level of performance from our cars - some of us would happily pay extra for higher horse-power, whilst others are looking for the cheapest cost of ownership.  Choosing from the array of cloud providers and offerings gives us the ability to trade-off cost and quality of service.  This is where Larry Walsh asserts that the Service Provider fits the gap.

However, as Levitt and Dubner assert in Freakonomics, beware the motivations of the expert.  They observed that real-estate agents selling their own home left it on the market for 10 days longer than average, and achieved 2% higher price.  What incentive does the Solution Provider have?  When you move away from the cloud model, you lose the agility, flexibility and elasticity that goes with it.  So address the key topics: how are you engaging with cloud providers?  what are your contract terms with your Solution Provider?  And crucially, how do you benefit from the elasticity of the cloud?

In order to guide you through your decision making, you can either rely on a Solution Provider to do all the heavy lifting (although, as noted above - you cannot completely absolve yourself of choice), or apply your own governance.  This is where predictive analytics comes in.  With the right tools, you can evaluate alternative choices before making a decision.  This 'what if' scenario analysis is key to ensure that the risk of your choice is mitigated, and you have an informed idea of the alternatives in case things do change.  After all, change is a world we all live in....

Tuesday, 17 July 2012

Planning for better IT operating margin

You'll hear the phrase "predictive analytics" coming from most of the major players in capacity management these days.  Looking into the future to support planning any major infrastructure or software initiatives, or even to account for variations in workload growth, all require predictive analytics to some extent.  Whether you're an infrastructure provider or consumer, better planning drives more efficient operations and hence improved margins.  Let's explore more:




At it's most basic form, predictive analytics is about extrapolation.  By gathering a set of historical data, we can begin to spot patterns and make some assessment into the future trajectory.  The type of extrapolation that can be made depends on the power of the analytics - at it's most basic, linear regression analysis looks at long term trends and plots a single straight line trend out into the future.  This works fine for persistent metrics like disk space.  In fact, it works reasonably well for less persistent metrics, provided you bolster the analysis with some variability assessment.  However, better curve fitting algorithms (lognormal, exponential, binomial etc.) can provide more accurate predictions if the data is well behaved.  Take a look at the graph above.  The binomial fit is closer to the capacity used metric, which is a combination of a steady organic growth and a seasonal variation trend.  In this case, a linear trend on the peaks (or 98th percentiles) can give the same net result, but it a little more cumbersome.  


There are two problems however with extrapolation.  First, is one of scale.  With no roll-up mechanism, you quickly get drowned in data.  There's a simplification process that needs to support the trends.  The second, and more fundamental, is that is assumes all other variables remain constant - meaning, it's only the workload that changes - the environment itself is static. 


Is this a good assumption?  Well, for some platforms it is.  For disk capacity, it is a pretty good rule.  Only when disks are running out of space, will some change be made - and these can be easily reflected in the extrapolation.  For physical infrastructure, or statically allocated partitions, this can be a decent assumption too - provided the software itself isn't changing.  


But where the extrapolation and curve-fitting algorithms really fail, is where either the software or the operating environment are changing.  Determining the impact assessment of these step-changes in capacity is a task too complex for curve-fitting alone - and some configuration information must be reflected in the predictions.  At this stage, a modelling approach must be used.  There are in fact many different modelling algorithms and approaches, but the most popular provide both an infrastructure and a service perspective on capacity.  The service-centric capacity plan takes a cross-section of Data Centre capacity allocated or used by a heirarchy of service definitions, which can be taken from a service definition or CMDB.  The benefit of this view is to enable dialogue with business owners about plans for their relevant domain.  If you're capacity planning in the cloud, the relevant conversation should involve budgeting, quality and optimization opportunity.  If you have a model, then the relevant KPI for trending and extrapolation becomes workload volumetrics - and this means you can manipulate forecast data based on changing business requirements in the future.


The modelling approach really is beneficial in managing shared virtual infrastructures like the cloud; where the bottleneck may appear at the physical or virtual layer, where the virtual configuration may be changing rapidly; and where DRS workloads may be shifting around within a cluster.  It is also beneficial in planning for new software releases, upgrades or (major) reconfigurations - thereby incorporating a life-cycle approach to capacity management.  Surely this is where predictive analytics is at it's most powerful?  In helping architects to size new cloud environments, testers to validate the scalability of their new release, and capacity managers to measure the impact of their release into a congested production environments.


In Summary
In the technology life-cycle, the role for capacity management predictive analytics should support sizing, provisioning, managing and decommissioning.  Whether you choose to use a tool for that, or operate a consultative approach - leaving holes in your planning process has been shown to add risk and cost to your IT operations.

Thursday, 8 December 2011

The un-utilization rate

The un-utilization rate? What’s the un-utilization rate?





Capacity Management in the cloud depends on knowing the headroom for growth, the capacity to handle new business, and leveraging the operational budget to efficiently deliver services. And whereas most capacity managers first focus is on the utilization of critical compute assets, the needs of the cloud enterprise are more accurately served by understanding the un-utilization rate, that is – the amount of capacity that is available to accommodate new business services or growing demands. And, while looking at utilization in terms of a sheer percentage provides some insight, understanding that capacity in a heterogeneous environment is not uniform is a fundamental consideration of the un-utilization rate. We can think of this new KPI in 3 ways:


1) The ‘smoothed peak’ utilization value (commonly expressed as a 95 or 98 percentile). This represents the maximum available capacity whilst disregarding the occasional spike that every component is bound to experience in normal operations.
 2) The amount of capacity available, and normalised into a common unit. For example, with network cards you may encounter 100Mbps, 1Gbps, 10Gbps hardware. For memory, you may encounter 32Gb, 64Gb, 128Gb. For CPU, you certainly need a model approach to account for the variety of chip architectures, scalability parameters and likely normalised against a common benchmark or set of benchmarks, such as SPEC_int.
 3) The maximum amount of capacity that can be used without performance degradation. For this, you either need a modelling approach or a wide set of engineering benchmarks that can be applied against all components in the estate. For example, a common benchmark for ethernet is that performance degradation begins at around 40%. For CPU, depending on the type of processor, you could use a maximum desired utilization threshold of 90%. The alternative is to apply a model approach that can represent different workloads. This allows you to distinguish between a batch workload – where CPU utilization of 100% is often desired – and a micro-transactional workload running on windows – where context switch overhead can become significant over 75%.




Applying these three aspects of capacity to our un-utilization rate, we can see that:


Unutilization rate = (max desired capacity – smoothed peak utilization rate) * common units


  In the cloud environment, two further effects should now be considered.


1) The temporal nature of workload, and that workload balancing requires that a macro-view of commodity capacity unutilization rate provides a single view to show the available headroom. This means that macro, platform and resource pool views are required to ensure a holistic view to capacity management.


2) The combination effects of varying workloads mean that individual workloads are difficult to break down. In a cloud environment, capacity is made available quickly and dynamically to allow business users to adjust to varying levels of demand. But from a provider’s perspective, as one workload waxes and another wanes, the change in the amount of underlying capacity can change independently of individual workloads, but rather depends on the combination of workloads and trends. For this reason, advanced forecasting should be made through regression analysis of combined workloads and highly dependent also on business growth forecasts.


Using these effects then predictive analytics can be applied based on perceived change of organic growth and in a highly consultative manner with the business owner. In a private cloud, the business owner is the CIO – the position of accountability for running the cloud at a profit, and ensuring sufficient capacity to all customers.

Finally, our recommendation is that all cloud providers tightly correlate their financial management controls with capacity management routines, in order to understand the cost of capacity provision and the efficacy of the leveraging of those investments. This is where the unutilization rate vitally adds significant business value. By taking a polarized view of capacity in sheer financial terms, the unutilization rate provides both the ability to safely downsize capacity and reduce variable operational expense – and also to carefully and deliberately manage the capacity to accommodate new and growing workloads as the cloud business expands.

Thursday, 25 August 2011

SAP Capacity Management - 3 top tips

The result from good SAP Capacity Management is driving down hardware costs whilst maintaining good performance.  As I argue strongly, if you can directly correlate cost and capacity (as I have proved on www.limsol.com/osprey) then capacity management = cost management (as discovered by Bruce Robertson of Gartner at http://blogs.gartner.com/bruce-robertson/2009/07/03/capacity-planning-equals-budget-planning/).  Therefore selecting the optimium capacity is about balancing cost and performance (or more accurately service levels).  Taken into the cloud model, these variations in the marketplace offer as distinct a choice as Bentley and Trabant offer in the automotive marketplace.

Tip 1: SAP Sizing
With SAP, the opportunity is clear.  The current sizing process based on SAPS is certainly not fit for purpose, and is far too vendor reliant to detect variations in value proposition between different hardware manufacturers.  Adding greater scientific rigour to the sizing process can right-size, right-cost and environment with controlled aggression in risk management.  Knowing your options can be valuable.  In this sense, Hyperformix (now CA Capacity Management) claim $5M in SAP savings at a high-profile petrochemical company. 

Tip 2: cost control & billing
Let's be clear.  A fundamental aspect of cloud computing is the transparency of cost.  As I've argued, ifcapacity correlates directly to cost, therefore we can say a fundamental aspect of cloud computing is the transparency of capacity.  Regressive engineering leads to sizing and billing based on transaction volumes & user load.  By mining the SAP and java stack, a full transaction profile can be married with a cost profile for cost control and billing.  By siezing control of this information, competitive SAP service providers will undercut market rates and provide flexible billing and deployment models.

Tip 3: be selective with publishing information
One man's meat is another man's poison.  Therefore selective propogation of capacity/cost/performance information is necessary.  For business/development/operations to work in harmony, then synergetic relationships must be found and nurtured.  Maintaining a conversation about overall cost/benefit to couple with new releases, workload and operational environment changes can only improve the planning and delivery processes.

Wednesday, 25 May 2011

It's a competitive market, this cloud business. What makes the difference between success and failure?

I was preparing a training event for Capacity Managment recently, and came across this excellent article on the CIO website: Cloud Makes Capacity Planning Harder - 3 Fight Back Tips.  It strikes me that one aspect of cloud computing that represents the paradigm shift more than any attempts (and there have been many) to characterize cloud models, is that suddenly there is a competitive market for the provision of IT services.  No longer does an enterprise remain constrained by internal IT services, and IT Executives are being asked to support external services as well as their own.

Not since the major transition from silos to shared services has there been such a significant change, and challenge to CIOs.  The challenge from the CEO is this - become more competitive, or risk losing your business to external providers.  As the competition grows stronger, internal IT providers struggle harder and harder to justify their selection in an open marketplace.  The birth of the private cloud model is the attempt of the CIO to respond to the threat of the external providers.

Any marketplace is defined by offerings which differ in cost and quality.  And the cloud computing marketplace is no different.  Market segmentation into SaaS, PaaS and IaaS offerings allow niche suppliers to prosper alongside larger vendors.  The cost of service provision is transparent and elastic to meet demands. 

The CIO article somewhat skirts around this topic, advising to develop competitive chargeback rates, and a meaningful mixed deployment strategy.  However, ultimately the cloud marketplace will demand choice in cost and quality; meaning Capacity Management and Capacity Chargeback will be key differentiators.  The challenge to private cloud is to provide a meaningful and transparent option to compete.