Summary:
Details:
- Mount the shared drive using /etc/fstab to ensure it is automatically mounted at system startup.
- Configure Spotfire.Dxp.Worker.Host.dll.config file to enable seamless access to the mounted files.
============================
1. Install the cifs-utils package if not present already using the below commands
sudo apt-get install cifs-utils # On Debian/Ubuntu sudo yum install cifs-utils # On CentOS/RHEL
sudo mkdir /mnt/test sudo mount -t cifs //gasdspssanwin01/test /mnt/test -o guest sudo mount -t cifs //gasdspssanwin01/test /mnt/test -o username=your_username,password=your_password sudo vim /etc/fstab //gasdspssanwin01/test /mnt/test cifs username=your_username,password=your_password,iocharset=utf8,vers=3.0 0 0 sudo umount /mnt/test
sudo mount -a
ls /mnt/test
==========================
2. Modify Spotfire.Dxp.Worker.Host.dll.config and specify the shared network path in the AllowedFilePaths section:
===============================
1. To whitelist a Windows path and corresponding Linux path assuming that the "test" is mounted under "/mnt/test", in Spotfire.Dxp.Worker.Host.dll.config file, the allowed file path should be mentioned with the pipe operator (|) in between Windows network share and the Linux mounted path, as follows:
<setting name="AllowedFilePaths" serializeAs="Xml"> <value> <ArrayOfString> <string>\\NetworkPath1\test|/mnt/test/</string> </ArrayOfString> </value> </setting>
2. Please refer to the below article for steps to edit the service configuration:
https://docs.tibco.com/pub/spotfire_server/latest/doc/html/TIB_sfire_server_tsas_adm[…]/topics/manually_editing_the_service_configuration_files.html
============================
Comments
0 comments
Article is closed for comments.