设为首页 收藏本站
查看: 541|回复: 0

[经验分享] Client Notification in System Center 2012 Configuration Manager SP1

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2018-6-18 14:06:26 | 显示全部楼层 |阅读模式
Overview
  Historically, a pull-based client communication mechanism is employed in the System Center Configuration Manager line of products. Asa result, in large scale enterprise environments, when an administratorinitiates a task, it would take minutes or even hours for each client to receive that task, run it and then report the result back to the server.  For common scenarios it is an appropriate trade off, however itis problematic if such tasks are mission-critical and time sensitive (e.g., anti-malware operations). The latency is also more obvious in data center environments where servers only have a limited amount of time reserved for management tasks. How useful would it be to push IT administration tasks much faster ? Configuration Manager 2012 SP1 provides this capability by providing a fast “client notification” channel between server and the managed clients.
What is “Client Notification”?
  Client notification is, by popular demand, a new and exciting infrastructure component introduced in Configuration Manager 2012 SP1, which can provide a fast channel that a Configuration Manager administrator can use to notify clients to initiate time-sensitive tasksas soon as possible.  The communication channel is push-based instead of dependent on the client policy polling interval. By using client notification, clients can establish a persistent connection with a management point. Subsequently, the server can notify the client of time-sensitive or urgent tasks over the channel and the client can perform an action in response to the message. In SP1, all System Center Endpoint Protection operations and the “Download Computer Policy” clientaction are implemented by using this channel.
How “Client Notification” works
  Client notification is an end-to-end infrastructure composed ofnotification manager on the site server, notification server on the management point and notification agent on the client.
  1)  Notification Manager
  Notification manager is a component ofthe site server. Its responsibility is to generate push messages for client notification-enabled actions, update the client online presence status and client notification push results in the site database.
  2)  Notification Server
  Notification server is the server component on the management point. It is automatically deployed and installed on management points, including on secondary sites. Notification server performs the following functions:

  •   Hosts both TCP and HTTP listeners in order to support client communications over either protocol.
  •   Listens on the notification service broker queue in the site database to detect when push messages are generated.
  •   Pushes the messages to online clientsover the channel and periodically generates a file containing results  which will be stored in the site database. These results can be monitored from the Client Operations node of the Configuration Manager console.
  •   Maintains a list of online clients and periodically generates online info into a file which is sent to the site server.
  3)  Notification Agent
  Notification agent is a client component hosted in CCMEXEC.exe. As a part of client initialization, it will establish a persistent connection with notification server. For those clients that communicate via a secondary site, they will establishconnection with the notification server on the proxy management point. It will try TCP mode first, then fallback to HTTP mode if it fails (due to firewalls or Internet proxies that do not allow TCP traffic).  If theconnection is dropped (e.g. because of a network issue), notification agent will attempt to reconnect.
