484th questions, 053484
484. Which steps are mandatory to enable Direct NFS?
1. Mount all required file systems using the kernel NFS driver.
2. Create an oranfstab file containing the attributes for each NFS server to be accessed using Direct NFS.
3. Replace the ODM library libodm11.so _ stub with libodm11.so.
A. 2 and 3
B. 1 and 3
C. 1 and 2
D. 1, 2 and 3
Answer:B
Select B as the original answer.
To enable Direct NFS ClienT, you must addoranfstabFileOracle_home\dbs. WhenoranfstabIs placed in this directory, the entries in this file are specific to one particle database. Direct NFS Client searches for the mount point entries as they appear inoranfstab. Direct NFS Client uses the first matched entry as the mount point.
Complete the following procedure to enable Direct NFS Client:
CreateoranfstabFile with the following attributes for each NFS server accessed by Direct NFS Client:
server: The NFS server name.
path: Up to four network paths to the NFS server, specified either by internet protocol (IP) address, or by name, as displayed usingifconfigCommand on the NFS server.
local: Up to 4 network interfaces on the database host, specified by IP address, or by name, as displayed usingipconfigCommand on the database host.
export: The exported path from the NFS server. Use a UNIX-style path.
mount: The corresponding local mount point for the exported volume. Use Windows-style path.
mnt_timeout: (Optional) Specifies the time (in seconds) for which Direct NFS Client shoshould wait for a successful mount before timing out. The default timeout is 10 minutes (600 ).
management: Enables Direct NFS Client to use the management interface for SNMP queries. You can use this parameter if SNMP is running on separate management interfaces on the NFS server. The default value isserverParameter value.
community: Specifies the community string for use in SNMP queries. Default value ispublic.
uid: (Optional) The UNIX user ID to be used by Direct NFS Client to access all NFS servers listed inoranfstab. The default value isuid:65534, Which correspondsuser:nobodyOn the NFS server.
gid: (Optional) The UNIX group ID to be used by Direct NFS Client to access all NFS servers listed inoranfstab. The default value isgid:65534, Which correspondsgroup:nogroupOn the NFS server.
The mount point specified inoranfstabFile represents the local path where the database files wocould reside normally, as if Direct NFS Client was not used. for example, if the location for the data files if the database did not use Direct NFS Client wocould beC:\app\oracle\oradata\orclDirectory, then you specifyC:\app\oracle\oradata\orclFor the NFS virtual mount point in the correspondingoranfstabFile.
Example 3-1 and Example 3-2 provide examples of how Direct NFS Client attributes can be used inoranfstabFile.
Note:
Direct NFS Client ignoresuidOrgidValue0.
The exported path from the NFS server must be accessibleread/write/executeBy the user withuid,gidSpecified inoranfstab. If neitheruidNorgidIs listed, then the exported path must be accessible by the useruid:65534Andgid:65534.
Replace the standard Oracle Disk Manager (ODM) library,oraodm11.dll, With the odm nfs library.
Oracle Database uses the ODM library,oranfsodm11.dll, To enable Direct NFS Client. To replace the ODM library, complete the following steps:
Change directoryOracle_home\bin.
Shut down the Oracle Database instance on a node using the Server Control Utility (SRVCTL ).
Enter the following commands:
copy oraodm11.dll oraodm11.dll.origcopy /Y oranfsodm11.dll oraodm11.dll
Restart the Oracle Database instance using SRVCTL.
Repeat Step a to Step d for each node in the cluster.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.