Skip to content

Commit 7420fc2

Browse files
authored
Merge pull request #250828 from ShawnJackson/four-azure-application-consistent-snapshot-articles
[AQ] edit pass: Four AzAcSnap articles
2 parents 08f0220 + 5c51205 commit 7420fc2

File tree

7 files changed

+734
-860
lines changed

7 files changed

+734
-860
lines changed
Lines changed: 74 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Configure Azure Application Consistent Snapshot tool for Azure NetApp Files | Microsoft Docs
3-
description: Provides a guide for running the configure command of the Azure Application Consistent Snapshot tool that you can use with Azure NetApp Files.
2+
title: Configure the Azure Application Consistent Snapshot tool for Azure NetApp Files
3+
description: Learn how to run the configure command of the Azure Application Consistent Snapshot tool that you can use with Azure NetApp Files.
44
services: azure-netapp-files
55
documentationcenter: ''
66
author: Phil-Jensen
@@ -16,28 +16,23 @@ ms.date: 08/21/2023
1616
ms.author: phjensen
1717
---
1818

19-
# Configure Azure Application Consistent Snapshot tool
19+
# Configure the Azure Application Consistent Snapshot tool
2020

21-
This article provides a guide for running the configure command of the Azure Application Consistent Snapshot tool that you can use with Azure NetApp Files.
21+
This article shows you how to run the `azacsnap -c configure` command of the Azure Application Consistent Snapshot tool (AzAcSnap) that you can use with Azure NetApp Files.
2222

23-
## Introduction
23+
## Commands for the configuration file
2424

25-
The configuration file can be created or edited by using the `azacsnap -c configure` command.
25+
You can create or edit the configuration file for AzAcSnap by using the `azacsnap -c configure` command. The command has the following options:
2626

27-
## Command options
27+
- `--configuration new` to create a new configuration file
2828

29-
The `-c configure` command has the following options
29+
- `--configuration edit` to edit an existing configuration file
3030

31-
- `--configuration new` to create a new configuration file.
31+
- `[--configfile <config filename>]` (optional parameter) to allow for custom configuration file names
3232

33-
- `--configuration edit` to edit an existing configuration file.
33+
By default, the name of the configuration file is *azacsnap.json*. You can use a custom file name with the `--configfile=` parameter (for example, `--configfile=<customname>.json`).
3434

35-
- `[--configfile <config filename>]` is an optional parameter allowing for custom configuration file names.
36-
37-
## Configuration file for snapshot tools
38-
39-
A configuration file can be created by running `azacsnap -c configure --configuration new`. By default the configuration filename is `azacsnap.json`. A custom file name can be used with the `--configfile=` parameter (for example, `--configfile=<customname>.json`)
40-
The following example is for Azure Large Instance configuration:
35+
The following example creates a configuration file for an Azure Large Instances configuration:
4136

4237
```bash
4338
azacsnap -c configure --configuration new
@@ -79,79 +74,77 @@ Enter the database type to add, 'hana', 'oracle', or 'exit' (for no database): e
7974
Editing configuration complete, writing output to 'azacsnap.json'
8075
```
8176

82-
## Details of required values
83-
84-
The following sections provide detailed guidance on the various values required for the configuration file.
77+
## Required values for the configuration file
8578

86-
Database section
79+
The following sections provide detailed guidance on required values for the database section of the configuration file.
8780

8881
# [SAP HANA](#tab/sap-hana)
8982

9083
When you add an *SAP HANA database* to the configuration, the following values are required:
9184

