053第484題,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
原答案選B,個人認為選A
To enable Direct NFS Client, you must add an oranfstab
file to Oracle_home
\dbs
. When oranfstab
is placed in this directory, the entries in this file are specific to one particular database. Direct NFS Client searches for the mount point entries as they appear in oranfstab
. Direct NFS Client uses the first matched entry as the mount point.
Complete the following procedure to enable Direct NFS Client:
Create an oranfstab
file 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 using the ifconfig
command on the NFS server.
local
: Up to 4 network interfaces on the database host, specified by IP address, or by name, as displayed using the ipconfig
command 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 should 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 is the server
parameter value.
community
: Specifies the community string for use in SNMP queries. Default value is public
.
uid
: (Optional) The UNIX user ID to be used by Direct NFS Client to access all NFS servers listed in oranfstab
. The default value is uid:65534
, which corresponds to user:nobody
on the NFS server.
gid
: (Optional) The UNIX group ID to be used by Direct NFS Client to access all NFS servers listed in oranfstab
. The default value is gid:65534
, which corresponds to group:nogroup
on the NFS server.
The mount point specified in the oranfstab
file represents the local path where the database files would 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 would be C:\app\oracle\oradata\orcl
directory, then you specify C:\app\oracle\oradata\orcl
for the NFS virtual mount point in the corresponding oranfstab
file.
Example 3-1 and Example 3-2 provide examples of how Direct NFS Client attributes can be used in an oranfstab
file.
Note:
Direct NFS Client ignores a uid
or gid
value of 0
.
The exported path from the NFS server must be accessible for read/write/execute
by the user with the uid
, gid
specified inoranfstab
. If neither uid
nor gid
is listed, then the exported path must be accessible by the user with uid:65534
and gid: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 directory to Oracle_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.
著作權聲明:本文為博主原創文章,未經博主允許不得轉載。