13.23 RemovePrimaryMS

Use this Knowledge Script to remove the agent’s designated primary and secondary management servers. This script removes the designations for the current site. To remove designations for another site, you must run this script from that site.

For performance reasons, you should always designate an agent’s primary management server and if there is one, a secondary management server, within a site. To change the management server designations for an agent, use the SetPrimaryMS script.

This script does not change the authorized list of management servers with which the agent can communicate.

Before using this script, make sure the agent is configured to authorize communication with a management server by running the AgentConfigMSRestrictions Knowledge Script. If the agent is not authorized to communicate with a management server and you remove the agent’s management server designations, the client computer cannot communicate with AppManager. To resolve this problem, you must manually edit the registry on the managed client computer to specify an authorized management server list in the \HKEY_LOCAL_MACHINE\SOFTWARE\NetIQ\4.0\NetIQMC\Security\AllowMS.

13.23.1 Resource Objects

Windows 2003 Server or later

13.23.2 Default Schedule

The default interval for this script is Run once.

13.23.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Raise event when primary and backup management server setting removed?

Set to y to raise an event when the managed client’s primary and secondary (backup) management servers have been successfully removed.

An event is always raised if the job fails.

The default is n.

Event severity when primary and backup management server setting removed

Set the event severity level, from 1 to 40, to indicate the importance of the event when the job completes successfully. The default severity level is 25 (blue event indicator).