92-
- **HANA Server's Address** = The SAP HANA server hostname or IP address.
93-
- **HANA SID** = The SAP HANA System ID.
94-
- **HANA Instance Number** = The SAP HANA Instance Number.
95-
- **HANA HDB User Store Key** = The SAP HANA user configured with permissions to run database backups.
96-
- **Do you need AzAcSnap to automatically disable/enable backint during snapshot** - defaults to NO, can be set to YES to allow AzAcSnap to disable/re-enable the backint interface (see notes on **Backint coexistence**).
97-
98-
- Single node: IP and Hostname of the node
99-
- HSR with STONITH: IP and Hostname of the node
100-
- Scale-out (N+N, N+M): Current master node IP and host name
101-
- HSR without STONITH: IP and Hostname of the node
102-
- Multi SID on Single node: Hostname and IP of the node hosting those SIDs
85+
- `HANA Server's Address`: The SAP HANA server's host name or IP address.
86+
- `HANA SID`: The SAP HANA system ID (SID).
87+
- `HANA Instance Number`: The SAP HANA instance number.
88+
- `HANA HDB User Store Key`: The SAP HANA user configured with permissions to run database backups.
89+
- `Do you need AzAcSnap to automatically disable/enable backint during snapshot`: Defaults to `n` (no). You can set it to `y` (yes) to allow AzAcSnap to disable or re-enable the Backint interface. The [Backint coexistence](#backint-coexistence) section in this article explains this option in more detail.
90+
- `Single node`: Host name and IP address of the node.
91+
- `HSR with STONITH`: Host name and IP address of the node.
92+
- `Scale-out (N+N, N+M)`: Current host name and IP address of the master node.
93+
- `HSR without STONITH`: Host name and IP address of the node.
94+
- `Multi SID on Single node`: Host name and IP address of the node that hosts those SIDs.
10395

10496
### Backint coexistence
10597

106-
[Azure Backup](../backup/index.yml) service provides an alternate backup tool for SAP HANA, where database and log backups are streamed into the
107-
Azure Backup Service. Some customers would like to combine the streaming backint-based backups with regular snapshot-based backups. However, backint-based
108-
backups block other methods of backup, such as using a files-based backup or a storage snapshot-based backup (for example, AzAcSnap). Guidance is provided on the Azure Backup site on how to [Run SAP HANA native clients backup on a database with Azure Backup enabled](../backup/backup-azure-sap-hana-database.md#run-sap-hana-native-clients-backup-on-a-database-with-azure-backup).
98+
The [Azure Backup](../backup/index.yml) service provides an alternate backup tool for SAP HANA. You can stream database and log backups into Azure Backup.
99+
100+
Some customers want to combine the streaming Backint-based backups with regular snapshot-based backups. However, Backint-based backups block other backup methods, such as using a files-based backup or a storage snapshot-based backup (for example, AzAcSnap). For more information, see [Run SAP HANA native clients backup on a database with Azure Backup](../backup/backup-azure-sap-hana-database.md#run-sap-hana-native-clients-backup-on-a-database-with-azure-backup).
109101

110-
The process described in the Azure Backup documentation has been implemented with AzAcSnap to automatically do the following steps:
102+
The process that the Azure Backup documentation describes has been implemented with AzAcSnap to automatically do the following steps:
111103

112-
1. force a log backup flush to backint.
113-
1. wait for running backups to complete.
114-
1. disable the backint-based backup.
115-
1. put SAP HANA into a consistent state for backup.
116-
1. take a storage snapshot-based backup.
117-
1. release SAP HANA.
118-
1. re-enable the backint-based backup.
104+
1. Force a log backup flush to Backint.
105+
1. Wait for running backups to finish.
106+
1. Disable the Backint-based backup.
107+
1. Put SAP HANA into a consistent state for backup.
108+
1. Take a storage snapshot-based backup.
109+
1. Release SAP HANA.
110+
1. Re-enable the Backint-based backup.
119111

120-
By default this option is disabled, but it can be enabled by running `azacsnap -c configure –configuration edit` and answering ‘y’ (yes) to the question
121-
“Do you need AzAcSnap to automatically disable/enable backint during snapshot? (y/n) [n]”. Editing the configuration as described sets the
122-
autoDisableEnableBackint value to true in the JSON configuration file (for example, `azacsnap.json`). It's also possible to change this value by editing
123-
the configuration file directly.
112+
By default, this option is disabled. You can enable it by running `azacsnap -c configure –configuration edit` and answering `y` (yes) to the question `Do you need AzAcSnap to automatically disable/enable backint during snapshot? (y/n) [n]`.
113+
114+
Editing the configuration as described sets the `autoDisableEnableBackint` value to `true` in the JSON configuration file (for example, *azacsnap.json*). It's also possible to change this value by editing the configuration file directly.
124115

125116
# [Oracle](#tab/oracle)
126117

127-
When you add an *Oracle database* to the configuration, the following values are required:
118+
When you add an Oracle database to the configuration, the following values are required:
128119

129-
- **Oracle DB Server's Address** = The database server hostname or IP address.
130-
- **SID** = The database System ID.
131-
- **Oracle Connect String** = The Connect String used by `sqlplus` to connect to Oracle and enable/disable backup mode.
120+
- `Oracle DB Server's Address`: The database server's host name or IP address.
121+
- `SID`: The database system ID.
122+
- `Oracle Connect String`: The string that `sqlplus` uses to connect to Oracle and enable or disable backup mode.
132123

133124
# [IBM Db2](#tab/db2)
134125

135-
When adding a *Db2 database* to the configuration, the following values are required:
126+
When you add a Db2 database to the configuration, the following values are required:
127+
128+
- `Db2 Server's Address`: The database server's host name or IP address.
136129

137-
- **Db2 Server's Address** = The database server hostname or IP address.
138-
- If Db2 Server Address (serverAddress) matches '127.0.0.1' or 'localhost' then azacsnap executes all `db2` commands locally (refer "Local connectivity"). Otherwise AzAcSnap uses the serverAddress as the host to connect to via SSH using the "Instance User" as the SSH login name. Remote access via SSH can be validated with `ssh <instanceUser>@<serverAddress>` replacing instanceUser and serverAddress with the respective values (refer "Remote connectivity").
139-
- **Instance User** = The database System Instance User.
140-
- **SID** = The database System ID.
130+
If `Db2 Server Address` (`serverAddress`) matches `127.0.0.1` or `localhost`, the snapshot tool runs all `db2` commands locally. Otherwise, the snapshot tool uses `serverAddress` as the host to connect to via Secure Shell (SSH), by using the `Instance User` value as the SSH login name.
131+
132+
You can validate remote access via SSH by using `ssh <instanceUser>@<serverAddress>`. Replace `<instanceUser>` and `<serverAddress>` with the respective values.
133+
- `Instance User`: The instance user for the database system.
134+
- `SID`: The database system ID.
141135

142136
> [!IMPORTANT]
143-
> Setting the Db2 Server Address (serverAddress) aligns directly with the method used to communicate with Db2, ensure this is set correctly as described.
137+
> Setting `Db2 Server Address` (`serverAddress`) aligns directly with the method that's used to communicate with Db2. Ensure that you set it correctly, as described.
144138
145139
---
146140

147-
# [Azure Large Instance (Bare Metal)](#tab/azure-large-instance)
141+
# [Azure Large Instances (bare metal)](#tab/azure-large-instance)
148142

149-
When you add *HLI Storage* to a database section, the following values are required:
143+
When you add Azure Large Instances storage to a database section, the following values are required:
150144

151-
- **Storage User Name** = This value is the user name used to establish the SSH connection to the Storage.
152-
- **Storage IP Address** = The address of the Storage system.
153-
- **Storage Volume Name** = the volume name to snapshot. This value can be determined multiple ways, perhaps the
154-
simplest is to try the following shell command:
145+
- `Storage User Name`: The user name for establishing the SSH connection to the storage.
146+
- `Storage IP Address`: The IP address of the storage system.
147+
- `Storage Volume Name`: The volume name to snapshot. You can determine this value in multiple ways. A simple way is to use the following shell command:
155148

156149
```bash
157150
grep nfs /etc/fstab | cut -f2 -d"/" | sort | uniq
@@ -164,31 +157,29 @@ When you add *HLI Storage* to a database section, the following values are requi
164157
hana_shared_p40_soldub41_t020_vol
165158
```
166159

167-
# [Azure NetApp Files (with VM)](#tab/azure-netapp-files)
160+
# [Azure NetApp Files (with a virtual machine)](#tab/azure-netapp-files)
168161

169-
When you add *ANF Storage* to a database section, the following values are required:
162+
When you add Azure NetApp Files storage to a database section, the following values are required:
170163

171-
- **Service Principal Authentication filename** (JSON field: authFile)
172-
- To use a System Managed Identity, leave empty with no value and press [Enter] to go to the next field.
173-
- An example to set up an Azure System Managed Identity can be found on the [AzAcSnap Installation](azacsnap-installation.md).
174-
- To use a Service Principal, use name of the authentication file (for example, `authfile.json`) generated in the Cloud Shell when configuring
175-
communication with Azure NetApp Files storage.
176-
- An example to set up a Service Principal can be found on the [AzAcSnap Installation](azacsnap-installation.md).
177-
- **Full ANF Storage Volume Resource ID** (JSON field: resourceId) = the full Resource ID of the Volume being snapshot. This string can be retrieved from:
178-
Azure portal > ANF –> Volume> Settings/Properties> Resource ID
164+
- `Service Principal Authentication filename` (JSON field: `authFile`):
165+
- To use a system-managed identity, leave this field empty with no value, and then select the Enter key to go to the next field.
166+
167+
For an example to set up an Azure system-managed identity, see [Install the Azure Application Consistent Snapshot tool](azacsnap-installation.md).
168+
- To use a service principal, use the name of the authentication file (for example, *authfile.json*) that's generated in Azure Cloud Shell when you're configuring communication with Azure NetApp Files storage.
169+
170+
For an example to set up a service principal, see [Install the Azure Application Consistent Snapshot tool](azacsnap-installation.md).
171+
- `Full ANF Storage Volume Resource ID` (JSON field: `resourceId`): The full resource ID of the volume that's being snapshot. You can retrieve this string by going to the Azure portal and then selecting **Azure NetApp Files** > **Volume** > **Settings** or **Properties** > **Resource ID**.
179172
180173
---
181174
182-
## Configuration file overview (`azacsnap.json`)
175+
## Example configuration file
183176
184-
In the following example, the `azacsnap.json` is configured with the one SID.
177+
In the following example, *azacsnap.json* is configured with the one SID.
185178
186-
The parameter values must be set to the customer's specific SAP HANA environment.
187-
For **Azure Large Instance** system, this information is provided by Microsoft Service Management during the onboarding/handover call, and
188-
is made available in an Excel file that is provided during handover. Open a service request if you
189-
need to be provided this information again.
179+
You must set the parameter values to your specific SAP HANA environment.
180+
For an Azure Large Instances system, Microsoft Service Management provides this information as an Excel file during the call for onboarding and handover. Open a service request if you need Microsoft Service Management to send the information again.
190181
191-
The following output is an example configuration file only and is the content of the file as generated by the configuration example, update all the values accordingly.
182+
The following output is an example configuration file only. It's the content of the file that the configuration example generates. Update all the values accordingly.
192183

193184
```bash
194185
cat azacsnap.json
@@ -233,13 +224,10 @@ cat azacsnap.json
233224
```
234225

235226
> [!NOTE]
236-
> For a DR scenario where backups are to be run at the DR site, then the HANA Server Name configured in the DR configuration file
237-
> (for example, `DR.json`) at the DR site should be the same as the production server name.
238-
239-
> [!NOTE]
240-
> For Azure Large Instance your storage IP address must be in the same subnet as your server pool. For example, in this case, our
241-
> server pool subnet is 172. 18. 18 .0/24 and our assigned storage IP is 172.18.18.11.
227+
> For a disaster recovery (DR) scenario where you'll run backups at the DR site, the HANA server name that's configured in the DR configuration file (for example, `DR.json`) at the DR site should be the same as the production server name.
228+
>
229+
> For Azure Large Instances, your storage IP address must be in the same subnet as your server pool. For example, in this case, the server pool subnet is 172.18.18.0/24 and the assigned storage IP address is 172.18.18.11.
242230

243231
## Next steps
244232

245-
- [Test Azure Application Consistent Snapshot tool](azacsnap-cmd-ref-test.md)
233+
- [Test the Azure Application Consistent Snapshot tool](azacsnap-cmd-ref-test.md)

articles/azure-netapp-files/azacsnap-get-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ The following guidance is provided to illustrate the usage of the snapshot tools
166166

167167
- [What are the prerequisites for the storage snapshot](azacsnap-installation.md#prerequisites-for-installation)
168168
- [Enable communication with storage](azacsnap-installation.md#enable-communication-with-storage)
169-
- [Enable communication with database](azacsnap-installation.md#enable-communication-with-database)
169+
- [Enable communication with database](azacsnap-installation.md#enable-communication-with-the-database)
170170
- [How to take snapshots manually](azacsnap-tips.md#take-snapshots-manually)
171171
- [How to set up automatic snapshot backup](azacsnap-tips.md#setup-automatic-snapshot-backup)
172172
- [How to monitor the snapshots](azacsnap-tips.md#monitor-the-snapshots)

0 commit comments

Comments
 (0)