Commit 721a43eb authored by Daniele Kruse's avatar Daniele Kruse
Browse files

Removed my own hardcoded plugin library path in the xroot configuration file...

Removed my own hardcoded plugin library path in the xroot configuration file and updated instructions to create appropriate soft links
parent cd97e9ba
......@@ -384,11 +384,18 @@ Before starting the xroot server we need to change the VFS backend permissions a
$ chmod -R 0777 /tmp/jobStoreVFSOKJCjW
\end{verbatim}
We now create some useful soft links to simplify the xrootd configuration:
\begin{verbatim}
$ ln -s <CTA build directory>/xroot_plugins/libXrdCtaOfs.so /usr/lib64/libXrdCtaOfs.so
$ ln -s <CTA src directory>/xroot_plugins/xrd.cf.cta /etc/xrd.cf.cta
\end{verbatim}
The CTA Command Line Interface needs to speak to a \emph{xroot} server which uses the CTA plugin to interpret and execute the commands sent by the user. All the information needed by the \emph{xroot} server is contained within a configuration file which is currently called \texttt{xrd.cf.cta}. Its contents is the following:
\begin{verbatim}
# Load the plugin XrdCtaOfs
xrootd.fslib /path/to/libXrdCtaOfs.so
xrootd.fslib /usr/lib64/libXrdCtaOfs.so
# Use the Kerberos 5 security module
xrootd.seclib libXrdSec.so
......@@ -415,7 +422,7 @@ All this will work fine provided that you have a file called \texttt{/etc/krb5.k
The \emph{xroot} server then can be launched with the following command:
\begin{verbatim}
$ xrootd -c </path/to/>xrd.cf.cta -I v4
$ xrootd -c /etc/xrd.cf.cta -I v4
\end{verbatim}
Where the first parameter is the configuration file above and the second one basically instructs \emph{xroot} to use IPv4. The result of the command is typically something like:
......
# Load the plugin XrdCtaOfs
xrootd.fslib /home/dkruse/CTA/build/xroot_plugins/libXrdCtaOfs.so
xrootd.fslib /usr/lib64/libXrdCtaOfs.so
# Use the Kerberos 5 security module
xrootd.seclib libXrdSec.so
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment