Upgrading managed devices to ZENworks 7.2 Linux Management with IR1/IR1a installs the new ZENworks Agent.
To upgrade the managed device from the ZENworks 7 Linux Management with IR1 or ZENworks 7 Linux Management - Dell Edition to ZENworks 7.2 Linux Management with IR1/IR1a, use one of the following ways:
To upgrade the managed device from ZENworks 7.2 Linux Management to ZENworks 7.2 Linux Management with IR1/IR1a, use one of the following ways:
You can upgrade the managed devices from ZENworks 7 Linux Management with IR1, ZENworks 7 Linux Management - Dell Edition, or ZENworks 7.2 Linux Management to ZENworks 7.2 Linux Management with IR1/IR1a by using upgrade bundles.
Make sure the managed device meets the requirements. See Section 2.3, Managed Device Requirements.
Complete the following tasks in the order listed:
In the ZENworks Control Center, click the
tab.Click the folder that you created while performing an in-place upgrade on the ZENworks Primary Server (Step 11) to hold the upgrade bundles.
Click the underlined name of the desired upgrade bundle to display its details.
Click the
tab.In the
section at the bottom of the Details page, click to display the New Scriptable Action dialog box.In the
drop-down list, select .In the
drop-down list, select .Paste the contents of the pre-install.sh script file into the box. You can access the script file from the /data directory located within the directory on which ZENworks 7.2 Linux Management with IR1/IR1a/IR2 is mounted. For example, if ZENworks 7.2 Linux Management with IR1/IR1a/IR2 is mounted on /zlm72/install, the pre-install.sh script file resides in the /zlm72/install/data directory.
If the managed device has bundle locks or package locks (package-locks.xml), the Pre-Installation script takes a backup of the bundle locks or package locks and places the backup in the /tmp/zmd directory.
Click
.In the
section at the bottom of the Details page, click to display the New Scriptable Action dialog box.In the
drop-down list, select .In the
drop down list, select .Paste the contents of the post-install.sh script file into the box. You can access the script file from the /data directory located within the directory on which ZENworks 7.2 Linux Management with IR1/IR1a/IR2 is mounted. For example, if ZENworks 7.2 Linux Management with IR1/IR1a/IR2 is mounted on /zlm72/install, the post-install.sh script file resides in the /zlm72/install/data directory.
NOTE:In the post-install.sh script file, the messages indicating the progress of the upgrade are commented out by default. If you want the messages to be displayed on the managed device, uncomment the messages.
The Post Installation script performs the following tasks:
Restores the bundle locks and package locks backup from the /tmp/zmd directory to the appropriate directories.
Creates the /tmp/zmd/upgrade_final.sh shell script that automatically stops the zmd service, removes the system catalogs, and restarts the service.
Uses the atd server to assign a scheduled task and execute the upgrade_final.sh shell script two minutes after the post-install.sh has completed execution.
Click
.Click
at the bottom of the Details page.In the RPM Package Bundle Settings section of the Details page, click
to deploy the new version of the bundle.Continue with Creating Catalogs for Upgrade Bundles.
Click the
tab.Click
, then click to open the Create New Catalog Wizard.Specify a name for the catalog, then click
to display the Catalog Attributes page.Click
to display the Summary page.On the Summary page, click
.Click
to display the Select Bundles dialog box.Navigate to and click the desired upgrade bundle to move it to the
list, then click .Click
to display the Catalog Assignments page.Click
, navigate to and click the desired devices to move them to the list, then click to display the Bundles Options page.Click
to display the Finish page, review the information, then click .Depending on your needs, continue with Upgrading Managed Devices Other Than SLES 10 and SLED 10 by Using an Upgrade Bundle or Upgrading SLES 10 or SLED 10 Managed Devices by Using an Upgrade Bundle.
Click the
tab.Click
, then click to display the Policy Type page.Select
, then click to display the Policy Name page.Specify a name for the policy, then click
to display the Remote Execute Policy page.From the
drop-down list, choose .Paste the contents of the policy.sh script file into the box. You can access the script file from the mount point /data directory.
The Policy script performs the following tasks:
Subscribes to the catalog containing the upgrade bundle.
Installs the upgrade bundle on the managed device.
Edit the script so that catalog_name is the catalog you created in Creating Catalogs for Upgrade Bundles and bundle is the bundle that you specified while creating the catalog (Step 7).
Click
to display the Summary page, then click to display the Policy Assignments page.Click
to display the Select Assignments dialog box, browse to and select the devices to which you want to assign the Remote Execute policy, then click .Click
to display the Policy Schedule page.In the
drop-down list, select , specify a start date and time to apply the policy, then click to display the Policy Groups page.NOTE:If you want to verify the upgrade immediately, set the start date to today and the start time to 12 a.m. The Remote Execute policy is executed at the next scheduled refresh for the devices. Alternately, you can manually refresh the devices.
Click
to display the Finish page, then click .The Remote Execute policy is enforced as scheduled, after the managed devices’ next scheduled refresh. If the time you specified in Step 11 occurs before the next scheduled refresh, the policy is enforced on the next refresh.
IMPORTANT:It takes approximately five minutes for the upgrade bundle to be installed and for the upgrade process to be performed. Do not perform any rug commands such as rug ref during the upgrade process. Executing rug commands during the upgrade process might cause the process to fail.
After the upgrade completes, you can verify that the upgrade was successful by executing the rug ping command or refer to upgrade.log. The upgrade was successful if the version of zmd is 7.2.0. If you perform the rug ping command prematurely, you receive an exception message. You can recover by stopping and restarting zmd. The /tmp/zmd/upgrade.log must contain the “Starting ZENworks Management Daemon...” message in the last line.
NOTE:Bundle and Package history is not migrated.
Perform the following steps on the SLES 10 or SLED 10 managed device:
Execute the /usr/bin/rug sub catalog_name command, where catalog_name is the catalog assigned to the managed device.
Execute the /usr/bin/rug bin -y upgrade_bundle_name command, where upgrade_bundle_name is the upgrade bundle in the catalog assigned to the managed device.
IMPORTANT:It takes approximately five minutes for the upgrade bundle to be installed and for the upgrade process to be performed. Do not perform any rug commands such as rug ref during the upgrade process. Executing rug commands during the upgrade process might cause the process to fail.
After the upgrade completes, you can verify that the upgrade was successful by executing the rug ping command or refer to upgrade.log. The upgrade was successful if the version of zmd is 7.2.0. If you perform the rug ping command prematurely, you receive an exception message. You can recover by stopping and restarting zmd. The /tmp/zmd/upgrade.log must contain the “Starting ZENworks Management Daemon...” message in the last line.
If the device does not have the X Window System installed:
In ZENworks Control Center, click the upgrade bundle.
Click the
tab.In the
panel, select the following packages:Click
> .(Optional) If SLES 10 or SLED 10 are running on DELL server and the managed devices have the default zmd agent installed, do the following if you want to collect the Dell inventory of the devices:
In the
panel, select novell-zenworks-zmd-oem.Click
> .Make sure the managed device meets the requirements. See Section 2.3, Managed Device Requirements.
At the Linux managed device, mount the Novell ZENworks 7.2 Linux Management Agent with Interim Release 1 CD by using the mount device mountpoint command.
For example, mount /dev/cdrom /zlm7.
If you are using an ISO image rather than a physical CD, copy the ISO to a temporary folder on the Linux managed device, then mount the image using the following command: mount -o loop /tempfolderpath/isoimagename.iso mountpoint
Replace tempfolderpath with the path to the temporary folder and replace mountpoint with the path to the file system location you want to mount the image. The path specified by mountpoint must already exist.
For example:
mount -o loop /zlm72/ZEN72_LinuxMgmt.iso /zlm72/install
NOTE:The ISO image of ZENworks 7.2 Linux Management with IR1a is available at the Novell Downloads Web site.
Log in as root, then start the upgrade program from the mount point by running the following command:
./zlm-upgrade
When prompted to upgrade ZENworks Linux Management, enter Y to continue.
Review the Software License Agreement, pressing Page Down to scroll down the page, then enter Y to accept the agreement.
The install program stops ZENworks services, subscribes to the upgrade channels, upgrades RPMs, upgrades zmd, runs upgrade scripts, and then restarts the ZENworks services.
Install ZENworks 7.2 Linux Management Hot Patch 5. For more information on how to obtain and install the Hot Patch, contact Novell Support.