Open patterns were introduced earlier this year as a strategic initiative to leverage open technologies to cloud enable complex middleware deployments and easily bring HEAT based content onto IBM Cloud. In this lab, you will get the opportunity to get hands-on experience with the Open Pattern Engine in PureApplication that runs on the Bluemix Local System. You will build, deploy and manage an open pattern using Blueprint Designer, Git repository and the PureApplication web console. You will also use OpenStack Horizon console to examine what happens under the covers in the OpenStack runtime. This lab will also help you compare open patterns with the more familiar Virtual System Patterns on PureApplication.
C418 - Build, Deploy and Manage Your First Open Pattern with PureApplication and the Bluemix Local System
1. Session C418
Build, Deploy and Manage Your First
Open Pattern with PureApplication and
Bluemix Local System
IBM Cloud Technical University 2016
October 25 - 28
IBM Cloud Technical University
Madrid, Spain
Hendrik van Run
Executive IT Specialist
hvanrun@nl.ibm.com
Eugen Postea
Software Engineer
epostea@ca.ibm.com
2. Cloud native
applications –
Cloud Foundry
-
MicroServices
on
Bluemix Local
Bluemix Local System
Cloud enabled
enterprise
applications
-
Patterns
on
PureApplication
Software
Openstack-
Heat/Hot
Deployment
-
Open Patterns
on
Bluebox
IBM Hybrid Private Cloud
On-premise Local Cloud
Cloud native
applications –
Cloud Foundry
-
MicroServices
on
Bluemix
Dedicated
SoftLayer
Cloud enabled
enterprise
applications
-
Patterns
on
PureApplication
Service
OpenStack-
Heat/Hot
Deployment
-
Open Patterns
on
Bluebox
Off-premise Private Cloud
IBM hybrid private cloud consists of multiple cloud environments, enabling workload interaction and portability
between these environments for cloud native & cloud enabled applications
X86 Compute Nodes, Storage, OS, Virtualisation, Networking and Rack
Capex/OpexOpexCapex/Opex Capex/Opex OpexOpex
Hybrid
X86 Compute Nodes, Storage, OS, Virtualisation, Networking and Firewall
3. Introducing IBM Bluemix Local System
Run Cloud Enable and Cloud Native on the same platform
2
Cloud-native and Cloud-enabled solutions on a single platform
Run PureApplication Software, Bluemix Local or OpenStack Heat Patterns on a single Bluemix Local System in
your own datacenter
Bluemix Local System
W3550 (iSCSI) or W3550 (Flash)
Integrated Compute, Storage, Network, Virtualization
PureApplication
Software or
Software Suite
Bluemix Local
Cloud enabled
enterprise applications
New cloud native
applications
Officical
announcement:
https://ibm.biz/BdsDut
IBM Systems blog:
https://ibm.biz/BdsDuU
IBM Knowledge
Center:
https://ibm.biz/BdsRd5
OpenStack Heat
Patterns on
IBM Blue Box
OpenStack Heat
deployments
4. Bluemix Local
System
33
(classic) Virtual
System
Patterns
OpenStack
Heat Patterns
2012 2013 2014 2015 2016
OpenStack Heat Patterns and Bluemix Local System
A multi-pattern strategy to deploy proven technology and embrace open technologies
Virtual
Application
Patterns
Virtual System
Patterns
OpenStack Heat Patterns and Virtual System Patterns on a single platform
Run both patterns with PureApplication Software on Bluemix Local System
5. OpenStack Heat Patterns and Bluemix Local System
A multi-pattern strategy to deploy proven technology and embrace open technologies
– PureApplication delivers the value of pattern
automation in production today
– As open technologies mature, PureApplication
will add support for patterns based on open
technologies
– PureApplication will add lifecycle management
features to make IBM Open Patterns
enterprise ready
– Open patterns will, in the fullness of time, run
on multiple IBM cloud platforms with no
refactoring and minimal change
– Existing PureApplication patterns will continue
to work exactly as today
4
Bluemix Local
System
(W3500/W3550)
or
PureApplication System
(W1500/W2500)
PureApp
IaaS
&
PaaS
Shared
Management
UI
Blue
Box
OpenStack
IaaS
&
Open
PaaS
Infrastructure
6. Blue Box OpenStack on Bluemix Local System
“IBM delivered OpenStack Heat-based patterns using IBM Blue Box in
Bluemix Local System 2.2.2 on 9th September 2016”
• Requires subscription to IBM Blue Box
• Requires 3 dedicated compute nodes to host the OpenStack services
• Requires 2 TB of storage
• Requires 5 dedicated new VLANs
• Requires integration with LDAP
• Using the OpenStack Heat-based patterns is optional
• Also supports PureApplication System models W1500 and W2500
7. Blue Box OpenStack on PureApplication System
“In 2016, IBM intends to deliver the OpenStack runtime for open patterns
in IBM PureApplication by integrating IBM Blue Box technology.”
• The above statement of direction was released just before
InterConnect 2016
• Version 2.2.2 of PureApplication includes support for Blue Box
OpenStack services as the foundation for the open patterns feature
• Using the open patterns support is optional, and requires a minimum
of 3 compute nodes to be dedicated to the feature
8. Blue Box OpenStack on Bluemix Local System
Important Terminology
Bluemix Local System OpenStack
UrbanCode Deploy
Blueprint Designer
OpenStack Heat patterns
Heat Orchestration
Template (HOT)
Blueprint
Instance Stack Environment
Deploy (Pattern) Instances Launch Stacks Provision Blueprints
UI
OpenStack management
dashboard
UrbanCode Deploy
Blueprint Designer
Virtual Machine
configuration
Flavor Flavor
Cloud group Availability zone Availability zone
7
9. Blue Box OpenStack on Bluemix Local System
High level infrastructure overview
PSM
Compute
Node 1
Compute
Node 2
Compute
Node 3
OpenStack Control Plane
Open
Patterns VM
Blue Box
VPN VM
Site Controller
VM
PureApp UI TSA
Guest VM1 Guest VMn…
PureApp CLI
Guest VM1 Guest VMn…
Guest VM1 Guest VMn…
OpenStack
Controller
Nodes
OpenStack
Compute
Node
PureApplication
Systems Manager
Node
OpenStack Control Plane
10. Open Patterns VM
Blue Box OpenStack on Bluemix Local System
High level deployment flow
Compute
Git Repositories UrbanCode
Deployer Blueprint
Designer
Salt Master
PureApp GUI OpenStack Heat Engine
PureApp CLI
Guest VM
Salt Minion
Zeron
Import Pattern Edit Pattern
Deploy Pattern
Deploy
Import
Binaries
Software Repository
11. Blue Box OpenStack Network Topology
OpenStack Compute Node
Guest VMs
3
2
0
1
PSM2 51 3 4
OpenStack Controller Nodes
Internal Blue Box Mgmt
External APIs for OpenStack
Blue Box VPN VM
Site Controller VM
Public Blue Box Endpoint
Open Patterns VM
Internal Blue Box Mgmt
Internal Blue Box Mgmt
Internal Blue Box Mgmt
Open Patterns Services
Internal PureApp Mgmt
Internal PureApp Mgmt
Customer Data
Guest VMs
Customer Data
Ext-‐router
External
router
Internal PureApp Mgmt
VLAN numbers
are examples
except for 3201
VLAN 1 2 3 4 5 3201
New? Yes Maybe Yes Yes Yes No
Internal x x
External x x x x
Public x
18. Build, Deploy and Manage Your First Open Pattern
Live Demo
1. Exploring OpenStack infrastructure using Horizon
2. Deploy “Hello world!” OpenStack Heat Pattern
3. Manage instance using Instance console (zeron)
4. Review the out-of-the-box OpenStack heat patterns WAS/DB2
19. OpenStack Heat Patterns – further reading
– IBM published a draft of the Redbook “Automated
Delivery with OpenStack Heat Patterns” on 24th
October 2014
– http://www.redbooks.ibm.com/Redbooks.nsf/RedbookA
bstracts/redp5352.html
18
20. 19
Questions?
Session number was C418, we appreciate your
feedback!
Hendrik van Run
Executive IT Specialist
hvanrun@nl.ibm.com
Eugen Postea
Software Engineer
epostea@ca.ibm.com
21. Outline
1. View system settings for enabling and accessing OpenStack
Services
2. View cloud groups that support OpenStack
3. Find open patterns in the PureApp GUI
4. Deploy an open pattern
5. Create a new open pattern
6. Edit an existing open pattern
7. Manage an open pattern using Instance console
8. Tour the Blue Box OpenStack Horizon GUI
23. Monitoring
Lifecycle
Management
Values of Patterns Using Open Technologies
– Portability
– The same open technologies are used in many systems
– Speed of Innovation
– Supported by a vast community
– Skills Availability
– A large pool of available developers
– Community Conventions
– Consistency of user experience
– Ease of integration
– Breadth of Content
– Many sources of open patterns
24. Monitoring
Lifecycle
Management
Basic Elements of a Pattern
– Patterns are composed of
– Base images of operating systems
– Binary files to deliver applications
– Automation scripts
– Orchestration templates
25. The OpenStack Heat patterns
expands the catalog of patterns
that can run in PureApplication
System to include Heat-based
open pattern templates with built-in
automation.
OpenStack Heat Patterns on PureApplication System
26. OpenStack Heat Patterns Offerings
Orchestration
OpenStack
Heat,
used
to
launch
composite
cloud
applications
using
templates
in
the
form
of
text
files
that
can
be
treated
like
code.
Automation
SaltStack
is
a
Python-‐based
open
source
configuration
management
software
and
remote
execution
engine.
Version
Control
Git is
a
Open
source
version
control
system
for
open
pattern
artifacts
like
automation
scripts
and
Heat/HOT
templates.
Graphical
Designer
Web
based
template
editor
for
OpenStack
Heat
patterns
and
automation
(based
on
UCD
Designer)
Lifecycle
Management
Lifecycle
management
framework
for
license
tracking,
log
management,
OS
&
middleware
monitoring,
update
management,
etc.
VM
Service Provides
an
OpenStack
Cloud
Open
Pattern
Runtime
Heat/HOT
Configuration
Management
Git Designer
Lifecycle
Management
Open Patterns Open Patterns