After you've migrated your ZENworks 6.6.x data to the ZENworks 7 Data Store, you are ready to upgrade the ZENworks 6.6.x Red Carpet Daemon (rcd) to the ZENworks 7 Agent on your managed devices.
In order to upgrade the Red Carpet Daemon (rcd) to the ZENworks 7 Agent (zmd), you can create a ZENworks 6.6.x transaction to install the ZENworks Agent.
The following steps provide high-level instructions for creating the transaction. The instructions assume that you know how to use the ZENworks 6.6.x Web administrative interface to complete the individual steps. If you need help, please refer to the Novell ZENworks 6.6.1 Linux Management Administration Guide.
To create the transaction:
Using the ZENworks 6.6.x Web administrative interface, create a new group (for example, ZLM7Upgrade) that contains all the servers and workstations you want to upgrade.
(Conditional) If you implemented activation keys by groups, add the new group to an appropriate activation key.
Create a new channel (for example, ZLM7Agent) and add the ZENworks Agent packages.
The packages are located on the Novell ZENworks 7 Linux Management CD in the /data/packages directory. For each platform, you need to add packages from several /data/packages subdirectories.
For example, if you are updating workstations running the Novell Linux Desktop 9 platform, you would add all of the packages (*.rpm) from the following directories:
Additionally, when adding the packages, you would specify nld-9-i586 as the target.
You can use the ZENworks 6.6.x Web administrative interface to add the packages, or you can use the rcman command line interface. The rcman command syntax for adding packages to a channel is:
rcman -U=username -P=password --targets=target_platforms channel packages
To add the Novell Linux Desktop 9 packages listed above, use the following commands, replacing username and password with the appropriate administrator name and password:
cd /data/packages/nld-9-i586/nld-9-i586rcman -U=username -P=password --targets=nld-9-i586 ZLM7Agent *.rpm
cd /data/packages/zlm-7-client/nld-9-i586rcman -U=username -P=password --targets=nld-9-i586 ZLM7Agent *.rpm
cd /data/packages/zlm-7-runtime/nld-9-i586rcman -U=username -P=password --targets=nld-9-i586 ZLM7Agent *.rpm
Create a new transaction, adding the ZLM7Agent channel and the ZLM7Upgrade group to the transaction.
Create the following post-transaction script for the transaction.
The post-transaction script provides the ZENworks 7 registration information for the device, disables the Red Carpet Daemon (rcd) as the initial script, stops the daemon, and starts the ZENworks Agent (zmd).
----- begin script ---
#!/bin/bash
echo "https://server.com" >/etc/opt/novell/zenworks/zmd/initial-service
echo "key" >>/etc/opt/novell/zenworks/zmd/initial-service
# if you are in rhel, uncomment next line to disable rcd as init script
# chkconfig --levels 2345 rcd off
# If you are in sles, uncomment the next line to diable rcd as init script
#chkconfig -d rcd
/etc/init.d/rcd stop && /etc/init.d/novell-zmd start
---- end script ----
Replace https://server.com with the address of the ZENworks 7 Server. If you want to use a key to register the device, replace key with the name of the registration key.
Run the transaction when you are ready to upgrade the devices.