From 70038cd3c926f982e57b977337a3aa40ac9b946c Mon Sep 17 00:00:00 2001 From: Nidhi Doshi <77081571+doshnid@users.noreply.github.com> Date: Thu, 19 Sep 2024 11:02:08 -0700 Subject: [PATCH] mcc ent create content --- .../do/mcc-ent-create-resource-and-cache.md | 289 +++++++++++------- 1 file changed, 183 insertions(+), 106 deletions(-) diff --git a/windows/deployment/do/mcc-ent-create-resource-and-cache.md b/windows/deployment/do/mcc-ent-create-resource-and-cache.md index 3309c1bd6c..5981e19584 100644 --- a/windows/deployment/do/mcc-ent-create-resource-and-cache.md +++ b/windows/deployment/do/mcc-ent-create-resource-and-cache.md @@ -16,134 +16,211 @@ appliesto: ms.date: 06/03/2024 --- - - - - -# " * " -TODO: Add your heading - - - -TODO: Add your introductory paragraph - - - - +This article outlines how to create and configure your Microsoft Connected Cache for Enterprise cache nodes. The creation and configuration of your cache node takes place in Azure portal. The deployment of your cache node requires downloading an installer script that will need to be run on your cache server. ## Prerequisites +1. **Azure Pay-As-You-Go subscription**: Microsoft Connected Cache is a completely free-of-charge service hosted in Azure. You'll need to have a Pay-As-You-Go subscription in order to onboard to our service. To create a subscription, go to [Pay-As-You-Go subscription page](https://azure.microsoft.com/offers/ms-azr-0003p/). +2. **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, please visit [Host OS Requirement]() -TODO: List the prerequisites +## Create MCC resource - + :::image type::: -## "\ * \" -TODO: Add introduction sentence(s) -[Include a sentence or two to explain only what is needed to complete the procedure.] -TODO: Add ordered list of procedure steps -1. Step 1 -1. Step 2 -1. Step 3 + * Or, if you prefer to run CLI reference commands locally, [install the Azure CLI](/cli/azure/install-azure-cli) -## "\ * \" -TODO: Add introduction sentence(s) -[Include a sentence or two to explain only what is needed to complete the procedure.] -TODO: Add ordered list of procedure steps -1. Step 1 -1. Step 2 -1. Step 3 + * Sign in to the Azure CLI by using the [az login](/cli/azure/reference-index#az-login) command. -## "\ * \" -TODO: Add introduction sentence(s) -[Include a sentence or two to explain only what is needed to complete the procedure.] -TODO: Add ordered list of procedure steps -1. Step 1 -1. Step 2 -1. Step 3 + * Run [az version](/cli/azure/reference-index#az-version) to find the version and dependent libraries that are installed. To upgrade to the latest version, run [az upgrade](/cli/azure/reference-index#az-upgrade). - +Replace the following placeholders with your own information: +* *\*: An existing resource group in your subscription. +* *\*: A name for your Microsoft Connected Cache for Enterprise resource. +* *\*: The Azure region where your Microsoft Connected Cache will be located. + +```azurecli-interactive +az mcc ent resource create --mcc-resource-name --resource-group --location +``` + +# [Azure portal](#tab/portal) + +1. In the [Azure portal](https://portal.azure.com), select **Create a Resource** and search for "Microsoft Connected Cache for Enterprise and Education". + +2. Select Microsoft Connected Cache for Enterprise resource. When prompted, choose the subscription, resource group, and location for the resource. Also, enter a name for the resource and click Review + Create. + +3. After a few moments, you'll see a "Validation successful" message, indicating you can move onto the next step and select Create. + +4. The creation of the resource may 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. + +--- + +## Create cache node + +# [Azure CLI](#tab/cli) + +Use the command below to create a new cache node if you don't already have one. + +Replace the following placeholders with your own information: + * *\*: An existing resource group in your subscription. +* *\*: A name for your Microsoft Connected Cache for Enterprise resource. +* *\*: The Azure region where your Microsoft Connected Cache will be located. +* *\*: The OS on which cache node will be provisioned. + Accepted values: windows, linux + +```azurecli-interactive +az mcc ent node create --cache-node-name --mcc-resource-name --resource-group --host-os +``` +
+[!NOTE] +To ensure cache node has been created successfully, please run the following command before continuing with cache node configuration. +```azurecli-interactive +az mcc ent node show --cache-node-name --mcc-resource-name --resource-group +``` +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. + +# [Azure portal](#tab/portal) + + 1. Open Azure portal and navigate to the Microsoft Connected Cache for Enterprise resource that you created. + 2. Under Cache Node Management, click on Cache Nodes and then on + Create Cache Node. + 3. Provide a name for your cache node and select the host OS you plan to deploy the cache node on and click create. Please note, cache node names have to be unique under the Microsoft Connected Cache resource. + The creation of cache node may take a few minutes. Please click Refresh to see your recently created cache node. +Once the status changes to Not Configured, you can now configure your cache node. + +--- + +### Configure cache node + +# [Azure CLI](#tab/cli) + +Use the command below to configure cache node for **Linux** host os + +Replace the following placeholders with your own information: +* *\*: An existing resource group in your subscription. +* *\*: A name for your Microsoft Connected Cache for Enterprise resource. +* *\*: The Azure region where your Microsoft Connected Cache will be located. +* *\*: The cache drive path. You can add upto 9 cache drives. +* *\*: The size of cache drive. Must be at least 50 Gb. +* *\*: If proxy needs to be enabled or not.
+ Accepted values: enabled, disabled + If proxy is set to enabled, you must provide proxy host and proxy port information +* *\*: The proxy host name or ip address +* *\*: Proxy port +* *\*: 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. +* *\*: The day of the week cache node should be updated. Week starts from Monday.
+ Accepted values: 1,2,3,4,5,6,7 +* *\*: The time of day cache node should be updated in 24 hour format (hh:mm) +* *\*: The week of month cache node should be updated.
+ Accepted values: 1,2,3,4 + +```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