12 #ifndef ROOT_XrdProofdManager 13 #define ROOT_XrdProofdManager 33 #include "XrdOuc/XrdOucString.hh" 67 char *val, XrdOucStream *cfg,
bool rcf);
XrdProofdProofServMgr * fSessionMgr
const char * WorkDir() const
int DoDirectiveXrootd(char *, XrdOucStream *, bool)
Process 'xrootd' directive xpd.xrootd [path/]libXrdXrootd.so.
int DoDirectiveRootdAllow(char *, XrdOucStream *, bool)
Process 'rootdallow' directive xpd.rootdallow host1,host2 host3 Host names may contain the wild card ...
int DoDirectiveFilterLibPaths(char *, XrdOucStream *, bool)
Process 'filterlibpaths' directive xpd.filterlibpaths 1|0 [path1,path2 path3 path4 ...
XrdProofdClientMgr * fClientMgr
int GetWorkers(XrdOucString &workers, XrdProofdProofServ *, const char *)
Get a list of workers from the available resource broker.
const char * RootdExe() const
XrdProofdProofServMgr * SessionMgr() const
int DoDirectiveRole(char *, XrdOucStream *, bool)
Process 'role' directive.
const char * BareLibPath() const
std::list< XrdOucString * > fMastersAllowed
XrdProofdNetMgr * NetMgr() const
int Config(bool rcf=0)
Run configuration and parse the entered config directives.
virtual ~XrdProofdManager()
Destructor.
int Process(XrdProofdProtocol *p)
Process manager request.
XrdScheduler * Sched() const
XrdOucHash< int > fAllowedUsers
XrdProofdManager(char *parms, XrdProtocol_Config *pi, XrdSysError *edest)
Constructor.
const char * DataDir() const
XrdProofdAdmin * Admin() const
XrdProofdPriorityMgr * fPriorityMgr
rpdunixsrv * RootdUnixSrv() const
const char * StageReqRepo() const
const char * SockPathDir() const
int DoDirectiveRootd(char *, XrdOucStream *, bool)
Process 'rootd' directive xpd.rootd deny|allow [rootsys:<tag>] [path:abs-path/] [mode:ro|rw] [auth:no...
XrdProofSched * LoadScheduler()
Load PROOF scheduler.
XrdProofGroupMgr * fGroupsMgr
int DoDirective(XrdProofdDirective *d, char *val, XrdOucStream *cfg, bool rcf)
Update the priorities of the active sessions.
XrdProofSched * ProofSched() const
XrdProofGroupMgr * GroupsMgr() const
XrdOucString fEffectiveUser
XrdOucString fStageReqRepo
XrdProofdClientMgr * fClientMgr
int DoDirectiveAllowedGroups(char *, XrdOucStream *, bool)
Process 'allowedgroups' directive.
const char * NameSpace() const
int DoDirectiveTrace(char *, XrdOucStream *, bool)
Scan the config file for tracing settings.
int DoDirectiveDataDir(char *, XrdOucStream *, bool)
Process 'datadir' directive.
XrdProofSched * fProofSched
bool CheckMaster(const char *m)
Check if master 'm' is allowed to connect to this host.
XrdProofSched * fProofSched
XrdOucString fBareLibPath
int DoDirectiveDataSetReqRepo(char *, XrdOucStream *, bool)
int DoDirectiveAllow(char *, XrdOucStream *, bool)
Process 'allow' directive.
const char * DataDirUrlOpts() const
XrdSysPlugin * fXrootdPlugin
std::list< XrdProofdDSInfo * > fDataSetSrcs
std::list< XrdOucString > fRootdArgs
const char ** RootdArgs() const
bool IsRootdAllowed(const char *host)
Check if 'host' is allowed to access files via rootd.
const char * Host() const
int CheckUser(const char *usr, const char *grp, XrdProofUI &ui, XrdOucString &e, bool &su)
Check if the user is allowed to use the system Return 0 if OK, -1 if not.
XrdOucString fDataDirUrlOpts
XrdProofdClientMgr * ClientMgr() const
rpdunixsrv * fRootdUnixSrv
std::list< XrdProofdDSInfo * > * DataSetSrcs()
const char * TMPdir() const
void RegisterDirectives()
Register directives for configuration.
XrdROOTMgr * ROOTMgr() const
XrdProofdProofServMgr * fSessionMgr
XrdOucHash< int > fAllowedGroups
const char ** fRootdArgsPtrs
int ResolveKeywords(XrdOucString &s, XrdProofdClient *pcl)
Resolve special keywords in 's' for client 'pcl'.
const char * LocalROOT() const
std::list< XrdOucString > fRootdAllow
XrdOucHash< XrdOucString > fLibPathsToRemove
XrdProtocol * Xrootd() const
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
const char * AdminPath() const
const char * EffectiveUser() const
XrdProtocol * LoadXrootd(char *parms, XrdProtocol_Config *pi, XrdSysError *edest)
Load the Xrootd protocol, if required.
const char * PoolURL() const
XrdOucString fDataDirOpts
XrdProofdNetMgr * fNetMgr
int DoDirectiveGroupfile(char *, XrdOucStream *, bool)
Process 'groupfile' directive.
int DoDirectivePort(char *, XrdOucStream *, bool)
Process 'xrd.protocol' directive to find the port.
int DoDirectiveMultiUser(char *, XrdOucStream *, bool)
Process 'multiuser' directive.
XrdProofdPriorityMgr * PriorityMgr() const
const char * DataDirOpts() const
void CheckLogFileOwnership()
Make sure that the log file belongs to the original effective user.
const char * Image() const
int DoDirectiveDataSetSrc(char *, XrdOucStream *, bool)
Process 'datasetsrc' directive.
const char * DataSetExp() const
XrdOucString fXrootdLibPath
int DoDirectiveMaxOldLogs(char *, XrdOucStream *, bool)
Process 'maxoldlogs' directive.
XrdOucString fSockPathDir
bool ValidateLocalDataSetSrc(XrdOucString &url, bool &local)
Validate local dataset src at URL (check the URL and make the relevant directories).
int DoDirectiveAllowedUsers(char *, XrdOucStream *, bool)
Process 'allowedusers' directive.