Remote File System AVCLI Commands
Use the remote file system AVCLI commands to mange remote file systems. These commands support registering and managing connections to NFS file systems that are used as archive locations.
About the Remote File System AVCLI Commands
Use the remote file system AVCLI commands to configure remote file systems to work with Oracle Database Security Central.
ALTER REMOTE FILESYSTEM
Use the ALTER REMOTE FILESYSTEM command to alter remote file systems that are registered with Oracle Audit Vault Server.
The ALTER REMOTE FILESYSTEM command alters a remote filesystem registered with Oracle Audit Vault Server.
Syntax:
ALTER REMOTE FILESYSTEM <filesystem_name> SET {key=<value> [,key=<value>...]}
ALTER REMOTE FILESYSTEM <filesystem_name> MOUNT
ALTER REMOTE FILESYSTEM <filesystem_name> UNMOUNT [FORCE]
Arguments
| Argument | Description |
|---|---|
| filesystem_name | Name of the remote filesystem |
| key | For an NFS remote filesystem, the key NAME is supported. |
Examples:
avcli> ALTER REMOTE FILESYSTEM sample_filesystem SET NAME=newfilesystem;
Changes the name of the remote filesystem sample_filesystem to newfilesystem.
avcli> ALTER REMOTE FILESYSTEM sample_filesystem MOUNT;
Mounts the remote filesystem sample_filesystem.
avcli> ALTER REMOTE FILESYSTEM sample_filesystem UNMOUNT;
Unmounts remote filesystem sample_filesystem.
avcli> ALTER REMOTE FILESYSTEM sample_filesystem UNMOUNT FORCE;
Unmounts remote filesystem sample_filesystem and forces this operation.
DROP REMOTE FILESYSTEM
Use the DROP REMOTE FILESYSTEM command to drop remote file sytems that are registered with Oracle Audit Vault Server.
The DROP REMOTE FILESYSTEM command drops a remote filesystem registered with the Audit Vault Server.
Syntax:
DROP REMOTE FILESYSTEM <file_system_name>
Arguments
| Argument | Description |
|---|---|
| filesystem_name | Name of the remote filesystem. |
Examples:
avcli> DROP REMOTE FILESYSTEM filesystem1;
Drops the remote filesystem filesystem1.
LIST EXPORT
Use the LIST EXPORT command to display the list of exports that are available on an NFS server.
The LIST EXPORT command displays the list of exports available on a NFS server.
Syntax:
LIST EXPORT OF TYPE NFS ON HOST <address>
Arguments
| Argument | Description |
|---|---|
| address | Hostname or IP address of the NFS server. |
Example:
avcli> LIST EXPORT OF TYPE NFS ON HOST example_server.example.com;
Lists the exports available on the NFS server example_server.example.com.
LIST REMOTE FILESYSTEM
Use the LIST REMOTE FILESYSTEM command to list all of the remote file systems that are registered with Oracle Audit Vault Server.
The LIST REMOTE FILESYSTEM command lists all of the remote file systems that are registered with Oracle Audit Vault Server.
Syntax:
LIST REMOTE FILESYSTEM
Example:
avcli> LIST REMOTE FILESYSTEM;
Lists all remote filesystems registered with Oracle Audit Vault Server.
REGISTER REMOTE FILESYSTEM
Use the REGISTER REMOTE FILESYSTEM command to register remote file systems with Oracle Audit Vault Server.
The REGISTER REMOTE FILESYSTEM command registers a remote file system with the Audit Vault Server. This command currently supports registering an NFS file system. After registering a remote file system, an administrator can select it when specifying an archive location.
Syntax:
REGISTER REMOTE FILESYSTEM <remote filesystem name> OF TYPE NFS ON HOST <IP address or host name of NFS server> USING EXPORT <export> [ON STANDBY HOST <IP address or host name of NFS server> USING STANDBY EXPORT <export>][MOUNT]
Arguments
| Argument | Description |
|---|---|
| filesystem_name | A unique name for the remote file system. Special characters (&<>”/;,*|=% and –) cannot be used for remote file system names. |
| NFS_server_address | Host name or IP address of the NFS server |
| export | Name of the export directory on the NFS server. This directory must be created in Note: Special characters (such as $, #, and !) are not allowed in export directory names. |
Note:
-
Log in as Oracle user
503to register the remote file system. Use the same user name on the NFS Server and the Audit Vault Server. -
If this is any different, then edit the
/etc/passwd/file in the NFS Server and change the USER ID of Oracle user to503.
Examples:
avcli> REGISTER REMOTE FILESYSTEM haFileSystem OF TYPE NFS ON HOST 10.0.0.1 USING EXPORT /export/home1 AND ON STANDBY HOST 10.0.0.2 USING STANDBY EXPORT /export/home2;
Registers a remote NFS file system named haFileSystem on the host 10.0.0.1 using the export directory /export/home1 on standby host 10.0.0.2 using standby export /export/home2. This will mount the registered remote file system.
avcli> REGISTER REMOTE FILESYSTEM sample_Filesystem OF TYPE NFS ON HOST example_host.example.com USING EXPORT /export/home1 MOUNT;
Registers a remote NFS file system named sample_Filesystem on the host example_host.example.com using the export directory /export/home1. This will also mount the registered remote file system.
register remote filesystem haFileSystem of type nfs on host 10.0.0.1 using export /export/home1 and on standby host 10.0.0.2 using standby export/export/home2;
Registers a remote file system named haFileSystem of type NFS on the host 10.0.0.1 using the export directory /export/home1 on standby host 10.0.0.2 using standby export /export/home2.
SHOW STATUS OF REMOTE FILESYSTEM
Use the SHOW STATUS OF REMOTE FILESYSTEM command to show the status of remote file systems that are registered with Oracle Audit Vault Server.
The SHOW STATUS OF REMOTE FILESYSTEM command shows the status of a specified remote file system.
Syntax:
SHOW STATUS OF REMOTE FILESYSTEM <filesystem_name>
Arguments
| Argument | Description |
|---|---|
| filesystem_name | Name of the remote filesystem |
Examples:
avcli> SHOW STATUS OF REMOTE FILESYSTEM filesystem1;
Shows the status of remote filesystem filesystem1.