2.4 Upgrade from SMT to Micro Focus SMT

Micro Focus SMT provides the option of upgrading an existing system to the new version without completely reinstalling it. No new installation is needed.

2.4.1 Supported Upgrade Paths

The following table outlines the supported paths for upgrading to Micro Focus SMT.

Source Version

Destination Version

SLES 11 SP4 + SMT

  • SLES 12 SP4 + Micro Focus SMT

  • SLES 12 SP5 + Micro Focus SMT

OES 2015 SP1 + SMT

OES 2018 SP2 + Micro Focus SMT

Micro Focus SMT 1.0

Micro Focus SMT 1.1

2.4.2 Upgrading SMT on SLES 11 SP4 or OES 2015 SP1 to Micro Focus SMT

Preparing the Server You are Upgrading

Ensure that the server and Subscription Management Tool for SUSE Linux Enterprise Server 11 SP3 are updated to the latest available patch. Ensure that along with OES/SLES channels the following SMT channels are enabled when patching:

  • SLE11-SMT-SP3-Pool

  • SLE11-SMT-SP3-Updates

  • SLES11-SP4-Pool

  • SLES11-SP4-Updates

Adding Micro Focus SMT as an Add-on Product

Perform a down server media upgrade of SLES/ OES and add Micro Focus Subscription Management Tool as an add-on product during the upgrade.

Upgrading to Micro Focus SMT

  1. Log in to your SUSE Linux Enterprise 11 machine.

  2. Back up and migrate the database. See the general procedure in SLES Deployment guide, Section 19.3.4, “Migrate your MySQL Database”.

  3. Shutdown the SUSE Linux Enterprise 11 machine, insert the OES/ SLES installation media and boot your machine.

  4. Select the Upgrade entry on the boot screen.

    YaST starts the installation system.

  5. On the Welcome screen, choose Language and Keyboard and accept the license agreement. Proceed with Next.

    YaST checks your partitions for already installed SUSE Linux Enterprise systems.

  6. On the Select for Upgrade screen, select the partition to upgrade and click Next.

    YaST mounts the selected partition and displays all repositories that have been found on the partition that you want to upgrade.

  7. On the Previously Used Repositories screen, adjust the status of the repositories: enable those you want to include in the upgrade process and disable any repositories that are no longer needed. Proceed with Next.

  8. On the Registration screen, select whether to register the upgraded system now (by entering your registration data and clicking Next) or if to Skip Registration. For details on registering your system, see Registering Your System in SLES or Specifying Customer Center Configuration Settings in OES Installation guide.

  9. On the Add On Product screen, select I would like to install an Add -On product to add Micro Focus SMT.

  10. Specify a media type, a local path, or a network resource hosting the repository of MFSMT and continue with the upgrade process.

  11. (Conditional - SLES) Click Trust to import the key found in repository.

  12. Review the Installation Settings for the upgrade, especially the Update Options.

    • For example on SLES 12 SP4:

    • For example on OES 2018 SP2:

      In the above image, the line “Product Subscription Management Tool for SUSE Linux Enterprise 11 SP3 will stay installed” is incorrect and should be ignored. The machine gets updated to OES 2018 SP2.

  13. If all settings are as per your requirement, start the installation and removal procedure by clicking Update.

  14. After completion of the upgrade process, look if the new /etc/my.cnf.rpmnew exists and update it with any custom changes you need. Then copy it over the existing /etc/my.cnf:

    cp /etc/my.cnf.rpmnew /etc/my.cnf

  15. Enable the smt.target service to start at the system boot:

    systemctl enable smt.target

    Start it immediately, if necessary:

    systemctl start smt.target

2.4.3 Upgrading Micro Focus SMT 1.0 to Micro Focus SMT 1.1

  1. On a SLES 12 SP4/ SLES 12 SP5 server, run the command zypper pd -i. This displays the version as “mf-smt1.0”.

  2. To remove the older repository, run the command zypper rr <Repo Name>.

  3. Add the Micro Focus SMT1.1 repo by running the command “yast2 repositories”.

  4. To view whether Micro Focus SMT 1.1 repository is added and enabled, run the command zypper lr .

  5. To refresh services and repositories, run the command zypper ref -s.

  6. Perform a distribution upgrade by using the command:

    zypper dup --from <MFSMT1.1_Repo_Name>

    • The following 7 packages are upgraded:

      mf-smt 
      mf-smt-release 
      mf-smt-release-cd 
      mf-smt-support 
      patterns-mf-smt 
      supportutils-plugin-mf-smt 
      yast2-mf-smt
    • The following pattern is upgraded:

      mf-smt
    • The following product is upgraded:

      Micro Focus Subscription Management Tool for SUSE Linux Enterprise 12 SP4  1-0 -> 1.1-0
    • The following 2 packages are going to change vendor:

      mf-smt-release     Micro Focus. -> MicroFocus
      mf-smt-release-cd  Micro Focus. -> MicroFocus
  7. On successful upgrade, restart the smt.target service to upgrade the schema changes for the database.

    systemctl restart smt.target