\section{Configure an EOS workflow to allow EOS to talk to the CTA front-end}
\section{Rmcd configuration}
Rmcd is the Remote Media Changer daemon, a TCP/IP server (which you must run locally for security reasons: it only listens to the localhost network). Has a device driver for the drive and one for the library.
The file \texttt{/etc/sysconfig/rmcd} contains the following parameters:
\begin{lstlisting}
DAEMON_COREFILE_LIMIT=unlimited
RUN_RMCD=yes
...
...
@@ -365,6 +403,36 @@ If the CTA instance is not using real tape hardware, follow the directions in Ap
mhVTL Virtual Tape Library.
\section{Starting up the xroot server with the CTA plugin}
Julien and Eric's scripts create the following \texttt{/etc/xrootd/xrootd-cta.cfg}:
\begin{lstlisting}
# Load the plugin XrdCtaOfs
xrootd.fslib libXrdCtaOfs.so
# Use the security module
xrootd.seclib libXrdSec.so
# Protocol specification
# The xroot server process needs to be able to read the keytab file
# Use a port other than 1094, already used by EOS xroot server
xrd.port 10955
\end{lstlisting}
Before starting the xroot server we need to change the VFS backend permissions again (because new files have been created with the \texttt{stage:st} user by the tapeserver daemon). Example: