SMB / CIFS Storage: Difference between revisions

From IVS Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
# Delete the line that mounts the local hard drive in /usr/local/WowzaStreamingEngine/content. It will most likely be the last line in fstab
# Delete the line that mounts the local hard drive in /usr/local/WowzaStreamingEngine/content. It will most likely be the last line in fstab
# Add a line for the CIFS (Windows) share. It should read similar to the following:
# Add a line for the CIFS (Windows) share. It should read similar to the following:
#: //''servername/sharename'' /usr/local/WowzaStreamingEngine/content ext4 username=''msusername'',password=''mspassword'',sec=ntlm 0 2
#: //''servername/sharename'' /usr/local/WowzaStreamingEngine/content cifs username=''msusername'',password=''mspassword'',sec=ntlm 0 2
#: Replace the italicized text with the appropriate information for your environment.
#: Replace the italicized text with the appropriate information for your environment.
#: EX: //ivsnas.ipivs.com/IVS/Videos  /usr/local/WowzaStreamingEngine/content  cifs  username=ivs,password=badpassword,sec=ntlm  0  0
#: EX: //ivsnas.ipivs.com/IVS/Videos  /usr/local/WowzaStreamingEngine/content  cifs  username=ivs,password=badpassword,sec=ntlm  0  0

Revision as of 22:38, 9 February 2017

The following instructions will configure the Valt appliance to store videos on a CIFS 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 network share before proceeding.

  1. Connect to the server via SSH or log in to the teminal
  2. Type sudo apt-get install cifs-utils and press enter.
  3. When prompted, enter Y to confirm installation of the package.
  4. Type sudo nano /etc/fstab and press enter.
  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 CIFS (Windows) share. It should read similar to the following:
    //servername/sharename /usr/local/WowzaStreamingEngine/content cifs username=msusername,password=mspassword,sec=ntlm 0 2
    Replace the italicized text with the appropriate information for your environment.
    EX: //ivsnas.ipivs.com/IVS/Videos /usr/local/WowzaStreamingEngine/content cifs username=ivs,password=badpassword,sec=ntlm 0 0
  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.
  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 a CIFS (Windows) share.