enterprise linux fundamentals of red hat

52
1 Fundamentals of Red Hat Enterprise Linux RHEL 8: Any Cloud, Any Workload, One OS RIK MEGENS RHCE, RHCA, RHCI, RHCX Training Solution Architect. Red Hat EMEA MELANIE JONES UK Product Director Global Knowledge GERARD MARLOW UK Sales Director Global Knowledge GARY WILLIAMS Business Development Manager Red Hat EMEA MOHAMMED ZAHER Technical Learning & Development Instructor Red Hat EMEA

Upload: others

Post on 01-Oct-2021

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Enterprise Linux Fundamentals of Red Hat

1

Fundamentals of Red Hat Enterprise Linux

RHEL 8: Any Cloud, Any Workload, One OSRIK MEGENSRHCE, RHCA, RHCI, RHCXTraining Solution Architect.Red Hat EMEA

MELANIE JONESUK Product DirectorGlobal Knowledge

GERARD MARLOWUK Sales DirectorGlobal Knowledge

GARY WILLIAMSBusiness Development ManagerRed Hat EMEA

MOHAMMED ZAHER Technical Learning & Development InstructorRed Hat EMEA

Page 2: Enterprise Linux Fundamentals of Red Hat

CONFIDENTIAL RED HAT ENTERPRISE LINUX 8

Housekeeping rules:Participants are muted upon entry and during the event

Questions can be submitted via the Q&A section

All unanswered questions are going to be addressed in the last 10 minutes of each section.

This session is going to be recorded

Page 3: Enterprise Linux Fundamentals of Red Hat

CONFIDENTIAL Designator

3

RED HAT ENTERPRISE LINUX 8

AgendaNew Features in RHEL8

● Application Stream

● Web Console

● Image Builder

● Container Tools

Page 4: Enterprise Linux Fundamentals of Red Hat

CONFIDENTIAL Designator

4

RED HAT ENTERPRISE LINUX 8

To deliver business advantages today,

organizations are shifting IT from

traditional infrastructure operations

and are focusing on service delivery.

Page 5: Enterprise Linux Fundamentals of Red Hat

CONFIDENTIAL Designator

5

RED HAT ENTERPRISE LINUX 8

Build your future on a stable, high-performing

platform that can scale to meet the needs of

your organization today and tomorrow.

Page 6: Enterprise Linux Fundamentals of Red Hat

CONFIDENTIAL DesignatorRED HAT ENTERPRISE LINUX 8

6

At a glance

KERNEL VERSION 4.18+

SYSTEM COMPILER GCC 8.2, LLVM 6.0

HARDWARE ARCHITECTURES

Intel/AMD 64-bit, IBM Power LE, IBM z Systems, ARM 64-bit

DEFAULT FILE SYSTEM XFS

PACKAGE MANAGEMENT Yum v4

TIME SYNCHRONIZATION Chrony

NETWORKING NetworkManager

Page 7: Enterprise Linux Fundamentals of Red Hat

Predictable updates

RED HAT ENTERPRISE LINUX 8

7

6 monthsMinor updates

3 yearsMajor releases

2 phasesSupport life cycle

Page 8: Enterprise Linux Fundamentals of Red Hat

Application streams

RED HAT ENTERPRISE LINUX 8

8

PostgreSQL 9.6 stream

Red Hat® Enterprise Linux® 8

PostgreSQL 10 stream

PostgreSQL 12 stream

Time of support

Red Hat Enterprise Linux 7

More choiceOffers versions of the open source tools and frameworks developers need

Newer versionsProvides access to newer versions as they stabilize

Simpler accessMaintains standard locations for tools and libraries

Page 9: Enterprise Linux Fundamentals of Red Hat

Create images for all your environments with image builder

9

Single sourceLets you create gold images for any environment from the same blueprint increasing stability and consistency

Any footprintSupports public cloud, private cloud, enterprise hypervisors, and bare metal

Simple interfaceProvides web-based view within the web console for selecting packages and creating blueprints

Blueprint

Bare metal

