--- title: MCC for Enterprise manage cache nodes using CLI description: Microsoft Connected Cache for Enterprise. Learn about managing cache nodes using CLI ms.service: windows-client ms.subservice: itpro-updates ms.topic: how-to manager: aaroncz ms.author: nidos author: doshnid ms.reviewer: mstewart ms.collection: tier3 appliesto: - ✅ Windows 11 - ✅ Windows 10 - ✅ Microsoft Connected Cache for Enterprise ms.date: 06/03/2024 --- # Manage cache nodes using CLI
This article outlines how to create, configure and provision your Microsoft Connected Cache for Enterprise cache nodes using Azure CLI. ## Prerequisites: 1. **Install Azure CLI**: [How to install the Azure CLI](/cli/azure/install-azure-cli) 1. **Install MCC extension**: [Install the MCC extension.](/cli/azure/azure-cli-extensions-overview#how-to-install-extensions)

### 1. Create a Resource group The first step is to create a resource group if you don't already have one. An Azure resource group is a logical container into which Azure resources are deployed and managed. To create a resource group, use [az group create](/cli/azure/group?view=azure-cli-latest#az-group-create).
```azurecli-interactive az group create --name myrg --location westus ``` Once the resource group is created, you will need to create a Microsoft Connected Cache for Enterprise resource. ### 2. Create a MCC resource A MCC resource is a resource under which cache nodes can be created. To create a mcc resource, use az mcc ent resource create ```azurecli-interactive az mcc ent resource create --mcc-resource-name mymccresource --resource-group myrg ```
>[!IMPORTANT] >In the output, look for operationStatus. **operationStatus = Succeeded** indicates that our services have successfully started creating MCC resource.
The next step is to create a cache node under this resource. ### 3. Create a cache node To create a cache node, use az mcc ent node create ```azurecli-interactive az mcc ent node create --cache-node-name mycachenode --mcc-resource-name mymccresource --resource-group myrg --host-os linux ```
>[!IMPORTANT] >In the output, look for operationStatus. **operationStatus = Succeeded** indicates that our services have successfully started creating cache node.
### 4. Confirm cache node creation Before you can start configuring your cache node, you need to confirm that cache node creation has been successful. To confirm cache node creation, use az mcc ent node show
```azurecli-interactive az mcc ent node show --cache-node-name mycachenode --mcc-resource-name mymccresource --resource-group myrg ``` >[!IMPORTANT] >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.
Once the cache node has been created successfully, you can now configure the cache node. ### 5. Configure cache node To configure your cache node, use az mcc ent node update The below example configures a Linux cache node with proxy enabled: ```azurecli-interactive az mcc ent node update --cache-node-name --mcc-resource-name --resource-group --cache-drive "[{physical-path:,size-in-gb:},{,size-in-gb:}...]"> --proxy --proxy-host <"proxy host name"> --proxy-port --auto-update-day --auto-update-time