You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/hpc-cache/hpc-cache-manage.md
+24-4Lines changed: 24 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,27 +4,44 @@ description: How to manage and update Azure HPC Cache using the Azure portal
4
4
author: ekpgh
5
5
ms.service: hpc-cache
6
6
ms.topic: conceptual
7
-
ms.date: 1/08/2020
7
+
ms.date: 1/29/2020
8
8
ms.author: rohogue
9
9
---
10
10
11
11
# Manage your cache from the Azure portal
12
12
13
-
The cache overview page in the Azure portal shows project details, cache status, and basic statistics for your cache. It also has controls to delete the cache, flush data to long-term storage, or update software.
13
+
The cache overview page in the Azure portal shows project details, cache status, and basic statistics for your cache. It also has controls to stop or start the cache, delete the cache, flush data to long-term storage, and update software.
14
14
15
15
To open the overview page, select your cache resource in the Azure portal. For example, load the **All resources** page and click the cache name.
16
16
17
17

18
18
19
19
The buttons at the top of the page can help you manage the cache:
20
20
21
+
***Start** and [**Stop**](#stop-the-cache) - Suspends cache operation
21
22
*[**Flush**](#flush-cached-data) - Writes changed data to storage targets
22
23
*[**Upgrade**](#upgrade-cache-software) - Updates the cache software
23
24
***Refresh** - Reloads the overview page
24
25
*[**Delete**](#delete-the-cache) - Permanently destroys the cache
25
26
26
27
Read more about these options below.
27
28
29
+
## Stop the cache
30
+
31
+
You can stop the cache to reduce costs during an inactive period. You are not charged for uptime while the cache is stopped, but you are charged for the cache's allocated disk storage. (See the [pricing](https://aka.ms/hpc-cache-pricing) page for details.)
32
+
33
+
A stopped cache does not respond to client requests. You should unmount clients before stopping the cache.
34
+
35
+
The **Stop** button suspends an active cache. The **Stop** button is available when a cache's status is **Healthy** or **Degraded**.
36
+
37
+

38
+
39
+
After you click Yes to confirm stopping the cache, the cache automatically flushes its contents to the storage targets. This process might take some time, but it ensures data consistency. Finally, the cache status changes to **Stopped**.
40
+
41
+
To reactivate a stopped cache, click the **Start** button. No confirmation is needed.
42
+
43
+

44
+
28
45
## Flush cached data
29
46
30
47
The **Flush** button on the overview page tells the cache to immediately write all changed data that is stored in the cache to the back-end storage targets. The cache routinely saves data to the storage targets, so it's not necessary to do this manually unless you want to make sure the back-end storage system is up to date. For example, you might use **Flush** before taking a storage snapshot or checking the data set size.
@@ -52,6 +69,8 @@ The software update can take several hours. Caches configured with higher throug
52
69
53
70
When a software upgrade is available, you will have a week or so to apply it manually. The end date is listed in the upgrade message. If you don't upgrade during that time, Azure automatically applies the update to your cache. The timing of the automatic upgrade is not configurable. If you are concerned about the cache performance impact, you should upgrade the software yourself before the time period expires.
54
71
72
+
If your cache is stopped when the end date passes, the cache will automatically upgrade software the next time it is started. (The update might not start immediately, but it will start in the first hour.)
73
+
55
74
Click the **Upgrade** button to begin the software update. The cache status changes to **Upgrading** until the operation completes.
56
75
57
76
## Delete the cache
@@ -63,13 +82,14 @@ The back-end storage volumes used as storage targets are unaffected when you del
63
82
> [!NOTE]
64
83
> Azure HPC Cache does not automatically write changed data from the cache to the back-end storage systems before deleting the cache.
65
84
>
66
-
> To make sure that all data in the cache has been written to long-term storage, follow this procedure:
85
+
> To make sure that all data in the cache has been written to long-term storage, [stop the cache](#stop-the-cache) before you delete it. Make sure that it shows the status **Stopped** before clicking the delete button.
86
+
<!--... written to long-term storage, follow this procedure:
67
87
>
68
88
> 1. [Remove](hpc-cache-edit-storage.md#remove-a-storage-target) each storage target from the Azure HPC Cache by using the delete button on the Storage targets page. The system automatically writes any changed data from the cache to the back-end storage system before removing the target.
69
89
> 1. Wait for the storage target to be completely removed. The process can take an hour or longer if there is a lot of data to write from the cache. When it is done, a portal notification says that the delete operation was successful, and the storage target disappears from the list.
70
90
> 1. After all affected storage targets have been deleted, it is safe to delete the cache.
71
91
>
72
-
> Alternatively, you can use the [flush](#flush-cached-data) option to save cached data, but there is a small risk of losing work if a client writes a change to the cache after the flush completes but before the cache instance is destroyed.
92
+
> Alternatively, you can use the [flush](#flush-cached-data) option to save cached data, but there is a small risk of losing work if a client writes a change to the cache after the flush completes but before the cache instance is destroyed.-->
Copy file name to clipboardExpand all lines: articles/hpc-cache/hpc-cache-prereqs.md
+45-7Lines changed: 45 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Prerequisites for using Azure HPC Cache
4
4
author: ekpgh
5
5
ms.service: hpc-cache
6
6
ms.topic: conceptual
7
-
ms.date: 10/30/2019
7
+
ms.date: 02/12/2020
8
8
ms.author: rohogue
9
9
---
10
10
@@ -65,12 +65,6 @@ The cache supports Azure Blob containers or NFS hardware storage exports. Add st
65
65
66
66
Each storage type has specific prerequisites.
67
67
68
-
### NFS storage requirements
69
-
70
-
If using on-premises hardware storage, the cache needs to have high-bandwidth network access to the datacenter from its subnet. [ExpressRoute](https://docs.microsoft.com/azure/expressroute/) or similar access is recommended.
71
-
72
-
NFS back-end storage must be a compatible hardware/software platform. Contact the Azure HPC Cache team for details.
73
-
74
68
### Blob storage requirements
75
69
76
70
If you want to use Azure Blob storage with your cache, you need a compatible storage account and either an empty Blob container or a container that is populated with Azure HPC Cache formatted data as described in [Move data to Azure Blob storage](hpc-cache-ingest.md).
@@ -89,6 +83,50 @@ It's a good practice to use a storage account in the same location as your cache
89
83
90
84
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.
91
85
86
+
### NFS storage requirements
87
+
88
+
If using an NFS storage system (for example, an on-premises hardware NAS system), make sure it meets these requirements. You might need to work with the network administrators for your storage system or data center to verify these settings.
89
+
90
+
> [!NOTE]
91
+
> Storage target creation will fail if the cache has insufficient access to the NFS storage system.
92
+
93
+
* Network connectivity: The Azure HPC Cache needs high-bandwidth network access between the cache subnet and the NFS system's data center. [ExpressRoute](https://docs.microsoft.com/azure/expressroute/) or similar access is recommended.
94
+
95
+
* Port access: The cache needs access to specific TCP/UDP ports on your storage system. Different types of storage have different port requirements.
96
+
97
+
To check your storage system's settings, follow this procedure.
98
+
99
+
* Issue an `rpcinfo` command to your storage system to check the needed ports. The command below lists the ports and formats the relevant results in a table. (Use your system's IP address in place of the *<storage_IP>* term.)
* Ensure that these ports on your storage system allow inbound and outbound traffic:
106
+
107
+
| Protocol | Port | Service |
108
+
|----------|-------|----------|
109
+
| TCP/UDP | 111 | rcpbind |
110
+
| TCP/UDP | 2049 | NFS |
111
+
| TCP/UDP | 4045 | nlockmgr |
112
+
| TCP/UDP | 4046 | mountd |
113
+
| TCP/UDP | 4047 | status |
114
+
115
+
* Check firewall settings to be sure that they allow traffic on all of these required ports. Be sure to check firewalls used in Azure as well as on-premises firewalls in your data center.
116
+
117
+
* Directory access: Enable the `showmount`command on the storage system. Azure HPC Cache uses this command to check that your storage target configuration points to a valid export, and also to make sure that multiple mounts don't access the same subdirectories (which risks file collisions).
118
+
119
+
> [!NOTE]
120
+
> If your NFS storage system uses NetApp's ONTAP 9.2 operating system, **do not enable`showmount`**. [Contact Microsoft Service and Support](hpc-cache-support-ticket.md) for help.
121
+
122
+
* Root access: The cache connects to the back-end system as root (with the user ID 0). Check these settings on your storage system:
123
+
124
+
* Enable `no_root_squash`. This option ensures that the remote root user can access files owned by root.
125
+
126
+
* Check export policies. For example, make sure that root access is not restricted to internal IP addresses.
127
+
128
+
* NFS back-end storage must be a compatible hardware/software platform. Contact the Azure HPC Cache team for details.
129
+
92
130
## Next steps
93
131
94
132
* [Create an Azure HPC Cache instance](hpc-cache-create.md) from the Azure portal
0 commit comments