Merge pull request #10054 from MicrosoftDocs/main
publish main to live, 10:30 AM 7/24/24
@ -1185,6 +1185,11 @@
|
|||||||
"redirect_url": "/windows/compatibility/",
|
"redirect_url": "/windows/compatibility/",
|
||||||
"redirect_document_id": false
|
"redirect_document_id": false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source_path": "windows/deployment/do/waas-delivery-optimization-setup.md",
|
||||||
|
"redirect_url": "/windows/deployment/do/delivery-optimization-configure",
|
||||||
|
"redirect_document_id": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source_path": "windows/deployment/update/plan-determine-app-readiness.md",
|
"source_path": "windows/deployment/update/plan-determine-app-readiness.md",
|
||||||
"redirect_url": "/windows/compatibility/windows-11/testing-guidelines",
|
"redirect_url": "/windows/compatibility/windows-11/testing-guidelines",
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
- name: Update Baseline
|
- name: Update Baseline
|
||||||
href: update/update-baseline.md
|
href: update/update-baseline.md
|
||||||
- name: Set up Delivery Optimization for Windows client updates
|
- name: Set up Delivery Optimization for Windows client updates
|
||||||
href: do/waas-delivery-optimization-setup.md?context=/windows/deployment/context/context
|
href: do/delivery-optimization-configure.md?context=/windows/deployment/context/context
|
||||||
- name: Configure BranchCache for Windows client updates
|
- name: Configure BranchCache for Windows client updates
|
||||||
href: update/waas-branchcache.md
|
href: update/waas-branchcache.md
|
||||||
- name: Prepare for deployment with Configuration Manager
|
- name: Prepare for deployment with Configuration Manager
|
||||||
|
@ -11,10 +11,12 @@
|
|||||||
href: waas-delivery-optimization-faq.yml
|
href: waas-delivery-optimization-faq.yml
|
||||||
- name: Configure Delivery Optimization for Windows
|
- name: Configure Delivery Optimization for Windows
|
||||||
items:
|
items:
|
||||||
- name: Set up Delivery Optimization for Windows
|
- name: Delivery Optimization configuration considerations
|
||||||
href: waas-delivery-optimization-setup.md
|
href: delivery-optimization-configure.md
|
||||||
- name: Monitor Delivery Optimization for Windows
|
- name: Monitor Delivery Optimization for Windows
|
||||||
href: waas-delivery-optimization-monitor.md
|
href: waas-delivery-optimization-monitor.md
|
||||||
|
- name: Troubleshoot Delivery Optimization
|
||||||
|
href: delivery-optimization-troubleshoot.md
|
||||||
- name: Configure Delivery Optimization settings using Microsoft Intune
|
- name: Configure Delivery Optimization settings using Microsoft Intune
|
||||||
href: /mem/intune/configuration/delivery-optimization-windows
|
href: /mem/intune/configuration/delivery-optimization-windows
|
||||||
- name: Resources for Delivery Optimization
|
- name: Resources for Delivery Optimization
|
||||||
@ -27,8 +29,6 @@
|
|||||||
href: delivery-optimization-proxy.md
|
href: delivery-optimization-proxy.md
|
||||||
- name: Testing Delivery Optimization
|
- name: Testing Delivery Optimization
|
||||||
href: delivery-optimization-test.md
|
href: delivery-optimization-test.md
|
||||||
- name: Delivery Optimization Troubleshooter
|
|
||||||
href: https://aka.ms/do-fix
|
|
||||||
- name: Microsoft Connected Cache
|
- name: Microsoft Connected Cache
|
||||||
items:
|
items:
|
||||||
- name: What is Microsoft Connected Cache?
|
- name: What is Microsoft Connected Cache?
|
||||||
|
243
windows/deployment/do/delivery-optimization-configure.md
Normal file
@ -0,0 +1,243 @@
|
|||||||
|
---
|
||||||
|
title: Configure Delivery Optimization for Windows
|
||||||
|
description: In this article, learn about the different configuration considerations to optimize Delivery Optimization (DO) in your environment.
|
||||||
|
ms.service: windows-client
|
||||||
|
ms.subservice: itpro-updates
|
||||||
|
ms.topic: how-to
|
||||||
|
author: cmknox
|
||||||
|
ms.author: carmenf
|
||||||
|
ms.reviewer: mstewart
|
||||||
|
manager: aaroncz
|
||||||
|
ms.collection:
|
||||||
|
- tier3
|
||||||
|
- essentials-get-started
|
||||||
|
ms.localizationpriority: medium
|
||||||
|
appliesto:
|
||||||
|
- ✅ <a href=https://learn.microsoft.com/windows/release-health/supported-versions-windows-client target=_blank>Windows 11</a>
|
||||||
|
- ✅ <a href=https://learn.microsoft.com/windows/release-health/supported-versions-windows-client target=_blank>Windows 10</a>
|
||||||
|
- ✅ <a href=https://learn.microsoft.com/windows/deployment/do/waas-delivery-optimization target=_blank>Delivery Optimization</a>
|
||||||
|
ms.date: 07/23/2024
|
||||||
|
---
|
||||||
|
|
||||||
|
# Configure Delivery Optimization (DO) for Windows
|
||||||
|
|
||||||
|
This article describes the different configuration considerations to optimize Delivery Optimization (DO) in your environment.
|
||||||
|
|
||||||
|
## Delivery Optimization set up considerations
|
||||||
|
|
||||||
|
Use this checklist to guide you through different aspects when modifying Delivery Optimization configurations for your environment.
|
||||||
|
|
||||||
|
1. Prerequisites to allow Delivery Optimization communication
|
||||||
|
1. Evaluate Delivery Optimization policies based on the following items:
|
||||||
|
|
||||||
|
* Network topology
|
||||||
|
* Organization size
|
||||||
|
* System resources
|
||||||
|
* Improve P2P efficiencies
|
||||||
|
|
||||||
|
1. Using Connected Cache (MCC)
|
||||||
|
1. Choose where to set Delivery Optimization policies
|
||||||
|
|
||||||
|
## 1. Prerequisites to allow Delivery Optimization communication
|
||||||
|
|
||||||
|
:::image type="content" source="images/do-setup-allow-communication.png" alt-text="Screenshot of the considerations to allow Delivery Optimization communication." lightbox="images/do-setup-allow-communication.png":::
|
||||||
|
|
||||||
|
Delivery Optimization (DO) is used to download Microsoft content from different sources (HTTP source, peers, and/or dedicated cache solution). It requires communication between the DO client and services to find the best and most reliable sources of content. For this technology to work, the DO client running on the Windows device must be able to reach the DO cloud service.
|
||||||
|
|
||||||
|
Find out more about the requirements for Firewall, Proxy, and Port settings to enable Delivery Optimization communication.
|
||||||
|
|
||||||
|
### Firewall
|
||||||
|
|
||||||
|
There are service endpoints that you need to permit through your Firewall to communicate with the Delivery Optimization service. Check the [full list](waas-delivery-optimization-faq.yml#what-hostnames-should-i-allow-through-my-firewall-to-support-delivery-optimization) of endpoints to permit.
|
||||||
|
|
||||||
|
### Proxy
|
||||||
|
|
||||||
|
To allow peer-to-peer (P2P) to work properly, you need to allow direct calls to the Delivery Optimization service from your devices. When using a proxy, you want to bypass calls from the Delivery Optimization service (*.prod.do.dsp.mp.microsoft.com).
|
||||||
|
|
||||||
|
#### Local proxy
|
||||||
|
|
||||||
|
For downloads from HTTP sources, Delivery Optimization can use the automatic proxy discovery capability of WinHttp to handle communication with the proxy server. It's important to know that Delivery Optimization uses byte range requests, so you'll want to make sure your proxy allows this capability. [Learn more](delivery-optimization-proxy.md) about using Delivery Optimization with a proxy server.
|
||||||
|
|
||||||
|
#### Cloud proxy
|
||||||
|
|
||||||
|
If you're using a cloud proxy, the calls to the DO service are funneled through your cloud proxy and the public IP address of the devices is altered, preventing P2P from working properly. To avoid any issues, you should configure it to allow Delivery Optimization traffic to [bypass the proxy](waas-delivery-optimization-faq.yml#what-is-the-recommended-configuration-for-delivery-optimization-used-with-cloud-proxies). Otherwise, you may experience reduced performance and increased bandwidth consumption.
|
||||||
|
|
||||||
|
### Ports
|
||||||
|
|
||||||
|
Delivery Optimization requires the use of certain ports to deliver content. Make sure all the [required ports](waas-delivery-optimization-faq.yml#which-ports-does-delivery-optimization-use) are open to make Delivery Optimization work seamlessly.
|
||||||
|
|
||||||
|
| Port | Protocol | Function |
|
||||||
|
|---------|-------------------|----------|
|
||||||
|
| 7680 | TCP/IP | Listen for P2P using TCP/IP |
|
||||||
|
| 3544 | TCP/IP | Use Teredo to discover and connect to peers across NATs |
|
||||||
|
| 443 | HTTPS / TLS 1.2 | Use to communicate Delivery Optimization client and service |
|
||||||
|
|
||||||
|
## 2. Evaluate Delivery Optimization policies
|
||||||
|
|
||||||
|
There are a range of [Delivery Optimization settings](waas-delivery-optimization-reference.md) available to meet the needs of your environment. To fully leverage Delivery Optimization, you should focus on key areas to determine the most suitable settings for your unique environment.
|
||||||
|
|
||||||
|
### 2a. Network topology
|
||||||
|
|
||||||
|
:::image type="content" source="images/do-setup-network-topology.png" alt-text="Screenshot of Delivery Optimization network topology considerations." lightbox="images/do-setup-network-topology.png":::
|
||||||
|
|
||||||
|
Peer groups can be defined in Delivery Optimization using a combination of settings such as [DODownloadMode](waas-delivery-optimization-reference.md#download-mode), [DOGroupID](waas-delivery-optimization-reference.md#group-id), [DOGroupIDSource](waas-delivery-optimization-reference.md#select-the-source-of-group-ids), and [DORestrictPeerSelection](waas-delivery-optimization-reference.md#select-a-method-to-restrict-peer-selection). *The combination of settings used depends on your desired peer group(s) and your network topology.*
|
||||||
|
|
||||||
|
#### Peering setup options
|
||||||
|
|
||||||
|
Delivery Optimization can use P2P to help improve bandwidth efficiencies. The section outlines the different options available to define peer groups for your environment.
|
||||||
|
|
||||||
|
##### Local area network (LAN)
|
||||||
|
|
||||||
|
To define a peer group limited to your LAN, choose [DODownloadMode](waas-delivery-optimization-reference.md#download-mode) (1), LAN-mode. This download mode setting includes any devices that share the same public IP address when they connect to the Internet (behind the same NAT) in a single peer group.
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> Consider using Group download mode and/or limiting peer selection to the subnet if your network topology is a Hub and Spoke.
|
||||||
|
|
||||||
|
##### Wide area network (WAN)
|
||||||
|
|
||||||
|
To achieve peer groups across NATs within the same site, over the WAN, or to have more control in your local environment, use download mode '2', Group-mode. Group download mode allows you to define a unique GUID Group ID or use existing logical groupings (for example, AD Site) in your enterprise with the [DOGroupIDSource](waas-delivery-optimization-reference.md#select-the-source-of-group-ids) setting to identify a peer group.
|
||||||
|
|
||||||
|
##### GroupIDSource default behavior
|
||||||
|
|
||||||
|
There are several options for identifying your Group ID using the [DOGroupIDSource](waas-delivery-optimization-reference.md#select-the-source-of-group-ids). The default behavior, when the [DOGroupID](waas-delivery-optimization-reference.md#group-id) or [DOGroupIDSource](waas-delivery-optimization-reference.md#select-the-source-of-group-ids) policies aren't set, is to determine the Group ID using AD Site (1), Authenticated domain SID (2), or Microsoft Entra tenant ID (5). [Learn more](waas-delivery-optimization-reference.md#select-the-source-of-group-ids) about all DOGroupIDSource available options.
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> If your peer group spans across NATs, the Teredo service will be used on port 3544.
|
||||||
|
>
|
||||||
|
> For Configuration Manager users, we recommend leveraging existing [boundary groups](/mem/configmgr/core/plan-design/hierarchy/fundamental-concepts-for-content-management#delivery-optimization) to define the peer groups.
|
||||||
|
|
||||||
|
##### Restrict peer selection
|
||||||
|
|
||||||
|
If your environment requires a more granular approach, you can use the restrict peer discovery setting alongside the download mode to achieve more control. For example, if you have several different subnets behind the same NAT but want to limit your peer groups to a single subnet, choose [DODownloadMode](waas-delivery-optimization-reference.md#download-mode) (1) and [DORestrictPeerSelection](waas-delivery-optimization-reference.md#select-a-method-to-restrict-peer-selection) (Subnet). This setting can be used with any of the peer-related download modes (1, 2, or 3).
|
||||||
|
|
||||||
|
#### Nonpeering options
|
||||||
|
|
||||||
|
There are two valid download modes that don't use P2P functionality to deliver content; download modes (0) and (99). Download mode (0) uses additional metadata provided by the Delivery Optimization services for a peerless, reliable, and efficient download experience. Download mode (99) will provide a reliable download experience over HTTP from the download's original source or Microsoft, with no other checks.
|
||||||
|
|
||||||
|
#### Peering with VPN
|
||||||
|
|
||||||
|
By default, if Delivery Optimization detects a VPN, peering isn't used. To change this behavior, use the [DOAllowVPNPeerCaching](waas-delivery-optimization-reference.md#enable-peer-caching-while-the-device-connects-via-vpn) policy. The Delivery Optimization client looks in the network adapter's 'Description' and 'FriendlyName' strings to determine VPN usage. To allow greater flexibility for VPN identification, use the [DOVpnKeywords](waas-delivery-optimization-reference.md#vpn-keywords) to add descriptors for a particular VPN you use in your organization.
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> The default keyword list is "VPN", "Secure", and "Virtual Private Network". For example, "MYVPN" matches the "VPN" keyword and would be detected as a VPN connection.
|
||||||
|
|
||||||
|
### 2b. Organization size
|
||||||
|
|
||||||
|
:::image type="content" source="images/do-setup-org-size.png" alt-text="Screenshot of optimizing P2P usage for your organization." lightbox="images/do-setup-org-size.png":::
|
||||||
|
|
||||||
|
Delivery Optimization is designed to perform best in a large-scale environment with many devices. Depending on the size of the environment, you should evaluate the value of the [DOMinFileSizeToCache](waas-delivery-optimization-reference.md#minimum-peer-caching-content-file-size) to optimize peering.
|
||||||
|
|
||||||
|
#### Minimum file size to cache
|
||||||
|
|
||||||
|
Content peering has a limited number of slots available at any given time. By default, only content files that are 50 MB or larger can be used for peering. In an environment with more than 30 devices, change the [DOMinFileSizeToCache](waas-delivery-optimization-reference.md#minimum-peer-caching-content-file-size) to a lower value (10 MB), to have more content available for peering, which can be distributed among many devices. For an even larger number of devices (>100), you can raise this setting to (1 MB).
|
||||||
|
|
||||||
|
#### Mobile devices
|
||||||
|
|
||||||
|
By default, P2P capabilities aren't enabled for devices using a battery. If there are many mobile devices in your environment, consider enabling the [DOMinBatteryPercentageAllowedToUpload](waas-delivery-optimization-reference.md#allow-uploads-while-the-device-is-on-battery-while-under-set-battery-level) policy to 60%, to use peering while on battery.
|
||||||
|
|
||||||
|
### 2c. System resources
|
||||||
|
|
||||||
|
:::image type="content" source="images/do-setup-system-resources.png" alt-text="Screenshot of Delivery Optimization system resources considerations." lightbox="images/do-setup-system-resources.png":::
|
||||||
|
|
||||||
|
There are some Delivery Optimization configurations that can make an impact when various system resources are available.
|
||||||
|
|
||||||
|
#### Disk size
|
||||||
|
|
||||||
|
Alter the minimum disk size (default is 32 GB) a device must have to use peering with the [DOMinDiskSizeAllowedToPeer](waas-delivery-optimization-reference.md#minimum-disk-size-allowed-to-use-peer-caching) setting.
|
||||||
|
|
||||||
|
#### Optimize cache size
|
||||||
|
|
||||||
|
You can also manage the amount of space the Delivery Optimization cache uses with the following settings: [DOMaxCacheSize](waas-delivery-optimization-reference.md#max-cache-size) (default is 20%) and [DOAbsoluteMaxCacheSize](waas-delivery-optimization-reference.md#absolute-max-cache-size) (default isn't configured).
|
||||||
|
|
||||||
|
#### RAM size
|
||||||
|
|
||||||
|
Control the minimum amount of RAM (inclusive) allowed to use peer caching (default is 4 GB), with [DOMinRAMAllowedToPeer](waas-delivery-optimization-reference.md#minimum-ram-inclusive-allowed-to-use-peer-caching).
|
||||||
|
|
||||||
|
#### Large number of devices with idle system resources
|
||||||
|
|
||||||
|
In an environment with devices that are plugged in and have ample free disk space try increasing the content expiration interval of [DOMaxCacheAge](waas-delivery-optimization-reference.md#max-cache-age) to seven or more (up to 30 days). You can take advantage of these devices, using them as excellent upload sources to upload more content over a longer period.
|
||||||
|
|
||||||
|
### 2d. Improve P2P efficiency
|
||||||
|
|
||||||
|
:::image type="content" source="images/do-setup-improve-efficiency.png" alt-text="Screenshot of Delivery Optimization improve efficiency considerations." lightbox="images/do-setup-improve-efficiency.png":::
|
||||||
|
|
||||||
|
Looking to improve P2P efficiency? Some of the most powerful settings you can change that could have a significant impact within your environment include:
|
||||||
|
|
||||||
|
- Help optimize peer connection over HTTP connections using the [DOMinBackgroundQoS](waas-delivery-optimization-reference.md#minimum-background-qos) policy. A good value for the [DOMinBackgroundQoS](waas-delivery-optimization-reference.md#minimum-background-qos) policy is something lower than the average download speed seen in your network. For example, if your average speed is 1000 KB/s, set this policy to 500 KB/s.
|
||||||
|
- Improve chances of downloading from peers and/or cache server by delaying the time DO attempts to make connections before falling back to the HTTP source. The set of delay-related policies include:
|
||||||
|
- [DODelayBackgroundDownloadFromHttp](waas-delivery-optimization-reference.md#delay-background-download-from-http-in-secs)
|
||||||
|
- [DODelayForegroundDownloadFromHttp](waas-delivery-optimization-reference.md#delay-foreground-download-from-http-in-secs)
|
||||||
|
|
||||||
|
To improve efficiencies from peers or a dedicated cache server, a good starting point is 60 seconds for background settings and 30 seconds for foreground settings.
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> Not all content types are eligible for P2P. Refer to the [complete list](waas-delivery-optimization.md#types-of-download-content-supported-by-delivery-optimization) to learn more.
|
||||||
|
|
||||||
|
#### Bandwidth throttling options
|
||||||
|
|
||||||
|
Regardless of P2P, consider setting the following policies to avoid network disruption.
|
||||||
|
|
||||||
|
- Manage network usage as a percentage or absolute value. These policies include:
|
||||||
|
- [DOPercentageMaxBackgroundBandwidth](waas-delivery-optimization-reference.md#maximum-background-download-bandwidth)
|
||||||
|
- [DOPercentageMaxForegroundBandwidth](waas-delivery-optimization-reference.md#maximum-foreground-download-bandwidth)
|
||||||
|
- [DOMaxBackgroundDownloadBandwidth](waas-delivery-optimization-reference.md#maximum-background-download-bandwidth-in-kbs)
|
||||||
|
- [DOMaxForegroundDownloadBandwidth](waas-delivery-optimization-reference.md#maximum-foreground-download-bandwidth-in-kbs)
|
||||||
|
- Reduce disruptions by throttling differently at different times of day, using the following business hours policies:
|
||||||
|
- [DOSetHoursToLimitBackgroundDownloadBandwidth](waas-delivery-optimization-reference.md#set-business-hours-to-limit-background-download-bandwidth)
|
||||||
|
- [DOSetHoursToLimitForegroundDownloadBandwidth](waas-delivery-optimization-reference.md#set-business-hours-to-limit-foreground-download-bandwidth).
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> The absolute policies are recommended in low bandwidth environments.
|
||||||
|
|
||||||
|
## 3. Using Connected Cache (MCC)
|
||||||
|
|
||||||
|
:::image type="content" source="images/do-setup-connected-cache.png" alt-text="Screenshot of Delivery Optimization options when using Connected Cache." lightbox="images/do-setup-connected-cache.png":::
|
||||||
|
|
||||||
|
- [DOCacheHost](waas-delivery-optimization-reference.md#cache-server-hostname) is the list of cache host server names, separated with commas. *Delivery Optimization client connects to the listed Microsoft Connected Cache servers in the order as they're listed.*
|
||||||
|
- [DOCacheHostSource](waas-delivery-optimization-reference.md#cache-server-hostname-source) can be used to dynamically discover cache host servers on the network, using DHCP.
|
||||||
|
- [DelayCacheServerFallbackBackground](waas-delivery-optimization-reference.md#delay-background-download-cache-server-fallback-in-secs) and [DelayCacheServerFallbackForeground](waas-delivery-optimization-reference.md#delay-foreground-download-cache-server-fallback-in-secs) are the delay policies to help improve chances of pulling content from the network cache host servers. (See recommended values in [Improve P2P efficiency](#2d-improve-p2p-efficiency) section above).
|
||||||
|
- [DODisallowCacheServerDownloadsOnVPN](waas-delivery-optimization-reference.md#disallow-cache-server-downloads-on-vpn) allows control of the cache host server to supply content, when device is on a VPN connection.
|
||||||
|
|
||||||
|
## 4. Choose where to set Delivery Optimization policies
|
||||||
|
|
||||||
|
:::image type="content" source="images/do-setup-presence.png" alt-text="Screenshot of different product areas where you find Delivery Optimization." lightbox="images/do-setup-presence.png":::
|
||||||
|
|
||||||
|
### Group Policies
|
||||||
|
|
||||||
|
Use Group Policy to manage Delivery Optimization settings here,
|
||||||
|
|
||||||
|
`Computer Configuration\Administrative Templates\Windows Components\Delivery Optimization`
|
||||||
|
|
||||||
|
### MDM Policies
|
||||||
|
|
||||||
|
Use MDM to manage Delivery Optimization settings here,
|
||||||
|
|
||||||
|
`.Vendor/MSFT/Policy/Config/DeliveryOptimization/`
|
||||||
|
|
||||||
|
Delivery Optimization is integrated with both Microsoft Endpoint Manager and Configuration Manager.
|
||||||
|
|
||||||
|
- [Microsoft Endpoint Manager (MEM)](/mem/intune/configuration/delivery-optimization-windows)
|
||||||
|
- [Microsoft Endpoint Configuration Manager (MECM)](/mem/configmgr/sum/deploy-use/optimize-windows-10-update-delivery)
|
||||||
|
|
||||||
|
## Summary of basic configuration recommendations
|
||||||
|
|
||||||
|
| Use case | Policy | Recommended value |
|
||||||
|
| ----- | ----- | ----------------- |
|
||||||
|
| Use P2P | DownloadMode | 1 or 2 |
|
||||||
|
| Don't use P2P | DownloadMode | 0 |
|
||||||
|
| Number of devices in the organization | MinFileSizeToCache | 1 MB for peer group > 100 devices |
|
||||||
|
| Idle system resources | MaxCacheAge | 7 days (604800 seconds) |
|
||||||
|
| Improve P2P efficiency | MinBackgroundQoS and DelayBackgroundDownloadFromHttp / DelayForegroundDownloadFromHttp | 500 KB/s and 60/30 seconds |
|
||||||
|
| Using Connected Cache? | DelayCacheServerFallbackBackground / DelayCacheServerFallbackForeground | 60/30 seconds |
|
||||||
|
|
||||||
|
## Monitor Delivery Optimization
|
||||||
|
|
||||||
|
Whether you opt for the default Delivery Optimization configurations or tailor them to suit your environment, you'll want to track the outcomes to see how they improve your efficiency. [Learn more](waas-delivery-optimization-monitor.md) about the monitoring options for Delivery Optimization.
|
||||||
|
|
||||||
|
## Troubleshoot Delivery Optimization
|
||||||
|
|
||||||
|
There could be many different reasons why Delivery Optimization isn't working in your environment. [Learn more](delivery-optimization-troubleshoot.md) about the DO Troubleshooter and common problems and solutions to help improve the experience of using Delivery Optimization.
|
||||||
|
|
||||||
|
## Test Delivery Optimization
|
||||||
|
|
||||||
|
[Learn more](delivery-optimization-test.md) about guidance on basic testing scenarios to see how Delivery Optimization works.
|
@ -31,7 +31,7 @@ Use the table below to reference any particular content types or services endpoi
|
|||||||
| *.delivery.mp.microsoft.com | HTTP / 80 | Edge Browser | [Complete list](/deployedge/microsoft-edge-security-endpoints) of endpoints for Edge Browser. | Both |
|
| *.delivery.mp.microsoft.com | HTTP / 80 | Edge Browser | [Complete list](/deployedge/microsoft-edge-security-endpoints) of endpoints for Edge Browser. | Both |
|
||||||
| *.officecdn.microsoft.com.edgesuite.net, *.officecdn.microsoft.com, *.cdn.office.net | HTTP / 80 | Office CDN updates | [Complete list](/office365/enterprise/office-365-endpoints) of endpoints for Office CDN updates. | Both |
|
| *.officecdn.microsoft.com.edgesuite.net, *.officecdn.microsoft.com, *.cdn.office.net | HTTP / 80 | Office CDN updates | [Complete list](/office365/enterprise/office-365-endpoints) of endpoints for Office CDN updates. | Both |
|
||||||
| *.manage.microsoft.com, *.swda01.manage.microsoft.com, *.swda02.manage.microsoft.com, *.swdb01.manage.microsoft.com, *.swdb02.manage.microsoft.com, *.swdc01.manage.microsoft.com, *.swdc02.manage.microsoft.com, *.swdd01.manage.microsoft.com, *.swdd02.manage.microsoft.com, *.swda01-mscdn.manage.microsoft.com, *.swda02-mscdn.manage.microsoft.com, *.swdb01-mscdn.manage.microsoft.com, *.swdb02-mscdn.manage.microsoft.com, *.swdc01-mscdn.manage.microsoft.com, *.swdc02-mscdn.manage.microsoft.com, *.swdd01-mscdn.manage.microsoft.com, *.swdd02-mscdn.manage.microsoft.com | HTTP / 80 </br> HTTPs / 443 | Intune Win32 Apps | [Complete list](/mem/intune/fundamentals/intune-endpoints) of endpoints for Intune Win32 Apps updates. | Both |
|
| *.manage.microsoft.com, *.swda01.manage.microsoft.com, *.swda02.manage.microsoft.com, *.swdb01.manage.microsoft.com, *.swdb02.manage.microsoft.com, *.swdc01.manage.microsoft.com, *.swdc02.manage.microsoft.com, *.swdd01.manage.microsoft.com, *.swdd02.manage.microsoft.com, *.swda01-mscdn.manage.microsoft.com, *.swda02-mscdn.manage.microsoft.com, *.swdb01-mscdn.manage.microsoft.com, *.swdb02-mscdn.manage.microsoft.com, *.swdc01-mscdn.manage.microsoft.com, *.swdc02-mscdn.manage.microsoft.com, *.swdd01-mscdn.manage.microsoft.com, *.swdd02-mscdn.manage.microsoft.com | HTTP / 80 </br> HTTPs / 443 | Intune Win32 Apps | [Complete list](/mem/intune/fundamentals/intune-endpoints) of endpoints for Intune Win32 Apps updates. | Both |
|
||||||
| *.statics.teams.cdn.office.net | HTTP / 80 </br> HTTPs / 443 | Teams | | Both |
|
| *.statics.teams.cdn.office.net | HTTP / 80 </br> HTTPs / 443 | Teams | Future support is planned for peering and Connected Cache | TBD |
|
||||||
| *.assets1.xboxlive.com, *.assets2.xboxlive.com, *.dlassets.xboxlive.com, *.dlassets2.xboxlive.com, *.d1.xboxlive.com, *.d2.xboxlive.com, *.assets.xbox.com, *.xbl-dlassets-origin.xboxlive.com, *.assets-origin.xboxlive.com, *.xvcb1.xboxlive.com, *.xvcb2.xboxlive.com, *.xvcf1.xboxlive.com, *.xvcf2.xboxlive.com | HTTP / 80 | Xbox | | Both |
|
| *.assets1.xboxlive.com, *.assets2.xboxlive.com, *.dlassets.xboxlive.com, *.dlassets2.xboxlive.com, *.d1.xboxlive.com, *.d2.xboxlive.com, *.assets.xbox.com, *.xbl-dlassets-origin.xboxlive.com, *.assets-origin.xboxlive.com, *.xvcb1.xboxlive.com, *.xvcb2.xboxlive.com, *.xvcf1.xboxlive.com, *.xvcf2.xboxlive.com | HTTP / 80 | Xbox | | Both |
|
||||||
| *.tlu.dl.adu.microsoft.com, *.nlu.dl.adu.microsoft.com, *.dcsfe.prod.adu.microsoft.com | HTTP / 80 | Device Update | [Complete list](/azure/iot-hub-device-update/) of endpoints for Device Update updates. | Both |
|
| *.tlu.dl.adu.microsoft.com, *.nlu.dl.adu.microsoft.com, *.dcsfe.prod.adu.microsoft.com | HTTP / 80 | Device Update | [Complete list](/azure/iot-hub-device-update/) of endpoints for Device Update updates. | Both |
|
||||||
| *.do.dsp.mp.microsoft.com | HTTP / 80 </br> HTTPs / 443 | Microsoft Connected Cache -> Delivery Optimization Services communication | [Complete list](../do/waas-delivery-optimization-faq.yml) of endpoints for Delivery Optimization only. | Connected Cache Managed in Azure |
|
| *.do.dsp.mp.microsoft.com | HTTP / 80 </br> HTTPs / 443 | Microsoft Connected Cache -> Delivery Optimization Services communication | [Complete list](../do/waas-delivery-optimization-faq.yml) of endpoints for Delivery Optimization only. | Connected Cache Managed in Azure |
|
||||||
|
@ -14,7 +14,7 @@ appliesto:
|
|||||||
- ✅ <a href=https://learn.microsoft.com/windows/release-health/supported-versions-windows-client target=_blank>Windows 11</a>
|
- ✅ <a href=https://learn.microsoft.com/windows/release-health/supported-versions-windows-client target=_blank>Windows 11</a>
|
||||||
- ✅ <a href=https://learn.microsoft.com/windows/release-health/supported-versions-windows-client target=_blank>Windows 10</a>
|
- ✅ <a href=https://learn.microsoft.com/windows/release-health/supported-versions-windows-client target=_blank>Windows 10</a>
|
||||||
- ✅ <a href=https://learn.microsoft.com/windows/deployment/do/waas-delivery-optimization target=_blank>Delivery Optimization</a>
|
- ✅ <a href=https://learn.microsoft.com/windows/deployment/do/waas-delivery-optimization target=_blank>Delivery Optimization</a>
|
||||||
ms.date: 11/08/2022
|
ms.date: 07/23/2024
|
||||||
---
|
---
|
||||||
|
|
||||||
# Testing Delivery Optimization
|
# Testing Delivery Optimization
|
||||||
@ -31,7 +31,7 @@ One of the most powerful advantages of using Delivery Optimization is the abilit
|
|||||||
|
|
||||||
## Monitoring the Results
|
## Monitoring the Results
|
||||||
|
|
||||||
Since Delivery Optimization is on by default, you're able to monitor the value either through the Windows Settings for 'Delivery Optimization' using Delivery Optimization PowerShell [cmdlets.](waas-delivery-optimization-setup.md), and/or via the [Windows Update for Business Report](../update/wufb-reports-workbook.md) experience in Azure.
|
Since Delivery Optimization is on by default, you're able to monitor the value either through the Windows Settings for 'Delivery Optimization' using Delivery Optimization PowerShell [cmdlets.](waas-delivery-optimization-reference.md), and/or via the [Windows Update for Business Report](../update/wufb-reports-workbook.md) experience in Azure.
|
||||||
|
|
||||||
In the case where Delivery Optimization isn't working in your environment, it's important to investigate to get to the root of the problem. We recommend a test environment be created to easily evaluate typical devices to ensure Delivery Optimization is working properly. For starters, 'Scenario 1: Basic Setup' should be created to test the use of Delivery Optimization between two machines. This scenario is designed to eliminate any noise in the environment to ensure there's nothing preventing Delivery Optimization from working on the devices. Once you have a baseline, you can expand the test environment for more sophisticated tests.
|
In the case where Delivery Optimization isn't working in your environment, it's important to investigate to get to the root of the problem. We recommend a test environment be created to easily evaluate typical devices to ensure Delivery Optimization is working properly. For starters, 'Scenario 1: Basic Setup' should be created to test the use of Delivery Optimization between two machines. This scenario is designed to eliminate any noise in the environment to ensure there's nothing preventing Delivery Optimization from working on the devices. Once you have a baseline, you can expand the test environment for more sophisticated tests.
|
||||||
|
|
||||||
@ -221,4 +221,4 @@ Using Delivery Optimization can help make a significant impact in customer envir
|
|||||||
|
|
||||||
The testing scenarios found in this document help to show a controlled test environment, helping to prevent updates from interrupting the peering results. The other, a more real-world case, demonstrates how content available across peers will be used as the source of the content.
|
The testing scenarios found in this document help to show a controlled test environment, helping to prevent updates from interrupting the peering results. The other, a more real-world case, demonstrates how content available across peers will be used as the source of the content.
|
||||||
|
|
||||||
If there are issues found while testing, the Delivery Optimization PowerShell [cmdlets](waas-delivery-optimization-setup.md) can be a helpful tool to help explain what is happening in the environment.
|
If there are issues found while testing, the Delivery Optimization PowerShell [cmdlets](waas-delivery-optimization-reference.md) can be a helpful tool to help explain what is happening in the environment.
|
||||||
|
85
windows/deployment/do/delivery-optimization-troubleshoot.md
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
---
|
||||||
|
title: Troubleshoot Delivery Optimization
|
||||||
|
description: In this article, learn how to troubleshoot Delivery Optimization.
|
||||||
|
ms.service: windows-client
|
||||||
|
ms.subservice: itpro-updates
|
||||||
|
ms.topic: how-to
|
||||||
|
author: cmknox
|
||||||
|
ms.author: carmenf
|
||||||
|
ms.reviewer: mstewart
|
||||||
|
manager: aaroncz
|
||||||
|
ms.collection:
|
||||||
|
- tier3
|
||||||
|
- essentials-get-started
|
||||||
|
ms.localizationpriority: medium
|
||||||
|
appliesto:
|
||||||
|
- ✅ <a href=https://learn.microsoft.com/windows/release-health/supported-versions-windows-client target=_blank>Windows 11</a>
|
||||||
|
- ✅ <a href=https://learn.microsoft.com/windows/release-health/supported-versions-windows-client target=_blank>Windows 10</a>
|
||||||
|
- ✅ <a href=https://learn.microsoft.com/windows/deployment/do/waas-delivery-optimization target=_blank>Delivery Optimization</a>
|
||||||
|
ms.date: 07/23/2024
|
||||||
|
---
|
||||||
|
|
||||||
|
# Troubleshoot Delivery Optimization
|
||||||
|
|
||||||
|
This article discusses how to troubleshoot Delivery Optimization.
|
||||||
|
|
||||||
|
## DO Troubleshooter
|
||||||
|
|
||||||
|
[Check out](https://aka.ms/do-fix) for the new Delivery Optimization Troubleshooter. This tool provides a device health check to verify the device is set up properly to use Delivery Optimization. To scope the output more specifically, use one of the available switches:
|
||||||
|
|
||||||
|
- -HealthCheck: Provides an overall check of the device setup to ensure Delivery Optimization communication is possible on the device.
|
||||||
|
- -P2P: Provides output specific to P2P settings, efficiency, and errors.
|
||||||
|
- -MCC: Provides output specific to MCC settings and verifies the client can access the cache server.
|
||||||
|
|
||||||
|
## Common problems and solutions
|
||||||
|
|
||||||
|
This section summarizes common problems and some solutions to try.
|
||||||
|
|
||||||
|
### If you don't see any bytes from peers
|
||||||
|
|
||||||
|
If you don't see any bytes coming from peers, the cause might be one of the following issues:
|
||||||
|
|
||||||
|
- Clients aren't able to reach the Delivery Optimization cloud services.
|
||||||
|
- The cloud service doesn't see other peers on the network.
|
||||||
|
- Clients aren't able to connect to peers that are offered back from the cloud service.
|
||||||
|
- None of the computers on the network are getting updates from peers.
|
||||||
|
|
||||||
|
### Clients aren't able to reach the Delivery Optimization cloud services
|
||||||
|
|
||||||
|
Try these steps:
|
||||||
|
|
||||||
|
1. Start a download of an app that is larger than 50 MB from the Store (for example "Candy Crush Saga").
|
||||||
|
1. Run `Get-DeliveryOptimizationStatus` from an elevated PowerShell window and observe the [DODownloadMode](waas-delivery-optimization-reference.md#download-mode) setting. For peering to work, download mode should be 1, 2, or 3.
|
||||||
|
1. If the download mode is 99, it could indicate your device is unable to reach the Delivery Optimization cloud services. Ensure that the Delivery Optimization host names are allowed access: most importantly **\*.prod.do.dsp.mp.microsoft.com**.
|
||||||
|
|
||||||
|
#### The cloud service doesn't see other peers on the network
|
||||||
|
|
||||||
|
Try these steps:
|
||||||
|
|
||||||
|
1. Download the same app on two different devices on the same network, waiting 10 - 15 minutes between downloads.
|
||||||
|
1. Run `Get-DeliveryOptimizationStatus` from an elevated PowerShell window and ensure that **[DODownloadMode](waas-delivery-optimization-reference.md#download-mode)** is 1 or 2 on both devices.
|
||||||
|
1. Run `Get-DeliveryOptimizationPerfSnap` from an elevated PowerShell window on the second device. The **NumberOfPeers** field should be nonzero.
|
||||||
|
1. If the number of peers is zero and **[DODownloadMode](waas-delivery-optimization-reference.md#download-mode)** is 1, ensure that both devices are using the same public IP address to reach the internet (you can easily do this by opening a browser window and do a search for "what is my IP"). In the case where devices aren't reporting the same public IP address, configure **[DODownloadMode](waas-delivery-optimization-reference.md#download-mode)** to 2 (Group) and use a custom **[DOGroupID (Guid)](waas-delivery-optimization-reference.md#group-id)**.
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> Starting in Windows 10, version 2004, `Get-DeliveryOptimizationStatus` has a new option `-PeerInfo` which returns a real-time list of potential peers per file, including which peers are successfully connected and the total bytes sent or received from each peer.
|
||||||
|
|
||||||
|
### Clients aren't able to connect to peers offered by the cloud service
|
||||||
|
|
||||||
|
Try a Telnet test between two devices on the network to ensure they can connect using port 7680. Follow these steps:
|
||||||
|
|
||||||
|
1. Install Telnet by running `dism /online /Enable-Feature /FeatureName:TelnetClient` from an elevated command prompt.
|
||||||
|
1. Run the test. For example, if you're on device with IP 192.168.8.12 and you're trying to test the connection to 192.168.9.17 run `telnet 192.168.9.17 7680` (the syntax is *telnet [destination IP] [port]*. When you see a connection error or a blinking cursor like this /_. The blinking cursor means success.
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> You can also use [Test-NetConnection](/powershell/module/nettcpip/test-netconnection) instead of Telnet to run the test.
|
||||||
|
> **Test-NetConnection -ComputerName 192.168.9.17 -Port 7680**
|
||||||
|
|
||||||
|
### None of the computers on the network are getting updates from peers
|
||||||
|
|
||||||
|
Check Delivery Optimization settings that could limit participation in peer caching. Check whether the following settings in assigned group policies, local group policies, or MDM policies are too restrictive:
|
||||||
|
|
||||||
|
- Minimum RAM (inclusive) allowed to use peer caching
|
||||||
|
- Minimum disk size allowed to use peer caching
|
||||||
|
- Enable peer caching while the device connects using VPN.
|
||||||
|
- Allow uploads when the device is on battery while under the set battery level
|
BIN
windows/deployment/do/images/do-setup-allow-communication.png
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
windows/deployment/do/images/do-setup-connected-cache.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
windows/deployment/do/images/do-setup-improve-efficiency.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
windows/deployment/do/images/do-setup-network-topology.png
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
windows/deployment/do/images/do-setup-org-size.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
windows/deployment/do/images/do-setup-presence.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
windows/deployment/do/images/do-setup-system-resources.png
Normal file
After Width: | Height: | Size: 31 KiB |
@ -41,12 +41,12 @@ landingContent:
|
|||||||
linkLists:
|
linkLists:
|
||||||
- linkListType: how-to-guide
|
- linkListType: how-to-guide
|
||||||
links:
|
links:
|
||||||
- text: Delivery Optimization recommended settings
|
- text: Delivery Optimization configuration considerations
|
||||||
url: waas-delivery-optimization-setup.md#recommended-delivery-optimization-settings
|
url: delivery-optimization-configure.md
|
||||||
- text: Monitor Delivery Optimization for Windows
|
- text: Monitor Delivery Optimization for Windows
|
||||||
url: waas-delivery-optimization-monitor.md
|
url: waas-delivery-optimization-monitor.md
|
||||||
- text: Troubleshoot Delivery Optimization
|
- text: Troubleshoot Delivery Optimization
|
||||||
url: waas-delivery-optimization-setup.md#troubleshooting
|
url: delivery-optimization-troubleshoot.md
|
||||||
- text: Delivery Optimization Frequently Asked Questions
|
- text: Delivery Optimization Frequently Asked Questions
|
||||||
url: ../do/waas-delivery-optimization-faq.yml
|
url: ../do/waas-delivery-optimization-faq.yml
|
||||||
- text: Submit feedback
|
- text: Submit feedback
|
||||||
|
@ -21,7 +21,7 @@ ms.date: 05/23/2024
|
|||||||
|
|
||||||
> **Looking for Group Policy objects?** See [Delivery Optimization reference](waas-delivery-optimization-reference.md) or the main spreadsheet available at the Download Center [for Windows 11](https://www.microsoft.com/en-us/download/details.aspx?id=104594) or [for Windows 10](https://www.microsoft.com/en-us/download/details.aspx?id=104678).
|
> **Looking for Group Policy objects?** See [Delivery Optimization reference](waas-delivery-optimization-reference.md) or the main spreadsheet available at the Download Center [for Windows 11](https://www.microsoft.com/en-us/download/details.aspx?id=104594) or [for Windows 10](https://www.microsoft.com/en-us/download/details.aspx?id=104678).
|
||||||
|
|
||||||
There are many configuration options you can set in Delivery Optimization to customize the content delivery experience specific to your environment needs. This article summarizes those configurations for your reference. If you just need an overview of Delivery Optimization, see [What is Delivery Optimization](waas-delivery-optimization.md). If you need information about setting up Delivery Optimization, including tips for the best settings in different scenarios, see [Set up Delivery Optimization for Windows](waas-delivery-optimization-setup.md).
|
There are many configuration options you can set in Delivery Optimization to customize the content delivery experience specific to your environment needs. This article summarizes those configurations for your reference. If you just need an overview of Delivery Optimization, see [What is Delivery Optimization](waas-delivery-optimization.md). If you need information about setting up Delivery Optimization, including tips for the best settings in different scenarios, see [Set up Delivery Optimization for Windows](delivery-optimization-configure.md).
|
||||||
|
|
||||||
## Delivery Optimization options
|
## Delivery Optimization options
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ Download mode dictates which download sources clients are allowed to use when do
|
|||||||
|
|
||||||
| Download mode option | Functionality when configured |
|
| Download mode option | Functionality when configured |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| HTTP Only (0) | This setting disables peer-to-peer caching but still allows Delivery Optimization to download content over HTTP from the download's original source or a Microsoft Connected Cache server. This mode uses additional metadata provided by the Delivery Optimization cloud services for a peerless reliable and efficient download experience. |
|
| HTTP Only (0) | This setting disables peer-to-peer caching but still allows Delivery Optimization to download content over HTTP from the download's original source or a Microsoft Connected Cache server. This mode uses additional metadata provided by the Delivery Optimization cloud services for a peerless, reliable and efficient download experience. |
|
||||||
| LAN (**1 - Default**) | This default operating mode for Delivery Optimization enables peer sharing on the same network. The Delivery Optimization cloud service finds other clients that connect to the Internet using the same public IP as the target client. These clients then try to connect to other peers on the same network by using their private subnet IP.|
|
| LAN (**1 - Default**) | This default operating mode for Delivery Optimization enables peer sharing on the same network. The Delivery Optimization cloud service finds other clients that connect to the Internet using the same public IP as the target client. These clients then try to connect to other peers on the same network by using their private subnet IP.|
|
||||||
| Group (2) | When group mode is set, the group is automatically selected based on the device's Active Directory Domain Services (AD DS) site (Windows 10, version 1607) or the domain the device is authenticated to (Windows 10, version 1511). In group mode, peering occurs across internal subnets, between devices that belong to the same group, including devices in remote offices. You can use GroupID option to create your own custom group independently of domains and AD DS sites. Starting with Windows 10, version 1803, you can use the GroupIDSource parameter to take advantage of other method to create groups dynamically. Group download mode is the recommended option for most organizations looking to achieve the best bandwidth optimization with Delivery Optimization. |
|
| Group (2) | When group mode is set, the group is automatically selected based on the device's Active Directory Domain Services (AD DS) site (Windows 10, version 1607) or the domain the device is authenticated to (Windows 10, version 1511). In group mode, peering occurs across internal subnets, between devices that belong to the same group, including devices in remote offices. You can use GroupID option to create your own custom group independently of domains and AD DS sites. Starting with Windows 10, version 1803, you can use the GroupIDSource parameter to take advantage of other method to create groups dynamically. Group download mode is the recommended option for most organizations looking to achieve the best bandwidth optimization with Delivery Optimization. |
|
||||||
| Internet (3) | Enable Internet peer sources for Delivery Optimization. |
|
| Internet (3) | Enable Internet peer sources for Delivery Optimization. |
|
||||||
|
@ -1,164 +0,0 @@
|
|||||||
---
|
|
||||||
title: Set up Delivery Optimization
|
|
||||||
description: In this article, learn how to set up Delivery Optimization for use by Windows clients in your organization.
|
|
||||||
ms.service: windows-client
|
|
||||||
ms.subservice: itpro-updates
|
|
||||||
ms.topic: how-to
|
|
||||||
author: cmknox
|
|
||||||
ms.author: carmenf
|
|
||||||
ms.reviewer: mstewart
|
|
||||||
manager: aaroncz
|
|
||||||
ms.collection:
|
|
||||||
- tier3
|
|
||||||
ms.localizationpriority: medium
|
|
||||||
appliesto:
|
|
||||||
- ✅ <a href=https://learn.microsoft.com/windows/release-health/supported-versions-windows-client target=_blank>Windows 11</a>
|
|
||||||
- ✅ <a href=https://learn.microsoft.com/windows/release-health/supported-versions-windows-client target=_blank>Windows 10</a>
|
|
||||||
- ✅ <a href=https://learn.microsoft.com/windows/deployment/do/waas-delivery-optimization target=_blank>Delivery Optimization</a>
|
|
||||||
ms.date: 05/23/2024
|
|
||||||
---
|
|
||||||
|
|
||||||
# Set up Delivery Optimization for Windows
|
|
||||||
|
|
||||||
> **Looking for consumer information?** See [Windows Update: FAQ](https://support.microsoft.com/help/12373/windows-update-faq)
|
|
||||||
|
|
||||||
## Set up Delivery Optimization
|
|
||||||
|
|
||||||
You can use Group Policy or an MDM solution like Intune to configure Delivery Optimization.
|
|
||||||
|
|
||||||
You find the Delivery Optimization settings in Group Policy under **Computer Configuration\Administrative Templates\Windows Components\Delivery Optimization**.
|
|
||||||
|
|
||||||
Starting with Microsoft Intune version 1902, you can set many Delivery Optimization policies as a profile, which you can then apply to groups of devices. For more information, see [Delivery Optimization settings in Microsoft Intune](/mem/intune/configuration/delivery-optimization-windows).
|
|
||||||
|
|
||||||
**Starting with Windows 10, version 1903**, you can use the Microsoft Entra tenant ID as a means to define groups. To set the value for [DOGroupIDSource](waas-delivery-optimization-reference.md#select-the-source-of-group-ids) to its new maximum value of 5.
|
|
||||||
|
|
||||||
## Allow service endpoints
|
|
||||||
|
|
||||||
When using a firewall, it's important that the Delivery Optimization Service endpoints are allowed and associated ports are open. For more information, see [Delivery Optimization FAQ](waas-delivery-optimization-faq.yml#what-hostnames-should-i-allow-through-my-firewall-to-support-delivery-optimization).
|
|
||||||
|
|
||||||
## Allow content endpoints
|
|
||||||
|
|
||||||
When using a firewall, it's important that the content endpoints are allowed and associated ports are open. For more information, see [Endpoints for Delivery Optimization and Microsoft Connected Cache content](delivery-optimization-endpoints.md).
|
|
||||||
|
|
||||||
## Recommended Delivery Optimization settings
|
|
||||||
|
|
||||||
Delivery Optimization offers a great many settings to fine-tune its behavior see [Delivery Optimization reference](waas-delivery-optimization-reference.md) for a comprehensive list, but for the most efficient performance, there are just a few key parameters that have the greatest impact if particular situations exist in your deployment. If you just need an overview of Delivery Optimization, see [Delivery Optimization for Windows 10 updates](waas-delivery-optimization.md).
|
|
||||||
|
|
||||||
- Does your topology include multiple breakouts to the internet that is, a "hybrid WAN" or are there only a few connections to the internet, so that all requests appear to come from a single external IP address a "hub and spoke" topology?
|
|
||||||
- If you use boundary groups in your topology, how many devices are present in a given group?
|
|
||||||
- What percentage of your devices are mobile?
|
|
||||||
- Do your devices have a lot of free space on their drives?
|
|
||||||
- Do you have a lab scenario with many devices on AC power?
|
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> These scenarios (and the recommended settings for each) are not mutually exclusive. It's possible that your deployment might involve more than one of these scenarios, in which case you can employ the related settings in any combination as needed. In all cases, however, "download mode" is the most important one to set.
|
|
||||||
>
|
|
||||||
> [!NOTE]
|
|
||||||
> Microsoft Intune includes a profile to make it easier to set Delivery Optimization policies. For details, see [Delivery Optimization settings for Intune](/mem/intune/configuration/delivery-optimization-settings).
|
|
||||||
|
|
||||||
Quick-reference table:
|
|
||||||
|
|
||||||
| Use case | Policy | Recommended value | Reason |
|
|
||||||
| --- | --- | --- | --- |
|
|
||||||
| Hub & spoke topology | Download mode | 1 or 2 | Automatic grouping of peers to match your topology |
|
|
||||||
| Sites with > 30 devices | Minimum file size to cache | 10 MB (or 1 MB) | Use peers-to-peer capability in more downloads |
|
|
||||||
| Large number of mobile devices | Allow uploads on battery power | 60% | Increase # of devices that can upload while limiting battery drain |
|
|
||||||
| Labs with AC-powered devices | Content expiration | 7 (up to 30) days | Leverage devices that can upload more for a longer period |
|
|
||||||
|
|
||||||
### Hybrid WAN scenario
|
|
||||||
|
|
||||||
For this scenario, grouping devices by domain allows devices to be included in peer downloads and uploads across VLANs. **Set Download Mode to 2 - Group**. The default group, when the GroupID or GroupIDSource policies aren't set, is the AD Site (1), Authenticated domain SID (2) or Microsoft Entra tenant ID (5), in that order. If your domain-based group is too wide, or your Active Directory sites aren't aligned with your site network topology, then you should consider other options for dynamically creating groups, for example by using the [DOGroupIDSource](waas-delivery-optimization-reference.md#select-the-source-of-group-ids) policy.
|
|
||||||
|
|
||||||
In Group Policy go to **Computer Configuration\Administrative Templates\Windows Components\Delivery Optimization** and set **Download mode** to **2**.
|
|
||||||
|
|
||||||
Using with MDM, go to **./Device/Vendor/MSFT/Policy/Config/DeliveryOptimization/** and set [DODownloadMode](/windows/client-management/mdm/policy-csp-deliveryoptimization#dodownloadmode) to 1 or 2.
|
|
||||||
|
|
||||||
### Hub and spoke topology with boundary groups
|
|
||||||
|
|
||||||
The default download mode setting is **1**; this means all devices breaking out to the internet using the same public IP is considered as a single peer group. To prevent peer-to-peer activity across your WAN, you should set the download mode to **2**. If you have already defined Active Directory sites per hub or branch office, then you don't need to do anything else since the Active Directory sites are used by default as the source for creation of Group IDs. If you're not using Active Directory sites, you should set a different source for Groups by using the [DOGroupIDSource](waas-delivery-optimization-reference.md#select-the-source-of-group-ids) options or the [DORestrictPeerSelectionBy](waas-delivery-optimization-reference.md#select-a-method-to-restrict-peer-selection) policy to restrict the activity to the subnet.
|
|
||||||
|
|
||||||
With Group Policy go to **Computer Configuration\Administrative Templates\Windows Components\Delivery Optimization** and set **Download mode** to **2**.
|
|
||||||
|
|
||||||
Using MDM, go to **./Device/Vendor/MSFT/Policy/Config/DeliveryOptimization/** and set [DODownloadMode](/windows/client-management/mdm/policy-csp-deliveryoptimization#dodownloadmode) to **2**.
|
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> For more information about using Delivery Optimization with Configuration Manager boundary groups, see [Delivery Optimization for Configuration Manager](/mem/configmgr/core/plan-design/hierarchy/fundamental-concepts-for-content-management#delivery-optimization).
|
|
||||||
|
|
||||||
### Large number of mobile devices
|
|
||||||
|
|
||||||
If you have a mobile workforce with a great many mobile devices, set Delivery Optimization to allow uploads on battery power, while limiting the use to prevent battery drain. A setting for **DOMinBatteryPercentageAllowedToUpload** of 60% is a good starting point, though you might want to adjust it later.
|
|
||||||
|
|
||||||
With Group Policy, go to **Computer Configuration\Administrative Templates\Windows Components\Delivery Optimization** and set **Allow uploads while the device is on battery while under set Battery level** to 60.
|
|
||||||
|
|
||||||
Using MDM, go to **./Device/Vendor/MSFT/Policy/Config/DeliveryOptimization/** and set [DOMinBatteryPercentageAllowedToUpload](/windows/client-management/mdm/policy-csp-deliveryoptimization#dominbatterypercentageallowedtoupload) to 60.
|
|
||||||
|
|
||||||
### Plentiful free space and large numbers of devices
|
|
||||||
|
|
||||||
Many devices now come with large internal drives. You can set Delivery Optimization to take better advantage of this space (especially if you have large numbers of devices) by changing the minimum file size to cache. If you have more than 30 devices in your local network or group, change it from the default 50 MB to 10 MB. If you have more than 100 devices (and are running Windows 10, version 1803 or later), set this value to 1 MB.
|
|
||||||
|
|
||||||
With Group Policy, go to **Computer Configuration\Administrative Templates\Windows Components\Delivery Optimization** and set **Minimum Peer Caching Content File Size** to 10 (if you have more than 30 devices) or 1 (if you have more than 100 devices).
|
|
||||||
|
|
||||||
Using MDM, go to **./Device/Vendor/MSFT/Policy/Config/DeliveryOptimization/** and set [DOMinFileSizeToCache](/windows/client-management/mdm/policy-csp-deliveryoptimization#dominfilesizetocache) to 100 (if you have more than 30 devices) or 1 (if you have more than 100 devices).
|
|
||||||
|
|
||||||
### Lab scenario
|
|
||||||
|
|
||||||
In a lab situation, you typically have a large number of devices that are plugged in and have a lot of free disk space. By increasing the content expiration interval, you can take advantage of these devices, using them as excellent upload sources in order to upload more content over a longer period.
|
|
||||||
|
|
||||||
With Group Policy, go to **Computer Configuration\Administrative Templates\Windows Components\Delivery Optimization** and set **Max Cache Age** to **604800** (7 days) or more (up to 30 days).
|
|
||||||
|
|
||||||
Using MDM, go to **./Device/Vendor/MSFT/Policy/Config/DeliveryOptimization/** and set [DOMaxCacheAge](/windows/client-management/mdm/policy-csp-deliveryoptimization#domaxcacheage) to 7 or more (up to 30 days).
|
|
||||||
|
|
||||||
[Learn more](delivery-optimization-test.md) about Delivery Optimization testing scenarios.
|
|
||||||
|
|
||||||
## Troubleshooting
|
|
||||||
|
|
||||||
This section summarizes common problems and some solutions to try.
|
|
||||||
|
|
||||||
### If you don't see any bytes from peers
|
|
||||||
|
|
||||||
If you don't see any bytes coming from peers the cause might be one of the following issues:
|
|
||||||
|
|
||||||
- Clients aren't able to reach the Delivery Optimization cloud services.
|
|
||||||
- The cloud service doesn't see other peers on the network.
|
|
||||||
- Clients aren't able to connect to peers that are offered back from the cloud service.
|
|
||||||
- None of the computers on the network are getting updates from peers.
|
|
||||||
|
|
||||||
### Clients aren't able to reach the Delivery Optimization cloud services
|
|
||||||
|
|
||||||
Try these steps:
|
|
||||||
|
|
||||||
1. Start a download of an app that is larger than 50 MB from the Store (for example "Candy Crush Saga").
|
|
||||||
2. Run `Get-DeliveryOptimizationStatus` from an elevated PowerShell window and observe the [DODownloadMode](waas-delivery-optimization-reference.md#download-mode) setting. For peering to work, download mode should be 1, 2, or 3.
|
|
||||||
3. If the download mode is 99, it could indicate your device is unable to reach the Delivery Optimization cloud services. Ensure that the Delivery Optimization host names are allowed access: most importantly **\*.prod.do.dsp.mp.microsoft.com**.
|
|
||||||
|
|
||||||
### The cloud service doesn't see other peers on the network
|
|
||||||
|
|
||||||
Try these steps:
|
|
||||||
|
|
||||||
1. Download the same app on two different devices on the same network, waiting 10 - 15 minutes between downloads.
|
|
||||||
2. Run `Get-DeliveryOptimizationStatus` from an elevated PowerShell window and ensure that **[DODownloadMode](waas-delivery-optimization-reference.md#download-mode)** is 1 or 2 on both devices.
|
|
||||||
3. Run `Get-DeliveryOptimizationPerfSnap` from an elevated PowerShell window on the second device. The **NumberOfPeers** field should be nonzero.
|
|
||||||
4. If the number of peers is zero and **[DODownloadMode](waas-delivery-optimization-reference.md#download-mode)** is 1, ensure that both devices are using the same public IP address to reach the internet (you can easily do this by opening a browser window and do a search for "what is my IP"). In the case where devices aren't reporting the same public IP address, configure **[DODownloadMode](waas-delivery-optimization-reference.md#download-mode)** to 2 (Group) and use a custom **[DOGroupID (Guid)](waas-delivery-optimization-reference.md#group-id)**.
|
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> Starting in Windows 10, version 2004, `Get-DeliveryOptimizationStatus` has a new option `-PeerInfo` which returns a real-time list of potential peers per file, including which peers are successfully connected and the total bytes sent or received from each peer.
|
|
||||||
|
|
||||||
### Clients aren't able to connect to peers offered by the cloud service
|
|
||||||
|
|
||||||
Try a Telnet test between two devices on the network to ensure they can connect using port 7680. Follow these steps:
|
|
||||||
|
|
||||||
1. Install Telnet by running `dism /online /Enable-Feature /FeatureName:TelnetClient` from an elevated command prompt.
|
|
||||||
2. Run the test. For example, if you are on device with IP 192.168.8.12 and you're trying to test the connection to 192.168.9.17 run `telnet 192.168.9.17 7680` (the syntax is *telnet [destination IP] [port]*. You'll either see a connection error or a blinking cursor like this /_. The blinking cursor means success.
|
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> You can also use [Test-NetConnection](/powershell/module/nettcpip/test-netconnection) instead of Telnet to run the test.
|
|
||||||
> **Test-NetConnection -ComputerName 192.168.9.17 -Port 7680**
|
|
||||||
|
|
||||||
### None of the computers on the network are getting updates from peers
|
|
||||||
|
|
||||||
Check Delivery Optimization settings that could limit participation in peer caching. Check whether the following settings in assigned group policies, local group policies, or MDM policies are too restrictive:
|
|
||||||
|
|
||||||
- Minimum RAM (inclusive) allowed to use peer caching
|
|
||||||
- Minimum disk size allowed to use peer caching
|
|
||||||
- Enable peer caching while the device connects using VPN.
|
|
||||||
- Allow uploads when the device is on battery while under the set battery level
|
|
@ -28,7 +28,7 @@ To use either the peer-to-peer functionality or the Microsoft Connected Cache fe
|
|||||||
|
|
||||||
You can use Delivery Optimization with Windows Update, Windows Server Update Services (WSUS), Microsoft Intune/Windows Update for Business, or Microsoft Configuration Manager (when installation of Express Updates is enabled).
|
You can use Delivery Optimization with Windows Update, Windows Server Update Services (WSUS), Microsoft Intune/Windows Update for Business, or Microsoft Configuration Manager (when installation of Express Updates is enabled).
|
||||||
|
|
||||||
For information about setting up Delivery Optimization, including tips for the best settings in different scenarios, see [Set up Delivery Optimization](waas-delivery-optimization-setup.md). For a comprehensive list of all Delivery Optimization settings, see [Delivery Optimization reference](waas-delivery-optimization-reference.md).
|
For information about setting up Delivery Optimization, including tips for the best settings in different scenarios, see [Set up Delivery Optimization](delivery-optimization-configure.md). For a comprehensive list of all Delivery Optimization settings, see [Delivery Optimization reference](waas-delivery-optimization-reference.md).
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> WSUS can also use [BranchCache](../update/waas-branchcache.md) for content sharing and caching. If Delivery Optimization is enabled on devices that use BranchCache, Delivery Optimization will be used instead.
|
> WSUS can also use [BranchCache](../update/waas-branchcache.md) for content sharing and caching. If Delivery Optimization is enabled on devices that use BranchCache, Delivery Optimization will be used instead.
|
||||||
@ -98,7 +98,7 @@ To gain a deeper understanding of the Delivery Optimization client-service commu
|
|||||||
|
|
||||||
## Set up Delivery Optimization for Windows
|
## Set up Delivery Optimization for Windows
|
||||||
|
|
||||||
[Learn more](waas-delivery-optimization-setup.md) about the Delivery Optimization settings to ensure proper setup in your environment.
|
[Learn more](delivery-optimization-configure.md) about the Delivery Optimization settings to ensure proper setup in your environment.
|
||||||
|
|
||||||
## Delivery Optimization reference
|
## Delivery Optimization reference
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ landingContent:
|
|||||||
- linkListType: concept
|
- linkListType: concept
|
||||||
links:
|
links:
|
||||||
- text: Plan for Windows 11
|
- text: Plan for Windows 11
|
||||||
url: /windows/whats-new/windows-11-plan?toc=/windows/deployment/toc.json&bc=/windows/deployment/breadcrumb/toc.json
|
url: /windows/whats-new/windows-11-plan?context=/windows/deployment/context/context
|
||||||
- text: Create a deployment plan
|
- text: Create a deployment plan
|
||||||
url: update/create-deployment-plan.md
|
url: update/create-deployment-plan.md
|
||||||
- text: Define readiness criteria
|
- text: Define readiness criteria
|
||||||
@ -44,7 +44,7 @@ landingContent:
|
|||||||
- linkListType: get-started
|
- linkListType: get-started
|
||||||
links:
|
links:
|
||||||
- text: Prepare for Windows 11
|
- text: Prepare for Windows 11
|
||||||
url: /windows/whats-new/windows-11-prepare?toc=/windows/deployment/toc.json&bc=/windows/deployment/breadcrumb/toc.json
|
url: /windows/whats-new/windows-11-prepare?context=/windows/deployment/context/context
|
||||||
- text: Prepare to deploy Windows updates
|
- text: Prepare to deploy Windows updates
|
||||||
url: update/prepare-deploy-windows.md
|
url: update/prepare-deploy-windows.md
|
||||||
- text: Prepare updates using Windows Update for Business
|
- text: Prepare updates using Windows Update for Business
|
||||||
@ -52,7 +52,7 @@ landingContent:
|
|||||||
- text: Evaluate and update infrastructure
|
- text: Evaluate and update infrastructure
|
||||||
url: update/update-policies.md
|
url: update/update-policies.md
|
||||||
- text: Set up Delivery Optimization for Windows client updates
|
- text: Set up Delivery Optimization for Windows client updates
|
||||||
url: do/waas-delivery-optimization-setup.md?toc=/windows/deployment/toc.json&bc=/windows/deployment/breadcrumb/toc.json
|
url: do/delivery-optimization-configure.md?context=/windows/deployment/context/context
|
||||||
- text: Prepare for imaging with Configuration Manager
|
- text: Prepare for imaging with Configuration Manager
|
||||||
url: deploy-windows-cm/prepare-for-zero-touch-installation-of-windows-10-with-configuration-manager.md
|
url: deploy-windows-cm/prepare-for-zero-touch-installation-of-windows-10-with-configuration-manager.md
|
||||||
|
|
||||||
|
@ -50,4 +50,4 @@ Extensive advanced testing isn't required. Instead, only business-critical apps
|
|||||||
|
|
||||||
This process repeats with each new feature update. These are small deployment projects, compared to the large projects that were necessary with the old three-to-five-year Windows release cycles.
|
This process repeats with each new feature update. These are small deployment projects, compared to the large projects that were necessary with the old three-to-five-year Windows release cycles.
|
||||||
|
|
||||||
Other technologies such as [BranchCache](waas-branchcache.md) and [Delivery Optimization](../do/waas-delivery-optimization-setup.md), both peer-to-peer distribution tools, can help with the distribution of the feature update installation files.
|
Other technologies such as [BranchCache](waas-branchcache.md) and [Delivery Optimization](../do/delivery-optimization-configure.md), both peer-to-peer distribution tools, can help with the distribution of the feature update installation files.
|
||||||
|
@ -59,7 +59,7 @@ Windows Update for Business reports uses the following Delivery Optimization ter
|
|||||||
|
|
||||||
## Calculations for Delivery Optimization
|
## Calculations for Delivery Optimization
|
||||||
|
|
||||||
Each calculated values used in the Delivery Optimization report are listed below.
|
The calculated values used in the Delivery Optimization report are listed below.
|
||||||
|
|
||||||
**Efficiency (%) Calculations**:
|
**Efficiency (%) Calculations**:
|
||||||
|
|
||||||
@ -188,7 +188,7 @@ A row in UCDOAggregatedStatus represents data summarized at the tenant level (Az
|
|||||||
If there's a Connected Cache server at the ISP level, BytesFromCache filters out any bytes coming the ISP's Connected Cache.
|
If there's a Connected Cache server at the ISP level, BytesFromCache filters out any bytes coming the ISP's Connected Cache.
|
||||||
|
|
||||||
- **How do the results from the Delivery Optimization PowerShell cmdlets compare to the results in the report?**
|
- **How do the results from the Delivery Optimization PowerShell cmdlets compare to the results in the report?**
|
||||||
[Delivery Optimization PowerShell cmdlets](waas-delivery-optimization-setup.md#monitor-delivery-optimization) can be a powerful tool used to monitor Delivery Optimization data on the device. These cmdlets use the cache on the device. The data calculated in the report is taken from the Delivery Optimization telemetry events.
|
[Delivery Optimization PowerShell cmdlets](waas-delivery-optimization-reference.md) can be a powerful tool used to monitor Delivery Optimization data on the device. These cmdlets use the cache on the device. The data calculated in the report is taken from the Delivery Optimization telemetry events.
|
||||||
|
|
||||||
- **The report represents the last 28 days of data, why do some queries include >= seven days?**
|
- **The report represents the last 28 days of data, why do some queries include >= seven days?**
|
||||||
The data in the report does represent the last 28 days of data. The query for last seven days is just to get the data for the latest snapshot from past seven days. It's possible that data is delayed for sometime and not available for current day, so we look for past 7 day snapshot in log analytics and show the latest snapshot.
|
The data in the report does represent the last 28 days of data. The query for last seven days is just to get the data for the latest snapshot from past seven days. It's possible that data is delayed for sometime and not available for current day, so we look for past 7 day snapshot in log analytics and show the latest snapshot.
|
||||||
|
@ -183,7 +183,7 @@ sections:
|
|||||||
If there's a Connected Cache server at the ISP level, BytesFromCache filters out any bytes coming the ISP's Connected Cache.
|
If there's a Connected Cache server at the ISP level, BytesFromCache filters out any bytes coming the ISP's Connected Cache.
|
||||||
- question: How do the results from the Delivery Optimization PowerShell cmdlets compare to the results in the report?
|
- question: How do the results from the Delivery Optimization PowerShell cmdlets compare to the results in the report?
|
||||||
answer: |
|
answer: |
|
||||||
[Delivery Optimization PowerShell cmdlets](waas-delivery-optimization-setup.md#monitor-delivery-optimization) can be a powerful tool used to monitor Delivery Optimization data on the device. These cmdlets use the cache on the device. The data calculated in the report is taken from the Delivery Optimization events.
|
[Delivery Optimization PowerShell cmdlets](waas-delivery-optimization-reference.md) can be a powerful tool used to monitor Delivery Optimization data on the device. These cmdlets use the cache on the device. The data calculated in the report is taken from the Delivery Optimization events.
|
||||||
- question: The report represents the last 28 days of data, why do some queries include >= seven days?
|
- question: The report represents the last 28 days of data, why do some queries include >= seven days?
|
||||||
answer: |
|
answer: |
|
||||||
The data in the report does represent the last 28 days of data. The query for last seven days is just to get the data for the latest snapshot from past seven days. It's possible that data is delayed for sometime and not available for current day, so we look for past seven day snapshot in log analytics and show the latest snapshot.
|
The data in the report does represent the last 28 days of data. The query for last seven days is just to get the data for the latest snapshot from past seven days. It's possible that data is delayed for sometime and not available for current day, so we look for past seven day snapshot in log analytics and show the latest snapshot.
|
||||||
|