B.3 Preparing the Bundles for Upgrading

Before you can use the downloaded bundles to upgrade your servers, you must create an empty OES2018SP2toOES2023 bundle and change the name wherever it is used.

  1. In ZENworks Control Center, click Bundles.

  2. Click New and select Bundle.

  3. Select Linux Bundle and click Next.

  4. Select Empty Bundle and click Next.

  5. Type the bundle name as OES2018SP2toOES2023and click Next.

  6. Click Finish and complete the bundle creation process.

  7. Click the Action tab of the bundle that you just created.

  8. Select the Install tab and click Add.

  9. Select Run Script.

  10. Specify the Action Name as Upgrade and select Define Your Own Script as the Script to Run.

  11. Click Edit against the Script content option.

  12. In the Edit - Script Content dialog box, paste the following script and click OK:

    /bin/sleep 300
    /opt/novell/zenworks/bin/zac dup --no-confirm OES2018-SP3-SLES12-
    SP5-Pool-bundle OES2018-SP3-SLES12-SP5-Updates-bundle OES2018-SP3-
    Pool-bundle OES2018-SP3-Updates-bundle OES2018-SP3-SLE-Module-
    Containers12-Pool-bundle OES2018-SP3-SLE-Module-Containers12-
    Updates-bundle
    if [ "$?" != "0" ] ; then
    exit 1
    fi
  13. In the Wait before proceeding to next action section, select When Action is Complete.

  14. Click the Advanced tab and in the Executable security level section, select Run as root and thenclick OK.

  15. Click the Install tab, click Add, then select Reboot/Shutdown from the drop-down list.

  16. Select Display a warning message before doing Reboot/Shutdown and click OK.

  17. Click Apply and publish the bundle.