Skip to content

Commit 94a6ab4

Browse files
committed
most questions answered
1 parent 1124a81 commit 94a6ab4

File tree

3 files changed

+47
-17
lines changed

3 files changed

+47
-17
lines changed

articles/hpc-cache/hpc-cache-add-storage.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: Add storage to an Azure HPC Cache
33
description: How to define storage targets so that your Azure HPC Cache can use your on-premises NFS system or Azure Blob containers for long-term file storage
4-
author: femila
4+
author: rohogue
55
ms.service: hpc-cache
66
ms.topic: how-to
7-
ms.date: 09/22/2021
7+
ms.date: 12/29/2021
88
ms.custom: subject-rbac-steps
9-
ms.author: femila
9+
ms.author: rohogue
1010
---
1111

1212
# Add storage targets
@@ -120,7 +120,7 @@ You can do this ahead of time, or by clicking a link on the portal page where yo
120120
1. Select **Add** > **Add role assignment** to open the Add role assignment page.
121121

122122
1. Assign the following roles, one at a time. For detailed steps, see [Assign Azure roles using the Azure portal](../role-based-access-control/role-assignments-portal.md).
123-
123+
124124
| Setting | Value |
125125
| --- | --- |
126126
| Roles | [Storage Account Contributor](../role-based-access-control/built-in-roles.md#storage-account-contributor) <br/> [Storage Blob Data Contributor](../role-based-access-control/built-in-roles.md#storage-blob-data-contributor) |
@@ -149,7 +149,7 @@ Steps to add the Azure roles:
149149
150150
1. Click the **Save** button at the bottom.
151151
152-
1. Repeat this process to assign the role "Storage Blob Data Contributor".
152+
1. Repeat this process to assign the role "Storage Blob Data Contributor".
153153
154154
![screenshot of add role assignment GUI](media/hpc-cache-add-role.png) -->
155155

@@ -320,6 +320,7 @@ az hpc-cache nfs-storage-target add --resource-group "hpc-cache-group" --cache-n
320320
```
321321

322322
Output:
323+
323324
```azurecli
324325
325326
{- Finished ..
@@ -451,4 +452,4 @@ After creating storage targets, continue with these tasks to get your cache read
451452
* [Mount the Azure HPC Cache](hpc-cache-mount.md)
452453
* [Move data to Azure Blob storage](hpc-cache-ingest.md)
453454

454-
If you need to update any settings, you can [edit a storage target](hpc-cache-edit-storage.md).
455+
If you need to update any settings, you can [edit a storage target](hpc-cache-edit-storage.md).

articles/hpc-cache/hpc-cache-prerequisites.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Prerequisites for using Azure HPC Cache
44
author: ekpgh
55
ms.service: hpc-cache
66
ms.topic: how-to
7-
ms.date: 11/03/2021
7+
ms.date: 01/03/2022
88
ms.author: rohogue
99
---
1010

@@ -132,6 +132,8 @@ To create a compatible storage account, use one of these combinations:
132132

133133
The storage account must be accessible from your cache's private subnet. If your account uses a private endpoint or a public endpoint that is restricted to specific virtual networks, make sure to enable access from the cache's subnet. (An open public endpoint is not recommended.)
134134

135+
Read [Work with private endpoints](#work-with-private-endpoints) for tips about using private endpoints with HPC Cache storage targets.
136+
135137
It's a good practice to use a storage account in the same Azure region as your cache.
136138

137139
You also must give the cache application access to your Azure storage account as mentioned in [Permissions](#permissions), above. Follow the procedure in [Add storage targets](hpc-cache-add-storage.md#add-the-access-control-roles-to-your-account) to give the cache the required access roles. If you are not the storage account owner, have the owner do this step.
@@ -207,6 +209,8 @@ This is a general overview of the steps. These steps might change, so always ref
207209
* Instead of the using the storage account settings for a standard blob storage account, follow the instructions in the [how-to document](../storage/blobs/network-file-system-protocol-support-how-to.md). The type of storage account supported might vary by Azure region.
208210

209211
* In the Networking section, choose a private endpoint in the secure virtual network you created (recommended), or choose a public endpoint with restricted access from the secure VNet.
212+
213+
Read [Work with private endpoints](#work-with-private-endpoints) for tips about using private endpoints with HPC Cache storage targets.
210214

211215
* Do not forget to complete the Advanced section, where you enable NFS access.
212216

@@ -216,10 +220,29 @@ This is a general overview of the steps. These steps might change, so always ref
216220

217221
Learn more about using ADLS-NFS storage targets with Azure HPC Cache in [Use NFS-mounted blob storage with Azure HPC Cache](nfs-blob-considerations.md).
218222

223+
### Work with private endpoints <!-- [Work with private endpoints](#work-with-private-endpoints) -->
224+
225+
Azure Storage supports private endpoints to allow secure data access. You can use private endpoints with Azure Blob or NFS-mounted blob storage targets.
226+
227+
[Learn more about private endpoints](../storage/common/storage-private-endpoints)
228+
229+
Keep these tips in mind if you use storage targets with private endpoints:
230+
231+
* If you need to change a private endpoint's configuration, first suspend any storage targets that use the endpoint. Follow this procedure to avoid communication problems between the storage and the HPC Cache:
232+
233+
1. Suspend the storage target (or all of the storage targets if more than one uses the endpoint)
234+
1. Make changes to the private endpoint, and save those changes
235+
1. Put the storage target back into service with the "resume" command
236+
1. Refresh the storage target's DNS setting
237+
238+
Read [View and manage storage targets](manage-storage-targets.md) to learn how to suspend, resume, and refresh DNS for storage targets.
239+
240+
* For NFS-mounted blob storage, you cannot delete the storage endpoint that was created with the storage subnet. You might assume that the subnet's storage endpoint is not needed after you set up a private endpoint, but some Azure processes still expect it to exist. <!--the storage endpoint that is associated with the subnet ***[??? is this the storage's subnet? And you think you should be able to delete it because you're using NFS or something? ???]*** -->
241+
219242
## Set up Azure CLI access (optional)
220243
221244
If you want to create or manage Azure HPC Cache from the Azure CLI, you need to install Azure CLI and the hpc-cache extension. Follow the instructions in [Set up Azure CLI for Azure HPC Cache](az-cli-prerequisites.md).
222245
223246
## Next steps
224247
225-
* [Create an Azure HPC Cache instance](hpc-cache-create.md) from the Azure portal
248+
* [Create an Azure HPC Cache instance](hpc-cache-create.md) from the Azure portal

articles/hpc-cache/manage-storage-targets.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: Manage Azure HPC Cache storage targets
33
description: How to suspend, remove, force delete, and flush Azure HPC Cache storage targets, and how to understand the storage target state
4-
author: femila
4+
author: rohogue
55
ms.service: hpc-cache
66
ms.topic: how-to
7-
ms.date: 09/27/2021
8-
ms.author: femila
7+
ms.date: 12/29/2021
8+
ms.author: rohogue
99
---
1010

1111
# View and manage storage targets
@@ -35,7 +35,7 @@ These options are available:
3535
* **Force remove** - Delete a storage target, skipping some safety steps (**Force remove can cause data loss**)
3636
* **Delete** - Permanently remove a storage target
3737

38-
Some storage targets also have a **Refresh DNS** option on this menu, which updates the storage target IP address from a custom DNS server. This configuration is uncommon.
38+
Some storage targets also have a **Refresh DNS** option on this menu, which updates the storage target IP address from a custom DNS server<!-- or from an Azure Storage private endpoint -->. This configuration is uncommon. <!-- is it still uncommon when we support private endpoints? --> <!-- need to update the section below also -->
3939

4040
Read the rest of this article for more detail about these options.
4141

@@ -105,13 +105,19 @@ $ az hpc-cache storage-target remove --resource-group cache-rg --cache-name doc-
105105

106106
---
107107

108-
### Update IP address (custom DNS configurations only)
108+
### Update IP address (specific configurations only)
109109

110-
If your cache uses a non-default DNS configuration, it's possible for your NFS storage target's IP address to change because of back-end DNS changes. If your DNS server changes the back-end storage system's IP address, Azure HPC Cache can lose access to the storage system.
110+
In some situations, you might need to update your storage target's IP address. This can happen in two scenarios:
111111

112-
Ideally, you should work with the manager of your cache's custom DNS system to plan for any updates, because these changes make storage unavailable.
112+
* Your cache uses a custom DNS system instead of the default setup, and the network infrastructure has changed.
113113

114-
If you need to update a storage target's DNS-provided IP address, use the **Storage targets** page. Click the **...** symbol in the right column to open the context menu. Choose **Refresh DNS** to query the custom DNS server for a new IP address.
114+
* Your storage target uses a private endpoint to access Azure Blob or NFS-mounted blob storage, and you have updated the endpoint's configuration. (You should suspend storage targets before modifying their private endpoints, as described in the [prerequisites article](#work-with-private-endpoints).)
115+
116+
With a custom DNS system, it's possible for your NFS storage target's IP address to change because of back-end DNS changes. If your DNS server changes the back-end storage system's IP address, Azure HPC Cache can lose access to the storage system. Ideally, you should work with the manager of your cache's custom DNS system to plan for any updates, because these changes make storage unavailable.
117+
118+
If you use a private endpoint for secure storage access, the endpoint's IP addresses can change if you modify its configuration. If you need to change your private endpoint configuration, you should suspend the storage target (or targets) that use the endpoint, then refresh their IP addresses when you re-activate them. Read [Work with private endpoints](#work-with-private-endpoints) for additional information.
119+
120+
***NOTE: Need to check the GUI on this*** If you need to update a storage target's IP address, use the **Storage targets** page. Click the **...** symbol in the right column to open the context menu. Choose **Refresh DNS** to query the custom DNS server or private endpoint for a new IP address.
115121

116122
![Screenshot of storage target list. For one storage target, the "..." menu in the far right column is open and these options appear: Flush, Suspend, Refresh DNS, Force remove, Resume (this option is disabled), and Delete.](media/refresh-dns.png)
117123

@@ -134,4 +140,4 @@ The **State** value affects which management options you can use. Here is a shor
134140
## Next steps
135141

136142
* Learn about [cache-level management actions](hpc-cache-manage.md)
137-
* [Edit a storage target](hpc-cache-edit-storage.md)
143+
* [Edit a storage target](hpc-cache-edit-storage.md)

0 commit comments

Comments
 (0)