SUSE Linux Enterprise 12 Service-Pack Migration What is possible and what supported

Similar documents
Upgrading to SUSE Linux Enterprise 12 SLE11 to SLE12 Migration. Thorsten Kukuk Senior Architect SLES

SGI REACT includes the SGI REACT library for Linux hard real-time performance,

Manual Update Ubuntu To Using Iso

Creating add-on products with YaST

Patching and Updating your VM SUSE Manager. Donald Vosburg, Sales Engineer, SUSE

General: How do I upgrade Bright from SLES11sp2 to SLES11sp3? How do I upgrade Bright from SLES11sp2 to SLES11sp3?

Client TM 2.0 SP2 for Linux

VMware OSP Tools. lawrence kearney

What's New with SUSE Linux Enterprise Server for z Systems

Tooling Linux for the Future of Embedded Systems. Patrick Quairoli Director of Alliance and Embedded Technology SUSE /

SUSE Cloud Admin Appliance Walk Through. You may download the SUSE Cloud Admin Appliance the following ways.

Deployment Guide. SUSE Linux Enterprise Server 12 SP3

Dell EMC Repository Manager 3.1 Release Notes

IBM Endpoint Manager. OS Deployment V3.8 User's Guide - DRAFT for Beta V.1.0 (do not distribute)

ForeScout CounterACT. Gradual Upgrade Guide. Version 8.0

Three Steps Toward Zero Downtime. Guide. Solution Guide Server.

IBM Endpoint Manager. OS Deployment V3.5 User's Guide

1 Installing iprint Add-On on a Single Node. 2 Installing iprint Add-On in a Cluster Environment

1 LINUX KERNEL & DEVICES

Freeing Disk Space on a Cryptshare Server. Applies to. Purpose. Solution. Freeing Disk Space on a Cryptshare Server. Situation.

Deployment Guide. SUSE Linux Enterprise Server 12 SP2

Dell EMC Repository Manager 3.0 Release Notes

DELL EMC System Update Version User s Guide

Forescout. Gradual Upgrade Guide. Version 8.1

Enterprise Linux System Administration

Manual Install Package Rpm Linux Command Line

OEM Manufacturing and Deployment for Windows 10 (735)

Expert Days SUSE Manager

Deployment Guide. SUSE Linux Enterprise Desktop 12 SP3

PowerVM Lx86 for x86 Linux Applications Administration Guide

SaaSaMe Transport Workload Snapshot Export for. Alibaba Cloud

Clearswift SECURE Gateway Installation & Getting Started Guide. Version 4.3 Document Revision 1.0

Subscription Management Tool for SLES 12 SP1

Dell EMC PowerEdge Systems SUSE Linux Enterprise Server 15. Installation Instructions and Important Information

Define Your Future with SUSE

TECHNICAL WHITE PAPER

"Charting the Course... Enterprise Linux System Administration Course Summary

Linux sles 11. Linux sles 11.zip

IBM Power Systems 57D7/57B4 Adapter Write Cache

ULTEO OPEN VIRTUAL DESKTOP SUSE LINUX ENTERPRISE SERVER (SLES) 11 SP1 SUPPORT

Subscription Management Tool Guide.

Subscription Management Tool for SLES 12 SP3. SUSE Linux Enterprise Server 12 SP3

Oracle Ksplice for Oracle Linux

Frédéric Crozat SUSE Linux Enterprise Release Manager

ZENworks 2017 Patch Management Reference. December 2016

Discover SUSE Manager

ENTERPRISE LINUX SYSTEM ADMINISTRATION

Acronis Backup Advanced Version 11.5 Update 6

Acronis Backup & Recovery 11.5

Hp Recovery Disc Instructions Windows 7 32 Bit

RAID Controller Considerations

SUSE Linux Enterprise Server: Supported Virtualization Technologies

SUSE at the Point of Service. Joachim Werner Senior Product Manager

Clearswift SECURE Gateway Installation & Getting Started Guide. Version Document Revision 1.0

Alternatives to Solaris Containers and ZFS for Linux on System z

Perl Install Module Windows Xp From Cd Step By Step Pdf

