Skip to content

Commit 0045225

Browse files
authored
Update azacsnap-introduction.md for AzAcSnap 10 Release
1 parent 6fa96df commit 0045225

File tree

1 file changed

+52
-73
lines changed

1 file changed

+52
-73
lines changed

articles/azure-netapp-files/azacsnap-introduction.md

Lines changed: 52 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -5,133 +5,112 @@ services: azure-netapp-files
55
author: Phil-Jensen
66
ms.service: azure-netapp-files
77
ms.topic: conceptual
8-
ms.date: 08/21/2023
8+
ms.date: 05/15/2024
99
ms.author: phjensen
1010
---
1111

1212
# What is the Azure Application Consistent Snapshot tool?
1313

1414
The Azure Application Consistent Snapshot tool (AzAcSnap) is a command-line tool that enables data protection for third-party databases. It handles all the orchestration required to put those databases into an application-consistent state before taking a storage snapshot. After the snapshot, the tool returns the databases to an operational state.
1515

16-
## Supported databases, operating systems, and Azure platforms
17-
18-
- **Databases**
19-
- SAP HANA (see the [support matrix](azacsnap-get-started.md#snapshot-support-matrix-from-sap) for details)
20-
- Oracle Database release 12 or later (see [Oracle VM images and their deployment on Microsoft Azure](../virtual-machines/workloads/oracle/oracle-vm-solutions.md) for details)
21-
- IBM Db2 for LUW on Linux-only version 10.5 or later (see [IBM Db2 Azure Virtual Machines DBMS deployment for SAP workload](../virtual-machines/workloads/sap/dbms_guide_ibm.md) for details)
16+
Check out the steps to [get started with the Azure Application Consistent Snapshot tool](azacsnap-get-started.md).
2217

23-
- **Operating systems**
24-
- SUSE Linux Enterprise Server 12+
25-
- Red Hat Enterprise Linux 7+
26-
- Oracle Linux 7+
18+
## Architecture overview
2719

28-
- **Azure platforms**
29-
- Azure Virtual Machines with Azure NetApp Files storage
30-
- Azure Large Instances (on bare-metal infrastructure)
20+
You can install AzAcSnap on the same host as the database, or you can install it on a centralized system. But, you must have network connectivity to the database servers and the storage back end (Azure Resource Manager for Azure NetApp Files or HTTPS for Azure Large Instances).
3121

32-
> [!TIP]
33-
> If you're looking for new features (or support for other databases, operating systems, and platforms), see [Preview features of the Azure Application Consistent Snapshot tool](azacsnap-preview.md). You can also provide [feedback or suggestions](https://aka.ms/azacsnap-feedback).
22+
AzAcSnap is a lightweight application that's typically run from an external scheduler. On most Linux systems, this operation is `cron`, which is what the documentation focuses on. But the scheduler could be an alternative tool, as long as it can import the `azacsnap` user's shell profile. Importing the user's environment settings ensures that file paths and permissions are initialized correctly.
3423

3524
## Benefits of using AzAcSnap
3625

3726
AzAcSnap uses the volume snapshot and replication functionalities in Azure NetApp Files and Azure Large Instances. It provides the following benefits:
3827

3928
- **Rapid backup snapshots independent of database size**
4029

41-
AzAcSnap takes snapshot backups regardless of the size of the volumes or the database by using the snapshot technology of storage. It takes snapshots in parallel across all the volumes, to allow multiple volumes to be part of the database storage.
30+
AzAcSnap takes an almost instantaneous snapshot of the database with zero performance hit, regardless of the size of the database volumes. It takes snapshots in parallel across all the volumes, to allow multiple volumes to be part of the database storage.
4231

4332
In tests, the tool took less than two minutes to take a snapshot backup of a database of 100+ tebibytes (TiB) stored across 16 volumes.
33+
4434
- **Application-consistent data protection**
4535

46-
You can deploy AzAcSnap as a centralized or distributed solution for backing up critical database files. It ensures database consistency before it performs a storage volume snapshot. As a result, it ensures that you can use the storage volume snapshot for database recovery.
36+
You can deploy AzAcSnap as a centralized or distributed solution for backing up critical database files. It ensures database consistency before it performs a storage volume snapshot. As a result, it ensures that you can use the storage volume snapshot for database recovery. Database roll forward options are available when used with log files.
4737

4838
- **Database catalog management**
4939

5040
When you use AzAcSnap with SAP HANA, the records within the backup catalog are kept current with storage snapshots. This capability allows a database administrator to see the backup activity.
5141

5242
- **Ad hoc volume protection**
5343

54-
This capability is helpful for non-database volumes that don't need application quiescing before the tool takes a storage snapshot. Examples include SAP HANA log-backup volumes or SAPTRANS volumes.
44+
This capability is helpful for non-database volumes that don't need application quiescing before the tool takes a storage snapshot. These can be any unstructured file-system, which include database files like SAP HANA log-backup volumes and shared file systems, or SAPTRANS volumes.
5545

5646
- **Cloning of storage volumes**
5747

58-
This capability provides space-efficient storage volume clones for development and test purposes.
48+
This capability provides space-efficient storage volume clones for rapid development and test purposes.
5949

6050
- **Support for disaster recovery**
6151

6252
AzAcSnap uses storage volume replication to provide options for recovering replicated application-consistent snapshots at a remote site.
6353

6454
AzAcSnap is a single binary. It doesn't need additional agents or plug-ins to interact with the database or the storage (Azure NetApp Files via Azure Resource Manager, and Azure Large Instances via Secure Shell [SSH]).
6555

66-
AzAcSnap must be installed on a system that has connectivity to the database and the storage. However, the flexibility of installation and configuration allows for either a single centralized installation (Azure NetApp Files only) or a fully distributed installation (Azure NetApp Files and Azure Large Instances) with copies installed on each database installation.
67-
68-
## Architecture overview
69-
70-
You can install AzAcSnap on the same host as the database (SAP HANA), or you can install it on a centralized system. But, you must have network connectivity to the database servers and the storage back end (Azure Resource Manager for Azure NetApp Files or SSH for Azure Large Instances).
71-
72-
AzAcSnap is a lightweight application that's typically run from an external scheduler. On most Linux systems, this operation is `cron`, which is what the documentation focuses on. But the scheduler could be an alternative tool, as long as it can import the `azacsnap` user's shell profile. Importing the user's environment settings ensures that file paths and permissions are initialized correctly.
73-
74-
## Technical articles
7556

76-
The following technical articles describe where AzAcSnap has been used as part of a data protection strategy:
57+
## Supported databases, operating systems, and Azure platforms
7758

78-
- [Manual Recovery Guide for SAP HANA on Azure VMs from Azure NetApp Files snapshot with AzAcSnap](https://techcommunity.microsoft.com/t5/running-sap-applications-on-the/manual-recovery-guide-for-sap-hana-on-azure-vms-from-azure/ba-p/3290161)
79-
- [Manual Recovery Guide for SAP HANA on Azure Large Instance from storage snapshot with AzAcSnap](https://techcommunity.microsoft.com/t5/running-sap-applications-on-the/manual-recovery-guide-for-sap-hana-on-azure-large-instance-from/ba-p/3242347)
80-
- [Manual Recovery Guide for SAP Oracle 19c on Azure VMs from Azure NetApp Files snapshot with AzAcSnap](https://techcommunity.microsoft.com/t5/running-sap-applications-on-the/manual-recovery-guide-for-sap-oracle-19c-on-azure-vms-from-azure/ba-p/3242408)
81-
- [Manual Recovery Guide for SAP Db2 on Azure VMs from Azure NetApp Files snapshot with AzAcSnap](https://techcommunity.microsoft.com/t5/running-sap-applications-on-the/manual-recovery-guide-for-sap-db2-on-azure-vms-from-azure-netapp/ba-p/3865379)
82-
- [SAP Oracle 19c System Refresh Guide on Azure VMs using Azure NetApp Files Snapshots with AzAcSnap](https://techcommunity.microsoft.com/t5/running-sap-applications-on-the/sap-oracle-19c-system-refresh-guide-on-azure-vms-using-azure/ba-p/3708172)
83-
- [Protecting HANA databases configured with HSR on Azure NetApp Files with AzAcSnap](https://techcommunity.microsoft.com/t5/running-sap-applications-on-the/protecting-hana-databases-configured-with-hsr-on-azure-netapp/ba-p/3654620)
84-
- [Automating SAP system copy operations with Libelle SystemCopy](https://docs.netapp.com/us-en/netapp-solutions-sap/lifecycle/libelle-sc-overview.html)
59+
- **Databases**
60+
- SAP HANA (see the [support matrix](#snapshot-support-matrix-from-sap) for details)
61+
- Oracle Database release 12 or later (see [Oracle VM images and their deployment on Microsoft Azure](../virtual-machines/workloads/oracle/oracle-vm-solutions.md) for details)
62+
- IBM Db2 for LUW on Linux-only version 10.5 or later (see [IBM Db2 Azure Virtual Machines DBMS deployment for SAP workload](../virtual-machines/workloads/sap/dbms_guide_ibm.md) for details)
8563

86-
## Command synopsis
64+
- **Operating systems**
65+
- SUSE Linux Enterprise Server 12+
66+
- Red Hat Enterprise Linux 7+
67+
- Oracle Linux 7+
8768

88-
The general format of the commands is:
89-
`azacsnap -c [command] --[command] [sub-command] --[flag-name] [flag-value]`.
69+
- **Azure platforms**
70+
- Azure Virtual Machines with Azure NetApp Files storage
71+
- Azure Large Instances (on bare-metal infrastructure)
9072

91-
## Command options
73+
> [!TIP]
74+
> If you're looking for new features (or support for other databases, operating systems, and platforms), see [Preview features of the Azure Application Consistent Snapshot tool](azacsnap-preview.md). You can also provide [feedback or suggestions](https://aka.ms/azacsnap-feedback).
9275
93-
The command options are as follows. The main bullets are commands, and the indented bullets are subcommands.
76+
## Supported scenarios
9477

95-
- `-h` provides extended command-line help with examples on AzAcSnap usage.
96-
- `-c configure` provides an interactive Q&A style interface to create or modify the `azacsnap` configuration file (default = `azacsnap.json`).
97-
- `--configuration new` creates a new configuration file.
98-
- `--configuration edit` enables editing an existing configuration file.
78+
The snapshot tools can be used in the following [Supported scenarios for HANA Large Instances](../virtual-machines/workloads/sap/hana-supported-scenario.md) and [SAP HANA with Azure NetApp Files](../virtual-machines/workloads/sap/hana-vm-operations-netapp.md).
9979

100-
For more information, see the [configure command reference](azacsnap-cmd-ref-configure.md).
101-
- `-c test` validates the configuration file and tests connectivity.
102-
- `--test hana` tests the connection to the SAP HANA instance.
103-
- `--test storage` tests communication with the underlying storage interface by creating a temporary storage snapshot on all the configured `data` volumes, and then removing them.
104-
- `--test all` performs both the `hana` and `storage` tests in sequence.
80+
## Snapshot Support Matrix from SAP
10581

106-
For more information, see the [test command reference](azacsnap-cmd-ref-test.md).
107-
- `-c backup` is the primary command to execute database-consistent storage snapshots for SAP HANA data volumes and for other (for example, shared, log backup, or boot) volumes.
108-
- `--volume data` takes a snapshot of all the volumes in the `dataVolume` stanza of the configuration file.
109-
- `--volume other` takes a snapshot of all the volumes in the `otherVolume` stanza of the configuration file.
110-
- `--volume all` takes a snapshot of all the volumes in the `dataVolume` stanza and then all the volumes in the `otherVolume` stanza of the configuration file.
82+
The following matrix is provided as a guideline on which versions of SAP HANA are supported by SAP for Storage Snapshot Backups.
83+
84+
| Database type | Minimum database versions | Notes |
85+
|---------------------------|---------------------------|-----------------------------------------------------------------------------------------|
86+
| Single Container Database | 1.0 SPS 12, 2.0 SPS 00 | |
87+
| MDC Single Tenant | [2.0 SPS 01](https://help.sap.com/docs/SAP_HANA_PLATFORM/42668af650f84f9384a3337bcd373692/2194a981ea9e48f4ba0ad838abd2fb1c.html?version=2.0.01&locale=en-US) | or later versions where MDC Single Tenant supported by SAP for storage/data snapshots.* |
88+
| MDC Multiple Tenants | [2.0 SPS 04](https://help.sap.com/docs/SAP_HANA_PLATFORM/42668af650f84f9384a3337bcd373692/7910eb4a498246b1b0435a4e9bf938d1.html?version=2.0.04&locale=en-US) | or later where MDC Multiple Tenants supported by SAP for data snapshots. |
89+
> \* [SAP changed terminology from Storage Snapshots to Data Snapshots from 2.0 SPS 02](https://help.sap.com/docs/SAP_HANA_PLATFORM/42668af650f84f9384a3337bcd373692/7f203cf75ae4445d96ad0012c67c0480.html?version=2.0.02&locale=en-US)
11190
112-
For more information, see the [backup command reference](azacsnap-cmd-ref-backup.md).
113-
- `-c details` provides information on snapshots or replication.
114-
- `--details snapshots` provides a list of basic details about the snapshots for each volume that you configured.
115-
- `--details replication` provides basic details about the replication status from the production site to the disaster-recovery site.
11691

117-
For more information, see the [details command reference](azacsnap-cmd-ref-details.md).
118-
- `-c delete` deletes a storage snapshot or a set of snapshots.
92+
**Additional SAP deployment considerations:**
11993

120-
You can use either the SAP HANA backup ID (as found in HANA Studio) or the storage snapshot name. The backup ID is tied to only the `hana` snapshots, which are created for the data and shared volumes. Otherwise, if you enter the snapshot name, the command searches for all snapshots that match the entered snapshot name.
94+
- When setting up the HANA user for backup, you need to set up the user for each HANA instance. Create an SAP HANA user account to access HANA instance under the SYSTEMDB (and not in the tenant database).
95+
- Automated log deletion is managed with the `--trim` option of the `azacsnap -c backup` for SAP HANA 2 and later releases.
12196

122-
For more information, see the [delete command reference](azacsnap-cmd-ref-delete.md).
123-
- `-c restore` provides two methods to restore a snapshot to a volume.
124-
- `--restore snaptovol` creates a new volume based on the latest snapshot on the target volume.
125-
- `-c restore --restore revertvolume` reverts the target volume to a prior state, based on the most recent snapshot.
97+
> [!IMPORTANT]
98+
> The snapshot tools only interact with the node of the SAP HANA system specified in the configuration file. If this node becomes unavailable, there's no mechanism to automatically start communicating with another node.
12699
127-
For more information, see the [restore command reference](azacsnap-cmd-ref-restore.md).
128-
- `[--configfile <configfilename>]` is an optional command-line parameter to provide a different file name for the JSON configuration. It's useful for creating a separate configuration file per security ID (for example, `--configfile H80.json`).
129-
- `[--runbefore]` and `[--runafter]` are optional commands to run external commands or shell scripts before and after the execution of the main AzAcSnap logic.
100+
- For an **SAP HANA Scale-Out with Standby** scenario it's typical to install and configure the snapshot tools on the primary node. But, if the primary node becomes
101+
unavailable, the standby node will take over the primary node role. In this case, the implementation team should configure the snapshot tools on both
102+
nodes (Primary and Stand-By) to avoid any missed snapshots. In the normal state, the primary node will take HANA snapshots initiated by crontab. If the primary
103+
node fails over those snapshots will have to be executed from another node, such as the new primary node (former standby). To achieve this outcome, the standby
104+
node would need the snapshot tool installed, storage communication enabled, hdbuserstore configured, `azacsnap.json` configured, and crontab commands staged
105+
in advance of the failover.
106+
- For an **SAP HANA HSR HA** scenario, it's recommended to install, configure, and schedule the snapshot tools on both (Primary and Secondary) nodes. Then, if
107+
the Primary node becomes unavailable, the Secondary node will take over with snapshots being taken on the Secondary. In the normal state, the Primary node
108+
will take HANA snapshots initiated by crontab. The Secondary node would attempt to take snapshots but fail as the Primary is functioning correctly. But,
109+
after Primary node failover, those snapshots will be executed from the Secondary node. To achieve this outcome, the Secondary node needs the snapshot tool
110+
installed, storage communication enabled, `hdbuserstore` configured, `azacsnap.json` configured, and crontab enabled in advance of the failover.
130111

131-
For more information, see the [runbefore/runafter command reference](azacsnap-cmd-ref-runbefore-runafter.md).
132-
- `[--preview]` is an optional command-line option that's required when you're using preview features.
112+
> See the technical article on [Protecting HANA databases configured with HSR on Azure NetApp Files with AzAcSnap](https://techcommunity.microsoft.com/t5/running-sap-applications-on-the/manual-recovery-guide-for-sap-oracle-19c-on-azure-vms-from-azure/ba-p/3242408)
133113
134-
For more information, see [Preview features of the Azure Application Consistent Snapshot tool](azacsnap-preview.md).
135114

136115
## Next steps
137116

0 commit comments

Comments
 (0)