When you double-click on the Altiris Agent in version 7 of Notification Server, go to the Tasks tab, and press the "Reset Agent" button, what does this do?
In NS7 SP1 and SP2, it stops the task agent, restarts it, and then forces a check for new servers. Restarting the Altiris Agent doesn't do the last step in that process unless the client has never checked in before. A restart of the Agent will look to see if it has a task server known, and if so, will not try to connect to another. In the logs, you'll see this:
CTaskServerNetCommsConnection::GetServersAndRegister(): Not getting new server list because we have <thepreviousserver> saved
Only if the client has not yet found a task server will it request a list from the NS. A Reset Agent though will force this check. You can see the process in the logs, and it looks like this (the server list returned is highlighted): <![CDATA[CTaskAgentBase::OnStopRunningTasks(): Stop running tasks]]></event>
<![CDATA[CTAgent::Stop(): raw_Stop called, sending all task status...]]></event>
Notice that the list of servers matches the highlighted text above, but that the logs did not reflect the actual web page pinged. However, the IIS logs on the server (Windows\System32\LogFiles\W3SVC1\exXXXXXX.log) does partially show this. In that log, the entry looks like this:
GET /Altiris/TaskManagement/CTAgent/GetClientTaskServers.aspx ResourceGuid=faa4dab2-274c-44be-bbf6-9f7cdbe5eef8 80 <server>\<identity>
NOTE: The web page referred to in that KB can not be found and modified on the actual file system of the NS. This page is derived, and stored in memory on the NS, so it'll work, but you can't actually see/modify the file/process.
Imported Document ID: TECH44413
Subscribing will provide email updates when this Article is updated. Login is required.