Hypervisors

Public clouds

Private clouds

RED HAT ENTERPRISE LINUX 8

Page 10: Enterprise Linux Fundamentals of Red Hat

Optimized experiences for mission-critical databases

10

● Red Hat Enterprise Linux is the reference platform for SQL Server on Linux

● Benchmark-breaking performance

● Fast deployment and portability via containers

● Red Hat Enterprise Linux is 1 of only 2 certified Linux distributions

● More than 20 years of Red Hat and SAP joint engineering collaboration

● Exceptional performance and scalability —the largest SAP install in the world runs on Red Hat Enterprise Linux

RED HAT ENTERPRISE LINUX 8

Page 11: Enterprise Linux Fundamentals of Red Hat

Hardware partner ecosystem

11

OEMSSILICON IHVS

RED HAT ENTERPRISE LINUX 8

Page 12: Enterprise Linux Fundamentals of Red Hat

Red Hat Certified Cloud and Service Providers

12

RED HAT ENTERPRISE LINUX 8

Page 13: Enterprise Linux Fundamentals of Red Hat

CONFIDENTIAL Designator

Application Streams

Page 14: Enterprise Linux Fundamentals of Red Hat

Simplified access to software

RED HAT ENTERPRISE LINUX 8

14

Red Hat Enterprise Linux 7 repositories

server

optionalsupplementaryextras rhscl dotnet devtools

Red Hat Enterprise Linux 8 repositories

baseos

appstream supplementary codeready-builder

Page 15: Enterprise Linux Fundamentals of Red Hat

Graphical example of different ways an application stream could be managed

An Example Application Stream

15

May 2019 ...

SoftwareA 9.6 stream

SoftwareA 10 stream

SoftwareB 7.2 stream

SoftwareB 7.3 stream

May 2020 May 2021 May 2022 May 2023 ...

Page 16: Enterprise Linux Fundamentals of Red Hat

The newest yum package manager: version 4

16

New technologyMaintains the same experience while adding new tools

Better dependency managementOffers faster resolution and easier minimization of what's installed

Stable APIProvides new application programming interface (API) for extending yum that will progress into the future

RED HAT ENTERPRISE LINUX 8

Repository

rpm

rpm

rpm

rpm

rpm

rpm

metadata

rpm rpmrpm

system

yum

Page 17: Enterprise Linux Fundamentals of Red Hat

FREQUENTLY ASKED QUESTIONS

17

No.Isn’t this just Software Collections?

Page 18: Enterprise Linux Fundamentals of Red Hat

FREQUENTLY ASKED QUESTIONS

18

No.

In the example on the earlier slide, postgresql 9.6 and 10 were shown as simultaneously available versions. Can I have them both installed?

Page 19: Enterprise Linux Fundamentals of Red Hat

RULES OF ROAD

19

Application stream rules of the road:

An application stream may offer multiple versions of a package, but only one may be installed on the system

Each application stream will have one version set as the default

Generally, you will want to use the module subcommand of yum when working with an application stream

Recommended practice: when changing to a different version of software in the application stream is to remove the installed version, then install the preferred version

Page 20: Enterprise Linux Fundamentals of Red Hat

Instructor Demonstration

20

Listing available application streams:

# yum module list

Name Stream Profiles Summary

ruby 2.5 [d] common [d] An interpreter of object-oriented scripting language

The resulting output will contain all the available packages managed as application streams.

Page 21: Enterprise Linux Fundamentals of Red Hat

Instructor Demonstration

21

Installing software from an application stream:

# yum module install ruby:2.5

...

Preparing :

Installing : ruby-libs-2.5.3-103.module+el8+2671+ebcc7ee0.x86_64

Installing : rubygem-bigdecimal-1.3.4-103.module+el8+2671+ebcc7ee0.x86_64

Installing : rubygem-psych-3.0.2-103.module+el8+2671+ebcc7ee0.x86_64

Installing : rubygem-json-2.1.0-103.module+el8+2671+ebcc7ee0.x86_64

...

