Creating a Globus endpoint

mrptobias

Cadet
Joined
Mar 4, 2021
Messages
3
Has anyone successfully created a Globus endpoint on their system?
Was there anything unique required. Did you use a jail or build it directly on the system?
I am wondering if I can use the Linux personal endpoint (https://docs.globus.org/how-to/globus-connect-personal-linux/) to create my end point.
I can set Globus up on a Ubuntu system that has my Truenas share connected via a NFS mount but seems like I am adding an extra step to transfer terabytes of data.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
I haven't installed it as I'm not interested with that tool, but from what I can see, the requirement would be to install it in a jail together with any dependencies (if it will even run at all).
 

mrptobias

Cadet
Joined
Mar 4, 2021
Messages
3
Seems the easiest way is to create jail then install python and then pip and pipx then the Globus CLI. Commands look like the following.
  1. Create jail in web interface.
  2. login to host truenas, then use the command "jexec 5 tcsh"
  3. then add a user for the using python "adduser pyhton"
  4. install python3 with command "pkg install python3"
  5. install pip with command "python3 -m pip install -U pip"
  6. confirm python and pip environments "python3 -m ensurepip"
  7. install pipx with command "python3 -m pip install --user -U pipx"
  8. I prefer having nano as the file editor so I use command "pkg install nano"
  9. then finally I have to can install the globus command line program with the following. "/usr/home/process/.local/bin/pipx install globus-cli"
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Assuming your jail is called globus

login to host truenas, then use the command "jexec 5 tcsh"
iocage console globus

then add a user for the using python "adduser pyhton"
Check your spelling... python

install pip with command "python3 -m pip install -U pip"
Is -U specifying the user to use? should't that be the one you created (python)?

install pipx with command "python3 -m pip install --user -U pipx"
And again, another user... pipx... is that what you wanted?
 

mrptobias

Cadet
Joined
Mar 4, 2021
Messages
3
Both commands solved the same problem. jls and jexec were the ones I found first, if you want to look into it there is a post from like 3 years ago about it. https://www.truenas.com/community/threads/iocage-exec-list-or-jexec-jls.69706/

I can't edit the post to fix minor spelling errors. Thanks

Python should be installed in a standard user account instead of root.

Missed listing the step for switching to the python user. used the command "su python"

Here are what those switches mean. But no extra users accounts were made.

-U, --upgrade : Upgrade all specified packages to the newest available version. The handling of dependencies depends on the upgrade-strategy used.

--user : Install to the Python user install directory for your platform. Typically ~/.local/, or %APPDATA%\Python on Windows.

Hope that helps explain some the command switches for you. if you need more info use the command "pip help install"
 
Top