AppDefense Plug-In. VMware AppDefense 2.0

Intelligent Provisioning 1.64(B) Release Notes

How To Fix Regedit Windows Xp Installation >>>CLICK HERE<<<

IBM Deployment Pack for Microsoft System Center Configuration Manager 2007 Installation and User s Guide

AVAYA Avaya Aura System Platform Service Pack R6.2.1 Release Notes Issue 1.3

XenServer Release Notes

How To Manually Update Ubuntu Server To Using Cd

Repository Mirroring Tool for SLES 15. SUSE Linux Enterprise Server 15

Zend Server Cluster Manager 5.6 Installation Guide

SuperLumin Nemesis. Getting Started Guide. February 2011

Software repository suse linux. Software repository suse linux.zip

"Charting the Course... Enterprise Linux System Administration. Course Summary

Symantec NetBackup PureDisk Compatibility Matrix Created August 26, 2010

Zend Server Cluster Manager 5.5 Beta. Installation Guide. By Zend Technologies.

Usb Port On Manually Create Bootable Windows Xp Install From Iso

Subscription Management Tool for SLES 12 SP2. SUSE Linux Enterprise Server 12 SP2

Notes for Installing RedHawk Linux 7.0 with Red Hat Enterprise Linux 7.0. Installation Notes. March 22 nd, 2015

At course completion. Overview. Audience profile. Course Outline. : 55187B: Linux System Administration. Course Outline :: 55187B::

McAfee Endpoint Security Threat Prevention Installation Guide - Linux

Digitizer operating system support

VideoEdge NVR 4.1 to 4.21 Migration

The issues included in this document were identified in Novell ZENworks 7.3 Linux Management with Interim Release 3 (IR3).

QuickSpecs. SUSE Linux Enterprise Server products from HPE. Overview. SUSE Linux Enterprise Server Products from HPE. What's New

"Charting the Course... MOC B: Linux System Administration. Course Summary

Veritas NetBackup for SQLite Administrator's Guide

Manually Mount Usb Device Linux Command Line Ubuntu 12.04

SUSE Linux Enterprise Server 11 Support Pack 2 Support Notes

Manually Windows Update Xp To 7 Without Cd

Cloud in a box. Fully automated installation of SUSE Openstack Cloud 5 on Dell VRTX. Lars Everbrand. Software Developer

Manual Format Windows Xp Computer Reinstall Ubuntu

How To Uninstall A App Windows 8 Programs Using Ubuntu In Dual Boot

Getting Started. Publication Date: SUSE LLC 10 Canal Park Drive Suite 200 Cambridge MA USA

YaST and AutoYaST Make The Difference

Systemwalker Software Configuration Manager. Operation Guide. Windows/Linux

Manual File System Check Linux Command Line

Install Windows Update Windows 7 From Usb

Windows Xp Sp2 Manual Iso Image Full Original Version

Getting Started with an OpenStackbased Cloud Using SUSE OpenStack Cloud to Run SAP Applications

AVAYA Avaya Aura System Platform R6.2.2 Release Notes Issue 1.3

Red Hat Development Suite 2.2

How To Install Windows Update Vista Without Cd Dell Laptop

RSA Authentication Manager 8.1 Service Pack 1 Patch 12 Readme

Intelligent Provisioning 2.70 Release Notes

Zend Server Cluster Manager 5.x Installation Guide

Transcription:

SUSE Linux Enterprise 12 Service-Pack Migration What is possible and what supported Thorsten Kukuk Senior Architect SUSE Linux Enterprise Server kukuk@suse.com

Overview The plan What is supported Definitions and Workflow Own and Third Party Repositories Migration via YaST2 Migration via zypper SMT Common Mistakes Migration via own scripts Rollback and Recovery 2

The Plan 3

Wishes for SUSE Linux Enterprise 12 System always in a defined state until first RPM is updated Canceling possible until first RPM is updated Recovery in error case quite simple Rollback via system tools, no backup/restore Chance that an error occurs very low Intuitive graphical tool Simple command line tool Use all active repositories 4

Supported Upgrade Scenarios 5

