* smb adds * smb adds * formatting * private preview and support content * edit removed and dep * Fix blocking issues * Acro-fix * 24H2 CSP Updates * Fix link * fix link in dep page * edit * edit index file * syntax-fix-24h2 * ltsc-edits * ltsc-edits * lichris-docs-1 * Acrolinx improvements * refresh for maxado-8631996 * update link for maxado-8631993 * additional edits, acrolinx * ltsc-tw * contentsource-8914508 * contentsource-8914508 * Updates for 1 October release * Set stale debug to false * update gp link for 24h2 * additional changes * Changes to updates, acrolinx changes * fixes broken links * Fixed alignment issues * updates from Rafal * fixed acrolinx * so many link fixes * added release notes and troubleshoot content * updates * Update security-compliance-toolkit-10.md Added Windows 11 24H2 * Update get-support-for-security-baselines.md Updated for Windows 11 24H2 * bump date * bump date * fix pde comment * fixing broken link * Fix broken redirections * fix to rel link * reset head, fix link * add cli to deploy, add script to cli * removing "mcce" * edits to create page * Update default and global release policies OS version and dates to latest release values * emoved e from mcce and other changes * updated example script * added important notice to update page * more update page changes * clarified how proxy configuration is used * anonymizing variables in example script * revise example script * acrolinx fixes to update page * changes to other pages and content in overview page * Update broken link Update broken link * Update windows-sandbox-configure-using-wsb-file.md Update `HostFolder` value description in `MappedFolder`, specifying that the path could be absolute or relative, not only absolute as, instead, is for the `SandboxFolder` value. * Remove bad link Removed bad link. There is already a second link referring to content so no need to replace the link. * docfx update for security book * Correct TOC entry changing Windows 10 to Windows * Update whats-new-do.md - Vpn to VPN - Minor improvements * Updated date for freshness reporting * Add EOS callout Fix some obvious Acrolinx issues * Fixed typo added clarity * Update mcc-ent-deploy-to-windows.md * Update .openpublishing.redirection.windows-deployment.json * Update .openpublishing.redirection.windows-deployment.json * Update policy-csp-localpoliciessecurityoptions.md * Correct indentation and spacing * Acrolinx: "Enteprise" * Update mcc-ent-edu-overview.md * refresh * Remove redirection and final bits of store-for-business store-for-business, AKA /microsoft-store/, is retired, and the content is archived in officearchive-pr. This archival was for ADO task 9268422. * added support content and other changes * fixed tabs * fixed tabs * Updated device reg policy and group information * Update delivery-optimization-endpoints.md Added a line item in MCC table for Outlook *res.cdn.office.net requirement * freshness review * Fix broken links * Minor change * content for faq * changes to landing page * more content to faqs * pencil edit * add copilot exps link * edits and ren cli file temporarily * ren file back and edit toc to lowercase * edit * edit * edit * Update windows-autopatch-configure-network.md Adding a new network endpoint required for the service 'device.autopatch.microsoft.com' @tiaraquan * Clarify some points and remove data that is confusing to customers. * fix syntax * Sentence correction * Update windows/deployment/do/waas-delivery-optimization-faq.yml Co-authored-by: Meghan Stewart <33289333+mestew@users.noreply.github.com> * Update windows/deployment/do/waas-delivery-optimization-faq.yml Co-authored-by: Meghan Stewart <33289333+mestew@users.noreply.github.com> * moved shortcuts under policy settings article --------- Co-authored-by: Alma Jenks <v-alje@microsoft.com> Co-authored-by: Meghan Stewart <33289333+mestew@users.noreply.github.com> Co-authored-by: Stacyrch140 <102548089+Stacyrch140@users.noreply.github.com> Co-authored-by: Nidhi Doshi <77081571+doshnid@users.noreply.github.com> Co-authored-by: Gary Moore <5432776+garycentric@users.noreply.github.com> Co-authored-by: Vinay Pamnani (from Dev Box) <vinpa@microsoft.com> Co-authored-by: Vinay Pamnani <37223378+vinaypamnani-msft@users.noreply.github.com> Co-authored-by: Aaron Czechowski <aczechowski@users.noreply.github.com> Co-authored-by: Aditi Srivastava <133841950+aditisrivastava07@users.noreply.github.com> Co-authored-by: Daniel H. Brown <32883970+DHB-MSFT@users.noreply.github.com> Co-authored-by: David Strome <21028455+dstrome@users.noreply.github.com> Co-authored-by: Padma Jayaraman <v-padmaj@microsoft.com> Co-authored-by: Paolo Matarazzo <74918781+paolomatarazzo@users.noreply.github.com> Co-authored-by: Rebecca Agiewich <16087112+rjagiewich@users.noreply.github.com> Co-authored-by: Rick Munck <33725928+jmunck@users.noreply.github.com> Co-authored-by: Tanaka <Huios@users.noreply.github.com> Co-authored-by: Tiara Quan <95256667+tiaraquan@users.noreply.github.com> Co-authored-by: Frank Rojas <45807133+frankroj@users.noreply.github.com> Co-authored-by: Davide Piccinini <davide.piccinini.95@gmail.com> Co-authored-by: Phil Garcia <phil@thinkedge.com> Co-authored-by: Learn Build Service GitHub App <Learn Build Service LearnBuild@microsoft.com> Co-authored-by: tiaraquan <tiaraquan@microsoft.com> Co-authored-by: Caitlin Hart <caithart@microsoft.com> Co-authored-by: Harman Thind <63820404+hathin@users.noreply.github.com> Co-authored-by: [cmknox] <[cmknox@gmail.com]> Co-authored-by: Carmen Forsmann <cmforsmann@live.com>
14 KiB
title, description, ms.service, ms.subservice, ms.topic, manager, ms.author, author, appliesto, ms.date
title | description | ms.service | ms.subservice | ms.topic | manager | ms.author | author | appliesto | ms.date | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Create and configure MCC cache nodes | Details on how to create and configure Microsoft Connected Cache for Enterprise and Education (MCC) cache nodes. | windows-client | itpro-updates | how-to | naengler | nidos | doshnid |
|
06/03/2024 |
Create Microsoft Connected Cache Azure resource and cache nodes
This article outlines how to create and configure your Microsoft Connected Cache for Enterprise and Education (MCC) cache nodes. The creation and configuration of your cache node takes place in Azure. The deployment of your cache node requires downloading and running an OS-specific provisioning package on your host machine.
Prerequisites
- Azure Pay-As-You-Go subscription: Microsoft Connected Cache is a free-of-charge service hosted in Azure. You'll need a pay-as-you-go Azure subscription in order to onboard to our service. To create a subscription, go to pay-as-you-go subscription page.
- Hardware to host MCC: The recommended configuration serves approximately 35,000 managed devices, downloading a 2-GB payload in 24-hour timeframe at a sustained rate of 6.5 Gbps.
For more information on sizing and OS requirements, see the prerequisites for using MCC.
Create MCC Azure resource
Azure portal
- In the Azure portal, select Create a Resource and search for "Microsoft Connected Cache for Enterprise and Education".
-
Select the Microsoft Connected Cache for Enterprise resource. When prompted, choose the subscription, resource group, and location for the resource. Then enter a name for the resource and select Review + Create.
-
After a few moments, you'll see a "Validation successful" message, indicating you can move onto the next step and select Create.
-
The creation of the resource might take a few minutes. After a successful creation, you'll see a Deployment complete page as below. Select Go to resource to create cache nodes.
Azure CLI
Prerequisites
-
An Azure CLI environment:
-
Use the Bash environment in Azure Cloud Shell.
-
Or, if you prefer to run CLI reference commands locally, install the Azure CLI
-
Sign in to the Azure CLI by using the az login command.
-
Run az version to find the version and dependent libraries that are installed. To upgrade to the latest version, run az upgrade.
-
Install Azure CLI extension mcc by following the instructions here.
-
Resource group under which an MCC resource can be created. Use the az group create command to create a new Resource group if you don't already have one.
-
-
Create MCC Azure resource
Replace the following placeholders with your own information:
- <resource-group>: An existing resource group in your subscription.
- <mcc-resource-name>: A name for your Microsoft Connected Cache for Enterprise resource.
- <location>: The Azure region where your Microsoft Connected Cache will be located.
az mcc ent resource create --mcc-resource-name <mymccresource> --resource-group <myrg> --location <region>
Create MCC cache node
Azure portal
-
Open Azure portal and navigate to the Microsoft Connected Cache for Enterprise resource that you created.
-
Under Cache Node Management, select on Cache Nodes and then on + Create Cache Node.
-
Provide a name for your cache node and select the host OS you plan to deploy the cache node on and select create. Note, cache node names have to be unique under the Microsoft Connected Cache resource.
The creation of cache node might take a few minutes. Select Refresh to see your recently created cache node.
Once the cache node state changes to Not Configured, you can now configure your cache node.
To know more about different cache node state, see Cache node states.
Azure CLI
Use the following command to create a new cache node if you don't already have one.
Replace the following placeholders with your own information:
- <resource-group>: An existing resource group in your subscription.
- <mcc-resource-name>: A name for your Microsoft Connected Cache for Enterprise resource.
- <cache-node-name>: The Azure region where your Microsoft Connected Cache will be located.
- <host-os>: The OS on which cache node will be provisioned. Accepted values: windows, linux
az mcc ent node create --cache-node-name <mycachenode> --mcc-resource-name <mymccresource> --resource-group <myrg> --host-os <linux>
Note
To ensure cache node has been created successfully, please run the following command before continuing with cache node configuration.
az mcc ent node show --cache-node-name <mycachenode> --mcc-resource-name <mymccresource> --resource-group <myrg>
In the output look for cacheNodeState. If cacheNodeState = Not Configured, you can continue with cache node configuration. If cacheNodeState = Registration in Progress, then the cache node is still in process of being created. Please wait for a minute or two more and run the command again. To know more about different cache node state, see Cache node states.
Configure MCC cache node
Azure portal
Enter required values to configure your cache node. To learn more about the definitions of each field, review the Configuration fields at the bottom of this article. Don't forget to select save after adding configuration information.
Azure CLI
Configure Linux MCC
Use the following command to configure cache node for deployment to a Linux host machine.
Replace the following placeholders with your own information:
- <resource-group>: An existing resource group in your subscription.
- <mcc-resource-name>: A name for your Microsoft Connected Cache for Enterprise resource.
- <cache-node-name>: The Azure region where your Microsoft Connected Cache will be located.
- <physical-path>: The cache drive path. You can add upto nine cache drives.
- <size-in-gb>: The size of cache drive. Must be at least 50 Gb.
- <proxy>: If proxy needs to be enabled or not.
Accepted values: enabled, disabled
Proxy should be set to enabled if the cache node will need to pass through a network proxy to download content. The provided proxy will also be used during deployment of the MCC cache node to your host machine. - <proxy-host>: The proxy host name or ip address. Required if proxy is set to enabled.
- <proxy-port>: Proxy port number. Required if proxy is set to enabled.
- <auto-update-ring>: Update ring the cache node should have.
Accepted values: slow, fast.
If update ring is set to slow, you must provide the day of week, time of day and week of month the cache node should be updated. - <auto-update-day>: The day of the week cache node should be updated. Week starts from Monday.
Accepted values: 1,2,3,4,5,6,7 - <auto-update-time>: The time of day cache node should be updated in 24 hour format (hh:mm)
- <auto-update-week>: The week of month cache node should be updated.
Accepted values: 1,2,3,4
az mcc ent node update --cache-node-name <mycachenode> --mcc-resource-name <mymccresource> --resource-group <myrg>
--cache-drive "[{physical-path:</physical/path>,size-in-gb:<size of cache drive>},{</physical/path>,size-in-gb:<size of cache drive>}...]"> --proxy <enabled> --proxy-host <"proxy host name"> --proxy-port <proxy port> --auto-update-day <day of week> --auto-update-time <time of day> --auto-update-week <week of month> --auto-update-ring <update ring>
Configure Windows MCC
Use the following command to configure cache node for deployment to a Windows host machine.
Replace the following placeholders with your own information:
- <resource-group>: An existing resource group in your subscription.
- <mcc-resource-name>: A name for your Microsoft Connected Cache for Enterprise resource.
- <cache-node-name>: The Azure region where your Microsoft Connected Cache will be located.
- <physical-path>: The cache drive path.
Accepted value: /var/mcc - <size-in-gb>: The size of cache drive. Must be at least 50 Gb.
- <proxy>: If proxy needs to be enabled or not.
Accepted values: enabled, disabled
Proxy should be set to enabled if the cache node will need to pass through a network proxy to download content. The provided proxy will also be used during deployment of the MCC cache node to your host machine. - <proxy-host>: The proxy host name or ip address. Required if proxy is set to enabled.
- <proxy-port>: Proxy port number. Required if proxy is set to enabled.
- <auto-update-ring>: Update ring the cache node should have.
Accepted values: slow, fast.
If update ring is set to slow, you must provide the day of week, time of day and week of month the cache node should be updated. - <auto-update-day>: The day of the week cache node should be updated. Week starts from Monday.
Accepted values: 1,2,3,4,5,6,7 - <auto-update-time>: The time of day cache node should be updated in 24 hour format (hh:mm)
- <auto-update-week>: The week of month cache node should be updated.
Accepted values: 1,2,3,4
az mcc ent node update --cache-node-name <mycachenode> --mcc-resource-name <mymccresource> --resource-group <myrg>
--cache-drive "[{physical-path:/var/mcc,size-in-gb:<size of cache drive>}]" --proxy <enabled> --proxy-host <"proxy host name"> --proxy-port <proxy port> --auto-update-day <day of week> --auto-update-time <time of day> --auto-update-week <week of month> --auto-update-ring <update ring>
Next step
Azure portal
To deploy the cache node to a Windows host machine, see
[!div class="nextstepaction"] Deploy cache node to Windows
To deploy the cache node to a Linux host machine, see
[!div class="nextstepaction"] Deploy cache node to Linux
Azure CLI
To deploy cache nodes using Azure CLI, see
[!div class="nextstepaction"] Manage cache nodes using CLI
General configuration fields
Field Name | Expected Value | Description |
---|---|---|
Cache node name | Alphanumeric string that contains no spaces | The name of the cache node. You may choose names based on location such as "Seattle-1". This name must be unique and can't be changed later |
Host OS | Linux or Windows | This is the operating system of the host machine that the cache node will be deployed to. |
Storage fields
Cache node for Linux
Important
All cache drives must have full read/write permissions set or the cache node will not function. For example, in a terminal you can run: sudo chmod 777 /path/to/cachedrivefolder
Field Name | Expected Value | Description |
---|---|---|
Cache drive folder | File path string | Up to nine drive folders accessible by the cache node can be configured for each cache node to configure cache storage. Enter the location of the folder in Ubuntu where the external physical drive is mounted. For example: /dev/sda3/. Each cache drive should have read/write permissions configured. Ensure your disks are mounted and visit Attach a data disk to a Linux VM for more information. |
Cache drive size in gigabytes | Integer in GB | Set the size of each drive configured for the cache node. Minimum cache drive size is 50 GB. |
Cache node for Windows
Field Name | Expected Value | Description |
---|---|---|
Cache drive folder | File path string /var/mcc | This is the folder path where content is cached. You can't change the folder path. |
Cache drive size in gigabytes | Integer in GB | Set the size of each drive configured for the cache node. Minimum cache drive size is 50 GB. |
Proxy settings
You can choose to enable or disable proxy settings on your cache node. Proxy should be set to enabled if the cache node will need to pass through a network proxy to download content. The provided proxy will also be used during deployment of the MCC cache node to your host machine.
Important
Enabling or disabling the proxy settings after your cache node has been deployed will require running the provisioning script on the host machine again. This will ensure that proxy changes are in effect on the cache node.
Field Name | Expected Value | Description |
---|---|---|
Proxy host name | String or number | Proxy host name or address |
Proxy port | Integer | Proxy port |
Cache node states
Cache node state | Description |
---|---|
Creation in progress | Cache node is being created |
Registration in progress | Cache node is being registered |
Not configured | Cache node is ready to be configured |
Not provisioned | Cache node is ready to be provisioned on host machine |
Healthy | Cache node phoning home |
Unhealthy | Cache node has stopped phoning home |
Never phoned home | Cache node has provisioned but has never phoned home |