How to manually set ZENworks Adaptive agents to get a system update

  • 7001305
  • 08-Sep-2008
  • 20-Nov-2013

Environment

Novell ZENworks Configuration Management with Support Pack 1 - 10.1
Novell ZENworks Configuration Management 10 System Update
Novell ZENworks Configuration Management 11.2 System Update

Situation

Adaptive agents are not updating to latest system update.
 
How to manually update the Adaptive agent to a specific update.

Resolution

How to check if workstations are assigned to an update.
 
  1. Get the GUID of the device from either of the following places.
    1. Launch the ZCC, go to devices, and select the device that did not update. On the summary tab of the device it will have a GUID number for that device. Copy the device number. OR
    2. Open the c:\program files\novell\zenworks\conf\DeviceGUID file on the device that is not updating and copy the GUID from the file.
  2. Once the device GUID has been found and copied go to the following URL. https://<zenserverdnsname>/zenworks-systemupdate
     
     
  3. Select the "Test service" hyperlink.
     
     
  4. Select the 2nd hyperlink, the getAssignedSystemUpdates function.
  5. Paste in the Device GUID in the text field.
  6. Select the "Invoke" button.
  7. This will return values if it is assigned to a system update, if it just returns a "assignedUpdate[]" then there is no update assigned to the device.
     

 


How to manually assign an system update to a device.
 
  1.  
     
  2. Select the "Test service" hyperlink.
  3. Select the first hyper link in the list, "setDeviceUpdateStatus".
  4. Enter the Device GUID in the first field.
  5. Enter the text "ASSIGNED" in the second and third fields.
  6. Skip the fourth field.
  7. Enter the system update GUID for the fifth field. The GUID of the update can be found in ZENWORKS_HOME\work\content-repo\system-update\. The folder name is the GUID of the update. For the 10.0.3.2 update the GUID is 5754C9D3833A435386C200E70E17A0B6.
    The GUID is also available on the ZCC if you drill down into the System Update to see details GUID.
  8.  
     
  9. Then click the "Invoke" button.
  10. The webbrowser will then show a return status of '0'. That is what should be returned. If it returns an exception then it is already assigned.
  11. Now refresh the workstation by either manually right clicking the Zicon on the workstations and selecting refresh or send a Quick Task to refresh the device.
  12. If the administrator would like to update all devices that do not have an UpdateStatus 'FINISHED', use the following sql query to update all of them.
     
    update zSystemUpdateDeviceInfo set UpdateStatus='ASSIGNED' where UpdateStatus!='FINISHED' and UpdateUID = strtouuid('5754C9D3833A435386C200E70E17A0B6');

    strtouuid('<GUIDofupdate>') = The GUID of the udpate that needs to be applied.