You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/workloads/oracle/configure-oracle-asm.md
+24-5Lines changed: 24 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.service: virtual-machines
6
6
ms.subservice: oracle
7
7
ms.collection: linux
8
8
ms.topic: article
9
-
ms.date: 08/02/2018
9
+
ms.date: 07/13/2022
10
10
ms.author: kegorman
11
11
12
12
---
@@ -15,15 +15,16 @@ ms.author: kegorman
15
15
16
16
**Applies to:**:heavy_check_mark: Linux VMs
17
17
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:
19
19
20
20
> [!div class="checklist"]
21
21
> * Create and connect to an Oracle Database VM
22
-
> * Install and configure Oracle Automated Storage Management
22
+
> * Install and configure Oracle Automatic Storage Management
23
23
> * Install and configure Oracle Grid infrastructure
24
24
> * Initialize an Oracle ASM installation
25
25
> * Create an Oracle DB managed by ASM
26
26
27
+
For an overview of the value proposition of ASM, see the [documentation at Oracle](https://aka.ms/oracle/asm).
27
28
28
29
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).
29
30
@@ -169,6 +170,13 @@ For this tutorial, the default user is *grid* and the default group is *asmadmin
>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
+
172
180
2. View the disk configuration:
173
181
174
182
```bash
@@ -267,6 +275,10 @@ For this tutorial, the default user is *grid* and the default group is *asmadmin
267
275
11 0 1048575 sr0
268
276
```
269
277
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
+
270
282
6. Check the Oracle ASM service status and start the Oracle ASM service:
271
283
272
284
```bash
@@ -301,6 +313,12 @@ For this tutorial, the default user is *grid* and the default group is *asmadmin
301
313
Marking disk "FRA" as an ASM disk: [ OK ]
302
314
```
303
315
316
+
>[!NOTE]
317
+
>Disks are marked forASMLib using a process describedin [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
+
304
322
8. List Oracle ASM disks:
305
323
306
324
```bash
@@ -339,6 +357,7 @@ For this tutorial, the default user is *grid* and the default group is *asmadmin
339
357
chmod 600 /dev/sdf1
340
358
```
341
359
360
+
342
361
## Download and prepare Oracle Grid Infrastructure
343
362
344
363
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:
494
513
495
514
To set up your Oracle ASM installation, complete the following steps:
496
515
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:
498
517
499
518
```bash
500
519
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
566
585
567
586
## Delete the VM
568
587
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:
0 commit comments