"zac sp /clear" does not change proxy_settings.xml file

  • 7003944
  • 22-Jul-2009
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management with Support Pack 2 - 10.2

Situation

Running zac sp /clear does not modify or remove proxy_settings.xml file from cache\zmd\settings .

Resolution

This is working as designed.

Additional Information

"zac sp " is used to set a proxy if:

  1. No proxy is configured on the network (ZCC Configuration/Infrastructure/HTTP Proxy setting).
  2. To override the setting from the network.

The file %ZENworks_Home%\cache\zmd\settings\PROXY_SETTINGS.xml holds the settings made on the network in ZCC.  For linux the location is /var/opt/novell/zenworks/zmd/cache/settings/PROXY_SETTING.xml

Whereas the override proxy settings that can be set using the "zac sp " command are stored in the local ZEN Cache.  To view, run "zac sp " (no parameters).  To find in zac zeninfo files, see agentCacheInfo\zmd\ZenCache\index.html and click the link for PROXY_OVERRIDE .

These override settings can be removed from the local ZEN Cache using the "zac sp /clear " command. This does not remove the proxy settings that are made in ZCC and come down to the managed device as the XML file.

The "zac sp /clear " command may leave the impression that it allows deleting the zone-wide proxy settings, but it simply removes a persistent override of the setting from the local ZEN Cache.

The message "using the default settings " that is shown after executing the command means that the network settings will be used again (or not if no proxy was configured).

If there is a proxy configured, it is stored in the XML file.   Until the ZCC configuration is modified, the XML file settings will persist, and the deleting the XML file locally will have no effect as it will be replaced.
 
A symptom of this problem would be busy errors in zmd-messages.log while hitting that server, even on the server itself.  For example:
 
[    Found host localhost status: Busy] [] []
[   Skipping IP address 127.0.0.1, status Busy] [] []