Skip to content

Commit e738c4b

Browse files
author
AbhishekMallick01
committed
Addressed Peer-review inputs - Commit 2
1 parent 35773cb commit e738c4b

5 files changed

+38
-40
lines changed

articles/backup/sap-ase-database-about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ With Cross-Subscription Restore (CSR), you can restore SAP ASE databases to any
9393
>- Cross-Subscription Restore can be initiated directly from the Recovery Services vault.
9494
>- Cross Regional Restore (CRR) with CSR isn't supported.
9595
96-
Learn how to [trigger Cross Subscription Restore to a Private Endpoint enabled vault](sap-ase-database-restore.md#restore-to-a-private-endpoint-enabled-vault-in-a-different-subscription).
96+
Learn how to [trigger Cross Subscription Restore to a private endpoint enabled vault](sap-ase-database-restore.md#restore-to-a-private-endpoint-enabled-vault-in-a-different-subscription).
9797

9898
## Next steps
9999

articles/backup/sap-ase-database-backup-run-preregistration-quickstart.md

Lines changed: 24 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ ms.author: jsuri
1212

1313
# Quickstart: Run the preregistration script for SAP ASE (Sybase) database backup in Azure Cloud Shell
1414

15-
This quickstart describes how to run the preregistration script to prepare an SAP Adaptive Server Enterprise (ASE) (Sybase) database configuration for backup on Azure VMs using Azure Backup.
15+
This quickstart describes how to run the preregistration script to prepare an SAP Adaptive Server Enterprise (ASE) (Sybase) database configuration for backup on Azure VMs using Azure Cloud Shell.
1616

17-
The preregistration script for SAP ASE database backup using Azure Backup ensures the system is properly configured by setting up authentication, validating network connectivity, and installing necessary packages. It also supports private endpoints and prepares the database for seamless backup operations.
17+
The preregistration script for SAP ASE database backup using Azure Backup ensures the system is properly configured, which includes authentication configuration, network connectivity validation, and necessary packages installation. It also supports private endpoints and prepares the database for seamless backup operations.
1818

1919
Learn about the [supported configurations and scenarios for SAP ASE database backup](sap-ase-backup-support-matrix.md) on Azure VMs.
2020

@@ -31,37 +31,35 @@ Before you run the preregistration script, ensure that the following prerequisit
3131

3232
The preregistration script is a Python script that you run on the VM where the SAP ASE database is installed. The script performs the following tasks:
3333

34-
1. Creates the necessary group where the **plugin users** are added.
35-
2. Installs and updates required packages such as waagent, Python, curl, unzip, Libicu, and PythonXML.
36-
3. Verifies the status of waagent, checks `wireserver` and `IMDS connectivity`, and tests **TCP connectivity** to Microsoft Entra ID.
37-
4. Confirms if the geographic region is supported.
38-
5. Checks for available free space for logs, in the `waagent` directory, and `/opt` directory.
39-
6. Validates if the Adaptive Server Enterprise (ASE) version is supported.
40-
7. Logs in the SAP instance using the provided username and password, enabling dump history, which is necessary for backup and restore operations.
41-
8. Ensures that the OS version is supported.
42-
9. Installs and updates required Python modules such as requests and cryptography.
43-
10. Creates the workload configuration file.
44-
11. Sets up the required directories under `/opt` for backup operations.
45-
12. Encrypts the password and securely stores it in the virtual machine.
34+
- Creates the necessary group where the **plugin users** are added.
35+
- Installs and updates required packages such as waagent, Python, curl, unzip, Libicu, and PythonXML.
36+
- Verifies the status of waagent, checks `wireserver` and `IMDS connectivity`, and tests **TCP connectivity** to Microsoft Entra ID.
37+
- Confirms if the geographic region is supported.
38+
- Checks for available free space for logs, in the `waagent` directory, and `/opt` directory.
39+
- Validates if the Adaptive Server Enterprise (ASE) version is supported.
40+
- Logs in the SAP instance using the provided username and password, enabling dump history, which is necessary for backup and restore operations.
41+
- Ensures that the OS version is supported.
42+
- Installs and updates required Python modules such as requests and cryptography.
43+
- Creates the workload configuration file.
44+
- Sets up the required directories under `/opt` for backup operations.
45+
- Encrypts the password and securely stores it in the virtual machine.
4646

4747
## Run the preregistration script
4848

49-
To execute the preregistration script for SAP ASE database backup, run the following bash commands:
50-
51-
1. [Download the ASE Preregistration Script file](https://aka.ms/preregscriptsapase).
52-
2. Copy the file to the virtual machine (VM).
49+
Before you execute the preregistration script, [download the ASE preregistration script file](https://aka.ms/preregscriptsapase) and copy it to the virtual machine (VM).
5350

54-
55-
>[!NOTE]
56-
>Replace `<script name>` in the following commands with the name of the script file you downloaded and copied to the VM.
51+
>[!NOTE]
52+
>Replace `<script name>` in the following commands with the name of the script file you downloaded and copied to the VM.
5753
58-
3. Convert the script to the Unix format.
54+
To execute the preregistration script for SAP ASE database backup, run the following bash commands:
55+
56+
1. Convert the script to the Unix format.
5957

6058
```bash
6159
dos2unix <script name>
6260
```
6361

64-
4. Change the permission of the script file.
62+
1. Change the permission of the script file.
6563

6664
>[!Note]
6765
>Before you run the following command, replace `/path/to/script/file` with the actual path of the script file in the VM.
@@ -70,13 +68,13 @@ To execute the preregistration script for SAP ASE database backup, run the follo
7068
sudo chmod -R 777 /path/to/script/file
7169
```
7270

73-
5. Update the script name.
71+
1. Update the script name.
7472

7573
```bash
7674
sudo ./<script name> -us
7775
```
7876

79-
6. Run the script.
77+
1. Run the script.
8078

8179
>[!Note]
8280
>Before running the following command, provide the required values for the placeholders.
@@ -99,7 +97,7 @@ To execute the preregistration script for SAP ASE database backup, run the follo
9997
>[!NOTE]
10098
>To find the `<private-ip-of-vm>`, open the VM in the Azure portal and check the private IP under the **Networking** section.
10199

102-
7. View details of the parameters.
100+
1. View details of the parameters.
103101

104102
```bash
105103
sudo ./<script name> -aw SAPAse --help

articles/backup/sap-ase-database-backup-tutorial.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Before you set up the SAP ASE database for backup, review the following prerequi
2222
- Identify or create a Recovery Services vault in the same region and subscription as the VM running SAP ASE.
2323
- Allow connectivity from the VM to the internet, so that it can reach Azure.
2424
- The combined length of the SAP ASE Server VM name and the Resource Group name must have **<= 84** characters for Azure Resource Manager (ARM) VMs (and 77 characters for classic VMs) as the service reserves some characters.
25-
- VM must have python **>= 3.6.15** (recommended- Python3.10) with requests module installed. The default sudo python3 must run python 3.6.15 or higher. Validate by running python3 and **sudo python3** in your system to check the python version it runs by default. To change the default version, link python3 to python 3.6.15 or higher.
25+
- VM must have python **>= 3.6.15** (recommended- Python3.10) with requests module installed. The default sudo python3 must run python 3.6.15 or higher. Validate by running python3 and **sudo python3** in your system to check the python version. To change the default version, link python3 to python 3.6.15 or higher.
2626
- [Run the SAP ASE backup configuration script (preregistration script)](sap-ase-database-backup-run-preregistration-quickstart.md) in the virtual machine that hosts the SAP ASE database. This script gets the ASE system ready for backup.
2727
- Assign the following privileges and settings for the backup operation:
2828

@@ -154,9 +154,9 @@ To create a custom role for Azure Backup, run the following bash commands:
154154
## Establish network connectivity
155155

156156
For all operations, an SAP ASE database running on an Azure VM requires connectivity to the Azure Backup service, Azure Storage, and Microsoft Entra ID. You can achieve this connectivity by using private endpoints or by allowing access to the required public IP addresses or Fully Qualified Domain Names
157-
(FQDNs). Not allowing proper connectivity to the required Azure services might lead to failure in operations like database discovery, configuring backup, performing backups, and restoring data.
157+
(FQDNs). If you don't allow proper connectivity to the required Azure services, it might lead to failure in operations, such as database discovery, configuring backup, performing backups, and restoring data.
158158
159-
The following table lists the various alternatives you can use for establishing connectivity:
159+
The following table lists the various alternatives you can use to establish connectivity:
160160
161161
| Option | Advantages | Disadvantages |
162162
| --- | --- | --- |
@@ -179,7 +179,7 @@ Private endpoints allow you to connect securely from servers in a virtual networ
179179
180180
### Network Security Group tags
181181
182-
If you use Network Security Groups (NSG), use the AzureBackup service tag to allow outbound access to Azure Backup. In addition to the Azure Backup tag, you also need to allow connectivity for authentication and data transfer by creating similar [NSG rules](/azure/virtual-network/network-security-groups-overview#service-tags) for Microsoft Entra ID and Azure Storage (Storage).
182+
If you use Network Security Groups (NSG), use the AzureBackup service tag to allow outbound access to Azure Backup. In addition to the Azure Backup tag, you must allow connectivity for authentication and data transfer by creating similar [NSG rules](/azure/virtual-network/network-security-groups-overview#service-tags) for Microsoft Entra ID and Azure Storage (Storage).
183183
184184
To create a rule for the Azure Backup tag, follow these steps:
185185
@@ -246,7 +246,7 @@ To use an HTTP proxy server to route traffic for Microsoft Entra ID, follow thes
246246
247247
#### Use outbound rules
248248
249-
If the **Firewall** or **NSG** setting block the `management.azure.com` domain from Azure Virtual Machine, snapshot backups fails.
249+
If the **Firewall** or **NSG** setting block the `management.azure.com` domain from Azure Virtual Machine, snapshot backups fail.
250250
251251
Create the following outbound rule and allow the domain name to back up the database. Learn [how to create the outbound rules](/azure/machine-learning/how-to-access-azureml-behind-firewall).
252252
@@ -264,7 +264,7 @@ In the Recovery Services vault, you can enable [Cross Region Restore](backup-azu
264264
265265
:::image type="content" source="./media/sap-ase-database-backup/enable-cross-region-restore.png" alt-text="Screenshot shows how to enable Cross Region Restore in the Recovery Services vault. " lightbox="./media/sap-ase-database-backup/enable-cross-region-restore.png":::
266266
267-
## Discover the databases
267+
## Discover the SAP ASE databases
268268
269269
To discover the SAP ASE databases, follow these steps:
270270
@@ -366,7 +366,7 @@ To configure the backup operation for the SAP ASE database, follow these steps:
366366
367367
>[!Note]
368368
>- Log backups only begin to flow after a successful full backup is completed.
369-
>- Each log backup is chained to the previous full backup to form a recovery chain. This full backup is retained until the retention of the last log backup has expired. This might mean that the full backup is retained for an extra period to make sure all the logs can be recovered. Let's assume a user has a weekly full backup, daily differential and 2-hour logs. All of them are retained for 30 days. But, the weekly full can be really cleaned up/deleted only after the next full backup is available, that is, after 30 + 7 days. For example, a weekly full backup happens on Nov 16th. According to the retention policy, it should be retained until Dec 16th. The last log backup for this full happens before the next scheduled full, on Nov 22nd. Until this log is available until Dec 22nd, the Nov 16th full can't be deleted. So, the Nov 16th full is retained until Dec 22nd.
369+
>- Each log backup is chained to the previous full backup to form a recovery chain. This full backup is retained until the retention of the last log backup has expired. This might mean that the full backup is retained for an extra period to make sure all the logs can be recovered. Let's assume a user has a weekly full backup, daily differential and 2-hour logs. All of them are retained for 30 days. But the weekly full can be really cleaned up/deleted only after the next full backup is available, that is, after 30 + 7 days. For example, a weekly full backup happens on Nov 16th. According to the retention policy, it should be retained until Dec 16th. The last log backup for this full happens before the next scheduled full, on Nov 22nd. Until this log is available until Dec 22nd, the Nov 16th full can't be deleted. So, the Nov 16th full is retained until Dec 22nd.
370370
371371
1. Select **OK** to save the log backup policy configuration.
372372
1. On the **Create Policy** pane, select **OK** to complete the backup policy creation.

articles/backup/sap-ase-database-backup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Before you set up the SAP ASE database for backup, review the following prerequi
2222
- Identify or create a Recovery Services vault in the same region and subscription as the VM running SAP ASE.
2323
- Allow connectivity from the VM to the internet, so that it can reach Azure.
2424
- The combined length of the SAP ASE Server VM name and the Resource Group name must have **<= 84** characters for Azure Resource Manager (ARM) VMs (and 77 characters for classic VMs) as the service reserves some characters.
25-
- VM must have python **>= 3.6.15** (recommended- Python3.10) with requests module installed. The default sudo python3 must run python 3.6.15 or higher. Validate by running python3 and **sudo python3** in your system to check the python version it runs by default. To change the default version, link python3 to python 3.6.15 or higher.
25+
- VM must have python **>= 3.6.15** (recommended- Python3.10) with requests module installed. The default sudo python3 must run python 3.6.15 or higher. Validate by running python3 and **sudo python3** in your system to check the python version. To change the default version, link python3 to python 3.6.15 or higher.
2626
- [Run the SAP ASE backup configuration script (preregistration script)](sap-ase-database-backup-run-preregistration-quickstart.md) in the virtual machine that hosts the SAP ASE database. This script gets the ASE system ready for backup.
2727
- Assign the following privileges and settings for the backup operation:
2828

@@ -47,7 +47,7 @@ Before you set up the SAP ASE database for backup, review the following prerequi
4747
- Use an existing Recovery Services vault, or [create a new one](backup-create-recovery-services-vault.md#create-a-recovery-services-vault).
4848
- [Enable Cross Region Restore](sap-ase-database-backup-tutorial.md#enable-cross-region-restore) for Recovery Services vault.
4949

50-
## Discover the databases
50+
## Discover the SAP ASE databases
5151

5252
To discover the SAP ASE databases, follow these steps:
5353

articles/backup/sap-ase-database-restore.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,15 @@ The secondary region restore user experience is similar to the primary region re
158158
Learn about the [minimum role requirements for cross-region restore](/azure/backup/backup-rbac-rs-vault#minimum-role-requirements-for-azure-workload-backups-sql-and-hana-db-backups).
159159

160160

161-
## Restore to a Private Endpoint enabled vault in a different subscription
161+
## Restore to a private endpoint enabled vault in a different subscription
162162

163163
Before you do Cross Subscription Restore (CSR), ensure that the Recovery Services vault has the necessary [Azure role-based access control (Azure RBAC) permissions](backup-rbac-rs-vault.md#minimum-role-requirements-for-sap-ase-sybase-database--cross-subscription-restore).
164164

165-
To trigger Cross Subscription Restore to a Private Endpoint enabled vault, follow these steps:
165+
To trigger Cross Subscription Restore to a private endpoint enabled vault, follow these steps:
166166

167-
1. In the Azure portal, go to the source **Recovery Services vault** , and then [create Private Endpoints](private-endpoints.md#create-private-endpoints-for-azure-backup).
167+
1. In the [Azure portal](https://portal.azure.com/), go to the source **Recovery Services vault** , and then [create Private Endpoints](private-endpoints.md#create-private-endpoints-for-azure-backup).
168168

169-
During Private Endpoint creation, ensure that you enter the following details:
169+
During private endpoint creation, ensure that you enter the following details:
170170

171171
- Select the subscription of the target vault in which you want to restore.
172172
- Select the VNet of the target VM that you want to restore across subscription.

0 commit comments

Comments
 (0)