Mounting an NFS share in Aria Operations for Logs for importing archive log data
search cancel

Mounting an NFS share in Aria Operations for Logs for importing archive log data

book

Article ID: 394390

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

In order to import archive log data into Aria Operations for Logs, you must first have an NFS server export a filesystem this use. You must then create the mounts points within Aria Operations for Logs.

These mount points then refer the mount to the NFS shared filesystem.

Environment

Aria Operations for Logs 8.x

Resolution

1. Create an NFS share on your server. This will be the <ExportDirectory>.

2. On your Aria Operations for Logs appliance primary node, run the following:

    cd /mnt/
    mkdir exports

3. We then need to add the /mnt/exports mount to fstab so this filesystem is mounted at boot time.  

    vi /etc/fstab

4. Enter the following to the end of your fstab (replace ### with the IP address of your NFS server): 

    ###.###.###.###:/<ExportDirectory>           /mnt/exports     nfs      rsize=8192,wsize=8192,timeo=14,intr

5. Save fstab by pressing <esc>:wq

6. Then to manually mount the share(s) in fstab, run:

    mount -a

7. You should then be able to navigate to the /mnt/exports and run ls -l to see the same directories present in your NFS file share directories.

8. Now you will be able to import your logs using:

    cd /
    /usr/lib/loginsight/application/bin/loginsight repository import /mnt/exports

Note: The import process recursively goes through the filesystem and imports all subdirectories.