Hi Abrar Adil S,
Thanks for question in Microsoft Q&A forum,
You seem to be facing challenges with distributing content to the Cloud Management Gateway (CMG) in SCCM, specifically related to the health of the load balancer and VM scale set (VMSS). Below is a step-by-step guide to help you troubleshoot and resolve this issue.
Steps to Troubleshoot CMG Content Distribution:
- Check Health Probe Configuration:
- Ensure that your health probe settings for the Load Balancer are configured correctly. If your services are marked unhealthy, they won't receive traffic. Make sure the probe can reach the backend instances and that the necessary ports are open.
- You can review the load balancer’s health probe configuration, ensuring it matches the backend setup.
- Evaluate Backend Health:
- Use Azure Monitor to check the health of your backend resources. The metric
DipAvailabilitywill indicate if your VMs are responding correctly. Ensure the count of successful health probes matches the number of instances in your backend pool. - (Reference: Azure Monitor Metrics Showing Backend Health)
- Use Azure Monitor to check the health of your backend resources. The metric
- Session Persistence Settings:
- Review your Load Balancer's session persistence settings. If set to
Source IPorSource IP and Protocol, it may lead to uneven load distribution. Consider setting it toNonefor proper load distribution. - (Reference: Azure Load Balancer Load Distribution)
- Review your Load Balancer's session persistence settings. If set to
- Check for NSG Issues:
- Make sure that there are no Network Security Groups (NSGs) blocking the health probes. If the probes can’t access the VMs, they will be considered unhealthy.
- (Reference: NSGs and Health Probes)
- Look for Errors in Logs:
- Check the
PkgXferMgr.logfor any transfer issues. Look out for specific error codes like80070070, which indicate space issues. Make sure the disk where packages are stored has enough space. - (Reference: Error 80070070 Troubleshooting)
- Check the
- Consider Flushing BranchCache:
- If using BranchCache, consider flushing the publication cache if you suspect it might be causing issues during distribution. Use the command:
netsh branchcache flush - (Reference: Error 80070070 Cause and Resolution)
- If using BranchCache, consider flushing the publication cache if you suspect it might be causing issues during distribution. Use the command:
I hope this helps you get to the bottom of the issue! If you need further clarification or assistance, feel free to ask.
References:
- Load Balancer is not evenly distributing the traffic load
- Error 80070070 during content distribution to a CMG or cloud DP
- CMG maintenance task fails
- CMG performance and scale
Please do not forget to
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.