Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
4b66588f
Commit
4b66588f
authored
Oct 29, 2015
by
Daniele Kruse
Browse files
Added support for configurable EOS host and port (in castor.conf)
parent
9af84404
Changes
3
Hide whitespace changes
Inline
Side-by-side
tapeserver/castor/castor.conf
View file @
4b66588f
...
...
@@ -657,6 +657,9 @@
# created path.
#TapeServer MockNameServerPath /tmp/CTAMockNS9r236q
# This is the host and port number of the remote EOS xroot server.
#TapeServer EOSRemoteHostAndPort localhost:1094
## Tape Bridge Clients: dumptp, readtp and writetp #############################
# The inclusive low port of the tapebridge client callback port number range.
...
...
tapeserver/castor/tape/tapeserver/daemon/ProcessForker.cpp
View file @
4b66588f
...
...
@@ -556,7 +556,7 @@ castor::tape::tapeserver::daemon::Session::EndOfSessionAction
messages
::
TapeserverProxyZmq
tapeserver
(
m_log
,
m_config
.
internalPort
,
zmqContext
.
get
());
cta
::
EosNS
eosNs
(
"localhost:1094"
);
cta
::
EosNS
eosNs
(
castor
::
common
::
CastorConfiguration
::
getConfig
().
getConfEntString
(
"TapeServer"
,
"EOSRemoteHostAndPort"
)
);
cta
::
MockNameServer
mockNs
(
castor
::
common
::
CastorConfiguration
::
getConfig
().
getConfEntString
(
"TapeServer"
,
"MockNameServerPath"
));
cta
::
objectstore
::
BackendVFS
backend
(
castor
::
common
::
CastorConfiguration
::
getConfig
().
getConfEntString
(
"TapeServer"
,
"ObjectStoreBackendPath"
));
BackendPopulator
backendPopulator
(
backend
);
...
...
xroot_plugins/XrdCtaFilesystem.cpp
View file @
4b66588f
...
...
@@ -256,7 +256,7 @@ void XrdProFilesystem::EnvInfo(XrdOucEnv *envP)
//------------------------------------------------------------------------------
XrdProFilesystem
::
XrdProFilesystem
()
:
m_ns
(
castor
::
common
::
CastorConfiguration
::
getConfig
().
getConfEntString
(
"TapeServer"
,
"MockNameServerPath"
)),
m_remoteStorage
(
"localhost:1094"
),
m_remoteStorage
(
castor
::
common
::
CastorConfiguration
::
getConfig
().
getConfEntString
(
"TapeServer"
,
"EOSRemoteHostAndPort"
)
),
m_backend
(
castor
::
common
::
CastorConfiguration
::
getConfig
().
getConfEntString
(
"TapeServer"
,
"ObjectStoreBackendPath"
)),
m_backendPopulator
(
m_backend
),
m_scheddb
(
m_backend
,
m_backendPopulator
.
getAgent
()),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment