This software is an passenger application for Open OnDemand. It allows users to mount and unmount GakuNin RDM Storage. The Open OnDemand server requires the CS-rdmfs to be installed in advance.
# dnf -y install python3.11 python3.11-pip python3.11-devel fuse3 fuse3-devel git attr
# alternatives --config python3
(Select /usr/bin/python3.11)
# git clone --depth 1 https://github.com/RCOSDP/CS-rdmfs.git
# pip3 install --no-cache-dir -r CS-rdmfs/requirements.txt
# pip3 install CS-rdmfs/
# cp CS-rdmfs/bin/start.sh /usr/local/sbin/rdmfs_mount.sh
# chmod +x /usr/local/sbin/rdmfs_mount.sh
# vim /etc/fuse.conf
(Comment out a line of `user_allow_other`)- Install this app and its dependencies in the Open OnDemand application directory:
# cd /var/www/ood/apps/sys/
# git clone https://github.com/RIKEN-RCCS/GakuNin_RDM
# cd GakuNin_RDM
# npm install- (Optional) Verify the full paths of
rdmfs_mount.shandfusermount3in./app.js:
const FUSER_MOUNT = "/bin/fusermount3";
const RDMS_MOUNT = "/usr/local/sbin/rdmfs_mount.sh";- (Optional) Edit
./manifest.ymlto suit your environment.
- From the Open OnDemand dashboard, click the GakuNin RDM icon.
- Obtain your project node ID and personal access token.
- Click the Mount button to access GakuNin RDM Storage from the Home Directory application in Open OnDemand.
GakuNin RDM Storage is mounted from the Open OnDemand server. Therefore, if you want to use GakuNin RDM Storage in a shell, you will need to log in to the Open OnDemand server via SSH. Whether SSH login to the Open OnDemand server is permitted depends on your environment.