Micro Focus SMT provides the option of upgrading an existing system to the new version without completely reinstalling it. No new installation is needed.
The following table outlines the supported paths for upgrading to Micro Focus SMT.
Source Version |
Destination Version |
---|---|
SLES 11 SP4 + SMT |
|
OES 2015 SP1 + SMT |
OES 2018 SP2 + Micro Focus SMT |
Micro Focus SMT 1.0 |
Micro Focus SMT 1.1 |
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
Perform a down server media upgrade of SLES/ OES and add Micro Focus Subscription Management Tool as an add-on product during the upgrade.
Log in to your SUSE Linux Enterprise 11 machine.
Back up and migrate the database. See the general procedure in SLES Deployment guide, Section 19.3.4, “Migrate your MySQL Database”.
Shutdown the SUSE Linux Enterprise 11 machine, insert the OES/ SLES installation media and boot your machine.
Select the Upgrade entry on the boot screen.
YaST starts the installation system.
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.
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.
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.
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.
On the Add On Product screen, select I would like to install an Add -On product to add Micro Focus SMT.
Specify a media type, a local path, or a network resource hosting the repository of MFSMT and continue with the upgrade process.
(Conditional - SLES) Click Trust to import the key found in repository.
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.
If all settings are as per your requirement, start the installation and removal procedure by clicking Update.
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
Enable the smt.target service to start at the system boot:
systemctl enable smt.target
Start it immediately, if necessary:
systemctl start smt.target
On a SLES 12 SP4/ SLES 12 SP5 server, run the command zypper pd -i. This displays the version as “mf-smt1.0”.
To remove the older repository, run the command zypper rr <Repo Name>.
Add the Micro Focus SMT1.1 repo by running the command “yast2 repositories”.
To view whether Micro Focus SMT 1.1 repository is added and enabled, run the command zypper lr .
To refresh services and repositories, run the command zypper ref -s.
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
On successful upgrade, restart the smt.target service to upgrade the schema changes for the database.
systemctl restart smt.target