About NAS mount
ThoughtSpot enables you to mount a NAS file system for storing or accessing large files. The file system will be mounted at the same location on each node in the cluster automatically. When any node is restarted, the file system will be mounted again automatically, if it can be found.
When supplying a directory for writing or reading a backup, you can specify the
mount point as the directory to use. Likewise, you can stage data there for
Backups are written by the Linux user
admin. If that user does not have
permission to write to the NAS file system, you can write the backups to a disk
and then set up a cron job that executes as root user and copies the backup to
the NAS device every night, then deletes it from the directory.
Do not send the periodic backups or stage files on
/export/sdb1 since it is a
name node. It is used internally by Hadoop Distributed File System (HDFS) and if
this drive fills up, it can cause serious problems. Do not allow backups or data
files to accumulate on ThoughtSpot. If disk space becomes limited, the system
will not function normally.
Mount NAS using tscli
To mount a NAS file system using the tscli, follow these steps:
- Log in to the Linux shell using SSH.
- Mount the directory to the file system by issuing the appropriate command:
Example for an NFS (Network File System) directory:
tscli nas mount-nfs --server storageservername.file.yourdomain.net --path_on_server <path> /tsdev-backup --mount_point /export/BACKUPS/ --options vers=<version>,sec=<security scheme>,<OPTIONS>Note: Other command-line options are available to forward to the command (default:
Example for a CIFS (Common Internet File System) directory:
tscli nas mount-cifs --server storageservername.file.yourdomain.net --path_on_server /tsdev-backup --mount_point /export/BACKUPS/ --username 'avtprdweutspotdev' --uid 1001 --gid 1001 --options 'vers=3.0'Note: Other command-line options are available to forward to the
Use the mounted file system by referring to its mount point.
When you are finished with it, you can optionally unmount the NAS file system:
tscli nas unmount --dir <directory>