World®
’16
Getting	VMs	in	Shape	With	Data-Driven	
Workflows	in	CA	Process	Automation
Keith	Sturkie - Sr.	Operations	Engineer	- Unum
MFX156S
MAINFRAME	AND	WORKLOAD	AUTOMATION
2 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
©	2016	CA.	All	rights	reserved.	All	trademarks	referenced	herein	belong	to	their	respective	companies.
The	content	provided	in	this CA	World	2016	presentation	is	intended	for	informational	purposes	only	and	does	not	form	any	type	
of	warranty. The information	provided	by	a	CA	partner	and/or	CA	customer	has	not	been	reviewed	for	accuracy	by	CA.	
For	Informational	Purposes	Only	
Terms	of	this	Presentation
3 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Abstract
Virtual	machines	(VMs)	that	have	been	over	provisioned	with	too	many	CPUs	or	too	much	RAM	
can	be	big	and	slow	and	really	drag	down	your	virtual	environment.	VMs	that	are	under	
provisioned	cause	stability	issues	and	headaches	for	the	customer.	Finding	the	right	size	for	your	
VMs	can	be	difficult	and	time	consuming.	At	Unum,	our	VMs	have	hit	the	gym	to	get	in	shape	
and	perform	at	their	best	with	automated	VM	rightsizing.	Using	CA	Process	Automation,	we	
have	developed	orchestrations	to	tie	together	monitoring	systems,	approvals,	VM	maintenance	
and	reporting	to	make	a	lean,	mean	rightsizing	machine.	But	not	only	are	the	VMs	more	
efficient,	but	also	the	workflows	themselves	have	been	engineered	to	be	efficient.	By	allowing	
the	data	to	drive	the	workflows,	we	are	able	to	leverage	workflows	only	when	they	are	needed	
and	sprint	to	the	finish.	Utilizing	this	process,	Unum	has	seen	tremendous	savings	within	our	
virtual	hosting	environment,	consistency	and	accountability	with	server	ownership,	and	reliable,	
repeatable	and	agile	automation.	Join	us	to	learn	how	you	can	realize	savings	and	increase	
density	though	the	optimization	of	your	virtual	environment	through	VM	rightsizing.	Using	data	
to	drive	workflows	allows	for	smaller,	more	efficient	workflows	that	can	shorten	the	time	of	a	
process,	perform	just-in-time	work	and	create	flexibility	with	your	processes
Keith	Sturkie
Unum
Sr.	Operations	Engineer
4 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Agenda
WHAT	IS	VM	RIGHTSIZING?
THE	PROCESS	OF	VM RIGHTSIZING
USING	DATA-DRIVEN	WORKFLOWS
REAPING	THE	REWARDS
1
2
3
4
Q	&	A5
5 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Why	VM	Rightsizing?
Too	Big
• Inflated	total	cost	of	ownership
• Reduced	efficiency	in	hosting	environment
• CPU	Ready	and	other	performance	issues
Too	Small
• Performance	and	stability	issues
6 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
The	Process	of	VM	Rightsizing
Driven	by	CA	Process	Automation
Collect	the	Data
Review	and	Approve
Process	Changes
7 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
The	Process	of	VM	Rightsizing
§ Get	data	from	external	sources	(Foglight	and	SCOM)
§ Parse	the	data	and	load	into	database
§ Apply	rightsizing	data	(exclusions,	reboot?,	scheduling)
§ Start	review	and	approval	processes
Collect	the	Data
8 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
The	Process	of	VM	Rightsizing
§ Operations	Engineer	reviews	all	recommendations	and	selects	
which	ones	to	proceed	with
§ Server	owner	reviews	recommendation	and	scheduling
§ Server	owner	provides	final	approval
Review	and	Approve
9 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
The	Process	of	VM	Rightsizing
§ More	than	just	adding	or	removing	resources
– Setting	Maintenance	window	in	monitoring
– Closing	change	tickets
– Notifying	server	owner	when	it	starts	and	completes
§ Verifying	the	changes	and	notification	of	errors
§ Communication
Process	Changes
10 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
The	Process	of	VM	Rightsizing
§ Timing
– From	data	collection	to	processing	can	be	around	2	weeks
– Having	HA	applications	remain	HA
§ Quantity
– Processing	of	hundreds	of	servers
– Managing	the	load	placed	on	VM	hosting	environment
§ Data-driven	workflows	to	the	rescue!
Managing	the	Process
11 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Using	Data-Driven	Workflows
§ Three	different	types	of	processes
– Data	gatherer
– Processor
– Monitor
§ Process	execution	determined	by	data	not	by	timing
CA	Process	Automation
12 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Using	Data-Driven	Workflows
Example:		Rightsize	60	Servers	in	3	20	Server	Batches
§ Time-driven
– All	processes	start	at	the	
beginning	of	the	rightsize	
workflow
– When	timing	is	correct,	
continue	the	process
0
10
20
30
40
50
60
70
1 2 3 4 5 6 7 8
Number	of	Processes
Number	of	Processes
13 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Using	Data-Driven	Workflows
Example:		Rightsize	60	Servers	in	3	20	Server	Batches
§ Data-driven
– Single	process	executes	to	see	
if	there	is	work	to	be	done
– When	work	is	ready,	processes	
are	started	and	finish
0
5
10
15
20
25
1 2 3 4 5 6 7 8
Number	of	Processes
Number	of	Processes
14 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Using	Data-Driven	Workflows
§ Reduction	in	the	number	of	concurrent	processes
§ Agility
– Code
– Processing
– Data
Realizing	the	Benefits
15 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Reaping	the	Rewards
VM	Rightsizing	and	Data-Driven	Workflows
§ Rightsizing
– Servers	processed:		1223
– vCPUs	recovered:		1525
– GB	RAM	recovered:		345
§ Single-size	server	
provisioning
§ Reporting	and	history
§ Data-driven	workflows
– Process	60	rightsizes in	an	
hour	while	governed
– Reduction	in	concurrent	
processes
– Process	and	data	agility
16 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Questions?
17 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Experiences
The	sizing	of	VMs	to	their	
needs	and	not	a	customer’s	
wants	creates	a	healthy	
environment.
Key	Topics
VM	Rightsizing
Data-Driven	Workflows
Findings
Data-Driven	workflows	allow	
the	processing	of	CA	Process	
Automation	processes	on	an	
as-needed	basis.		This	creates	a	
great	reduction	in	concurrent	
processes	and	adds	agility	to	
your	workflows.
Summary
A	Few	Words	to	Review
18 ©	2016	CA.	ALL	RIGHTS	RESERVED.@CAWORLD				#CAWORLD
Thank	you.
Stay	connected	at	communities.ca.com
@CAWORLD					#CAWORLD ©	2016	CA.	All	RIGHTS	RESERVED.19 @CAWORLD					#CAWORLD
Mainframe	and	Workload	Automation
For	more	information	on	Mainframe	and	Workload	Automation,		
please	visit:	http://cainc.to/9GQ2JI

Getting VMs in Shape with data-driven workflows in CA Process Automation