{"id":14989,"date":"2019-09-19T02:00:30","date_gmt":"2019-09-19T09:00:30","guid":{"rendered":"http:\/\/princessleia.com\/journal\/?p=14989"},"modified":"2019-09-19T02:06:16","modified_gmt":"2019-09-19T09:06:16","slug":"ubuntu-on-the-new-linuxone-iii","status":"publish","type":"post","link":"https:\/\/princessleia.com\/journal\/2019\/09\/ubuntu-on-the-new-linuxone-iii\/","title":{"rendered":"Ubuntu on the new LinuxONE III"},"content":{"rendered":"<p>A few months ago I <a href=\"https:\/\/princessleia.com\/journal\/2019\/08\/mainframes-in-poughkeepsie\/\">visited the IBM offices in Poughkeepsie<\/a> to sync up with colleagues, record <a href=\"http:\/\/terminaltalk.net\/PodcastGenerator\/?name=elizabeth_joseph_-_hyper_protect.mp3\">an episode of Terminal Talk<\/a>, and let\u2019s be honest, visit some mainframes. A lot of assembly still happens in Poughkeepsie, and they have a big client center with mainframes on display, including several inside a datacenter that they give tours of. I was able to see a z14 in operation, as well as several <a href=\"https:\/\/www.ibm.com\/it-infrastructure\/linuxone\">IBM LinuxONE<\/a> machines. Getting to tour datacenters is a lot of fun, and even though I wouldn\u2019t have meaningful technical interactions with them, there\u2019s something about seeing these massive machines that I work with every day in person that brings me a lot of joy.<\/p>\n<p>Now I have to go back! On September 12th, the newest mainframe <a href=\"https:\/\/www.ibm.com\/blogs\/think\/2019\/09\/ibm-systems-hybrid-multicloud\/\">was announced<\/a>, the IBM z15 and accompanying Linux version, the <a href=\"https:\/\/www.ibm.com\/us-en\/marketplace\/linuxone-iii\">IBM LinuxONE III<\/a>. To celebrate, I joined my colleagues in the IBM Silicon Valley lab for a launch event watch party and, of course, cake.<\/p>\n<div align=\"center\"><a href=\"https:\/\/princessleia.com\/images\/journalpics\/092019\/z15_launch.jpg\"><img decoding=\"async\" src=\"https:\/\/princessleia.com\/images\/journalpics\/092019\/z15_launch_sm.jpg\" border=\"0\"><\/a><\/div>\n<div align=\"center\"><a href=\"https:\/\/princessleia.com\/images\/journalpics\/092019\/z15_cake.jpg\"><img decoding=\"async\" src=\"https:\/\/princessleia.com\/images\/journalpics\/092019\/z15_cake_sm.jpg\" border=\"0\"><\/a><\/div>\n<p>I wrote a more in-depth article about the hardware of this machine for work here: <a href=\"https:\/\/community.ibm.com\/community\/user\/ibmz-and-linuxone\/blogs\/elizabeth-k-joseph1\/2019\/09\/13\/inside-the-linuxone-iii\">Inside the LinuxONE III<\/a>. The key thing about it is that we\u2019ve gone from two versions of the LinuxONE (Rockhopper II and Emperor II), to just one, but one that fits inside a 19\u201d rack space like the Rockhopper II did and is expandable to up to four frames.<\/p>\n<div align=\"center\"><a href=\"https:\/\/princessleia.com\/images\/journalpics\/092019\/linuxone_iii.png\"><img decoding=\"async\" src=\"https:\/\/princessleia.com\/images\/journalpics\/092019\/linuxone_iii_sm.png\" border=\"0\"><\/a><\/div>\n<div align=\"center\"><a href=\"https:\/\/princessleia.com\/images\/journalpics\/092019\/4-frame_linuxone_iii.jpg\"><img decoding=\"async\" src=\"https:\/\/princessleia.com\/images\/journalpics\/092019\/4-frame_linuxone_iii_sm.jpg\" border=\"0\"><\/a><\/div>\n<p>The processors are 5.2Ghz each, and in a fully decked out configuration one of these 4-frame systems can have up to 190 processors and 40 TB of RAM. It\u2019s a massively powerful machine. Add in on-chip crypto that we\u2019ve come to know and love on the mainframe, you have a really impressive data processing powerhouse.<\/p>\n<p>Now, I was brought on to the Z Ecosystem team because of my background with Linux, both in the Ubuntu community and broader experience with distributed systems, including OpenStack and Apache Mesos. That\u2019s because these mainframes don\u2019t just run z\/OS. The LinuxONE series of machines, the first of which was released in 2015, are exclusively Linux. Last week I wrote an article over on OpenSource.com about <a href=\"https:\/\/opensource.com\/article\/19\/9\/linux-mainframes-part-1\">How Linux came to the mainframe<\/a>, where I talk about how this came to be. This morning the second part of that article was published, <a href=\"https:\/\/opensource.com\/article\/19\/9\/linux-mainframes-part-2\">Linux on the mainframe: Then and now<\/a>, where I explore the formal entrance of major distributions into supporting the mainframe architecture. Ubuntu joined that fold with <a href=\"https:\/\/ubuntu.com\/blog\/ubuntu-16-04-lts-for-ibm-linuxone-and-ibm-z-systems-is-now-available\">an announcement in 2016<\/a> that Ubuntu 16.04 had support for the mainframe (s390x architecture). Today, Ubuntu boasts the most s390x packages of all the officially supported distributions.<\/p>\n<p>All recent release of Ubuntu have supported s390x, so while they recommend the LTS releases, you can happily use Ubuntu 19.04 today to get the latest packages, and there are even more improvements in store for Ubuntu 19.10 coming out next month. When I chatted with Frank Heimes, who runs the Ubuntu on Big Iron blog (which you should totally check out!), he highlighted the following this for me with regard to Ubuntu support:<\/p>\n<ul>\n<li>Special emphasis is put on kernel, KVM, hardware counters and security, allowing one to make use of z15 and LinuxONE III faster and enlarged number of processors with new CPU capabilities, facilities and larger caches, increased memory and IO throughput<\/li>\n<li>Support for hardware cryptography, which he talks about in this blog post and the associated whitepaper: Hardware cryptography with Ubuntu Server on IBM Z and LinuxONE<\/li>\n<li>Support for deployments on LPAR, z\/VM, KVM, LXD, Docker and kubernetes (CDK), with installation media available as ISO, Cloud or container images.<\/li>\n<\/ul>\n<p>It was also interesting for me to learn that their MAAS KVM product has been built for s390x, which I\u2019ll point you to the Ubuntu on Big Iron blog for again, for one of Frank\u2019s posts this month on the topic: <a href=\"http:\/\/ubuntu-on-big-iron.blogspot.com\/2019\/08\/maas-kvm-on-s390x-part2.html\">MAAS KVM on s390x: Cross-LPAR walk-through<\/a>. There have also been collaborations in the works to create proof of concepts around security, including Digital Asset Custody Services (DACS), which you can explore in more detail in this article from August:  <a href=\"https:\/\/www.ibm.com\/blogs\/systems\/digital-asset-custody-services-dacs-disrupt-digital-assets-market\/\">Digital Asset Custody Services (DACS) aims to disrupt the digital assets market with a secured custody platform<\/a>.<\/p>\n<p>For Ubuntu, s390x isn\u2019t just another checkbox architecture that\u2019s being supported. Just like the other officially supported distributions, there are whole teams within Canonical who are spending time making thoughtful and innovative solutions that specifically target the power of the mainframe. The following is their Design Philosophy for Ubuntu Server on IBM Z and LinuxONE, via Frank\u2019s <a href=\"https:\/\/people.canonical.com\/~fheimes\/Ubuntu_Server_s390x.pdf\">Ubuntu Server for IBM Z and LinuxONE slide deck<\/a> (4.2M PDF):<\/p>\n<ul>\n<li>Expand Ubuntu\u2019s ease of use to the s390x architecture (IBM Z and LinuxONE)<\/li>\n<li>Unlock new workloads, especially in the Open Source, Cloud and Container space<\/li>\n<li>Consequentially tap into new client bases<\/li>\n<li>Exploit new features and components faster &#8211; in two ways:<\/li>\n<li>\n<ul>\n<li>hardware: zEC12\/zBC12 and newer<\/li>\n<li>software: latest kernels, compilers and optimized libraries<\/li>\n<\/ul>\n<\/li>\n<li>\n<ul>\n<li>Provide parity with other architectures<\/li>\n<li>Release parity<\/li>\n<li>Feature parity<\/li>\n<\/ul>\n<\/li>\n<li>Uniform user experience\n<li>Close potential gaps<\/li>\n<\/ul>\n<\/li>\n<li>Open source &#8211; is collective power in action<\/li>\n<li>Upstream work and code only &#8211; no forks<\/li>\n<li>Offer a radically new pricing approach (drawer-based pricing) but also an entry-level pricing based on the number of IFLs (up to 4 IFLs)<\/li>\n<p>Of course we don\u2019t have mainframes in our garages (even as an IBM employee, I\u2019ve asked!). So as developers, our access is somewhat limited. However, that doesn\u2019t mean you can\u2019t build your Ubuntu .deb or snap for s390x! As I wrote about back in June, you can <a href=\"https:\/\/princessleia.com\/journal\/2019\/06\/building-a-ppa-for-s390x\/\">build your PPA for s390x<\/a> with the clicking of a simple checkbox in the Launchpad UI for PPAs.<\/p>\n<div align=\"center\"><a href=\"https:\/\/princessleia.com\/images\/journalpics\/062019\/build_ppa.png\"><img decoding=\"async\" src=\"https:\/\/princessleia.com\/images\/journalpics\/062019\/build_ppa-crop.png\" border=\"0\"><\/a><\/div>\n<p>Similarly, you can also <a href=\"https:\/\/snapcraft.io\/build\">build snaps<\/a> for the s390x architecture. These build systems reside on a mainframe that Canonical hosts in their datacenter, so you don\u2019t even need access to a mainframe yourself to build for it.<\/p>\n<p>But if you want to be extra sure your application runs on s390x, IBM has made a <a href=\"https:\/\/developer.ibm.com\/linuxone\/\">LinuxONE Community Cloud<\/a> which gives users a VM running on a mainframe in New York for 120 days! You can try out your application on one of those, and then be confident it works when you submit it to the PPA or snap build system. Unfortunately the only options right now for OS are SLES and RHEL, but Ubuntu support is in the works. Beyond this cloud, we\u2019re also working to get an open source developer cloud launched, but in the meantime you can reach out to me directly (lyz@ibm.com) if you\u2019re interested in some longer-lived VMs for your open source project, or generally want to talk about how you can get more VMs for testing, CI systems, and more.<\/p>\n<p>If you had asked me a year ago to talk about mainframes, I would not have had much to say, but I\u2019m really excited to be part of this story now. The machines themselves are impressive, the efforts that distributions like Ubuntu are putting into them is quite exceptional, and it\u2019s really fun learning about a new architecture. And speaking of other architectures, s390x isn\u2019t the only architecture <a href=\"https:\/\/certification.ubuntu.com\/server\/models?query=&#038;vendors=IBM&#038;release=18.04+LTS&#038;release=16.04+LTS&#038;release=14.04+LTS\">Canonical works with IBM to provide support for<\/a>. As noted on the <a href=\"https:\/\/partners.ubuntu.com\/ibm\">Ubuntu on IBM<\/a> partner page (which is worth checking out anyway), you\u2019ll see there\u2019s a lot of work being put in around POWER too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few months ago I visited the IBM offices in Poughkeepsie to sync up with colleagues, record an episode of Terminal Talk, and let\u2019s be honest, visit some mainframes. A lot of assembly still happens in Poughkeepsie, and they have a big client center with mainframes on display, including several inside a datacenter that they [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,43,37,2],"tags":[],"class_list":["post-14989","post","type-post","status-publish","format-standard","hentry","category-computers","category-mainframes","category-tech","category-planet"],"_links":{"self":[{"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/posts\/14989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/comments?post=14989"}],"version-history":[{"count":4,"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/posts\/14989\/revisions"}],"predecessor-version":[{"id":14995,"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/posts\/14989\/revisions\/14995"}],"wp:attachment":[{"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/media?parent=14989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/categories?post=14989"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/princessleia.com\/journal\/wp-json\/wp\/v2\/tags?post=14989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}