Timing issue: Registration fails when imaging with ZLM7.2

  • 7000782
  • 30-Jun-2008
  • 30-Apr-2012

Environment

Novell ZENworks 7.2 Linux Management - ZLM7.2

Situation

Sometimes novell-zmd starts earlier than novell-zislnxd and tries to delete deviceid and secret files. This causes unwanted registration issues when imaging.  This is a timing issue and does not occur all of the time.  The process novell-zislnxd deletes /etc/zmd/deviceid and /etc/zmd/secret because "Just Imaged Flag" is enabled in novell-zislnx.conf and there is no GUID in image safe data.

Resolution

To obtain access to a hot patch with the fix for this problem, follow the instructions in KB 3469853 "Updates to Novell ZENworks 7.2 Linux Management" which can be found at https://www.novell.com/support

Additional Information

Steps to Reproduce this problem:
1. Install ZLM 7.2 Server to SLES 10 as Imaging Server. Configure Preboot service.
2. Install ZLM Agent to SLES 10(machineA) and registered it as device in ZCC.
   (Do not delete /etc/zmd/deviceid and /etc/zmd/secret from ZLM Agent machine)
   (GUID is 1234567abc)
3. Shutdown ZLM Agent machine and start with network boot to use PXE (or with bootcd.iso)
4. Select "manual mode"
5. Upload image of the device by img command or wizard
   # img makep ZLM_Server_IPADDRESS //ZLM_Server_IPADDRESS/images/archive.zmg
6. Finish imaging successfully.
7. Start another new machineB(no OS and there are no data in image safe data area) with network boot to use PXE (or with bootcd.iso)
8. Select "manual mode"
9. Restore image of the device by img command or wizard
   # img restorep ZLM_Server_IPADDRESS
//ZLM_Server_IPADDRESS/images/archive.zmg
10. Finish restoring successfully
11. Start machineB
12. novell-zislnxd starts
13. novell-zmd starts. There are still /etc/zmd/deviceid and /etc/zmd/secret(GUID is 1234567abc) because deviceid and secret are not deleted on step2. And then,  machineB is registered into ZCC. There was information about machineA(GUID is 1234567abc), but machienA is overwritten by MachineB.
14. novell-zislnxd deletes /etc/zmd/deviceid and /etc/zmd/secret because Just Imaged Flag is enabled in novell-zislnx.conf and there are no GUID in image safe data.
The problem is machine B does not have /etc/zmd/deviceid and /etc/zmd/secret  on step14.