Skip to content

Commit 87de4aa

Browse files
Merge pull request #208875 from edburns/edburns-msft-20220823-ddc-1576535-oracle-automatic-storage-management
On branch edburns-msft-20220823-ddc-1576535-oracle-automatic-storage-…
2 parents 69dd545 + ab24fd7 commit 87de4aa

File tree

1 file changed

+24
-5
lines changed

1 file changed

+24
-5
lines changed

articles/virtual-machines/workloads/oracle/configure-oracle-asm.md

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.service: virtual-machines
66
ms.subservice: oracle
77
ms.collection: linux
88
ms.topic: article
9-
ms.date: 08/02/2018
9+
ms.date: 07/13/2022
1010
ms.author: kegorman
1111

1212
---
@@ -15,15 +15,16 @@ ms.author: kegorman
1515

1616
**Applies to:** :heavy_check_mark: Linux VMs
1717

18-
Azure virtual machines provide a fully configurable and flexible computing environment. This tutorial covers basic Azure virtual machine deployment combined with the installation and configuration of Oracle Automated Storage Management (ASM). You learn how to:
18+
Azure virtual machines provide a fully configurable and flexible computing environment. This tutorial covers basic Azure virtual machine deployment combined with the installation and configuration of Oracle Automatic Storage Management (ASM). You learn how to:
1919

2020
> [!div class="checklist"]
2121
> * Create and connect to an Oracle Database VM
22-
> * Install and configure Oracle Automated Storage Management
22+
> * Install and configure Oracle Automatic Storage Management
2323
> * Install and configure Oracle Grid infrastructure
2424
> * Initialize an Oracle ASM installation
2525
> * Create an Oracle DB managed by ASM
2626
27+
For an overview of the value proposition of ASM, see the [documentation at Oracle](https://aka.ms/oracle/asm).
2728

2829
If you choose to install and use the CLI locally, this tutorial requires that you are running the Azure CLI version 2.0.4 or later. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI]( /cli/azure/install-azure-cli).
2930

@@ -169,6 +170,13 @@ For this tutorial, the default user is *grid* and the default group is *asmadmin
169170
Writing Oracle ASM library driver configuration: done
170171
```
171172

173+
>[!NOTE]
174+
>The `/usr/sbin/oracleasm configure -i` command asks for the user and group that default to owning the ASM driver access point.
175+
>The database will be running as the `grid` user and the `asmadmin` group.
176+
>By selecting **Start Oracle ASM library driver on boot = 'y'**, the system will always load the module and mount the filesystem on boot.
177+
>By selecting **Scan for Oracle ASM disks on boot = 'y'**, the system will always scan the Oracle ASM disks on boot.
178+
>The last two configurations are very important, otherwise, you will run into disk reboot problems.
179+
172180
2. View the disk configuration:
173181

174182
```bash
@@ -267,6 +275,10 @@ For this tutorial, the default user is *grid* and the default group is *asmadmin
267275
11 0 1048575 sr0
268276
```
269277
278+
>[!NOTE]
279+
>Note that, in the following configuration, please use the exact commands as this document shows.
280+
>Make sure you are calling the Oracle ASM service with `service oracleasm`.
281+
270282
6. Check the Oracle ASM service status and start the Oracle ASM service:
271283
272284
```bash
@@ -301,6 +313,12 @@ For this tutorial, the default user is *grid* and the default group is *asmadmin
301313
Marking disk "FRA" as an ASM disk: [ OK ]
302314
```
303315
316+
>[!NOTE]
317+
>Disks are marked for ASMLib using a process described in [ASMLib Installation](https://www.oracle.com/linux/technologies/install-asmlib.html).
318+
>ASMLib learns what disk are marked during a process called disk scanning. ASMLib runs this scan every time it starts up. The system administrator can also force a scan via the `service oracleasm scandisks` command.
319+
>ASMLib examines each disk in the system. It checks if the disk has been marked for ASMLib. Any disk that has been marked will be made available to ASMLib.
320+
>You can visit documents [Configuring Storage Device Path Persistence Using Oracle ASMLIB](https://docs.oracle.com/en/database/oracle/oracle-database/19/cwlin/configuring-storage-device-path-persistence-using-oracle-asmlib.html#GUID-6B1DA5DB-2E93-4616-B517-18ABDEE72AE4) and [Configuring Oracle ASMLib on Multipath Disks](https://www.oracle.com/linux/technologies/multipath-disks.html) for more informations.
321+
304322
8. List Oracle ASM disks:
305323
306324
```bash
@@ -339,6 +357,7 @@ For this tutorial, the default user is *grid* and the default group is *asmadmin
339357
chmod 600 /dev/sdf1
340358
```
341359
360+
342361
## Download and prepare Oracle Grid Infrastructure
343362
344363
To download and prepare the Oracle Grid Infrastructure software, complete the following steps:
@@ -494,7 +513,7 @@ To install Oracle Grid Infrastructure, complete the following steps:
494513
495514
To set up your Oracle ASM installation, complete the following steps:
496515
497-
1. Ensure you are still signed in as **grid**, from your X11 session. You might need to hit `enter` to revive the terminal. Then launch the Oracle Automated Storage Management Configuration Assistant:
516+
1. Ensure you are still signed in as **grid**, from your X11 session. You might need to hit `enter` to revive the terminal. Then launch the Oracle Automatic Storage Management Configuration Assistant:
498517
499518
```bash
500519
cd /u01/app/grid/product/12.1.0/grid/bin
@@ -566,7 +585,7 @@ The Oracle database software is already installed on the Azure Marketplace image
566585
567586
## Delete the VM
568587
569-
You have successfully configured Oracle Automated Storage Management on the Oracle DB image from the Azure Marketplace. When you no longer need this VM, you can use the following command to remove the resource group, VM, and all related resources:
588+
You have successfully configured Oracle Automatic Storage Management on the Oracle DB image from the Azure Marketplace. When you no longer need this VM, you can use the following command to remove the resource group, VM, and all related resources:
570589
571590
```azurecli
572591
az group delete --name myResourceGroup

0 commit comments

Comments
 (0)