Supported Upgrade Scenarios Media (fully offline) Boot from DVD, ISO image or USB stick autoyast2 Migration via SCC/SMT (online: internet/local network) yast2 migration or zypper migration Do-it-yourself zypper zypper dup no-allow-vendor-change no-recommends... Do-it-yourself plain rpm / 3 rd Party Tools rpm -Fhv, yum, Not recommended Migration via SUSE Manager 6

Supported Versions (SLE 12 SP2) Offline migration via Media (DVD, autoyast2): SUSE Linux Enterprise 11 SP4 SUSE Linux Enterprise 12 SUSE Linux Enterprise 12 SP1 Online migration (YaST2, zypper): SUSE Linux Enterprise 12 SUSE Linux Enterprise 12 SP1 Manual / 3 rd Party: SUSE Linux Enterprise 12 SUSE Linux Enterprise 12 SP1 7

Tools helpful to know YaST2 Zypper SUSEConnect Snapper SMT RPM 8

Definitions and Workflow 9

Migration Workflow I'm SUSE Linux Enterprise Server 12 SLES12-SP1 / SLES12-SP2 Host I choose SLES12-SP2 Repositories? Configuration changed SLES12-SP2 Pool/Update I need these files Here are the files Data changed SCC / SMT 10

Definition of Migration Targets Defines set of products to which the system can be migrated One target contains: Version of the products/extensions Set of products is known to be compatible Multiple migration targets are possible SLES12 SP2 + SES3, SLES12 SP2 + SES4, SLES12 SP3, Migration targets are dynamic Changing over time, example new release of extension Depend on installed extensions 11

Workflow Find out possible migration targets Select one migration target Request and enable new repositories Adjust 3 rd Party repositories Access to repositories is automatically granted All our subscriptions include upgrade protection Run migration (zypper dup, rpm -Fhv, ) 12

Running Migration 13

Prerequisites Have enough free disk space A snapshot of old system will be created Check that all installed products are upgradable For SUSE Enterprise products: SCC/SMT will do the check If there is no new version for one extension, it could be that there will be no migration target What about 3 rd party Add-Ons, like from IBM or SGI? Create a backup We don't think you need it, but... 14

