Difference between revisions of "SMB / CIFS Storage"

From IVS Wiki
Jump to: navigation, search
(Created page with "# Connect to the server via SSH or log in to the teminal # Type '''sudo apt-get install cifs-utils''' and press enter. # When prompted, enter '''Y''' to confirm installation o...")
 
m (IVSWikiBlue moved page CIFS Storage to SMB / CIFS Storage)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
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.''
 +
 
# 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 cifs-utils''' and press enter.
 
# Type '''sudo apt-get install cifs-utils''' and press enter.
 +
# [[File:Storage1.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.
#: [[File:Install44.png]]
+
#: [[File:Install45.png]]
# Add a line for the you CIFS (Windows) share. It should read similar to the following:
+
# Delete the line that mounts the local hard drive in /usr/local/WowzaStreamingEngine/content. It will most likely be the last line in fstab
#: //''servername/sharename'' /usr/local/WowzaStreamingEngine/content ext4 username=''msusername'',password=''mspassword'',sec=ntlm 0 2
+
# 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.
 
#: 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
#: [[File:Install45.png]]
+
#: [[File:Storage2.png]]
 
# Press '''CTRL-X'''
 
# Press '''CTRL-X'''
 
# Enter Y to save.
 
# Enter Y to save.
 
# Do not change the file name and press enter
 
# Do not change the file name and press enter
 
# Type '''sudo mount -a''' and press enter.
 
# Type '''sudo mount -a''' and press enter.
 +
#: [[File:Storage3.png]]
 
# Type '''sudo /usr/local/valt/bin/Storage''' and press enter
 
# 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.
 
#: ''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.

Latest revision as of 13:33, 6 May 2022

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. Storage1.png
  4. When prompted, enter Y to confirm installation of the package.
  5. Type sudo nano /etc/fstab and press enter.
    Install45.png
  6. Delete the line that mounts the local hard drive in /usr/local/WowzaStreamingEngine/content. It will most likely be the last line in fstab
  7. 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
    Storage2.png
  8. Press CTRL-X
  9. Enter Y to save.
  10. Do not change the file name and press enter
  11. Type sudo mount -a and press enter.
    Storage3.png
  12. 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.