We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 5
‘wisa2020 Document Display
‘Copyight(¢) 2020, Oracke, Al ght reserved, Oracle Coniéential
ile Devices On NAS/NFS FileSystems For ASM Diskgroups. (Doc ID 1620238.1)
Creating
In this Document
Goal
Solution
Community Discussions
References
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
(Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform,
‘The present document provides the step (in detail) to create ASM diskgroups on NAS/NFS file devices.
Note: Caution should be exercised when considering using NFS storage, in an Oracle database environment, with ASM.
In general, such configurations should be avoided or at least carefully considered. The issue is that to prevent data
corruption, NFS file systems must be hard-mounted. Hard mounting means that the database or an ASM instance must
wait indefinitely when an NFS server, or the communications link it operates over, becomes unavailable, This means
that ASM cannot effectively provide data mirroring
Situations where NFS on ASM may be a reasonable option include:
+ Using NFS for an ASM Quorum Failure Group, as is often done with Extended Clusters. NFS on Quorum Failure
Groups with 11.2.0.4 or later, does not need, or should not use hard NFS mounts.
+ Situations where reliable access to NFS service can be assured.
+ When using NFS storage only for an External Redundancy Diskgroup.
+ Situations where the lost of ASM file access for an extended period is not critical.
If you have a certified NAS storage device, then you can create zero-padded files in an NFS mounted directory and use
those files as disk devices in an Oracle ASM diskgroup, to create these files, please follow these steps:
1) Create an exported directory (e.g. "/vol/DATA/oradata”) for the disk group files on the NAS Host (e.g. "nfs_nas_server”)
and share it to the NFS client (host running the ASM instance). Refer to the NAS device documentation for more
information about completing this step.
2) Connect as “root” OS user on the NFS client (host running the ASM instance).
3) Create a mount point directory on the local system (host running the ASM instance).
hitps:Isupportoracle.comfepmosifaces/SearchDocDisplay?_acf.cr-state=zigezvizo_871#FIX 8‘wisa2020 Document Display
For example
f mkdir -p /u02/o:
4) To ensure that the NFS file system is mounted when the system restarts, add an entry for the file system in the mount
file "Yetc/fstab”.
5) Make sure the NAS/NFS filesystem is mounted with the correct mount options as described in the following document:
=)> Mount Options for Oracle files when used with NFS on NAS devices (Doc ID 359515.1)
6) On RAC configurations, then you must mount NFS volumes used for storing database files with special mount options
‘on each node that has an Oracle RAC instance. When mounting an NFS filesystem, Oracle recommends that you use the
‘same mount point options that your NAS vendor used when certifying the device. Refer to your device documentation or
‘contact your vendor for information about recommended mount-point options.
Update the /etc/fstab file on each node with an entry similar to the following:
nfs_nas_server:/vol/DATA/oradata /ud2/oradata __nfa\
ew, bgyk 3, timeo=600, rsize=32
pnoin nisy
8, wsize=32768, actimeo=0
7) Enter a command similar to the following to mount the NFS filesystem on the local system:
+ u02/oradata
'8) Choose a name for the diskgroup to create it (e.g. +DATADG).
9) Create a directory for the files on the NFS file system, using the diskgroup name as the directory name.
Example:
4 mkdir /u02/oradata/datadg
10) Use commands similar to the following to create the required number of zero-padded files in this directory:
dev/zere
/dev/ zero
Lse/dev/zero
# dd if=/dev/zero
hitps:Isupport oracle.comfepmosifaces/SearchDocDisplay?_acf.cr-state=zigezvizo_871#FIX 2s‘wisa2020 Document Display
‘This example creates 1 GB files on the NFS file system, You must create one, two, or more files respectively to create an
external, normal, or high redundancy diskgroup.
11) Enter commands similar to the following to change the owner, group, and permissions on the directory and files that
you created, where the installation owner is grid, and the OSASM group is asmadmin:
4 chown -R qrid:asmadmin /u02/oradata/datadg
# chmod 660 /u02/oradaca/datadg/*
12) If you plan to install Oracle RAC or a standalone Oracle Database, then during installation, edit the ASM disk discovery
string to specify a regular expression that matches the file names you created.
Example:
/202/oradata/dat:
Note: This is required due to during the installation, disk paths mounted on ASM and registered on ASMLIB with the string
‘ORCL:* (Linux) or raw devices (Unix/Windows) are listed as default storage candidate disks, default paths are listed as
follows:
Linux: /dev/raw/* and/or ORCL:*
ADK: /dev/thdisk*
HP-UX: /dev/rdisk/*
Solaris: /dev/rdsk/*
Windows: \\,\ORCLDISKn
13) For additional information, please check the follo
+ Creating Files on a NAS Device for Use with Oracle Automatic Storage Management (AIX).
+ Creating Files on a NAS Device for Use with Oracle Automatic Storage Management (Linux)
+ Creating Files on a NAS Device for Use with Oracle Automatic Storage Management (HP-UX)
+ Creating Files on a NAS Device for Use with Oracle Automatic Storage Management (Solaris)
hitps:Isupport oracle.comfepmosifaces/SearchDocDisplay?_ cf cr-state=zigezvizo_ 87 1#FIX ais‘wisar2020 Document Display
NOTE: If Quorum is hard mounted then when NFS is not available then we may hit bug 19373893, so For quorum
disks soft mount is recommended.
Community Discussions
Still have questions? Use the communities window below to search for similar discussions or start a new discussion on this
subject. (Window is the live community not a screenshot)
Click here to open in main browser window
REFERENCES
‘BUG:14196114 - SELECT FROM VSASM_DISK HANG AFTER LOSS OF NFS VOTING DISK WITH 10109915 APPLIED
BUG: 10109915 - ASM HANGS IN HIGH REDUNDANCY CONFIG IF 1 OF 5 DISKS GOES OFFLINE
NOTE:1458333.1 - ASM Hang and OCR Inaccessible When NFS Votefile is Switched Off
hitps:Isupport oracle.comfepmosifaces/SearchDocDisplay?_acf.cr-state=zigezvizo_871#FIX
as‘wisa2020 Document Display
‘NOTE:1601897.1 - ASM Certification On Thin-Provisioned NFS Files.
NOTE:731775.1 - How To Create ASM Diskgroups using NFS/NAS Files?
Didnt find what you are loking for?
hitps:Isupport oracle.comfepmosifaces/SearchDocDisplay?_acf.cr-state=zigezvizo_871#FIX
5s