Adjust 3 rd Party Repositories Update /etc/zypp/repos.d/*.repo files Adjust URL: Change SLE_12 to SLE_12_SP2 (e.g. for SUSE hosted repositories) Ask the responsible person for that repository for new URL Use Macros (--releasever) to automate Example for opensuse Build Service URLs: SLE_${releasever_major}${releasever_minor:+_SP$releasever_minor} 15

Running Migration with standard Tools Update update stack first (optional) zypper patch --updatestack-only or equivalent After that use one of: zypper migration yast2 migration Alternative use: Upgrade by booting from DVD autoyast2 16

Cancel Service-Pack Migration Until package upgrade starts Minimal changes on the system (only services/repositories) May need a restore: /etc/zypp/repos.d/* After package upgrade starts Rollback from snapshot Restore from backup SCC data changed after selection of migration target Automatically restored by tools Manually: SUSEConnect --rollback 17

Macros for Repository URLs Zypper can replace macros in URLs of repositories Default value: internal version number of base product SLES 12: 12 SLES 12 SP1: 12.1 SLES 12 SP2: 12.2 Can be overwritten with zypper commandline option: --releasever 12.2 means, use SLES12 SP2 repositories even if only SLES12 SP1 is installed Admin needs to refresh caches himself --releasever will not invalidate current cache, means zypper will use different repositories! 18

Example repo file with Macros [example] name=home:example enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/repositories/home:/example/ SLE_${releasever_major}${releasever_minor:+_SP$releasever_minor} path=/ type=rpm-md keeppackages=0 19

Migration via YaST2 20

YaST Migration Prerequisite: Make sure yast2-migration is installed: zypper in yast2-migration Start migration: yast2 migration 21

YaST Migration 22

YaST Migration 23

YaST Migration 24

YaST Migration 25

YaST Migration 26

YaST Migration 27

YaST Migration 28

YaST Migration 29

YaST Migration 30

YaST Migration 31

YaST Migration System is migrated: # lsb_release -d Description: SUSE Linux Enterprise Server 12 SP2 32

Migration via zypper 33

Run zypper migration (1/4) Prerequisite: Make sure, that zypper-migration-plugin is installed zypper in zypper-migration-plugin Start migration: # zypper migration Executing 'zypper refresh' Executing 'zypper --no-refresh patch-check --updatestack-only' Loading repository data... Reading installed packages... 0 patches needed (0 security patches) 34

Run zypper migration (2/4) Available migrations: 1 SUSE Linux Enterprise Server 12 SP2 x86_64 SUSE Linux Enterprise Workstation Extension 12 SP2 x86_64 SUSE Linux Enterprise Software Development Kit 12 SP2 x86_64 Toolchain Module 12 x86_64 (already installed) 2 SUSE Linux Enterprise Server 12 SP1 x86_64 SUSE Linux Enterprise Workstation Extension 12 SP1 x86_64 SUSE Linux Enterprise Software Development Kit 12 SP1 x86_64 Toolchain Module 12 x86_64 (already installed) [num/q]: 1 35

Run zypper migration (3/4) Executing 'snapper create --type pre --print-number --description 'before online migration'' Upgrading product SUSE Linux Enterprise Server 12 SP2 x86_64. Found obsolete repository SLES12-12-0 Disable obsolete repository SLES12-12-0 [y/n] (y): y... disabling. Executing 'zypper --releasever 12.2 ref -f' 36

Run zypper migration (4/4) 1020 packages to upgrade, 2 to downgrade, 279 new, 30 to remove, 2 to change arch. Overall download size: 888.8 MiB. Already cached: 0 B After the operation, additional 840.1 MiB will be used. Continue? [y/n/? shows all options] (y): y Now your system will be updated Reboot to activate new kernel 37

SMT 38

Migration with SMT as Proxy Prerequisite: SMT, which supports migration of SUSE Linux Enterprise 12 SUSE Linux Enterprise Server 11: smt >= 2.0.14 (better 2.0.16) SUSE Linux Enterprise Server 12 SP1: smt >= 3.0.8 SMT needs to use SCC Clients needs to be configured against SMT Start migration with: yast2 migration zypper migration 39

Common Mistakes 40

Common Mistakes Installed/registered products are not in sync with SCC SUSE::Connect::ZypperError: No provider of '<product>' found. => Module/Extension registered, but not installed => SUSEConnect rollback SUSE::Connect::ApiError: The requested products '<product>' are not activated on the system. => Module/Extension installed, but not registered Customer created own installation repository Reproducible with official POOL/Update channel? Dependencies partly ignored, which is a bigger problem for full update, not single updates 41

Migration via own scripts 42

Migration via own scripts (Preparation) De-register current system from SCC: SUSEConnect de-register Disable old installation sources like DVD, etc. e.g. /etc/zypp/repos.d/sles12-12-0.repo Adjust 3 rd Party Repositories 43

Migration via own scripts (Add Repos) Add new installation sources (online channel) SUSEConnect -p SLES/12.2/x86_64 -r [code] -e [mail] See SUSEConnect list-extensions Or Add local installation source zypper ar -f http://example.com/media/sles12sp2/ zypper ar dvd:///?devices=/dev/sr0 SLES12SP2 44

Migration via own scripts (Update) Refresh all repositories: zypper --releasever 12.2 ref -f -s Run migration: zypper --releasever 12.2 dup --no-allow-vendor-change --no-recommends Register system if not already done Check, that system is registered correctly: SUSEConnect --status 45

Service-Pack Rollback 46

Rollback via snapper/grub2 Select snapshot to rollback to via: snapper rollback grub2 boot menu During boot, registration should be reset automatically. Check, that system is registered correctly: SUSEConnect status If needed, repair registration: SUSEConnect --rollback 47

Rollback via Disk Snapshot or Restore System does not know if a product downgrade was done via: LVM snapshots KVM or VMWare snapshots Restore of backup => Next zypper call will update to new Service-Pack again! Re-Register system to get back access to old repositories: SUSEConnect --rollback 48

Questions? Thank you. 49