It is likely that you have installed ZENworks Orchestrator Agents and Orchestrator Clients on machines other than where the ZENworks Orchestrator Server components were installed. This section includes information that helps you to walk through the upgrade of those agents and clients.
Section 2.5.1, Checking the Current Version of the Orchestrator Agent
Section 2.5.2, Backing Up the Orchestrator Agent Prior to Upgrading
Section 2.5.3, Automatically Upgrading the Orchestrate Agent from the Orchestrate Development Client
Section 2.5.4, Using the Product ISO to Upgrade Agents and Clients on a SLES 10 SP1 Machine
Section 2.5.8, Using the Administrator Information Page to Upgrade the Agents and Clients
NOTE:To perform a mass upgrade of ZENworks Orchestrator Agents we recommend that you use a reputable application software distribution method to upgrade to the newer versions that ship with PlateSpin Orchestrate 2.0. For example, you can use ZENworks Linux Management to distribute new agents and clients to Linux servers.
For more information, see Section 2.7, Running the Upgrade Configuration on an Enterprise Scale.
Before you upgrade the ZENworks Orchestrator Agent packages from an earlier version to the current PlateSpin Orchestrate version, you should check which packages of the older Orchestrator version need to be upgraded and which non-Novell packages are included in the product packages.
To do this, change to the directory where the current version of the Orchestrator .iso was extracted, then run the following command:
rpm -qa | grep 'novell-zen'
We recommend that you record the results of this command so that you can compare it with the results of a similar task following the upgrade (see
As with the installation of any software, it is always a wise precaution to back up a working copy of ZENworks Orchestrator 1.3 Agent directories before you install the newer version, such as PlateSpin Orchestrate 2.0. To back up the old version, copy the /var/opt/novell/zenworks/zos/agent directory.
The PlateSpin Orchestrate Development Client includes a feature that lets you automatically upgrade older Orchestrate Agents on resources (virtual or physical) that connect to the Orchestrate Server.
If your grid includes older (that is, older than version 2.0.2) Resource objects, their Orchestrate Agents cannot connect to a recently upgraded Orchestrate Server. This is shown when the Resource Registration icon in the Resource Monitor of the Orchestrate Development Client displays a “flag up” status.
When you click the Resource Registration icon, the Resource Registration Monitor dialog box displays all of the older resource objects attempting to connect.The
option is also available in the dialog box. You can select this option, along with all of the older agents that you want to upgrade.When you use this automatic upgrade method, only the agent rpm (that is, the zw_zos_agent pattern) is upgraded, but other Orchestrate components that might be present on the resource machine are not upgraded. These include the following components (listed by pattern names):
zw_zos_clients
zw_mon_agent
zw_vm_builder
To separately upgrade these components, you need to use the YaST upgrade from the product ISO (see Upgrading ZENworks Orchestrator Agent Packages Using YaST) or the rug upgrade method (for each component) from the bash prompt (Upgrading ZENworks Orchestrator Agent Packages Using the rug Command).
This section includes information about upgrading the agent and client packages on the product ISO.
Use the following procedure if you want to use YaST, a graphical user interface, to upgrade the ZENworks Orchestrator packages to PlateSpin Orchestrate packages. If you want to use the command line to upgrade, see Upgrading ZENworks Orchestrator Agent Packages Using the rug Command.
Download the appropriate PlateSpin Orchestrate 2.0.2 ISO (32-bit or 64-bit for SLES 10 or SLES 11), then prepare it for installation:
(Optional) Burn a DVD of the ISO image and load it into the DVD drive of the target machine.
(Optional) Copy the ISO image to the local file system. For more information, see Adding a Local Mount Point As An Installation Source in YaST.
(Optional) Mount the ISO image file on the machine where PlateSpin Orchestrate is to be installed (the “target” machine). For details, see Adding a Local Directory As An Installation Source in YaST.
(Optional) If you are installing the ISO image to a large network, extract the product files from the ISO image to a web server / ftp server that can be accessed by the target machine without the need for authentication or anonymous login. For details, see Adding an ISO or Web URL As An Installation Source in YaST.
Upgrade ZENworks Orchestrator Agent software packages:
Log in to the target SLES server as root, then open YaST2.
In YaST2, open the
drop-down menu, then select to display the install patterns available on the PlateSpin Orchestrate installation media.Component packages already installed to the server are checked.
Right-click on any of the installed package names, click
> .Click
to install the upgraded packages.After the server RPMs are upgraded, the program runs a script that does the following:
Stops job activity on the existing agent
Backs up the existing agent data to a retrievable format
Upgrades the RPMs for the selected PlateSpin Orchestrate patterns
WARNING:The preceding steps have been tested and validated in YaST. Using other methods to update packages in YaST have not proven successful.
Run the configuration program on the machine where the agents or clients are installed. You have two options for running the script:
Run the PlateSpin Orchestrate product configuration script. If you use this method, continue with the steps in Running the Product Configuration Script to Upgrade Agents.
Run the GUI Configuration Wizard. If you use this method, skip to the steps in Running the GUI Configuration Wizard to Upgrade Agents.
Use the following procedure if you want to use YaST, a graphical user interface, to upgrade the ZENworks Orchestrator packages. If you want to use the GUI Configuration Wizard to upgrade, see Upgrading ZENworks Orchestrator Agent Packages Using YaST.
Download the appropriate PlateSpin Orchestrate 2.0 ISO (32-bit or 64-bit), then prepare it for installation:
(Optional) Burn a DVD of the ISO image, mount the DVD, then extract the contents of the .iso folder to the local file system of the server.
(Optional) Extract the contents of the .iso folder to the local file system of the server.
At the command line, change to the directory where the Orchestrator .iso folder was extracted, then run the commands to upgrade ZENworks Orchestrator:
Run the following command:
rug sa -t zypp "http://<ip_address_of_local_server>/<directory_location_of_iso_files>"
NOTE:If you have chosen not to extract the files and you want to use the .iso image to upgrade, use the following command in this step:
rug sa -t zypp "iso:///?iso=$ISO_FILE_NAME&url=dir:///$PATH_TO_ISO/"
For example, for the ISO located at /root/Desktop/PlateSpin_Orchestrate-2.0.2.x86_64.iso, you could use this command:
rug sa -t zypp "iso:///?iso=PlateSpin_Orchestrate-2.0.2.x86_64.iso&url=dir:///root/Desktop/"
NOTE:If you are using an ftp server, extract the contents of the .iso to a folder, use the following command:
"ftp://<ip_address_of_local _server>/<directory_location_of_iso_files>"
Run the following command:
rug sub platespin
Run the following command:
rug up -y
Configure the PlateSpin Orchestrate Agent. You can use one of two information gathering methods to perform the configuration:
Run the PlateSpin Orchestrate product configuration script. If you use this method, continue with the steps in Running the Product Configuration Script to Upgrade Agents.
Run the GUI Configuration Wizard. If you use this method, skip to the steps in Running the GUI Configuration Wizard to Upgrade Agents.
After you upgrade the ZENworks Orchestrator 1.3 packages to PlateSpin Orchestrate 2.0.2, you should check the upgraded software packages to confirm that all of the earlier versions of the product components are now updated and which of the non-Novell packages have been updated.
To do this, change to the directory where the PlateSpin Orchestrate 2.0.2 .iso was extracted, then run the following command:
rpm -qa | grep 'novell-zen'
Compare the results of this command with the results you had with the check you performed before the upgrade (see Section 2.5.1, Checking the Current Version of the Orchestrator Agent). If some of the components have not been upgraded from the earlier version, the incompatibility between the components could cause unexpected behavior.
You can use one of two information gathering methods to configure upgraded PlateSpin Orchestrate packages:
If you decided to use the product configuration script to upgrade ZENworks Orchestrator Agents and Clients referred to Step 2.e,
Make sure you are logged in as root to run the configuration script.
Run the script, as follows:
/opt/novell/zenworks/orch/bin/config
When the script runs, the following information is initially displayed:
Welcome to PlateSpin Orchestrate. This program will configure PlateSpin Orchestrate 2.0 Select whether this is a new install or an upgrade i) install u) upgrade - - - - - - Selection [install]:
Enter u to select the option to upgrade to PlateSpin Orchestrate.
The following information is displayed:
Select products to upgrade # selected Item 1) no PlateSpin Orchestrate Monitoring Service (not installed) 2) no PlateSpin Orchestrate Server (not installed) 3) yes PlateSpin Orchestrate Agent 4) no PlateSpin Orchestrate VM Builder (not installed) Select from the following: 1 - 4) toggle selection status a) all n) none f) finished making selections q) quit -- exit the program Selection [finish]:
Toggle the items in the list that you want to upgrade to yes.
Enter f to finish the selection and begin the configuration.
Enter y or n to view or bypass a summary information screen of the configuration you have completed. If you chose to view the summary, you can proceed with the upgrade (by entering yes) or abort the upgrade (by entering no).
If you decided to upgrade ZENworks Orchestrator Agents and Clients to PlateSpin Orchestrate Agents using the GUI Configuration Wizard referred to in Step 2.e,
Run the script for the PlateSpin Orchestrate Configuration Wizard as follows:
/opt/novell/zenworks/orch/bin/guiconfig
The GUI Configuration Wizard launches.
IMPORTANT:If you only have a keyboard to navigate through the pages of the GUI Configuration Wizard, use the Tab key to shift the focus to a control you want to use (for example, a
button), then press the spacebar to activate that control.Click
to display the license agreement.Accept the agreement, then click
to display the PlateSpin Orchestrate Configuration Selection page.Select
, then click to display the PlateSpin Orchestrate components page.This page lists the components that are available for configuration (already installed). By default, all previously installed components are selected for configuration.
Select all the agent components you want to upgrade, then click
to display the Configuration Summary page of the configuration wizard.Commit the configuration.
(Optional) Click
to apply the configuration settings.Deselect the Configure now check box so that the wizard can write the configuration file to /etc/opt/novell/novell_zenworks_orch_install.conf without starting Orchestrator or applying the configuration settings.
NOTE:You can use this .conf file to start the Orchestrator Agent and apply the settings either manually or with an installation script. Use the following command to run the configuration:
/opt/novell/zenworks/orch/bin/config -rs
Click conf response file.
to display a message asking whether you want to overwrite the .To upgrade, you need to overwrite the existing file. When prompted, click
to overwrite the file and display the configuration page.Click
to dismiss the configuration wizard.Click
to begin the upgrade configuration for the ZENworks Orchestrator Service to the PlateSpin Orchestrate Service.When the configuration is complete, the Finish page of the configuration wizard is displayed.
Use the following procedure if you want to use the Add-on method to install just the Orchestrate Agent and the PlateSpin Orchestrate Monitoring Agent to a Red Hat Enterprise Linux (RHEL) 4 machine.
Shut down the Orchestrator Console on the machine where you intend to install the new PlateSpin Orchestrate Development Client.
Download the appropriate PlateSpin Orchestrate Server ISO (32-bit or 64-bit) to an accessible network location.
Mount the PlateSpin Orchestrate ISO as a loopback device as in the following example:
mount -o loop PlateSpin_Orchestrate-2.0.2.x86_64.iso /mnt
This mounts the ISO in the /mnt folder.
Navigate to the directory path where the RHEL 4 packages reside. For example:
cd /mnt/RHEL4
There are five packages in the /RHEL4 directory (the list below is for a 64-bit ISO):
Use the rpm command to install the packages:
rpm -Uvh *.rpm
If you encounter an issue regarding missing dependencies, you can use the up2date command to download and install those. For example, if you were missing libcaplso or libcap.so.1, you would run the following:
up2date --solvedeps=libcp.so,libcap.so.1
(Optional) Increase the heap size that the JVM handles to enable the Orchestrate Development Client to manage a large number of objects.
Open the zoc bash shell script at /opt/novell/zenworks/zos/server/bin.
Inside the script, find the following line where the JVM parameters are defined:
JVMARGS="-Xmx256m -Xms256m -Xmn64m -XX:NewSize=64m -XX:MaxNewSize=64m"
The -Xmx argument specifies the maximum heap size for the JVM*. Increasing the heap size prevents a JVM out of memory condition.
Change the value in the -Xmx argument from 256 MB to 512 MB.
Save the script.
NOTE:Upgraded agent and client software does not require you to execute the configuration script on RHEL 5 machines.
Use the following procedure if you want to use the Add-on method to upgrade the Orchestrator Console to a PlateSpin Orchestrate Development Client running on a Red Hat Enterprise Linux (RHEL) 5 machine.
Shut down the Orchestrator Console on the machine where you intend to install the new Orchestrate Development Client.
Download the appropriate PlateSpin Orchestrate ISO (32-bit or 64-bit) to an accessible network location.
Mount the PlateSpin Orchestrate ISO as a loopback device as in the following example:
mount -o loop PlateSpin_Orchestrate-2.0.2.x86_64.iso /mnt
This mounts the ISO in the /mnt folder.
Navigate to the directory path where the RHEL 5 packages reside. For example:
cd /mnt/RHEL5
There are five packages in the /RHEL5 directory:
Use the rpm command to install the packages:
rpm -Uvh *.rpm
If you encounter an issue regarding missing dependencies, you can use the up2date command to download and install those. For example, if you were missing libcaplso or libcap.so.1, you would run the following:
up2date --solvedeps=libcp.so,libcap.so.1
(Optional) Increase the heap size that the JVM handles to enable the console to manage a large number of objects.
Open the zoc bash shell script at /opt/novell/zenworks/zos/server/bin.
Inside the script, find the following line where the JVM parameters are defined:
JVMARGS="-Xmx256m -Xms256m -Xmn64m -XX:NewSize=64m -XX:MaxNewSize=64m"
The -Xmx argument specifies the maximum heap size for the JVM. Increasing the heap size prevents a JVM out of memory condition.
Change the value in the -Xmx argument from 256MB to 512MB.
Save the script.
NOTE:Upgraded agent and client software does not require you to execute the configuration script on RHEL 5 machines.
The PlateSpin Orchestrate Agent and the PlateSpin Orchestrate Development Client are supported on Windows* 2003 and Windows XP. To upgrade, we recommend that you use the methods native to the OS to uninstall an older agent or client from the machine, then install the new 2.0 release of the Orchestrate Agent or the Orchestrate Development Client.
Use the following steps to download the PlateSpin Orchestrate component you want to install:
Download the appropriate PlateSpin Orchestrate 2.0.2 ISO (32-bit or 64-bit) to an accessible network location.
Create a DVD from the ISO or use a tool that will mount the ISO.
Navigate to the directory path where the Windows packages (Windows 2003 or Windows XP) reside.
Double-click the appropriate file (.exe) to launch an installation and configuration wizard for the console.
The Administrator Information Page page includes installers for the PlateSpin Orchestrate 2.0 Agents and Clients for Windows and various Linux/UNIX machines (see Installing the Orchestrate Agent from the Administrator Information Page
in the PlateSpin Orchestrate 2.0 Installation and Configuration Guide). The page has no facility for upgrading an agent or client.
To upgrade, we recommend that you use the methods native to the OS to uninstall an older agent or client from the machine, then install the new 2.0 release of the Orchestrate Agent or Orchestrate Development Client.