This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SEC - "Awaiting Policy Transfer" randomly appearing

SEC Version: 4.7.0.13

Client Version: 9.7

----------------------------------------

Hey,

this has been something on going for sometime now and I was hoping I might be able to find a permanent solution.

Basically what happens is I get random computers that one day decide to report the message "Awaiting Policy Transfer". Rebooting the machines does not correct the message, forcing the machine to do an update does not correct the message either. So far the only thing that seems to work is to push the client back down to the computer. The message is cleared and then sometimes with the same machine it reappears, other times it does not.

It is not specific to any one computer, it just seems to be completely random with no rhyme nor reason to why it appears.

I have done the stopping and starting of the "Sophos Message Router" service test to see if the clients are communicating back to the SEC. When I stop the service, I do receive a "red x" over the client in question and the "x" goes away when I start the service back up.

The message doesn't seem to ever clear itself once it appears, the number of clients that report this message seems to climb unless I push the client back down to the computer.

I am going to continue to monitor to see if the clients eventually do correct themselves, but I suspect they do not.

Does anyone else have this issue or have you run into this issue? If so, how did you correct it?

Any advice would be great!

Thank you

:16273


This thread was automatically locked due to age.
Parents
  • Hi,

    Well the theory sounds promising based on the users of machines reporting this state being away recently.

    The "Envelopes" directory is used by the Sophos Message Router in order to persist messages until they are delivered.  It exists wherever there is a message router.  It can be found in either:

    "\Programdata\Sophos\Remote Management System\3\Router\Envelopes \"

    or

    "\Documents and settings\all users\application data\sophos\Remote Management System\3\Router\Envelopes \"

    depending on the OS.

    So for example, if you're in SEC and you change a SAV policy, the management service will create a message for each client contained in the groups affected by the policy in question.  These messages will then be given to the server message router to send to the clients. For those clients that are logged on to the server router (connected) they should be delivered almost immediately.  However for the machines that are disconnected the messages will be queued in the "Envelopes" directory as .msg files.  

    At this point one of two things can happen,  Either the previously "disconnected" client(s) comes online, log on to the server router and pick up the policies or it doesn't before the message times out.  Messages have to timeout as there is no way SEC can distinguish between a machine that will come back at some point or will not.  If there was no persistence, you'd only ever be able to send polices to machines that were online which would be a real administrative burden.  Message persistence also guarantees that the messages will reach their intended destination even under failure but this is more important with upstream alerts.

    So for SEC 4.7 the Time To Live (TTL) values for downstream messages (set-config and do-action) as set by the management service at 4 days (96 hours) at the point the messages are created (I tested this just now by performing a set config to a disconnected machine, I then found the .msg file that represented this message, grabbed the TTL and converted it).  If you take a .msg file and open it in a text editor, you can see a TTL line followed by a number.  This number if a time stamp in Unix Epoch time.  So if you paste it into something like: http://www.epochconverter.com/ you can see when the message will expire.

    The reason that the number of. msg files will increase in the envelopes directory if you increase the TTL is therefore due to messages intended for disconnected endpoints will remain in the system longer should those machines not check back in in a timely manor

    So with it being 4 days or 96 hours or 5760 minutes, I tested adding the key: MessagingSetConfigurationTimeout and setting the value to 24 * 60 * 60 =  86400 decimal (1 day in seconds).  Sure enough the TTL set the expiry time to 1 day in the future.

    So 604800 would be 7 days in seconds (24*60*60*7).  This might be something you could try.

    Regards,

    Jak



     

    :16289
Reply
  • Hi,

    Well the theory sounds promising based on the users of machines reporting this state being away recently.

    The "Envelopes" directory is used by the Sophos Message Router in order to persist messages until they are delivered.  It exists wherever there is a message router.  It can be found in either:

    "\Programdata\Sophos\Remote Management System\3\Router\Envelopes \"

    or

    "\Documents and settings\all users\application data\sophos\Remote Management System\3\Router\Envelopes \"

    depending on the OS.

    So for example, if you're in SEC and you change a SAV policy, the management service will create a message for each client contained in the groups affected by the policy in question.  These messages will then be given to the server message router to send to the clients. For those clients that are logged on to the server router (connected) they should be delivered almost immediately.  However for the machines that are disconnected the messages will be queued in the "Envelopes" directory as .msg files.  

    At this point one of two things can happen,  Either the previously "disconnected" client(s) comes online, log on to the server router and pick up the policies or it doesn't before the message times out.  Messages have to timeout as there is no way SEC can distinguish between a machine that will come back at some point or will not.  If there was no persistence, you'd only ever be able to send polices to machines that were online which would be a real administrative burden.  Message persistence also guarantees that the messages will reach their intended destination even under failure but this is more important with upstream alerts.

    So for SEC 4.7 the Time To Live (TTL) values for downstream messages (set-config and do-action) as set by the management service at 4 days (96 hours) at the point the messages are created (I tested this just now by performing a set config to a disconnected machine, I then found the .msg file that represented this message, grabbed the TTL and converted it).  If you take a .msg file and open it in a text editor, you can see a TTL line followed by a number.  This number if a time stamp in Unix Epoch time.  So if you paste it into something like: http://www.epochconverter.com/ you can see when the message will expire.

    The reason that the number of. msg files will increase in the envelopes directory if you increase the TTL is therefore due to messages intended for disconnected endpoints will remain in the system longer should those machines not check back in in a timely manor

    So with it being 4 days or 96 hours or 5760 minutes, I tested adding the key: MessagingSetConfigurationTimeout and setting the value to 24 * 60 * 60 =  86400 decimal (1 day in seconds).  Sure enough the TTL set the expiry time to 1 day in the future.

    So 604800 would be 7 days in seconds (24*60*60*7).  This might be something you could try.

    Regards,

    Jak



     

    :16289
Children
No Data