Page 22: Enterprise Linux Fundamentals of Red Hat

DEMO TIME

https://lab.redhat.com/appstream-manage

Hands-on with Instructor

Page 23: Enterprise Linux Fundamentals of Red Hat

CONFIDENTIAL Designator

Web Console

Page 24: Enterprise Linux Fundamentals of Red Hat

What is the Web Console?

What is the Web Console?

24

The Red Hat Enterprise Linux web console is a Red Hat Enterprise Linux 8 web-based interface designed for managing and monitoring your system.

● Managing services● Managing user accounts● Configuring network interfaces and firewall● Reviewing system logs● Managing virtual machines● Configuring SELinux● Updating software● Managing system subscriptions

Page 25: Enterprise Linux Fundamentals of Red Hat

Frequently Asked Questions

25

Similar, but no.Is this webmin?

Page 26: Enterprise Linux Fundamentals of Red Hat

Frequently Asked Questions

26

Systems administrators or people with administrative responsibility for Red Hat Enterprise Linux systems.

Who is the Web Console systems administration tool for?

Page 27: Enterprise Linux Fundamentals of Red Hat

Frequently Asked Questions

27

No. Yes. Maybe? How you choose to manage your systems should be up to you.

I am an experienced systems administrator is this what Red Hat expects me to use to administer my system population?

Page 28: Enterprise Linux Fundamentals of Red Hat

Using Web Console

28

Accessing the Web Console:In a supported browser, connect to the system’s port 9090

https://<your system>:9090

Page 29: Enterprise Linux Fundamentals of Red Hat

Using Web Console

29

Available tools for Web Console:The top-level menu may be different depending on what additional plugins are installed. The picture on the right includes the packages:

● cockpit-dashboardProvides CPU, Memory, Network, and Disk consumption data

● cockpit-composerIncludes the Image Builder application for building virtual machine images

● cockpit-machinesVirtual machine management applications

● cockpit-storagedA plugin to allow an administrator to change/add storage configured for the system

● cockpit-podmanA module for adding container deployment functionality toWeb Console

Page 30: Enterprise Linux Fundamentals of Red Hat

Remote single-system views in the web console

30

Browser-based interfaceOffers remotely accessible user interface using host security mechanisms

Consolidated viewProvides single view of tasks to speed understanding and completion

Standard management toolsUses system tools to change state, not a separate workflow

RED HAT ENTERPRISE LINUX 8

Page 31: Enterprise Linux Fundamentals of Red Hat

New in the web console

31

RED HAT ENTERPRISE LINUX 8

Virtual machinesCreate and manage virtual machines

Network-bound disk encryptionEnroll disks with Tang server and manage LUKS keys

Single sign-on configurationAutomatically configure when joining a domain

Page 32: Enterprise Linux Fundamentals of Red Hat

DEMO TIME

https://lab.redhat.com/webconsole-software

Hands-on with Instructor

Page 33: Enterprise Linux Fundamentals of Red Hat

CONFIDENTIAL Designator

Image Builder

Page 34: Enterprise Linux Fundamentals of Red Hat

Create images for all your environments with image builder

34

Single sourceLets you create gold images for any environment from the same blueprint increasing stability and consistency

Any footprintSupports public cloud, private cloud, enterprise hypervisors, and bare metal

Simple interfaceProvides web-based view within the web console for selecting packages and creating blueprints

Blueprint

Bare metal

Hypervisors

Public clouds

Private clouds

RED HAT ENTERPRISE LINUX 8

Page 35: Enterprise Linux Fundamentals of Red Hat

DEMO TIME

https://lab.redhat.com/imagebuilder

Hands-on with Instructor

Page 36: Enterprise Linux Fundamentals of Red Hat

CONFIDENTIAL Designator

Container Tools

Page 37: Enterprise Linux Fundamentals of Red Hat

Containers are Linux

37

Namespaces

CPU Memory Storage Network

Cgroups

Seccomp

SELinuxRu

n

Build

CONTAINERSApplication dependencies

Application binaries