DSC0000.jpg

  Client notification supports both the TCP and HTTP communication protocols. TCP is the primary mode used, which requires anextra port to be opened in firewalls, and HTTP is the fallback option and doesn’t need any prerequisite configuration. The respective workflowis nearly the same. Take TCP mode as an example.
  1)  Clientnotification Infrastructure is by default enabled end-to-end. During client initialization, notification agent will first attempt to establish a persistent TCP Connection to notification server on the current management point. Once successful, notification agent will periodically send a keep-alive message every 15 minutes to maintain the connection.  If the client fails to establish a TCP Connection, notification agent will try the HTTP protocol.
  2)  Notificationserver on the management point computer will accept the client’s connection request   after TLS (Transport Layer Security) authenticationis passed.  Thus notification server will manage all active connectionsand generate online status data every 5 minutes to be placed in <Site Server Install Dir>inboxesbgb.box.
  3)  Notification manager will read the Online files (*.BOS) from bgb.box, and update the online presence info in the site database.
  4)  Whenan administrator initiates a supported client operation from the Configuration Manager console, that action will be translated into a client notification message and placed into the database service broker queue.
  5)  Notificationserver will detect the message request and get the message from the service broker queue and then push the message to online clients over the persistent channel.
  6)  Uponreceiving the message over the channel, notification agent will performthe corresponding action based on the message content: either notify the Endpoint Protection client to perform an action (e.g. quick scan), or notify the client to request machine policy as soon as possible. The notification result will be sent back to notification server.
  7)  Notificationserver summarizes the task push results periodically and exports them into files to be placed in <Site Server Install Dir>inboxesbgb.box.
  8)  Notification manager processes the task push result files (*.BTS) and updates the site database.

  Note: While this has been an attempt to provide interested administrators with more information about how the client notification channel works, this article contains many implementation details (like timeout lengths) that are subject to change in future>How to use “Client Notification”

  •   Configure the client notification port.
      By default, client notification communication uses TCP port 10123. In the Configuration Manager console, click Administration, Expand Site Configuration, click Sites, open Properties dialog, from here you can configure the TCP port value in the Ports tab. You might have to configure the firewall on the management point, clients, and any intervening firewalls to allow communication over this new port. However, client notification can fall back to using HTTP and HTTPS.
    DSC0001.jpg

  •   Notify Endpoint Protection Agent to perform action as soon as possible.
      Among Endpoint Protection operations, Full Scan and Quick Scan are one-time operations, and therefore only depend on the client notification channel. Other operations will go through both the client notification channel as well as the traditional normal policy channel. From a client notification perspective, the validity period for a task is one hour. For example, if the clients are offline after task gets triggered, the initial push will fail. If the client gets online within one hour of the task push, then notification server will re-push the task to clients. If client gets online in more than 1 hour, the task will not be pushed as it will have expired.
    DSC0002.jpg

  •   Notify clients to download computer policy right now.
      DownloadComputer Policy is a newly added client operation in Configuration Manager SP1. It can notify the selected clients or collection to download computer policy as soon as possible outside the configured client policy polling interval. In the Configuration Manager console, click Assets and Compliance, in theAssets and Compliance workspace, click in the Collections group, select the device collection containing the computers that you want to download, in the Home tab, in the Collections group, click Client Notification and then click Download Computer Policy.  Whenyou perform this client operation on a collection, all online clients within the hierarchy belonging to this collection will be notified. You can also notify multiple computers specifically instead of the whole collection to download policy as soon as possible.
    DSC0003.jpg

      There is also a confirmation dialog that pops up to inform you of the estimated number of online clients.
    DSC0004.jpg

      The client will request policy from the management point as soon as possible as shown in the figure below:
    DSC0005.jpg

  •   Monitor Client Operation Status.
      You can monitor the client operation status in the Client Operations node in the Monitoring workspace. If the task is successfully delivered to clients, it will be counted in the Success column.
    DSC0006.jpg

Troubleshooting Tips

  •   Notification manager and notification server provide rich status messages that can help you monitor client notification tasks. In the Configuration Manager console, click Monitoring, expand System Status, click Component Status, select SMS_NOTIFICATION_SERVER or SMS_NOTIFICATION_MANAGER, and then click Show Messages to see status messages for this component.
    DSC0007.jpg

  •   You can also use the following log files to help you  troubleshoot client notification problems.
      Component
      Log
      Notification Manager
      <smssiteserver setup dir>logsbgbmgr.log
      Notification Server
      <mp setup dir>logsBGBServer.log
      <sms_ccm dir or client setup dir>logsBgbHttpProxy.log
      For installation issues:
      <mp setup dir>logsBgbSetup.log
      <mp setup dir>logsbgbisapiMSI.log
      Notification Agent
      <client setup dir>logsCcmNotificationAgent.log
  原文地址:https://blogs.technet.microsoft.com/enterprisemobility/2012/09/27/fast-channel-for-system-management-client-notification-in-system-center-2012-configuration-manager-sp1/

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-525460-1-1.html 上篇帖子: 快速安装windows系统 下篇帖子: 使用windows调用Linux远程桌面
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表