SlideShare a Scribd company logo
Click to add Text
© 2009 IBM Corporation
OpenStack and z/VM – What is it and how do I get it?
Emily K. Hugenbruch – Advisory Software Engineer
Trademarks
© 2016 IBM Corporation
The following are trademarks of the International Business Machines Corporation in the United States and/or other countries.
Notes:
Performance is in Internal Throughput Rate (ITR) ratio based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's
job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput improvements equivalent to the performance ratios stated here.
IBM hardware products are manufactured from new parts, or new and serviceable used parts. Regardless, our warranty terms apply.
All customer examples cited or described in this presentation are presented as illustrations of the manner in which some customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics will vary depending on individual customer
configurations and conditions.
This publication was produced in the United States. IBM may not offer the products, services or features discussed in this document in other countries, and the information may be subject to change without notice. Consult your local IBM business contact for information on the product or services available
in your area.
All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only.
Information about non-IBM products is obtained from the manufacturers of those products or their published announcements. IBM has not tested those products and cannot confirm the performance, compatibility, or any other claims related to non-IBM products. Questions on the capabilities of non-IBM
products should be addressed to the suppliers of those products.
Prices subject to change without notice. Contact your IBM representative or Business Partner for the most current pricing in your geography.
This information provides only general descriptions of the types and portions of workloads that are eligible for execution on Specialty Engines (e.g., zIIPs, zAAPs, and IFLs) ("SEs"). IBM authorizes customers to use IBM SE only to execute the processing of Eligible Workloads of specific Programs
expressly authorized by IBM as specified in the “Authorized Use Table for IBM Machines” provided at www.ibm.com/systems/support/machine_warranties/machine_code/aut.html (“AUT”). No other workload processing is authorized for execution on an SE. IBM offers SE at a lower price than General
Processors/Central Processors because customers are authorized to use SEs only to process certain types and/or amounts of workloads as specified by IBM in the AUT.
The following are trademarks or registered trademarks of other companies.
* Other product and service names might be trademarks of IBM or other companies.
* Registered trademarks of IBM Corporation
Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, and/or other countries.
Cell Broadband Engine is a trademark of Sony Computer Entertainment, Inc. in the United States, other countries, or both and is used under license therefrom.
Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.
IT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government Commerce.
ITIL is a registered trademark, and a registered community trademark of the Office of Government Commerce, and is registered in the U.S. Patent and Trademark Office.
Java and all Java based trademarks and logos are trademarks or registered trademarks of Oracle and/or its affiliates.
Linear Tape-Open, LTO, the LTO Logo, Ultrium, and the Ultrium logo are trademarks of HP, IBM Corp. and Quantum in the U.S. and
Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.
OpenStack is a trademark of OpenStack LLC. The OpenStack trademark policy is available on the .
TEALEAF is a registered trademark of Tealeaf, an IBM Company.
Windows Server and the Windows logo are trademarks of the Microsoft group of countries.
Worklight is a trademark or registered trademark of Worklight, an IBM Company.
UNIX is a registered trademark of The Open Group in the United States and other countries.
BladeCenter*
DB2*
DS6000*
DS8000*
ECKD
FICON*
GDPS*
HiperSockets
HyperSwap
IBM z13*
OMEGAMON*
Performance Toolkit for VM
Power*
PowerVM
PR/SM
RACF*
Storwize*
System Storage*
System x*
System z*
System z9*
System z10*
Tivoli*
zEnterprise*
z/OS*
zSecure
z/VM*
z Systems*
© 2016 IBM Corporation3
Who is OpenStack for?
OpenStack
End User
Self-service IT requests via mobile &
Web clients
Cloud Manager
Manage cloud workloads
Manage Cloud Users
Manage Cloud environment
Platform Manager
Manage physical resources (servers,
storage and networking)
Hypervisor Admin
Manage hypervisor resources
(servers, storage and networking)
OpenStack targets
these
© 2016 IBM Corporation4
What is OpenStack?
OpenStack
Open source software for creating private
and public clouds.
OpenStack software controls large pools of
compute, storage, and networking resources
throughout a datacenter, managed through a
dashboard or via the OpenStack API.
© 2016 IBM Corporation5
What is OpenStack?
OpenStack
Source: https://www.openstack.org/software/
© 2016 IBM Corporation6
What is OpenStack?
OpenStack
© 2016 IBM Corporation7
What is OpenStack?
OpenStack
© 2016 IBM Corporation8
What is OpenStack?
OpenStack
Series
Status GA Date
Newton Under development
Mitaka Current stable release Apr 7, 2016
Liberty Security supported Oct 15, 2015
Kilo Security supported Apr 30, 2015
Juno EOL Oct 16, 2014
Icehouse EOL Apr 17, 2014
Havana EOL Oct 17, 2013
Grizzly EOL Apr 4, 2013
Folsom EOL Sep 27, 2012
Essex EOL Apr 5, 2012
Diablo EOL Sep 22, 2011
Cactus Deprecated Apr 15, 2011
Source: http://releases.openstack.org/
© 2016 IBM Corporation9
What is OpenStack?
OpenStack
Most community interaction takes place over IRC (internet relay chat).
Etherpads (a collaborative notepad) and wikis are used for short or long term
documentation.
The twice-yearly summit includes sessions for sales/managers, operators and
the design summit for technical direction. Summit sessions are decided upon
via a combination of voting and core members.
Each OpenStack project has a Project Team Lead (elected position) and
several core members. These are people who have done enough code
reviews and contributions to be considered experts.
© 2016 IBM Corporation10
OpenStack Roadmap
OpenStack
Scalability Resiliency Manageability Modularity Interoperability
Mitaka Newton Mitaka Newton Mitaka Newton Mitaka Newton Mitaka Newton
Ceilometer X X X X X X X X
Cinder X X X X X
Glance X X X X X X
Heat X X X X X
Horizon X X X X X X
Ironic X X X X
Keystone X X X
Magnum X X X
Neutron X X X X X X X
Nova X X X X X X
Oslo X X X X X XSource: https://www.openstack.org/software/roadmap/
© 2016 IBM Corporation11
Current z/VM support
OpenStack
OpenStack Compute Node
LPAR
z/VM
Linux
Linux
SMAPI
LPAR
z/VM
Linux
SMAPI
xCAT
SSH
OpenStack Compute Node
REST API
OpenStack Controller
Neutron
Glance Cinder
Scheduler
Horizon UI
If the controller is on z/VM, then
this is manage-from z. If the
controller is outside z/VM, then
this is manage-to z.
Horizon
Neutron
Neutron
Nova Nova
XCAT MN/zHCP XCAT zHCP
xCAT
© 2016 IBM Corporation12
OpenStack
Supported features - nova
Launch → Image_Definition_Create_DM
Reboot → Linux reboot, or re-IPL
Terminate
Resize → Complete rebuild of the guest
Pause →PA1
Un-pause
Live Migration
Snapshot
Fibre Channel
Set Admin Pass
Get Guest Info
Get Host Info
Glance Integration
Config Drive
Discovery of existing guests
(driven via xCAT GUI)
© 2016 IBM Corporation13
OpenStack
Supported features - neutron
Right now the z/VM agent only supports Layer 2
VLAN Networking
Flat Networking
© 2016 IBM Corporation14
OpenStack
Supported features - cinder
Attach Volume
Detach Volume
Right now support is only for storage in the IBM Storwize family/SVC Fiber
Channel Protocol
© 2016 IBM Corporation15
OpenStack
Latest deliverable
OpenStack Liberty support, including
Ceilometer support
RHEL7 and SLES12 provisioning through OpenStack
Keystone v3
© 2016 IBM Corporation16
OpenStack
Latest deliverable
Different CMA modes
5 Options
Controller – OpenStack controller and compute node and xCAT MN and zHCP
Compute – OpenStack compute node and xCAT zHCP
Compute_mn – OpenStack compute node and xCAT MN and zHCP (if you have
a non-CMA controller)
MN – xCAT MN and zHCP
ZHCP – xCAT zHCP
This means a single service stream for xCAT and OpenStack updates
The ZHCP userid is no longer needed, the whole appliance runs from XCAT
© 2016 IBM Corporation17
OpenStack
Things to know
Liberty is the first release of our Cloud Manager Appliance that is not part of the
IBM Cloud Manager with OpenStack product.
The ICM deployer is not included
Cannot manage from z to other platforms
Only the xCAT GUI and Horizon GUI are included, evaluate your self-service
portal needs to see if an additional OpenStack product is right for you
The Chef server is not included
The Chef client is still included
Chef cookbooks are included
For configuring the CMA to be managed by an external cross-platform
OpenStack controller
For configuring the CMA to use an external Keystone server
© 2016 IBM Corporation18
How do I get OpenStack on z/VM?
OpenStack
•There are many ways to get OpenStack:
– On-premises distribution: A customer downloads and installs an OpenStack
distribution within their internal network. You could create your own using our
community plugins, or choose a distribution like SUSE OpenStack Cloud 6
SUSE OpenStack Cloud 6 is available here
https://www.suse.com/products/suse-openstack-cloud/
It uses open source OpenStack (community) Liberty drivers for z/VM and
xCAT, which are available to anyone who wants to download them.
Only the xCAT MN and zHCP need to run on z/VM with the rest of the code
running in an x86 Linux guest. SUSE OpenStack Cloud 6 includes the z/VM
installation and configuration, so there are no manual steps!
© 2016 IBM Corporation19
How do I get OpenStack on z/VM?
OpenStack
There are many ways to get OpenStack:
On-premises distribution: A customer downloads and installs an OpenStack
distribution within their internal network. You could create your own using our
community plugins, or choose a distribution like SUSE OpenStack Cloud 6
Hosted OpenStack Private Cloud: A vendor hosts an OpenStack-based private
cloud: including the underlying hardware and the OpenStack software.
OpenStack-as-a-Service: A vendor hosts OpenStack management software
(without any hardware) as a service. Customers sign up for the service and pair it
with their internal servers, storage and networks to get a fully operational private
cloud.
Appliance based OpenStack: z/VM includes an OpenStack appliance
Sources: https://en.wikipedia.org/wiki/OpenStack
https://www.suse.com/company/press/2015/suse-offers-beta-preview-of-suse-openstack-cloud-6.html
© 2016 IBM Corporation20
Before you install the z/VM appliance
OpenStack
To set up the z/VM appliance, you will need some resources for the appliance and
some resources for your cloud.
For the appliance:
Disk space for your LVM, this must have enough space for any guest images you
want to store. We recommend 50G of disk space.
If not already set up, the XCAT userid (where the appliance is installed) should
also have a minidisk at address 101 and 102 and the MAINT630 must have
minidisks at addresses 102, 103, 104, 105 each of size:
ECKD - 3338 cylinders
FBA/eDevice - 4806720 blocks
1 externally available IP addresses, associated OSA card/gateway/mask (install
will set up a layer 2 vSwitch from this)
© 2016 IBM Corporation21
Before you install the z/VM appliance
OpenStack
To set up the z/VM appliance, you will need some resources for the appliance and
some resources for your cloud.
For your cloud:
Some disk space for you to install your guests (at least the equivalent of one
3390-9 for one guest)
Additional IP addresses on the same subnet as your appliance IP
If you want to use cinder to attach/detach additional disks to your guests, some
storage connected via an IBM Storwize SAN
IP address of your SVC storage
Filename of the SAN private key file
Storwize SVC pool name
Storwize SVC io_group_id
© 2016 IBM Corporation22
Installing the z/VM appliance – Configure DirMaint and SMAPI
OpenStack
On a fresh install, choose Yes on this screen
Or, enable DirMaint and SMAPI on your own, following the instructions in the
Directory Maintenance Facility Tailoring and Administration Guide and the Systems
Management Application Programming
Be sure to follow the instructions in the DirMaint Appendix B to make DirMaint
and SMAPI talk
© 2016 IBM Corporation23
Installing the z/VM appliance – Getting the latest service
OpenStack
The appliance has two parts
One is installed via the latest in z/VM service for CMS (CMA120 FILE) so
Be sure that you're up to date on all your service.
Check this webpage for the latest service information and manuals
http://www.vm.ibm.com/sysman/osmntlvl.html
© 2016 IBM Corporation24
Installing the z/VM appliance – FixCentral
OpenStack
The appliance has two parts
The other is downloaded from FixCentral, so download this onto your laptop
http://www.ibm.com/support/fixcentral
© 2016 IBM Corporation25
Installing the z/VM appliance - FixCentral
OpenStack
From Fix Central
Depending on the type of DASD you're using choose:
CMA101.ECKDPACK and CMA102.ECKDPACK
CMA101.FBAPACK and CMA102.FBAPACK
© 2016 IBM Corporation26
Installing the z/VM appliance – Configuration files
OpenStack
From MAINT630, configure your DMSSICNF (xCAT) and DMSSICMO
(OpenStack) COPY files using these commands
LOCALMOD CMS DMSSICxx $COPY
SERVICE CMS BUILD
PUT2PROD
© 2016 IBM Corporation27
Installing the z/VM appliance – Configuration files
OpenStack
© 2016 IBM Corporation28
Installing the z/VM appliance – Configuration files
OpenStack
© 2016 IBM Corporation29
Installing the z/VM appliance – Appliance installation
OpenStack
Refer to the CMA120 FILE on the MAINT 400 disk for detailed instructions (this
should have been installed/updated by the service you applied earlier).
From MAINT630, create, link and format the new 102-105 minidisks
Access 102 as T
Access 103 as U
Access 104 as V
Access 105 as W
© 2016 IBM Corporation30
Installing the z/VM appliance – Appliance installation
OpenStack
FTP the CMA10x.ECKDPACK or CMA10x.FBAPACK files you downloaded from
Fix Central over to your MAINT630 101 and 102 disks using
BIN
QUOTE SITE FIXRECFM 1024
Unpack this file to the MAINT630 103 and 104 disks using
COPYFILE CMA101 filetype T CMA101 filetype V ( UNPACK OLDDATE
COPYFILE CMA102 filetype U CMA102 filetype W ( UNPACK OLDDATE
SIGNAL SHUTDOWN the XCAT userid and link the 101 and 102 disks
Restore the image file to the XCAT 101 and 102 disks using DDRREST
ACCESS 193 T
DDRREST 101 CMA101 filetype V
DDRREST 102 CMA102 filetype W
© 2016 IBM Corporation31
Installing the z/VM appliance – Appliance installation
OpenStack
DETACH the XCAT 101/102 disks
Comment out the entry for ZHCP in DMSSISVR NAMES
This file lives on the MAINT.193 disk, comment out these lines
* Node server for xcat
* :server.ZHCP
* :type.XCAT
* :subtype.NODE
Add OPTION LNKNOPAS to the XCAT id user directory
If you have the full DirMaint: “dirm for xcat setoptn add lnknopas”
Add the XCAT id to your VSMWORK1 AUTHLIST file on VMSYS:VSMWORK1.
You can replicate the line for MAINT and change the id to XCAT
© 2016 IBM Corporation32
Installing the z/VM appliance – Appliance installation
OpenStack
Start the appliance by
FORCE VSMGUARD
XAUTOLOG VSMGUARD
At this point you can also SIGNAL SHUTDOWN ZHCP WITHIN 60 to shut down
that id forever. If you leave it running, don't worry, nothing bad will happen
You should get a message when the appliance has finished IPLing, such as:
[time] * MSG FROM XCAT : CMA VERSION IS: 1.2.0-20160315
[time] * MSG FROM XCAT : XCAT VERSION IS: 2.8.3.9
[time] * MSG FROM XCAT : CMA: NO MIGRATION STEPS NEEDED
[time] * MSG FROM XCAT : OPENCLOUD IS UP AND RUNNING
[time] * MSG FROM XCAT : CMA IS RUNNING IN CONTROLLER MODE
[time] * MSG FROM XCAT : XCAT SERVICES RUNNING: MN, ZHCP
[time] * MSG FROM XCAT : CMA SERVICES RUNNING: OPENSTACK
CONTROLLER, COMPUTE
© 2016 IBM Corporation33
Installing the z/VM appliance – Appliance installation
OpenStack
You'll want to log in to the Horizon dashboard as you finish your installation, use
the admin id and password you set up in DMSSICMO COPY
https://x.xx.xx.xxx/dashboard/admin/
The unauthorized message is
okay the first time the screen
comes up.
© 2016 IBM Corporation34
Installing the z/VM appliance – Verification
OpenStack
Next, run the Installation Verification Program to ensure that your appliance is set
up correctly. See Appendix A of Enabling z/VM for OpenStack for complete
instructions.
Run the prep script to get an IVP script that is tailored to your system
Log in to your Appliance by SSH/PuTTy as mnadmin
Run sudo perl /opt/xcat/share/xcat/tools/zvm/prep_zxcatIVP_LIBERTY.pl
© 2016 IBM Corporation35
Installing the z/VM appliance – Verification
OpenStack
Go to https://xcat_mn_addr/xcat and log in as admin
Go to Nodes->Nodes and select “xcat”
The select Actions->Run script
© 2016 IBM Corporation36
Installing the z/VM appliance – Verification
OpenStack
perl /home/mnadmin/zxcatIVPDriver_9.99.99.199.sh ← where this is the name of
the IVP you created on the mnadmin id
Click Run and note the messages
© 2016 IBM Corporation37
Running OpenStack commands
OpenStack
If you want to issue OpenStack commands via the commandline, you can do this
by SSHing into your appliance as mnadmin.
Then issue “source openrc”, this sets up your authentication through OpenStack
keystone so you can issue commands. IBM supplies this openrc file.
© 2016 IBM Corporation38
GUIs supplied with the appliance
OpenStack
The CMA has two different GUIs associated with it:
XCAT - https://xcat_mn_addr/xcat
OpenStack Horizon Dashboard - https://xcat_mn_addr/dashboard/admin/
© 2016 IBM Corporation39
What now?
OpenStack
The basic building block in OpenStack is an image (like a Linux .iso file), so you
can now follow the instructions for capturing an image in Chapter 6 of Enabling
z/VM for OpenStack.
OR
Use the new discovery function to import your existing guests into OpenStack.
Detailed instructions are available in the “Discovering Systems” section of
Chapter 4 of Systems Management Application Programming.
© 2016 IBM Corporation40
Discovery
OpenStack
Ideally all instances in OpenStack would be created from captured images.
However, that would mean rebuilding all the guests in your shop, to OpenStack
specs
As a bridge, we provide a function in the CMA that allows you to import existing
guests as instances, with a limited OpenStack functionality.
Stop/start and pause/resume
Reboot
Add disk or networking (with the caveat that any existing disks or networking will
not be able to be viewed/created/destroyed by OpenStack)
Live Migration
Anything related to images cannot be done with discovered guests
Snapshot
Resize
© 2016 IBM Corporation41
Discovery
OpenStack
Discovery is started from the xCAT GUI.
First, you need to make your guests accessible to the CMA, by adding the CMA's
key to your guests
Go to Nodes->Nodes and select the xcat machine of the host system on which you
want to discover instances
Configuration->Unlock
© 2016 IBM Corporation42
Discovery
OpenStack
© 2016 IBM Corporation43
Discovery
OpenStack
There are three choices for unlock:
Create a script that you can then run on each of your to-be-discovered Linux
guests
Give xCAT the IP address(es) and root password(s) of the guest(s) you want to
unlock and xCAT will go in and add the CMA's key to those guests
Display the xCAT public key so you can manually add it to your guests
After a successful unlock, you should see:
© 2016 IBM Corporation44
Discovery
OpenStack
Now that your guests are unlocked, you can
Go to Nodes->Hosts and select the host on which you want to discover instances.
Then go to Configuration->Discover Systems
© 2016 IBM Corporation45
Discovery
OpenStack
© 2016 IBM Corporation46
Discovery
OpenStack
Example of verbose output:
Starting node discovery...
If node discovery is a short running task then its response will follow. If, however, the time it takes to complete discovery exceeds the http request timeout of a few minutes then the discovery response will not be
returned to the browser. The status and list buttons can be used to obtained status on the discovery and see what systems have been discovered.
Processing: nodediscoverstart zvmhost=poktst63 defineto=both --verbose groups=all
z/VM discovery started for poktst63
For userid gpok198, 2 adapters were detected.
0700: Not active
0600: 6 MACs with 5 associated IP address(es)
Passing osp00012 to OpenStack for userid gpok198 on z/VM poktst63 with arguments: --memory 2GB --ipaddr 9.60.18.189 --hostname gpok189.endicott.ibm.com --cpucount 2 --guestname osp00012 --os
rhel6.5 --verbose 1 --zvmhost poktst63 --uuid 6584fbb4-902e-491a-9037-5e3107e74f9a
Args: ['--memory', '2GB', '--ipaddr', '9.60.18.189', '--hostname', 'gpok189.endicott.ibm.com', '--cpucount', '2', '--guestname', 'osp00012', '--os', 'rhel6.5', '--verbose', '1', '--zvmhost', 'poktst63', '--uuid',
'6584fbb4-902e-491a-9037-5e3107e74f9a']
Host IP addr: 9.60.18.197
Admin_token: f98238b7424bd0e9cfb9
Endpoint: http://9.60.18.197:35357/v2.0
No discovery project found, creating new.
No discovery user found, creating new.
Project id: d777abbbd2e841588973968eced882f7
User id: f8bdc4368291485e952d10e1a75c9a2a
Date/time used: 2016-01-07 10:21:18
Short hostname: gpok189
Memory in MB: 2048
Old guest name: osp00012
New guest name: osp00012
Instance UUID: a1bec88f-45b9-4197-a915-39722dd6cc8d
Request ID: req-89d17017-d4e0-407a-88dc-7106d80a373d
Reservation ID: r-jus10sse
Res1 ID: 6ec479d3-44b3-4a06-9ac7-73e2d567d59b
Res2 ID: e9407bc0-894d-40c8-8034-3d8bc462a577
Res3 ID: 5021cb4b-a8e9-4496-805b-ead0201ea0e6
Hypervisor Stats: {, {"num_task_None": 2, "io_workload": 0, "num_instances": 2, "num_vm_stopped": 1, "num_os_type_None": 2, "num_proj_e99aaeb16ebc43b7af314c5e3f284eef": 2}
Node created: osp00012
z/VM discovery is being stopped for poktst63.
Discovered 1 nodes running on poktst63.
NODE z/VM USERID
osp00012 gpok198
© 2016 IBM Corporation47
Discovery - results
OpenStack
© 2016 IBM Corporation48
Discovery - results
OpenStack
© 2016 IBM Corporation49
Discovery - results
OpenStack
Discovered guests must:
Be logged on
Be Linux guests of a supported distribution (RHEL7 or SLES12, currently)
Unsupported distributions are discoverable, and some basic functions (power
off/on) will work, but other functions may not
Have an IPv4 interface
Be accessible from the xCAT MN they're being discovered to
Be running on a hypervisor associated with a CMA controller/xCAT MN they're
being discovered to
© 2016 IBM Corporation50
OpenStack
Things to know
If you're migrating from CMA Juno to CMA Liberty, there are migration scripts to
help you. See the CMA120 FILE on the MAINT.400 disk for more information.
If you're migrating an xCAT only installation to CMA xCAT, there are also migration
scripts to help you, see Appendix K of the SMAPI book for more information.
© 2016 IBM Corporation51
OpenStack
What’s next
CMA Newton will be our next major release
Expect fixpacks for our Liberty support between now and then
Our drivers have a Mitaka level, that we’ll support as the OpenStack Mitaka
release is supported
We’re working on a “continuous integration” system that will run z/VM driver tests
on every patch in the community
So far it’s a few x86 systems pointing jobs back to 1 z/VM LPAR
© 2016 IBM Corporation52
OpenStack
What’s next
We’re working on a “continuous integration” system that will run z/VM driver tests
on every patch in the community
So far it’s a few x86 systems pointing jobs back to 1 z/VM LPAR
It takes about 2 hours 40 minutes to run each full set of OpenStack Tempest
tests
We have to respond to each patch in
Nova within 4 hours.
© 2016 IBM Corporation53
How can you help?
OpenStack
Non x86 hypervisors don't have much visibility in the community
Install/start playing around with OpenStack
On the mainframe (see my next session), or on your own
Get involved with the community
https://wiki.openstack.org/wiki/Getting_Started
Interact with our drivers
Submit fixes, open bugs, etc
https://github.com/openstack/nova-zvm-virt-driver
https://github.com/openstack/networking-zvm
https://github.com/openstack/ceilometer-zvm
Help us find the right balance between improving the appliance and improving our
drivers
© 2016 IBM Corporation54
How can you help?
OpenStack
Let us know about your experiences with OpenStack
If you can, please consider writing a blog post about your experiences
We need greater visibility within the OpenStack community
© 2016 IBM Corporation55
Conclusion
OpenStack
OpenStack is a new way of managing resources in a cloud environment. It's not
just a GUI for z/VM.
It's backed by a vibrant, but x86/KVM-centric, community.
z/VM has OpenStack drivers in the community and needs your help to make them
thrive
z/VM includes an OpenStack appliance to get you started with using OpenStack
The appliance allows us to put in additional features not available in the
community
Easier install
Discovery
We need your feedback as to what's important and what can make OpenStack
succeed in your shop!
© 2016 IBM Corporation56
Thanks!
OpenStack
Emily Hugenbruch
IBM
z/VM
Endicott, NY
@ekhugen
© 2016 IBM Corporation57
Resources
OpenStack
Blog posts from John Arwe (one of our team leads)
https://www.ibm.com/developerworks/community/blogs/looselycoupled?
tags=openstack&lang=en
 IBM Cloud Manager Appliance Information page
http://www.vm.ibm.com/sysman/osmntlvl.html
Blog posts from Emily Hugenbruch (more coming)
https://developer.ibm.com/opentech/author/ekhugenbruch/
See how this looks from your end user developer perspective
http://www-03.ibm.com/systems/linuxone/
Liberty Announcement
http://mainframeinsights.com/zvm-key-cloud-infrastructure-component-open-stack-e
nablement/

More Related Content

PDF
Cloud stack for z Systems - July 2016
PDF
Customer solutions with zVSE Connectors
 
PDF
z/VSE Connectors Introduction, Use Cases, and News
 
PDF
Z vm-faq
PDF
z/VSE Networking Options and News
 
PPT
Z cloud with technical details
PDF
z/VSE Service and Support
 
PDF
Latest news on IBM z/VSE
 
Cloud stack for z Systems - July 2016
Customer solutions with zVSE Connectors
 
z/VSE Connectors Introduction, Use Cases, and News
 
Z vm-faq
z/VSE Networking Options and News
 
Z cloud with technical details
z/VSE Service and Support
 
Latest news on IBM z/VSE
 

What's hot (19)

PDF
Maximize o valor do z/OS
PDF
Title News on z/VSE Security, Crypto Support and OpenSSL
 
PPT
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
PDF
News to Development Environments and for RDz for z/VSE
 
PDF
z/VSE V5.1 Update
PDF
z/OS Communications Server Overview
PDF
z/OS Small Enhancements - Episode 2014A
PDF
IBM i 7.1 & TRs CEC 2012
PDF
Future of Power: PureFlex and IBM i - Erik Rex
PDF
z/OS Small Enhancements - Episode 2014B
PDF
MyNotifications for New Function APAR Subscription
PDF
IBM Power Event, Keynote Presentation Doug Davis
PPTX
Mahati's PPT Mainframes
PDF
System z Technology Summit Streamlining Utilities
PPT
Mainframe Architecture & Product Overview
PDF
EMC IT's Journey to the Private Cloud: A Practitioner's Guide
 
PDF
z/OS V2.4 Preview: z/OS Container Extensions - Running Linux on Z docker cont...
PDF
Lessons Learned From Putting Linux on System z in Production
PDF
Virtualization Technology and Directions ( EMC World 2010 )
 
Maximize o valor do z/OS
Title News on z/VSE Security, Crypto Support and OpenSSL
 
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
News to Development Environments and for RDz for z/VSE
 
z/VSE V5.1 Update
z/OS Communications Server Overview
z/OS Small Enhancements - Episode 2014A
IBM i 7.1 & TRs CEC 2012
Future of Power: PureFlex and IBM i - Erik Rex
z/OS Small Enhancements - Episode 2014B
MyNotifications for New Function APAR Subscription
IBM Power Event, Keynote Presentation Doug Davis
Mahati's PPT Mainframes
System z Technology Summit Streamlining Utilities
Mainframe Architecture & Product Overview
EMC IT's Journey to the Private Cloud: A Practitioner's Guide
 
z/OS V2.4 Preview: z/OS Container Extensions - Running Linux on Z docker cont...
Lessons Learned From Putting Linux on System z in Production
Virtualization Technology and Directions ( EMC World 2010 )
 
Ad

Similar to OpenStack and z/VM – What is it and how do I get it? (20)

PDF
z/VM and OpenStack
PDF
Modernização do Gerenciamento, Monitoramento e Provisionamento em Mainframes ...
PDF
2016 02-16-announce-overview-zsp04505 usen
PDF
Linux on Z13 and Simulatenus Multithreading - Sebastien Llaurency
 
PDF
IBM Z for the Digital Enterprise 2018 - API Discovery & Debugging
PDF
Z13 update
PDF
MongoDB Linux Porting, Performance Measurements and and Scaling Advantage usi...
PDF
S cv3179 spectrum-integration-openstack-edge2015-v5
PDF
IBM Cloud OpenStack Services
PDF
z/OS Through V2R1Communications Server Performance Functions Update
PPTX
IBM Cloud OpenStack Services
PDF
z16 zOS Support - March 2023 - SHARE in Atlanta.pdf
PPT
Relative Capacity por Eduardo Oliveira e Joseph Temple
PDF
InterConnect 2017 : Git for COBOL and PL/I?—Yes, It Can Make Sense
PDF
IBM Wave for z/VM
PDF
z/OS V2R3 Communications Server Content Preview
PPTX
IBM Cloud Manager with OpenStack Overview
PPT
IBM Shopz - Procedimento de solicitação RSU para z/VM
PPT
IBM UrbanCode Deploy and VMware Integrated OpenStack
PDF
z/OS Encryption Readiness Technology (zERT)
z/VM and OpenStack
Modernização do Gerenciamento, Monitoramento e Provisionamento em Mainframes ...
2016 02-16-announce-overview-zsp04505 usen
Linux on Z13 and Simulatenus Multithreading - Sebastien Llaurency
 
IBM Z for the Digital Enterprise 2018 - API Discovery & Debugging
Z13 update
MongoDB Linux Porting, Performance Measurements and and Scaling Advantage usi...
S cv3179 spectrum-integration-openstack-edge2015-v5
IBM Cloud OpenStack Services
z/OS Through V2R1Communications Server Performance Functions Update
IBM Cloud OpenStack Services
z16 zOS Support - March 2023 - SHARE in Atlanta.pdf
Relative Capacity por Eduardo Oliveira e Joseph Temple
InterConnect 2017 : Git for COBOL and PL/I?—Yes, It Can Make Sense
IBM Wave for z/VM
z/OS V2R3 Communications Server Content Preview
IBM Cloud Manager with OpenStack Overview
IBM Shopz - Procedimento de solicitação RSU para z/VM
IBM UrbanCode Deploy and VMware Integrated OpenStack
z/OS Encryption Readiness Technology (zERT)
Ad

More from Anderson Bassani (13)

PDF
Blockchain - Hyperledger Fabric v1.0 Running on LinuxONE, see it in action!
PDF
Lab Exercise: IBM Blockchain runs also on LinuxONE, see it in action!
PDF
LPAR Design Tool V8 -T01 for IBM z Systems
PPTX
Instalando um servidor virtual Linux on z (Red hat ou SUSE) no emulador z pdt
PDF
IBM z/OS V2R2 Networking Technologies Update
PDF
IBM z/OS V2R2 Performance and Availability Topics
PDF
z/OS V2R2 Enhancements
PDF
IBM z/OS Version 2 Release 2 -- Fueling the digital enterprise
PDF
The IBM z13 - January 14, 2015 - IBM Latin America Hardware Announcement LG15...
PDF
IBM RACEv - Ferramenta para análise técnico e financeira para Plataforma Main...
PPT
Unisanta - Visão Geral de hardware Servidor IBM System z
PDF
Relatório Anual IBM 2013 v1
PDF
Servidor IBM zEnterprise BC12
Blockchain - Hyperledger Fabric v1.0 Running on LinuxONE, see it in action!
Lab Exercise: IBM Blockchain runs also on LinuxONE, see it in action!
LPAR Design Tool V8 -T01 for IBM z Systems
Instalando um servidor virtual Linux on z (Red hat ou SUSE) no emulador z pdt
IBM z/OS V2R2 Networking Technologies Update
IBM z/OS V2R2 Performance and Availability Topics
z/OS V2R2 Enhancements
IBM z/OS Version 2 Release 2 -- Fueling the digital enterprise
The IBM z13 - January 14, 2015 - IBM Latin America Hardware Announcement LG15...
IBM RACEv - Ferramenta para análise técnico e financeira para Plataforma Main...
Unisanta - Visão Geral de hardware Servidor IBM System z
Relatório Anual IBM 2013 v1
Servidor IBM zEnterprise BC12

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Modernizing your data center with Dell and AMD
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
cuic standard and advanced reporting.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
A Presentation on Artificial Intelligence
PDF
Approach and Philosophy of On baking technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
KodekX | Application Modernization Development
Building Integrated photovoltaic BIPV_UPV.pdf
Modernizing your data center with Dell and AMD
Reach Out and Touch Someone: Haptics and Empathic Computing
The AUB Centre for AI in Media Proposal.docx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
cuic standard and advanced reporting.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Cloud computing and distributed systems.
Encapsulation_ Review paper, used for researhc scholars
A Presentation on Artificial Intelligence
Approach and Philosophy of On baking technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Machine learning based COVID-19 study performance prediction
The Rise and Fall of 3GPP – Time for a Sabbatical?
MYSQL Presentation for SQL database connectivity
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Diabetes mellitus diagnosis method based random forest with bat algorithm
KodekX | Application Modernization Development

OpenStack and z/VM – What is it and how do I get it?

  • 1. Click to add Text © 2009 IBM Corporation OpenStack and z/VM – What is it and how do I get it? Emily K. Hugenbruch – Advisory Software Engineer
  • 2. Trademarks © 2016 IBM Corporation The following are trademarks of the International Business Machines Corporation in the United States and/or other countries. Notes: Performance is in Internal Throughput Rate (ITR) ratio based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput improvements equivalent to the performance ratios stated here. IBM hardware products are manufactured from new parts, or new and serviceable used parts. Regardless, our warranty terms apply. All customer examples cited or described in this presentation are presented as illustrations of the manner in which some customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics will vary depending on individual customer configurations and conditions. This publication was produced in the United States. IBM may not offer the products, services or features discussed in this document in other countries, and the information may be subject to change without notice. Consult your local IBM business contact for information on the product or services available in your area. All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only. Information about non-IBM products is obtained from the manufacturers of those products or their published announcements. IBM has not tested those products and cannot confirm the performance, compatibility, or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. Prices subject to change without notice. Contact your IBM representative or Business Partner for the most current pricing in your geography. This information provides only general descriptions of the types and portions of workloads that are eligible for execution on Specialty Engines (e.g., zIIPs, zAAPs, and IFLs) ("SEs"). IBM authorizes customers to use IBM SE only to execute the processing of Eligible Workloads of specific Programs expressly authorized by IBM as specified in the “Authorized Use Table for IBM Machines” provided at www.ibm.com/systems/support/machine_warranties/machine_code/aut.html (“AUT”). No other workload processing is authorized for execution on an SE. IBM offers SE at a lower price than General Processors/Central Processors because customers are authorized to use SEs only to process certain types and/or amounts of workloads as specified by IBM in the AUT. The following are trademarks or registered trademarks of other companies. * Other product and service names might be trademarks of IBM or other companies. * Registered trademarks of IBM Corporation Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, and/or other countries. Cell Broadband Engine is a trademark of Sony Computer Entertainment, Inc. in the United States, other countries, or both and is used under license therefrom. Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. IT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government Commerce. ITIL is a registered trademark, and a registered community trademark of the Office of Government Commerce, and is registered in the U.S. Patent and Trademark Office. Java and all Java based trademarks and logos are trademarks or registered trademarks of Oracle and/or its affiliates. Linear Tape-Open, LTO, the LTO Logo, Ultrium, and the Ultrium logo are trademarks of HP, IBM Corp. and Quantum in the U.S. and Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. OpenStack is a trademark of OpenStack LLC. The OpenStack trademark policy is available on the . TEALEAF is a registered trademark of Tealeaf, an IBM Company. Windows Server and the Windows logo are trademarks of the Microsoft group of countries. Worklight is a trademark or registered trademark of Worklight, an IBM Company. UNIX is a registered trademark of The Open Group in the United States and other countries. BladeCenter* DB2* DS6000* DS8000* ECKD FICON* GDPS* HiperSockets HyperSwap IBM z13* OMEGAMON* Performance Toolkit for VM Power* PowerVM PR/SM RACF* Storwize* System Storage* System x* System z* System z9* System z10* Tivoli* zEnterprise* z/OS* zSecure z/VM* z Systems*
  • 3. © 2016 IBM Corporation3 Who is OpenStack for? OpenStack End User Self-service IT requests via mobile & Web clients Cloud Manager Manage cloud workloads Manage Cloud Users Manage Cloud environment Platform Manager Manage physical resources (servers, storage and networking) Hypervisor Admin Manage hypervisor resources (servers, storage and networking) OpenStack targets these
  • 4. © 2016 IBM Corporation4 What is OpenStack? OpenStack Open source software for creating private and public clouds. OpenStack software controls large pools of compute, storage, and networking resources throughout a datacenter, managed through a dashboard or via the OpenStack API.
  • 5. © 2016 IBM Corporation5 What is OpenStack? OpenStack Source: https://www.openstack.org/software/
  • 6. © 2016 IBM Corporation6 What is OpenStack? OpenStack
  • 7. © 2016 IBM Corporation7 What is OpenStack? OpenStack
  • 8. © 2016 IBM Corporation8 What is OpenStack? OpenStack Series Status GA Date Newton Under development Mitaka Current stable release Apr 7, 2016 Liberty Security supported Oct 15, 2015 Kilo Security supported Apr 30, 2015 Juno EOL Oct 16, 2014 Icehouse EOL Apr 17, 2014 Havana EOL Oct 17, 2013 Grizzly EOL Apr 4, 2013 Folsom EOL Sep 27, 2012 Essex EOL Apr 5, 2012 Diablo EOL Sep 22, 2011 Cactus Deprecated Apr 15, 2011 Source: http://releases.openstack.org/
  • 9. © 2016 IBM Corporation9 What is OpenStack? OpenStack Most community interaction takes place over IRC (internet relay chat). Etherpads (a collaborative notepad) and wikis are used for short or long term documentation. The twice-yearly summit includes sessions for sales/managers, operators and the design summit for technical direction. Summit sessions are decided upon via a combination of voting and core members. Each OpenStack project has a Project Team Lead (elected position) and several core members. These are people who have done enough code reviews and contributions to be considered experts.
  • 10. © 2016 IBM Corporation10 OpenStack Roadmap OpenStack Scalability Resiliency Manageability Modularity Interoperability Mitaka Newton Mitaka Newton Mitaka Newton Mitaka Newton Mitaka Newton Ceilometer X X X X X X X X Cinder X X X X X Glance X X X X X X Heat X X X X X Horizon X X X X X X Ironic X X X X Keystone X X X Magnum X X X Neutron X X X X X X X Nova X X X X X X Oslo X X X X X XSource: https://www.openstack.org/software/roadmap/
  • 11. © 2016 IBM Corporation11 Current z/VM support OpenStack OpenStack Compute Node LPAR z/VM Linux Linux SMAPI LPAR z/VM Linux SMAPI xCAT SSH OpenStack Compute Node REST API OpenStack Controller Neutron Glance Cinder Scheduler Horizon UI If the controller is on z/VM, then this is manage-from z. If the controller is outside z/VM, then this is manage-to z. Horizon Neutron Neutron Nova Nova XCAT MN/zHCP XCAT zHCP xCAT
  • 12. © 2016 IBM Corporation12 OpenStack Supported features - nova Launch → Image_Definition_Create_DM Reboot → Linux reboot, or re-IPL Terminate Resize → Complete rebuild of the guest Pause →PA1 Un-pause Live Migration Snapshot Fibre Channel Set Admin Pass Get Guest Info Get Host Info Glance Integration Config Drive Discovery of existing guests (driven via xCAT GUI)
  • 13. © 2016 IBM Corporation13 OpenStack Supported features - neutron Right now the z/VM agent only supports Layer 2 VLAN Networking Flat Networking
  • 14. © 2016 IBM Corporation14 OpenStack Supported features - cinder Attach Volume Detach Volume Right now support is only for storage in the IBM Storwize family/SVC Fiber Channel Protocol
  • 15. © 2016 IBM Corporation15 OpenStack Latest deliverable OpenStack Liberty support, including Ceilometer support RHEL7 and SLES12 provisioning through OpenStack Keystone v3
  • 16. © 2016 IBM Corporation16 OpenStack Latest deliverable Different CMA modes 5 Options Controller – OpenStack controller and compute node and xCAT MN and zHCP Compute – OpenStack compute node and xCAT zHCP Compute_mn – OpenStack compute node and xCAT MN and zHCP (if you have a non-CMA controller) MN – xCAT MN and zHCP ZHCP – xCAT zHCP This means a single service stream for xCAT and OpenStack updates The ZHCP userid is no longer needed, the whole appliance runs from XCAT
  • 17. © 2016 IBM Corporation17 OpenStack Things to know Liberty is the first release of our Cloud Manager Appliance that is not part of the IBM Cloud Manager with OpenStack product. The ICM deployer is not included Cannot manage from z to other platforms Only the xCAT GUI and Horizon GUI are included, evaluate your self-service portal needs to see if an additional OpenStack product is right for you The Chef server is not included The Chef client is still included Chef cookbooks are included For configuring the CMA to be managed by an external cross-platform OpenStack controller For configuring the CMA to use an external Keystone server
  • 18. © 2016 IBM Corporation18 How do I get OpenStack on z/VM? OpenStack •There are many ways to get OpenStack: – On-premises distribution: A customer downloads and installs an OpenStack distribution within their internal network. You could create your own using our community plugins, or choose a distribution like SUSE OpenStack Cloud 6 SUSE OpenStack Cloud 6 is available here https://www.suse.com/products/suse-openstack-cloud/ It uses open source OpenStack (community) Liberty drivers for z/VM and xCAT, which are available to anyone who wants to download them. Only the xCAT MN and zHCP need to run on z/VM with the rest of the code running in an x86 Linux guest. SUSE OpenStack Cloud 6 includes the z/VM installation and configuration, so there are no manual steps!
  • 19. © 2016 IBM Corporation19 How do I get OpenStack on z/VM? OpenStack There are many ways to get OpenStack: On-premises distribution: A customer downloads and installs an OpenStack distribution within their internal network. You could create your own using our community plugins, or choose a distribution like SUSE OpenStack Cloud 6 Hosted OpenStack Private Cloud: A vendor hosts an OpenStack-based private cloud: including the underlying hardware and the OpenStack software. OpenStack-as-a-Service: A vendor hosts OpenStack management software (without any hardware) as a service. Customers sign up for the service and pair it with their internal servers, storage and networks to get a fully operational private cloud. Appliance based OpenStack: z/VM includes an OpenStack appliance Sources: https://en.wikipedia.org/wiki/OpenStack https://www.suse.com/company/press/2015/suse-offers-beta-preview-of-suse-openstack-cloud-6.html
  • 20. © 2016 IBM Corporation20 Before you install the z/VM appliance OpenStack To set up the z/VM appliance, you will need some resources for the appliance and some resources for your cloud. For the appliance: Disk space for your LVM, this must have enough space for any guest images you want to store. We recommend 50G of disk space. If not already set up, the XCAT userid (where the appliance is installed) should also have a minidisk at address 101 and 102 and the MAINT630 must have minidisks at addresses 102, 103, 104, 105 each of size: ECKD - 3338 cylinders FBA/eDevice - 4806720 blocks 1 externally available IP addresses, associated OSA card/gateway/mask (install will set up a layer 2 vSwitch from this)
  • 21. © 2016 IBM Corporation21 Before you install the z/VM appliance OpenStack To set up the z/VM appliance, you will need some resources for the appliance and some resources for your cloud. For your cloud: Some disk space for you to install your guests (at least the equivalent of one 3390-9 for one guest) Additional IP addresses on the same subnet as your appliance IP If you want to use cinder to attach/detach additional disks to your guests, some storage connected via an IBM Storwize SAN IP address of your SVC storage Filename of the SAN private key file Storwize SVC pool name Storwize SVC io_group_id
  • 22. © 2016 IBM Corporation22 Installing the z/VM appliance – Configure DirMaint and SMAPI OpenStack On a fresh install, choose Yes on this screen Or, enable DirMaint and SMAPI on your own, following the instructions in the Directory Maintenance Facility Tailoring and Administration Guide and the Systems Management Application Programming Be sure to follow the instructions in the DirMaint Appendix B to make DirMaint and SMAPI talk
  • 23. © 2016 IBM Corporation23 Installing the z/VM appliance – Getting the latest service OpenStack The appliance has two parts One is installed via the latest in z/VM service for CMS (CMA120 FILE) so Be sure that you're up to date on all your service. Check this webpage for the latest service information and manuals http://www.vm.ibm.com/sysman/osmntlvl.html
  • 24. © 2016 IBM Corporation24 Installing the z/VM appliance – FixCentral OpenStack The appliance has two parts The other is downloaded from FixCentral, so download this onto your laptop http://www.ibm.com/support/fixcentral
  • 25. © 2016 IBM Corporation25 Installing the z/VM appliance - FixCentral OpenStack From Fix Central Depending on the type of DASD you're using choose: CMA101.ECKDPACK and CMA102.ECKDPACK CMA101.FBAPACK and CMA102.FBAPACK
  • 26. © 2016 IBM Corporation26 Installing the z/VM appliance – Configuration files OpenStack From MAINT630, configure your DMSSICNF (xCAT) and DMSSICMO (OpenStack) COPY files using these commands LOCALMOD CMS DMSSICxx $COPY SERVICE CMS BUILD PUT2PROD
  • 27. © 2016 IBM Corporation27 Installing the z/VM appliance – Configuration files OpenStack
  • 28. © 2016 IBM Corporation28 Installing the z/VM appliance – Configuration files OpenStack
  • 29. © 2016 IBM Corporation29 Installing the z/VM appliance – Appliance installation OpenStack Refer to the CMA120 FILE on the MAINT 400 disk for detailed instructions (this should have been installed/updated by the service you applied earlier). From MAINT630, create, link and format the new 102-105 minidisks Access 102 as T Access 103 as U Access 104 as V Access 105 as W
  • 30. © 2016 IBM Corporation30 Installing the z/VM appliance – Appliance installation OpenStack FTP the CMA10x.ECKDPACK or CMA10x.FBAPACK files you downloaded from Fix Central over to your MAINT630 101 and 102 disks using BIN QUOTE SITE FIXRECFM 1024 Unpack this file to the MAINT630 103 and 104 disks using COPYFILE CMA101 filetype T CMA101 filetype V ( UNPACK OLDDATE COPYFILE CMA102 filetype U CMA102 filetype W ( UNPACK OLDDATE SIGNAL SHUTDOWN the XCAT userid and link the 101 and 102 disks Restore the image file to the XCAT 101 and 102 disks using DDRREST ACCESS 193 T DDRREST 101 CMA101 filetype V DDRREST 102 CMA102 filetype W
  • 31. © 2016 IBM Corporation31 Installing the z/VM appliance – Appliance installation OpenStack DETACH the XCAT 101/102 disks Comment out the entry for ZHCP in DMSSISVR NAMES This file lives on the MAINT.193 disk, comment out these lines * Node server for xcat * :server.ZHCP * :type.XCAT * :subtype.NODE Add OPTION LNKNOPAS to the XCAT id user directory If you have the full DirMaint: “dirm for xcat setoptn add lnknopas” Add the XCAT id to your VSMWORK1 AUTHLIST file on VMSYS:VSMWORK1. You can replicate the line for MAINT and change the id to XCAT
  • 32. © 2016 IBM Corporation32 Installing the z/VM appliance – Appliance installation OpenStack Start the appliance by FORCE VSMGUARD XAUTOLOG VSMGUARD At this point you can also SIGNAL SHUTDOWN ZHCP WITHIN 60 to shut down that id forever. If you leave it running, don't worry, nothing bad will happen You should get a message when the appliance has finished IPLing, such as: [time] * MSG FROM XCAT : CMA VERSION IS: 1.2.0-20160315 [time] * MSG FROM XCAT : XCAT VERSION IS: 2.8.3.9 [time] * MSG FROM XCAT : CMA: NO MIGRATION STEPS NEEDED [time] * MSG FROM XCAT : OPENCLOUD IS UP AND RUNNING [time] * MSG FROM XCAT : CMA IS RUNNING IN CONTROLLER MODE [time] * MSG FROM XCAT : XCAT SERVICES RUNNING: MN, ZHCP [time] * MSG FROM XCAT : CMA SERVICES RUNNING: OPENSTACK CONTROLLER, COMPUTE
  • 33. © 2016 IBM Corporation33 Installing the z/VM appliance – Appliance installation OpenStack You'll want to log in to the Horizon dashboard as you finish your installation, use the admin id and password you set up in DMSSICMO COPY https://x.xx.xx.xxx/dashboard/admin/ The unauthorized message is okay the first time the screen comes up.
  • 34. © 2016 IBM Corporation34 Installing the z/VM appliance – Verification OpenStack Next, run the Installation Verification Program to ensure that your appliance is set up correctly. See Appendix A of Enabling z/VM for OpenStack for complete instructions. Run the prep script to get an IVP script that is tailored to your system Log in to your Appliance by SSH/PuTTy as mnadmin Run sudo perl /opt/xcat/share/xcat/tools/zvm/prep_zxcatIVP_LIBERTY.pl
  • 35. © 2016 IBM Corporation35 Installing the z/VM appliance – Verification OpenStack Go to https://xcat_mn_addr/xcat and log in as admin Go to Nodes->Nodes and select “xcat” The select Actions->Run script
  • 36. © 2016 IBM Corporation36 Installing the z/VM appliance – Verification OpenStack perl /home/mnadmin/zxcatIVPDriver_9.99.99.199.sh ← where this is the name of the IVP you created on the mnadmin id Click Run and note the messages
  • 37. © 2016 IBM Corporation37 Running OpenStack commands OpenStack If you want to issue OpenStack commands via the commandline, you can do this by SSHing into your appliance as mnadmin. Then issue “source openrc”, this sets up your authentication through OpenStack keystone so you can issue commands. IBM supplies this openrc file.
  • 38. © 2016 IBM Corporation38 GUIs supplied with the appliance OpenStack The CMA has two different GUIs associated with it: XCAT - https://xcat_mn_addr/xcat OpenStack Horizon Dashboard - https://xcat_mn_addr/dashboard/admin/
  • 39. © 2016 IBM Corporation39 What now? OpenStack The basic building block in OpenStack is an image (like a Linux .iso file), so you can now follow the instructions for capturing an image in Chapter 6 of Enabling z/VM for OpenStack. OR Use the new discovery function to import your existing guests into OpenStack. Detailed instructions are available in the “Discovering Systems” section of Chapter 4 of Systems Management Application Programming.
  • 40. © 2016 IBM Corporation40 Discovery OpenStack Ideally all instances in OpenStack would be created from captured images. However, that would mean rebuilding all the guests in your shop, to OpenStack specs As a bridge, we provide a function in the CMA that allows you to import existing guests as instances, with a limited OpenStack functionality. Stop/start and pause/resume Reboot Add disk or networking (with the caveat that any existing disks or networking will not be able to be viewed/created/destroyed by OpenStack) Live Migration Anything related to images cannot be done with discovered guests Snapshot Resize
  • 41. © 2016 IBM Corporation41 Discovery OpenStack Discovery is started from the xCAT GUI. First, you need to make your guests accessible to the CMA, by adding the CMA's key to your guests Go to Nodes->Nodes and select the xcat machine of the host system on which you want to discover instances Configuration->Unlock
  • 42. © 2016 IBM Corporation42 Discovery OpenStack
  • 43. © 2016 IBM Corporation43 Discovery OpenStack There are three choices for unlock: Create a script that you can then run on each of your to-be-discovered Linux guests Give xCAT the IP address(es) and root password(s) of the guest(s) you want to unlock and xCAT will go in and add the CMA's key to those guests Display the xCAT public key so you can manually add it to your guests After a successful unlock, you should see:
  • 44. © 2016 IBM Corporation44 Discovery OpenStack Now that your guests are unlocked, you can Go to Nodes->Hosts and select the host on which you want to discover instances. Then go to Configuration->Discover Systems
  • 45. © 2016 IBM Corporation45 Discovery OpenStack
  • 46. © 2016 IBM Corporation46 Discovery OpenStack Example of verbose output: Starting node discovery... If node discovery is a short running task then its response will follow. If, however, the time it takes to complete discovery exceeds the http request timeout of a few minutes then the discovery response will not be returned to the browser. The status and list buttons can be used to obtained status on the discovery and see what systems have been discovered. Processing: nodediscoverstart zvmhost=poktst63 defineto=both --verbose groups=all z/VM discovery started for poktst63 For userid gpok198, 2 adapters were detected. 0700: Not active 0600: 6 MACs with 5 associated IP address(es) Passing osp00012 to OpenStack for userid gpok198 on z/VM poktst63 with arguments: --memory 2GB --ipaddr 9.60.18.189 --hostname gpok189.endicott.ibm.com --cpucount 2 --guestname osp00012 --os rhel6.5 --verbose 1 --zvmhost poktst63 --uuid 6584fbb4-902e-491a-9037-5e3107e74f9a Args: ['--memory', '2GB', '--ipaddr', '9.60.18.189', '--hostname', 'gpok189.endicott.ibm.com', '--cpucount', '2', '--guestname', 'osp00012', '--os', 'rhel6.5', '--verbose', '1', '--zvmhost', 'poktst63', '--uuid', '6584fbb4-902e-491a-9037-5e3107e74f9a'] Host IP addr: 9.60.18.197 Admin_token: f98238b7424bd0e9cfb9 Endpoint: http://9.60.18.197:35357/v2.0 No discovery project found, creating new. No discovery user found, creating new. Project id: d777abbbd2e841588973968eced882f7 User id: f8bdc4368291485e952d10e1a75c9a2a Date/time used: 2016-01-07 10:21:18 Short hostname: gpok189 Memory in MB: 2048 Old guest name: osp00012 New guest name: osp00012 Instance UUID: a1bec88f-45b9-4197-a915-39722dd6cc8d Request ID: req-89d17017-d4e0-407a-88dc-7106d80a373d Reservation ID: r-jus10sse Res1 ID: 6ec479d3-44b3-4a06-9ac7-73e2d567d59b Res2 ID: e9407bc0-894d-40c8-8034-3d8bc462a577 Res3 ID: 5021cb4b-a8e9-4496-805b-ead0201ea0e6 Hypervisor Stats: {, {"num_task_None": 2, "io_workload": 0, "num_instances": 2, "num_vm_stopped": 1, "num_os_type_None": 2, "num_proj_e99aaeb16ebc43b7af314c5e3f284eef": 2} Node created: osp00012 z/VM discovery is being stopped for poktst63. Discovered 1 nodes running on poktst63. NODE z/VM USERID osp00012 gpok198
  • 47. © 2016 IBM Corporation47 Discovery - results OpenStack
  • 48. © 2016 IBM Corporation48 Discovery - results OpenStack
  • 49. © 2016 IBM Corporation49 Discovery - results OpenStack Discovered guests must: Be logged on Be Linux guests of a supported distribution (RHEL7 or SLES12, currently) Unsupported distributions are discoverable, and some basic functions (power off/on) will work, but other functions may not Have an IPv4 interface Be accessible from the xCAT MN they're being discovered to Be running on a hypervisor associated with a CMA controller/xCAT MN they're being discovered to
  • 50. © 2016 IBM Corporation50 OpenStack Things to know If you're migrating from CMA Juno to CMA Liberty, there are migration scripts to help you. See the CMA120 FILE on the MAINT.400 disk for more information. If you're migrating an xCAT only installation to CMA xCAT, there are also migration scripts to help you, see Appendix K of the SMAPI book for more information.
  • 51. © 2016 IBM Corporation51 OpenStack What’s next CMA Newton will be our next major release Expect fixpacks for our Liberty support between now and then Our drivers have a Mitaka level, that we’ll support as the OpenStack Mitaka release is supported We’re working on a “continuous integration” system that will run z/VM driver tests on every patch in the community So far it’s a few x86 systems pointing jobs back to 1 z/VM LPAR
  • 52. © 2016 IBM Corporation52 OpenStack What’s next We’re working on a “continuous integration” system that will run z/VM driver tests on every patch in the community So far it’s a few x86 systems pointing jobs back to 1 z/VM LPAR It takes about 2 hours 40 minutes to run each full set of OpenStack Tempest tests We have to respond to each patch in Nova within 4 hours.
  • 53. © 2016 IBM Corporation53 How can you help? OpenStack Non x86 hypervisors don't have much visibility in the community Install/start playing around with OpenStack On the mainframe (see my next session), or on your own Get involved with the community https://wiki.openstack.org/wiki/Getting_Started Interact with our drivers Submit fixes, open bugs, etc https://github.com/openstack/nova-zvm-virt-driver https://github.com/openstack/networking-zvm https://github.com/openstack/ceilometer-zvm Help us find the right balance between improving the appliance and improving our drivers
  • 54. © 2016 IBM Corporation54 How can you help? OpenStack Let us know about your experiences with OpenStack If you can, please consider writing a blog post about your experiences We need greater visibility within the OpenStack community
  • 55. © 2016 IBM Corporation55 Conclusion OpenStack OpenStack is a new way of managing resources in a cloud environment. It's not just a GUI for z/VM. It's backed by a vibrant, but x86/KVM-centric, community. z/VM has OpenStack drivers in the community and needs your help to make them thrive z/VM includes an OpenStack appliance to get you started with using OpenStack The appliance allows us to put in additional features not available in the community Easier install Discovery We need your feedback as to what's important and what can make OpenStack succeed in your shop!
  • 56. © 2016 IBM Corporation56 Thanks! OpenStack Emily Hugenbruch IBM z/VM Endicott, NY @ekhugen
  • 57. © 2016 IBM Corporation57 Resources OpenStack Blog posts from John Arwe (one of our team leads) https://www.ibm.com/developerworks/community/blogs/looselycoupled? tags=openstack&lang=en  IBM Cloud Manager Appliance Information page http://www.vm.ibm.com/sysman/osmntlvl.html Blog posts from Emily Hugenbruch (more coming) https://developer.ibm.com/opentech/author/ekhugenbruch/ See how this looks from your end user developer perspective http://www-03.ibm.com/systems/linuxone/ Liberty Announcement http://mainframeinsights.com/zvm-key-cloud-infrastructure-component-open-stack-e nablement/