RED HAT ENTERPRISE LINUX 8

Page 38: Enterprise Linux Fundamentals of Red Hat

Red Hat Container Tools

Meet the container tools

38

Deploy containersFamiliar syntax, compared to other container flavors

Create new container imagesUpdate/modify existing container images

Inspect, audit, and share container images

Page 39: Enterprise Linux Fundamentals of Red Hat

Why choose podman

39

Why podman?● Open Container Initiative (OCI) compliant● Daemonless● Linux native technology stack● Rootless deployments● Compatible with other OCI compliant toolsets

Page 40: Enterprise Linux Fundamentals of Red Hat

Frequently Asked Questions

40

No. But if you really, really need a command called docker on your system, try installing the podman-docker package. (This isn’t actually docker, though)

Does RHEL8 ship Docker?

Page 41: Enterprise Linux Fundamentals of Red Hat

Frequently Asked Questions

41

Yes! We distribute the Red Hat Universal Base Image (UBI). This container image is supported by Red Hat when deployed on a supported Red Hat platform (RHEL/OpenShift).

Does Red Hat provide any supported container images?

Page 42: Enterprise Linux Fundamentals of Red Hat

Frequently Asked Questions

42

With the compatibility built into the Red Hat Container tools, you can use a combination of both. Red Hat has two seats on the Technical Oversight Board of the Open Container Initiative [a project of the Linux Foundation], which is a commitment to delivering tools that use open standards. Included as part of Red Hat Enterprise Linux, no additional subscriptions required.

Why should I use this instead of Docker?

Page 43: Enterprise Linux Fundamentals of Red Hat

CONFIDENTIAL Designator

Visit the Cataloghttps://catalog.redhat.com/software/

containers/explore

Page 44: Enterprise Linux Fundamentals of Red Hat

Instructor Demonstration

44

Inspect available container images:

# podman images

REPOSITORY TAG IMAGE ID CREATED SIZE

registry.access.redhat.com/ubi8/ubi-init latest cda12d4c316c 6 weeks ago 255MB

Page 45: Enterprise Linux Fundamentals of Red Hat

Instructor Demonstration

45

Deploy a container:Interactive, with a bash shell

# podman run -it ubi-init /bin/bash

Detached mode, with an exposed port

# podman run -dt -p 8080:80/tcp ubi-init

More options in the podman-run(1) manpage

Page 46: Enterprise Linux Fundamentals of Red Hat

Instructor Demonstration

46

Viewing deployed containers:# podman ps -a

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

9df2431bf9b0 ...redhat.com/ubi8/ubi-init:latest /sbin/init 36 seconds Up 36 seconds romantic_feynman

Note: each container runtime is assigned a unique ID and NAME to use with other actions.

Page 47: Enterprise Linux Fundamentals of Red Hat

Instructor Demonstration

47

Terminating detached containers:

Using stop with either a CONTAINER ID or NAME

# podman stop 9df2431bf9b0

or

# podman stop romantic_feynman

Page 48: Enterprise Linux Fundamentals of Red Hat

Instructor Demonstration

48

Destroying container image overlays:

# podman rm 9df2431bf9b0

or

# podman rm romantic_feynman

More options in the podman-rm(1) manpage

Page 49: Enterprise Linux Fundamentals of Red Hat

DEMO TIME

https://lab.redhat.com/podman-deploy

Hands-on with Instructor

Page 50: Enterprise Linux Fundamentals of Red Hat

DEMO TIME

https://lab.redhat.com/buildah

Hands-on with Instructor

Page 51: Enterprise Linux Fundamentals of Red Hat

CONFIDENTIAL Designator

Where can you start your Learning Journey?

Page 52: Enterprise Linux Fundamentals of Red Hat

linkedin.com/company/red-hat

youtube.com/user/RedHatVideos

facebook.com/redhatinc

twitter.com/RedHat

Red Hat is the world’s leading provider of

enterprise open source software solutions.

Award-winning support, training, and consulting

services make

Red Hat a trusted adviser to the Fortune 500.

Thank you

52