Skip to content

Commit 0219d2f

Browse files
authored
Updates based on Acrolinx scoring
1 parent a9fbf1d commit 0219d2f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ AzAcSnap 8 introduced a new global settings file (`.azacsnaprc`) which must be l
2626

2727
Settings, which can be controlled by adding/editing the global settings file are:
2828

29-
- **MAINLOG_LOCATION** which sets the location of the "mainlog" output file, which is called `azacsnap.log` and was introduced in AzAcSnap 8. Values should be absolute paths, for example:
29+
- **MAINLOG_LOCATION** which sets the location of the "main-log" output file, which is called `azacsnap.log` and was introduced in AzAcSnap 8. Values should be absolute paths, for example:
3030
- `MAINLOG_LOCATION=/home/azacsnap/bin/logs`
3131

32-
## Mainlog parsing
32+
## Main-log parsing
3333

34-
AzAcSnap 8 introduced a new "mainlog" to provide simpler parsing of runs of AzAcSnap. The inspiration for this file is the SAP HANA backup catalog, which shows when AzAcSnap was started, how long it took, and what the snapshot name is. With AzAcSnap, this idea has been taken further to include information for each of the AzAcSnap commands, specifically the `-c` options, and the file has the following headers:
34+
AzAcSnap 8 introduced a new "main-log" to provide simpler parsing of runs of AzAcSnap. The inspiration for this file is the SAP HANA backup catalog, which shows when AzAcSnap was started, how long it took, and what the snapshot name is. With AzAcSnap, this idea has been taken further to include information for each of the AzAcSnap commands, specifically the `-c` options, and the file has the following headers:
3535

3636
```output
3737
DATE_TIME,OPERATION_NAME,STATUS,SID,DATABASE_TYPE,DURATION,SNAPSHOT_NAME,AZACSNAP_VERSION,AZACSNAP_CONFIG_FILE,VOLUME
@@ -238,7 +238,7 @@ compress
238238
}
239239
```
240240

241-
After creating the `logrotate.conf` file, the `logrotate` command should be run regularly to archive AzAcSnap log files accordingly. Automating the `logrotate` command can be done using cron. The following output is one line of the azacsnap user's crontab, this example runs logrotate daily using the configuration file `~/logrotate.conf`.
241+
After the `logrotate.conf` file has been created, the `logrotate` command should be run regularly to archive AzAcSnap log files accordingly. Automating the `logrotate` command can be done using cron. The following output is one line of the azacsnap user's crontab, this example runs logrotate daily using the configuration file `~/logrotate.conf`.
242242

243243
```output
244244
@daily /usr/sbin/logrotate -s ~/logrotate.state ~/logrotate.conf >> ~/logrotate.log
@@ -269,7 +269,7 @@ ls -ltra ~/bin/logs
269269
The following conditions should be monitored to ensure a healthy system:
270270

271271
1. Available disk space. Snapshots slowly consume disk space based on the block-level change rate, as keeping older disk blocks are retained in the snapshot.
272-
1. To help automate disk space management, use the `--retention` and `--trim` options to automatically cleanup the old snapshots and database log files.
272+
1. To help automate disk space management, use the `--retention` and `--trim` options to automatically clean up the old snapshots and database log files.
273273
1. Successful execution of the snapshot tools
274274
1. Check the `*.result` file for the success or failure of the latest running of `azacsnap`.
275275
1. Check `/var/log/messages` for output from the `azacsnap` command.
@@ -453,7 +453,7 @@ A 'boot' snapshot can be recovered as follows:
453453
1. The customer needs to shut down the server.
454454
1. After the Server is shut down, the customer will need to open a service request that contains the Machine ID and Snapshot to restore.
455455
> Customers can open a service request via the [Azure portal](https://portal.azure.com).
456-
1. Microsoft restores the Operating System LUN using the specified Machine ID and Snapshot, and then boot the Server.
456+
1. Microsoft restores the Operating System LUN using the specified Machine ID and Snapshot, and then boots the Server.
457457
1. The customer then needs to confirm Server is booted and healthy.
458458

459459
No other steps to be performed after the restore.

0 commit comments

Comments
 (0)