Hi
In my GCSv5.4 setup, let’s say I’ve added a new host as a node to an existing endpoint where the existing storage gateway was already on a separate DTN node. To add the new one, I used
globus-connect-server node setup –ip-address <address of new host>
but using the original deployment-key.json to add it to the existing setup.
I now have multiple DTN nodes in my setup, so I disabled the new one new temporarily, with
globus-connect-server node update –disable <node id>
as there are some other admin tasks to complete on it first.
But once it’s fully ready, and I’ve re-enabled it, will there be 2 DTNs serving the same collection, on the same storage gateway? (it would seem so, from what the various show and list commands tell me)
If so, how does Globus decide which one to send a particular transfer task to? Or is it intended that only 1 node should be active, at a time?
Many thanks,
Matt
Since a lot of sites use NHC (https://github.com/mej/nhc), maybe that could be used: Have NHC check if filesystems are mounted, or if an `ls` check passes. Then make a node-mark-offline script that stops the Globus services (or maybe just Apache, or Apache + GridFTP), and a node-mark-online script to bring things online.
All of the Globus services are started using systemd, so if systemd already mounts your filesystems (or if it could be made to do so), you could drop in an override file to make Globus’ services dependent on those filesystems being mounted. Or, you could make a oneoff check to run the NHC script, and make Globus’ services depend on that.
It wouldn’t be perfect—since the node isn’t disabled, Globus HQ might still try to send traffic there—but it may be better serving a timeout vs. a “file not found”.
~ Karl
If you don’t have an HTTPS server URL set, then that means that HTTPS uploads/downloads aren’t enabled on the collection. See https://docs.globus.org/globus-connect-server/v5.4/https-access-collections/ and https://docs.globus.org/globus-connect-server/v5.4/data-access-guide/#enable_or_disable_https_access.
~ Karl
Hi Chan,
Just to confirm: You’re looking for a way to fetch a file from each DTN that’s associated with an endpoint, in order to confirm that each DTN is operating properly. Do I understand that correctly?
~ Karl