Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
b7521327
Commit
b7521327
authored
11 years ago
by
Steven Murray
Committed by
Steven Murray
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added castor::tape::rmc::RmcDaemon
parent
d3ec4c8e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mediachanger/castorrmc/rmc/rmc_serv.c
+1
-1
1 addition, 1 deletion
mediachanger/castorrmc/rmc/rmc_serv.c
mediachanger/castorrmc/rmc/rmcd.man
+19
-14
19 additions, 14 deletions
mediachanger/castorrmc/rmc/rmcd.man
with
20 additions
and
15 deletions
mediachanger/castorrmc/rmc/rmc_serv.c
+
1
−
1
View file @
b7521327
...
...
@@ -18,6 +18,7 @@
#include
<netinet/in.h>
#include
<arpa/inet.h>
#include
"h/Cinit.h"
#include
"h/getconfent.h"
#include
"h/marshall.h"
#include
"h/net.h"
#include
"h/rmc_constants.h"
...
...
@@ -51,7 +52,6 @@ int rmc_main(struct main_args *main_args)
char
domainname
[
CA_MAXHOSTNAMELEN
+
1
];
struct
sockaddr_in
from
;
socklen_t
fromlen
=
sizeof
(
from
);
char
*
getconfent
();
char
*
msgaddr
;
int
nb_sense_ret
;
int
on
=
1
;
/* for REUSEADDR */
...
...
This diff is collapsed.
Click to expand it.
mediachanger/castorrmc/rmc/rmcd.man
+
19
−
14
View file @
b7521327
...
...
@@ -6,31 +6,36 @@
rmcd \- start the Remote Media Changer daemon
.SH SYNOPSIS
.B rmcd
.I smc_ldr
.SH DESCRIPTION
.LP
The
.B rmcd
command starts the Remote Media Changer daemon.
.LP
.I smc_ldr
is the picker device as defined in /dev.
.LP
If the Remote Media Changer daemon is not active,
the requests are automatically retried by the client API.
.LP
All error messages and statistical information are kept in the log file
/var/log/castor/rmcd.log.
.LP
.SH CASTOR CONFIGURATION PARAMETERS READ BY THE SERVER
The remote media changer daemon reads and uses the following CASTOR
configuration parameters which are specified within the CASTOR
configuration file /etc/castor/castor.conf.
.TP
\fBRMC MODE
The compatibility mode of the the remote media-changer daemon. Valid values
are ACS, MOCK and SMC. A remote media-changer daemon can either be configured
to work with an ACS compatible tape library or with a SCSI compatible tape
library. In addition a remote media-changer daemon can be configured to run
in MOCK mode for debugging purposes. In MOCK mode a remote media-changer will
do nothing but log the client requests it receives. It is \fBNOT\f[]
recommended to run a remote media-changer daemon in MOCK mode in production
unless you really know what you are doing.
.TP
\fBRMC PORT
The port on which the remote media changer daemon will listen for client
requests. The default value is 5014. This configuration parameter should
\fBNOT\fP normally be set and the default should be used.
.TP
\fBRMC SMCDEV
The path to the device file representing the SCSI media changer. This
configuration parameter is only read by a remote media-changer daemon
configured to run in SMC compatibility mode. See \fBRMC MODE\f[] above.
.SH CASTOR CONFIGURATION PARAMETERS READ BY THE CLIENTS
The clients of the remote media changer daemon read and use the following
...
...
@@ -52,16 +57,16 @@ the equivalent CASTOR configuration parameter located within the CASTOR
configuration file /etc/castor/castor.conf.
.TP
\fBRMC_HOST
The same meaning as the CASTOR configuration parameter RMC HOST
described
above.
The same meaning as the CASTOR configuration parameter
\fB
RMC HOST
\f[]
described
above.
.TP
\fBRMC_PORT
The same meaning as the CASTOR configuration parameter RMC PORT described
The same meaning as the CASTOR configuration parameter
\fB
RMC PORT
\f[]
described
above.
.SH THE SERVER LOG FILE
.LP
The remote media changer daemon
write
s logs
to the file
All error messages and statistical information are
writ
t
e
n
to the file
/var/log/castor/rmcd.log. Each entry within the log has a timestamp.
For each user command there is one message RMC92 giving information about
the requestor (hostname, uid, gid) and one message RMC98 giving the command
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment