![]() |
ROOT 6.14/05 Reference Guide |
Definition at line 56 of file XrdProofdManager.h.
Public Member Functions | |
XrdProofdManager (char *parms, XrdProtocol_Config *pi, XrdSysError *edest) | |
Constructor. More... | |
virtual | ~XrdProofdManager () |
Destructor. More... | |
XrdProofdAdmin * | Admin () const |
const char * | AdminPath () const |
const char * | BareLibPath () const |
bool | ChangeOwn () const |
void | CheckLogFileOwnership () |
Make sure that the log file belongs to the original effective user. More... | |
bool | CheckMaster (const char *m) |
Check if master 'm' is allowed to connect to this host. More... | |
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. More... | |
XrdProofdClientMgr * | ClientMgr () const |
int | Config (bool rcf=0) |
Run configuration and parse the entered config directives. More... | |
int | CronFrequency () |
const char * | DataDir () const |
const char * | DataDirOpts () const |
const char * | DataDirUrlOpts () const |
const char * | DataSetExp () const |
std::list< XrdProofdDSInfo * > * | DataSetSrcs () |
int | DoDirective (XrdProofdDirective *d, char *val, XrdOucStream *cfg, bool rcf) |
Update the priorities of the active sessions. More... | |
const char * | EffectiveUser () const |
int | GetWorkers (XrdOucString &workers, XrdProofdProofServ *, const char *) |
Get a list of workers from the available resource broker. More... | |
XrdProofGroupMgr * | GroupsMgr () const |
const char * | Host () const |
const char * | Image () const |
bool | IsRootdAllowed (const char *host) |
Check if 'host' is allowed to access files via rootd. More... | |
bool | IsSuperMst () const |
const char * | LocalROOT () const |
bool | MultiUser () const |
XrdSysRecMutex * | Mutex () |
const char * | NameSpace () const |
XrdProofdNetMgr * | NetMgr () const |
const char * | PoolURL () const |
int | Port () const |
XrdProofdPriorityMgr * | PriorityMgr () const |
int | Process (XrdProofdProtocol *p) |
Process manager request. More... | |
XrdProofSched * | ProofSched () const |
void | RegisterDirectives () |
Register directives for configuration. More... | |
bool | RemotePLite () const |
int | ResolveKeywords (XrdOucString &s, XrdProofdClient *pcl) |
Resolve special keywords in 's' for client 'pcl'. More... | |
const char ** | RootdArgs () const |
const char * | RootdExe () const |
bool | RootdFork () const |
rpdunixsrv * | RootdUnixSrv () const |
XrdROOTMgr * | ROOTMgr () const |
XrdScheduler * | Sched () const |
XrdProofdProofServMgr * | SessionMgr () const |
const char * | SockPathDir () const |
int | SrvType () const |
const char * | StageReqRepo () const |
const char * | TMPdir () const |
const char * | WorkDir () const |
XrdProtocol * | Xrootd () const |
![]() | |
XrdProofdConfig (const char *cfg=0, XrdSysError *edest=0) | |
Main constructor. More... | |
virtual | ~XrdProofdConfig () |
const char * | CfgFile () const |
void | SetCfgEDest (const char *cfg, XrdSysError *edest) |
Set config file and error handler. More... | |
Private Member Functions | |
int | DoDirectiveAllow (char *, XrdOucStream *, bool) |
Process 'allow' directive. More... | |
int | DoDirectiveAllowedGroups (char *, XrdOucStream *, bool) |
Process 'allowedgroups' directive. More... | |
int | DoDirectiveAllowedUsers (char *, XrdOucStream *, bool) |
Process 'allowedusers' directive. More... | |
int | DoDirectiveDataDir (char *, XrdOucStream *, bool) |
Process 'datadir' directive. More... | |
int | DoDirectiveDataSetReqRepo (char *, XrdOucStream *, bool) |
int | DoDirectiveDataSetSrc (char *, XrdOucStream *, bool) |
Process 'datasetsrc' directive. More... | |
int | DoDirectiveFilterLibPaths (char *, XrdOucStream *, bool) |
Process 'filterlibpaths' directive xpd.filterlibpaths 1|0 [path1,path2 path3 path4 ...]. More... | |
int | DoDirectiveGroupfile (char *, XrdOucStream *, bool) |
Process 'groupfile' directive. More... | |
int | DoDirectiveMaxOldLogs (char *, XrdOucStream *, bool) |
Process 'maxoldlogs' directive. More... | |
int | DoDirectiveMultiUser (char *, XrdOucStream *, bool) |
Process 'multiuser' directive. More... | |
int | DoDirectivePort (char *, XrdOucStream *, bool) |
Process 'xrd.protocol' directive to find the port. More... | |
int | DoDirectiveRole (char *, XrdOucStream *, bool) |
Process 'role' directive. More... | |
int | DoDirectiveRootd (char *, XrdOucStream *, bool) |
Process 'rootd' directive xpd.rootd deny|allow [rootsys:<tag>] [path:abs-path/] [mode:ro|rw] [auth:none|full] [other_rootd_args]. More... | |
int | DoDirectiveRootdAllow (char *, XrdOucStream *, bool) |
Process 'rootdallow' directive xpd.rootdallow host1,host2 host3 Host names may contain the wild card '*'. More... | |
int | DoDirectiveTrace (char *, XrdOucStream *, bool) |
Scan the config file for tracing settings. More... | |
int | DoDirectiveXrootd (char *, XrdOucStream *, bool) |
Process 'xrootd' directive xpd.xrootd [path/]libXrdXrootd.so. More... | |
XrdProofSched * | LoadScheduler () |
Load PROOF scheduler. More... | |
XrdProtocol * | LoadXrootd (char *parms, XrdProtocol_Config *pi, XrdSysError *edest) |
Load the Xrootd protocol, if required. More... | |
bool | ValidateLocalDataSetSrc (XrdOucString &url, bool &local) |
Validate local dataset src at URL (check the URL and make the relevant directories). More... | |
Additional Inherited Members | |
![]() | |
int | ParseFile (bool rcf=false) |
Parse config file for the registered directives. More... | |
bool | ReadFile (bool update=true) |
Return true if the file has never been read or did change since last reading, false otherwise. More... | |
void | Register (const char *dname, XrdProofdDirective *d) |
![]() | |
XrdSysError * | fEDest |
#include <XrdProofdManager.h>
XrdProofdManager::XrdProofdManager | ( | char * | parms, |
XrdProtocol_Config * | pi, | ||
XrdSysError * | edest | ||
) |
Constructor.
Definition at line 222 of file XrdProofdManager.cxx.
|
virtual |
Destructor.
Definition at line 323 of file XrdProofdManager.cxx.
|
inline |
Definition at line 116 of file XrdProofdManager.h.
|
inline |
Definition at line 74 of file XrdProofdManager.h.
|
inline |
Definition at line 75 of file XrdProofdManager.h.
|
inline |
Definition at line 76 of file XrdProofdManager.h.
void XrdProofdManager::CheckLogFileOwnership | ( | ) |
Make sure that the log file belongs to the original effective user.
Definition at line 375 of file XrdProofdManager.cxx.
bool XrdProofdManager::CheckMaster | ( | const char * | m | ) |
Check if master 'm' is allowed to connect to this host.
Definition at line 411 of file XrdProofdManager.cxx.
int XrdProofdManager::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.
Definition at line 435 of file XrdProofdManager.cxx.
|
inline |
Definition at line 110 of file XrdProofdManager.h.
|
virtual |
Run configuration and parse the entered config directives.
Return 0 on success, -1 on error
Reimplemented from XrdProofdConfig.
Definition at line 872 of file XrdProofdManager.cxx.
|
inline |
Definition at line 80 of file XrdProofdManager.h.
|
inline |
Definition at line 93 of file XrdProofdManager.h.
|
inline |
Definition at line 94 of file XrdProofdManager.h.
|
inline |
Definition at line 95 of file XrdProofdManager.h.
|
inline |
Definition at line 96 of file XrdProofdManager.h.
|
inline |
Definition at line 107 of file XrdProofdManager.h.
|
virtual |
Update the priorities of the active sessions.
Reimplemented from XrdProofdConfig.
Definition at line 1538 of file XrdProofdManager.cxx.
|
private |
Process 'allow' directive.
Definition at line 1733 of file XrdProofdManager.cxx.
|
private |
Process 'allowedgroups' directive.
Definition at line 1752 of file XrdProofdManager.cxx.
|
private |
Process 'allowedusers' directive.
Definition at line 1794 of file XrdProofdManager.cxx.
|
private |
Process 'datadir' directive.
Definition at line 1962 of file XrdProofdManager.cxx.
|
private |
|
private |
Process 'datasetsrc' directive.
Definition at line 1908 of file XrdProofdManager.cxx.
|
private |
Process 'filterlibpaths' directive xpd.filterlibpaths 1|0 [path1,path2 path3 path4 ...].
Definition at line 2121 of file XrdProofdManager.cxx.
|
private |
Process 'groupfile' directive.
Definition at line 1685 of file XrdProofdManager.cxx.
|
private |
Process 'maxoldlogs' directive.
Definition at line 1713 of file XrdProofdManager.cxx.
|
private |
Process 'multiuser' directive.
Definition at line 1884 of file XrdProofdManager.cxx.
|
private |
Process 'xrd.protocol' directive to find the port.
Definition at line 1863 of file XrdProofdManager.cxx.
|
private |
Process 'role' directive.
Definition at line 1831 of file XrdProofdManager.cxx.
|
private |
Process 'rootd' directive xpd.rootd deny|allow [rootsys:<tag>] [path:abs-path/] [mode:ro|rw] [auth:none|full] [other_rootd_args].
Definition at line 2018 of file XrdProofdManager.cxx.
|
private |
Process 'rootdallow' directive xpd.rootdallow host1,host2 host3 Host names may contain the wild card '*'.
Definition at line 2090 of file XrdProofdManager.cxx.
|
private |
Scan the config file for tracing settings.
Definition at line 1587 of file XrdProofdManager.cxx.
|
private |
Process 'xrootd' directive xpd.xrootd [path/]libXrdXrootd.so.
Definition at line 1993 of file XrdProofdManager.cxx.
|
inline |
Definition at line 111 of file XrdProofdManager.h.
int XrdProofdManager::GetWorkers | ( | XrdOucString & | workers, |
XrdProofdProofServ * | xps, | ||
const char * | query | ||
) |
Get a list of workers from the available resource broker.
Definition at line 699 of file XrdProofdManager.cxx.
|
inline |
Definition at line 112 of file XrdProofdManager.h.
|
inline |
Definition at line 81 of file XrdProofdManager.h.
|
inline |
Definition at line 82 of file XrdProofdManager.h.
bool XrdProofdManager::IsRootdAllowed | ( | const char * | host | ) |
Check if 'host' is allowed to access files via rootd.
Definition at line 2159 of file XrdProofdManager.cxx.
|
inline |
Definition at line 83 of file XrdProofdManager.h.
|
private |
Load PROOF scheduler.
Definition at line 612 of file XrdProofdManager.cxx.
|
private |
Load the Xrootd protocol, if required.
Definition at line 340 of file XrdProofdManager.cxx.
|
inline |
Definition at line 84 of file XrdProofdManager.h.
|
inline |
Definition at line 85 of file XrdProofdManager.h.
|
inline |
Definition at line 62 of file XrdProofdManager.h.
|
inline |
Definition at line 86 of file XrdProofdManager.h.
|
inline |
Definition at line 115 of file XrdProofdManager.h.
|
inline |
Definition at line 87 of file XrdProofdManager.h.
|
inline |
Definition at line 88 of file XrdProofdManager.h.
|
inline |
Definition at line 118 of file XrdProofdManager.h.
int XrdProofdManager::Process | ( | XrdProofdProtocol * | p | ) |
Process manager request.
Definition at line 2185 of file XrdProofdManager.cxx.
|
inline |
Definition at line 113 of file XrdProofdManager.h.
|
virtual |
Register directives for configuration.
Reimplemented from XrdProofdConfig.
Definition at line 1413 of file XrdProofdManager.cxx.
|
inline |
Definition at line 105 of file XrdProofdManager.h.
int XrdProofdManager::ResolveKeywords | ( | XrdOucString & | s, |
XrdProofdClient * | pcl | ||
) |
Resolve special keywords in 's' for client 'pcl'.
Recognized keywords <workdir> root for working dirs <host> local host name <port> daemon port <homedir> user home dir <user> user name <group> user group <uid> user ID <gid> user group ID <effuser> effective user name (for multiuser or user mapping modes) Return the number of keywords resolved.
Definition at line 1458 of file XrdProofdManager.cxx.
|
inline |
Definition at line 100 of file XrdProofdManager.h.
|
inline |
Definition at line 99 of file XrdProofdManager.h.
|
inline |
Definition at line 103 of file XrdProofdManager.h.
|
inline |
Definition at line 102 of file XrdProofdManager.h.
|
inline |
Definition at line 117 of file XrdProofdManager.h.
|
inline |
Definition at line 119 of file XrdProofdManager.h.
|
inline |
Definition at line 114 of file XrdProofdManager.h.
|
inline |
Definition at line 90 of file XrdProofdManager.h.
|
inline |
Definition at line 89 of file XrdProofdManager.h.
|
inline |
Definition at line 97 of file XrdProofdManager.h.
|
inline |
Definition at line 91 of file XrdProofdManager.h.
|
private |
Validate local dataset src at URL (check the URL and make the relevant directories).
Return 1 if OK, 0 if any problem arises
Definition at line 1321 of file XrdProofdManager.cxx.
|
inline |
Definition at line 92 of file XrdProofdManager.h.
|
inline |
Definition at line 121 of file XrdProofdManager.h.
|
private |
Definition at line 173 of file XrdProofdManager.h.
|
private |
Definition at line 132 of file XrdProofdManager.h.
|
private |
Definition at line 183 of file XrdProofdManager.h.
|
private |
Definition at line 182 of file XrdProofdManager.h.
|
private |
Definition at line 143 of file XrdProofdManager.h.
|
private |
Definition at line 185 of file XrdProofdManager.h.
|
private |
Definition at line 168 of file XrdProofdManager.h.
|
private |
Definition at line 141 of file XrdProofdManager.h.
|
private |
Definition at line 149 of file XrdProofdManager.h.
|
private |
Definition at line 150 of file XrdProofdManager.h.
|
private |
Definition at line 151 of file XrdProofdManager.h.
|
private |
Definition at line 152 of file XrdProofdManager.h.
|
private |
Definition at line 194 of file XrdProofdManager.h.
|
private |
Definition at line 135 of file XrdProofdManager.h.
|
private |
Definition at line 169 of file XrdProofdManager.h.
|
private |
Definition at line 136 of file XrdProofdManager.h.
|
private |
Definition at line 138 of file XrdProofdManager.h.
|
private |
Definition at line 189 of file XrdProofdManager.h.
|
private |
Definition at line 148 of file XrdProofdManager.h.
|
private |
Definition at line 193 of file XrdProofdManager.h.
|
private |
Definition at line 184 of file XrdProofdManager.h.
|
private |
Definition at line 127 of file XrdProofdManager.h.
|
private |
Definition at line 140 of file XrdProofdManager.h.
|
private |
Definition at line 147 of file XrdProofdManager.h.
|
private |
Definition at line 172 of file XrdProofdManager.h.
|
private |
Definition at line 181 of file XrdProofdManager.h.
|
private |
Definition at line 197 of file XrdProofdManager.h.
|
private |
Definition at line 198 of file XrdProofdManager.h.
|
private |
Definition at line 146 of file XrdProofdManager.h.
|
private |
Definition at line 137 of file XrdProofdManager.h.
|
private |
Definition at line 175 of file XrdProofdManager.h.
|
private |
Definition at line 170 of file XrdProofdManager.h.
|
private |
Definition at line 130 of file XrdProofdManager.h.
|
private |
Definition at line 188 of file XrdProofdManager.h.
|
private |
Definition at line 159 of file XrdProofdManager.h.
|
private |
Definition at line 157 of file XrdProofdManager.h.
|
private |
Definition at line 158 of file XrdProofdManager.h.
|
private |
Definition at line 156 of file XrdProofdManager.h.
|
private |
Definition at line 161 of file XrdProofdManager.h.
|
private |
Definition at line 160 of file XrdProofdManager.h.
|
private |
Definition at line 174 of file XrdProofdManager.h.
|
private |
Definition at line 177 of file XrdProofdManager.h.
|
private |
Definition at line 171 of file XrdProofdManager.h.
|
private |
Definition at line 144 of file XrdProofdManager.h.
|
private |
Definition at line 134 of file XrdProofdManager.h.
|
private |
Definition at line 153 of file XrdProofdManager.h.
|
private |
Definition at line 129 of file XrdProofdManager.h.
|
private |
Definition at line 179 of file XrdProofdManager.h.
|
private |
Definition at line 145 of file XrdProofdManager.h.
|
private |
Definition at line 139 of file XrdProofdManager.h.
|
private |
Definition at line 163 of file XrdProofdManager.h.
|
private |
Definition at line 164 of file XrdProofdManager.h.
|
private |
Definition at line 165 of file XrdProofdManager.h.