Difference between revisions of "NFS Storage"

From IVS Wiki
Jump to: navigation, search
 
Line 7: Line 7:
 
# Connect to the server via SSH or log in to the teminal
 
# Connect to the server via SSH or log in to the teminal
 
# Type '''sudo apt-get install  nfs-common''' and press enter.
 
# Type '''sudo apt-get install  nfs-common''' and press enter.
# [[File:Storage4.png]]
+
#: [[File:Storage4.png]]
 
# When prompted, enter '''Y''' to confirm installation of the package.
 
# When prompted, enter '''Y''' to confirm installation of the package.
 
# Type '''sudo nano /etc/fstab''' and press enter.
 
# Type '''sudo nano /etc/fstab''' and press enter.

Latest revision as of 16:57, 9 February 2017

The following instructions will configure the Valt appliance to store videos on a NFS share.

WARNING: This instructions will remove any previously recorded videos. This should only be performed with a new Valt installation.

If you need to perform this operation on an existing Valt server, you must copy the contents of /usr/local/WowzaStreamingEngine/content to your NFS share before proceeding.

  1. Connect to the server via SSH or log in to the teminal
  2. Type sudo apt-get install nfs-common and press enter.
    Storage4.png
  3. When prompted, enter Y to confirm installation of the package.
  4. Type sudo nano /etc/fstab and press enter.
    Install45.png
  5. Delete the line that mounts the local hard drive in /usr/local/WowzaStreamingEngine/content. It will most likely be the last line in fstab
  6. Add a line for the NFS share. It should read similar to the following:
    servername:nfspath /usr/local/WowzaStreamingEngine/content nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 2
    Replace the italicized text with the appropriate information for your environment.
    EX: ivsnas.ipivs.com:/var/nfs/vidshare /usr/local/WowzaStreamingEngine/content nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
    Storage5.png
  7. Press CTRL-X
  8. Enter Y to save.
  9. Do not change the file name and press enter
  10. Type sudo mount -a and press enter.
    Storage3.png
  11. Type sudo /usr/local/valt/bin/Storage and press enter
    In some installation the Storage script may be located at /home/ivsadmin/ValtInstall/Storage. If the script is not in either location, please contact IVS technical support for assistance.

The Valt appliance should now be configured to store all videos on an NFS share.