Skip to content

Commit 0d5f383

Browse files
committedSep 22, 2021
HPC add storage target stateinformation
1 parent 7ba6c20 commit 0d5f383

11 files changed

+44
-21
lines changed
 

‎articles/hpc-cache/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Consider using a test cache to check and refine your DNS setup before you use it
7676

7777
### Refresh storage target DNS
7878

79-
If your DNS server updates IP addresses, the associated NFS storage targets will become temporarily unavailable. Read how to update your custom DNS system IP addresses in [Manage storage targets](manage-storage-targets.md#update-ip-address-custom-dns-configurations-only).
79+
If your DNS server updates IP addresses, the associated NFS storage targets will become temporarily unavailable. Read how to update your custom DNS system IP addresses in [View and manage storage targets](manage-storage-targets.md#update-ip-address-custom-dns-configurations-only).
8080

8181
## View snapshots for blob storage targets
8282

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: How to define storage targets so that your Azure HPC Cache can use
44
author: ekpgh
55
ms.service: hpc-cache
66
ms.topic: how-to
7-
ms.date: 07/12/2021
7+
ms.date: 09/22/2021
88
ms.custom: subject-rbac-steps
99
ms.author: v-erkel
1010
---
@@ -397,7 +397,7 @@ From the Azure portal, open your cache instance and click **Storage targets**, w
397397

398398
Click on a storage target's name to open its details page.
399399

400-
Read [Edit storage targets](hpc-cache-edit-storage.md) to learn more.
400+
Read [View and manage storage targets](manage-storage-targets.md) and [Edit storage targets](hpc-cache-edit-storage.md) to learn more.
401401

402402
### [Azure CLI](#tab/azure-cli)
403403

‎articles/hpc-cache/hpc-cache-edit-storage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: v-erkel
1313
You can modify storage targets with the Azure portal or by using the Azure CLI. For example, you can change access policies, usage models, and namespace paths for an existing storage target.
1414

1515
> [!TIP]
16-
> Read [Manage storage targets](manage-storage-targets.md) to learn how to delete or suspend storage targets, or make them write cached data to back-end storage.
16+
> Read [View and manage storage targets](manage-storage-targets.md) to learn how to delete or suspend storage targets, or make them write cached data to back-end storage.
1717
1818
Depending on the type of storage, you can modify these storage target values:
1919

@@ -68,7 +68,7 @@ To change a blob storage target's namespace with the Azure CLI, use the command
6868

6969
For NFS storage targets, you can change or add virtual namespace paths, change the NFS export or subdirectory values that a namespace path points to, and change the usage model.
7070

71-
Storage targets in caches with some types of custom DNS settings also have a control for refreshing their IP addresses. (This kind of configuration is rare.) Learn how to refresh the DNS settings in [Manage storage targets](manage-storage-targets.md#update-ip-address-custom-dns-configurations-only).
71+
Storage targets in caches with some types of custom DNS settings also have a control for refreshing their IP addresses. (This kind of configuration is rare.) Learn how to refresh the DNS settings in [View and manage storage targets](manage-storage-targets.md#update-ip-address-custom-dns-configurations-only).
7272

7373
Details are below:
7474

@@ -174,6 +174,6 @@ The configuration for ADLS-NFS usage models is identical to the NFS usage model
174174

175175
## Next steps
176176

177-
* Read [Manage storage targets](manage-storage-targets.md) for information about stopping, deleting, and flushing individual storage targets.
177+
* Read [View and manage storage targets](manage-storage-targets.md) for information about stopping, deleting, and flushing individual storage targets.
178178
* Read [Add storage targets](hpc-cache-add-storage.md) to learn more about storage target options.
179179
* Read [Plan the aggregated namespace](hpc-cache-namespace.md) for more tips about using virtual paths.

‎articles/hpc-cache/hpc-cache-manage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The buttons at the top of the page can help you manage the cache:
3030
Read more about these options below.
3131

3232
> [!TIP]
33-
> You can also manage individual storage targets - read [Manage storage targets](manage-storage-targets.md) for details.
33+
> You can also manage individual storage targets - read [View and manage storage targets](manage-storage-targets.md) for details.
3434
3535
Click the image below to watch a [video](https://azure.microsoft.com/resources/videos/managing-hpc-cache/) that demonstrates cache management tasks.
3636

‎articles/hpc-cache/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ landingContent:
6161
url: hpc-cache-support-ticket.md
6262
- text: Edit a storage target
6363
url: hpc-cache-edit-storage.md
64-
- text: Manage storage targets
64+
- text: View and manage storage targets
6565
url: manage-storage-targets.md
6666
- text: Work around firewall settings to create Blob storage targets
6767
url: hpc-cache-blob-firewall-fix.md

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

Lines changed: 35 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
---
22
title: Manage Azure HPC Cache storage targets
3-
description: How to suspend, remove, force delete, and flush Azure HPC Cache storage targets
3+
description: How to suspend, remove, force delete, and flush Azure HPC Cache storage targets, and how to understand the storage target state
44
author: ekpgh
55
ms.service: hpc-cache
66
ms.topic: how-to
7-
ms.date: 07/12/2021
7+
ms.date: 09/22/2021
88
ms.author: v-erkel
99
---
1010

11-
# Manage storage targets
11+
# View and manage storage targets
12+
13+
The storage targets settings page shows information about each storage target for your HPC Cache, and gives options to manage individual storage targets.
14+
15+
> [!TIP]
16+
> Instructions for listing storage targets using Azure CLI are included in the [Add storage targets](hpc-cache-add-storage.md#view-storage-targets) article. Other actions listed here might not yet be available in Azure CLI.
17+
18+
![Screenshot of the Settings > Storage targets page in the Azure portal. There are multiple storage targets in the list, and column headings show Name, Type, State, Provisioning state, Address/Container, and Usage model for each one.](media/storage-targets-list-states.png)
19+
20+
## Manage storage targets
1221

1322
You can perform management actions on individual storage targets. These actions supplement the cache-level options discussed in [Manage your cache](hpc-cache-manage.md).
1423

@@ -30,7 +39,7 @@ Some storage targets also have a **Refresh DNS** option on this menu, which upda
3039

3140
Read the rest of this article for more detail about these options.
3241

33-
## Write cached files to the storage target
42+
### Write cached files to the storage target
3443

3544
The **Flush** option tells the cache to immediately copy any changed files stored in the cache to the back-end storage system. For example, if your client machines are updating a particular file repeatedly, it is held in the cache for quicker access and not written to the long-term storage system for a period ranging from several minutes to more than an hour.
3645

@@ -42,15 +51,15 @@ You could use this option to make sure that the back-end storage is populated be
4251

4352
This option mainly applies to usage models that include write caching. Read [Understand cache usage models](cache-usage-models.md) to learn more about read and write caching.
4453

45-
## Suspend a storage target
54+
### Suspend a storage target
4655

4756
The suspend feature disables client access to a storage target, but doesn't permanently remove the storage target from your cache. You can use this option if you need to disable a back-end storage system for maintenance, repair, or replacement.
4857

49-
## Put a suspended storage target back in service
58+
### Put a suspended storage target back in service
5059

5160
Use **Resume** to un-suspend a storage target.
5261

53-
## Force remove a storage target
62+
### Force remove a storage target
5463

5564
> [!NOTE]
5665
> This option can cause data loss for the affected storage target.
@@ -64,7 +73,7 @@ There also is no guarantee that the back-end storage system will be accessible a
6473
Usually, force remove is used only when a storage target has become unresponsive or otherwise is in a bad state. This option lets you remove the bad storage target instead of having to take more drastic action.
6574
<!-- https://msazure.visualstudio.com/One/_workitems/edit/8267141 -->
6675

67-
## Delete a storage target
76+
### Delete a storage target
6877

6978
You can use the Azure portal or the AZ CLI to delete a storage target.
7079

@@ -74,11 +83,11 @@ Deleting a storage target removes the storage system's association with this Azu
7483

7584
If there is a large amount of changed data stored in the cache, deleting a storage target can take several minutes to complete. Wait for the action to finish to be sure that the data is safely stored in your long-term storage system.
7685

77-
### [Portal](#tab/azure-portal)
86+
#### [Portal](#tab/azure-portal)
7887

7988
To remove a storage target, open the **Storage targets** page. Click the '...' next to the storage target and choose **Delete** from the menu.
8089

81-
### [Azure CLI](#tab/azure-cli)
90+
#### [Azure CLI](#tab/azure-cli)
8291

8392
[Set up Azure CLI for Azure HPC Cache](./az-cli-prerequisites.md).
8493

@@ -97,18 +106,32 @@ $ az hpc-cache storage-target remove --resource-group cache-rg --cache-name doc-
97106

98107
---
99108

100-
## Update IP address (custom DNS configurations only)
109+
### Update IP address (custom DNS configurations only)
101110

102111
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.
103112

104113
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.
105114

106115
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.
107116

108-
![Screenshot of storage target list. For one storage target, the "..." menu in the far right column is open and two options appear: Delete, and Refresh DNS.](media/refresh-dns.png) <!-- update screenshot if possible -->
117+
![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)
109118

110119
If successful, the update should take less than two minutes. You can only refresh one storage target at a time; wait for the previous operation to complete before trying another.
111120

121+
### Understand storage target state
122+
123+
The storage target list shows two types of status: **State** and **Provisioning state**.
124+
125+
* **State** indicates the operational state of the storage target. This value updates regularly and helps you understand whether or not the storage target is available for client requests and which of the management options are available.
126+
* **Provisioning state** tells you whether the last action to add or edit the storage target was successful. This value is only updated if you edit the storage target.
127+
128+
The **State** value affects which management options you can use. Here is a short explanation of the values and their effects.
129+
130+
* **Ready** - The storage target is operating normally and available to clients. You can use any of the management options on this storage target (except for **Resume**, which only is valid for suspended storage targets).
131+
* **Busy** - The storage target is processing another operation. You can delete or force remove the storage target.
132+
* **Suspended** - The storage target has been taken offline. You can still flush, delete, or force remove this storage target. Choose **Resume** to put the target back in service.
133+
* **Flushing** - The storage target is writing data to the back-end storage.
134+
112135
## Next steps
113136

114137
* Learn about [cache-level management actions](hpc-cache-manage.md)
Loading
495 Bytes
Loading
Loading
Loading

‎articles/hpc-cache/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ items:
4343
href: hpc-cache-ingest-manual.md
4444
- name: Edit storage targets
4545
href: hpc-cache-edit-storage.md
46-
- name: Manage storage targets
46+
- name: View and manage storage targets
4747
href: manage-storage-targets.md
4848
- name: Connect to the cache
4949
href: hpc-cache-mount.md

0 commit comments

Comments
 (0)