SUSE Manager/ bsc952452

From MicroFocusInternationalWiki
Jump to: navigation, search

Introduction

This document explains how to migrate SLES for VMware 11 SP3 to SLES 11 SP3 with SUSE Manager. Using the steps below, a server can be converted using the remote execution function of the SUSE Manager provisioning module.

Manual SLES for VMWare migration process -- See SUSE Support TID#7015096[1] Migrating a SLES-11-SP3-for-VMware system to SLES-11-SP3

Environment

SUSE Linux Enterprise Server for VMware 11 SP3

SUSE Manager 2.1

Situation

Bootstrapped instance of SLES for VMWare 11 SP3 needs to be migrated to SLES 11 SP3

Resolution

1. Build a SUSE Manager Server, add software channels required for migration:

  • Base Channel: SLES11 SP3 Pool - sles11-sp3-pool-x86_64 #####
  • Child Channel => SLES11 SP3 Updates - sles11-sp3-updates-x86_64 #####
  • Child Channel => SLES11 SP3 SUSE Manager Tools - sles11-sp3-suse-manager-tools-x86_64 #####

  • Base Channel: SLES for VMware 11 SP3 Pool - sles11-sp3-vmware-pool-x86_64 #####
  • Child Channel => SLES for VMware 11 SP3 Updates - sles11-sp3-vmware-updates-x86_64 #####
  • Child Channel => SLES11 SP3 SUSE Manager Tools - sles11-sp3-suse-manager-tools-x86_64-vmware-sp3 #####

2. Create Activation key and Bootstrap the SLES for VMware 11SP3 instance as you would normally

3. Create a new activation key to facilitate migration channel assignments -- (i.e. 1-11sp3-vmware-migration)

 a.  assign base channel sles11-sp3-pool-x86_64
 b.  assign child channels for sles11-sp3-updates-x86_64 and sles11-sp3-suse-manager-tools-x86_64

4. remotely execute the attached script -- making sure to substitute in the key created in step #3

Migration script will do the following: (Same logic, cut/paste from existing migration script attached to TID.)

 a.  zypper rr SLES for VMware installation media / DVD
 b.  change product identifiers in /etc/products.d
 c.  using the migration activation key, refresh spacewalk service and assigned channels to sles11-sp3-pool/updates/sm-tools [rhnreg_ks, zypper refs]
 d.  execute the required package queries, zypper transactions, and stream edits to re-baseline the OS
 e.  execute rhn-profile-sync 
 f.  optionally - reboot the system  (if not rebooted, the SM web-ui will indicate that a reboot is needed.)


link to the script download when ready**

Note: Example Note....Can be deleted once complete

  • ##### example code #####