Professional Documents
Culture Documents
Software Used:
Sl. No.
Component
Product Used
Operating System
Purpose of document:
The purpose of this document is to enable an administrator to provide for Oracle ASM marked storage on a Windows
Server system using only Oracle software and its local disks. Normally, Oracle ASM (Automatic Storage
Management) should be configured on clustered storage systems, eg. SAN; however many times, ASM is needed
without the availability of a SAN. This method can be used in such cases.
This document was created in response to a client requirement for Oracle Maximum Availability Architecture plan on
Windows Server2008R2 using 11gR2 a plan involving a 2-node RAC primary database and a single node physical
standby configured via Oracle Dataguard principles.
As primary RAC will be in ASM, hence a similar storage configuration is needed at standby end.
Process Outline:
The following steps are involved in this process.
(A) New storage media setup on machine
(B) Formatting the storage
(C) Stamping disks for ASM
(D) Installing and Configuring Grid Infrastructure
(E) Creating Additional ASM diskgroups.
(F) Status Check
3) From the popup menu, select a disk of the same type as the existing virtual disk files. Here VMDK
is chosen as the VM originally has a VMDK disk.
4) Choose a hard disk of Fixed Size because expansion of the Oracle ASM managed virtual media
may not cause actual expansion of disk file; hence we already allocate the full space
to the virtual hard disk.
5) Enter path for VMDK file and required size and click on Create to create the Virtual Disk.
6) After Required Disk Addition, we now have a machine with 3 local disks (Not independent/persistent)
Disk 0 Default
(40 GB)
Disk 1 For Local + ASM Storage (15 GB)
Disk 2 For Grid Infrastructure OCR and Voting (5 GB)
Once intialised, the state of the disks on the system will be visible. The 15 GB disk will be RAW, while the disk in use
by the OS binaries will be shown as Active Primary partition.
(ii) Right-click on Disk 1 and choose New Simple Volume to create new volume.
(iii) Set a volume size at desired value (here 3GB or 3072 MB)
(v) Select file system on the partition as NTFS (default for Windows 2008R2)
(viii) Now begin creating partitions from the remaining area on Disk1
10
11
(xiii) Repeat raw partition creation on remaining space of Disk 1. The final layout looks like this
12
This sets the disk up for OCR diskgroup creation, to be done during Grid Infrastruture install+config.
The stamping for other ASM disks will be created later.
13
14
From Oracle 11gR2 onwards, ASM configuration tools are a part of Grid Infrastructure whereas the ASM
configuration tools were a part of Database software in 10g and 11gR1. As this machine is going to have
Oracle's Automatic Storage Management (ASM), Grid Infrastructure installation and configuration is being done.
15
4) Select the disk stamped for OCRVOTE to create the OCRVOTE ASM diskgroup.
Select the disk stamped for OCRVOTE to create the OCRVOTE ASM diskgroup. Redundancy is selected as
External so that hardware mirroring/striping is used to maintain replicas, keeping less load on Oracle software
processes.
16
5) Enter password for SYS and ASMSNMP users. The password entered here is sys123
17
18
Observe prescribed and detected settings if need be and then click on Next to proceed.
19
8) The final confirmation screen is seen. Save the response file and then begin installation.
20
21
22
2) See that there is only one ASM diskgroup. Click on Create to add further ASM diskgroups.
23
4) The familiar window from asmtoolg opens up. Select Add or change label.
Here, we are creating the stamping for the disks to appear in the DATA diskgroup.
Hence, stamp them with DATA.
24
6) Confirm on the ASM link name, size and Device and click Next to approve.
25
8) Repeat these steps to stamp the remaining rawdevice for the FRA diskgroup.
26
27
11) Similarly, create the diskgroup FRA (for fast recovery area).
12) Now there are three ASM diskgroups (OCRVOTE, DATA, FRA) . We can now exit.
28
29