1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY authors SYSTEM "authors.sgml">
<!ENTITY bugzilla SYSTEM "bugzilla.sgml">
<!ENTITY license SYSTEM "license.sgml">
<!ENTITY links SYSTEM "links.sgml">
]>
<refentry id="voms8">
<refmeta>
<refentrytitle>voms</refentrytitle>
<manvolnum>8</manvolnum>
<refmiscinfo class='source'>VOMS Server</refmiscinfo>
</refmeta>
<refnamediv id='name'>
<refname>voms</refname>
<refpurpose>VOMS server</refpurpose>
</refnamediv>
<refsynopsisdiv id='synopsis'>
<cmdsynopsis>
<command>voms</command>
<arg choice='opt'><arg choice='plain'>-foreground </arg></arg>
<arg choice='opt'><arg choice='plain'>-port <replaceable>port</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-backlog <replaceable>pnum</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-logfile <replaceable>file</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-globusid <replaceable>id</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-globuspwd <replaceable>file</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-passfile <replaceable>file</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-x509_cert_dir <replaceable>path</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-x509_cert_file <replaceable>file</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-x509_user_cert <replaceable>file</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-x509_user_key <replaceable>file</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-x509_user_proxy <replaceable>file</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-dbname <replaceable>name</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-username <replaceable>name</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-vo <replaceable> name</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-timeout <replaceable> limit</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-test </arg></arg>
<arg choice='opt'><arg choice='plain'>-conf <replaceable> file</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-uri <replaceable> uri</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-version</arg></arg>
<arg choice='opt'><arg choice='plain'>-code <replaceable>c</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-loglevel <replaceable>lev</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-logtype <replaceable>type</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-logformat <replaceable>str</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-logdateformat <replaceable>str</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-debug</arg></arg>
<arg choice='opt'><arg choice='plain'>-sqlloc <replaceable>path</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-compat</arg></arg>
<arg choice='opt'><arg choice='plain'>-socktimeout <replaceable>num</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-logmax <replaceable>num</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-newformat</arg></arg>
<arg choice='opt'><arg choice='plain'>-skipcacheck</arg></arg>
<arg choice='opt'><arg choice='plain'>-help</arg></arg>
<arg choice='opt'><arg choice='plain'>-usage</arg></arg>
<arg choice='opt'><arg choice='plain'>-globus <replaceable>version</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-contactstring <replaceable>contact</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-mysql-port <replaceable>port</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-mysql-socket <replaceable>socket</replaceable></arg></arg>
<arg choice='opt'><arg choice='plain'>-shortfqans</arg></arg>
<arg choice='opt'><arg choice='plain'>-syslog</arg></arg>
<arg choice='opt'><arg choice='plain'>-base64</arg></arg>
<arg choice='opt'><arg choice='plain'>-nologfile</arg></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1 id='description'><title>Description</title>
<para>VOMS - Virtual Organization Membership Service.</para>
<para>For the initial setup of the server, run the voms_install_db script as root.</para>
</refsect1>
<refsect1 id='options'><title>Options</title>
<para>Options may be specified indifferently with either a "-" or "--" prefix. Their
meaning is the following.</para>
<para><option>-help</option></para>
<para><option>-usage</option></para>
<para>These options print a list of options that the server accepts.
They are synonyms.</para>
<para><option>-foreground</option></para>
<para>Runs part of the server in foreground. Easier debugging.</para>
<para><option>-port</option> <replaceable>port</replaceable></para>
<para>Listens on port <emphasis remap='I'>port</emphasis>. The default is 754.</para>
<para><option>-backlog</option> <replaceable>num</replaceable></para>
<para>Sets the maximum backlof for the connections. The default is 50.</para>
<para><option>-logfile</option> <replaceable>file</replaceable></para>
<para>Selects the file for logging. The default is /ver/log/voms.</para>
<para><option>-globusid</option> <replaceable>id</replaceable></para>
<para><option>-globuspwd</option> <replaceable>file</replaceable></para>
<para>These options are supported for backwards compatibility only.
They have no effect, and indeed do not get listed by the -help option.</para>
<para><option>-passfile</option> <replaceable>file</replaceable></para>
<para>Reads the password to access the DB from <emphasis remap='I'>file</emphasis>. The default is to
read it from the console during server's startup.</para>
<para><option>-x509_cert_dir</option> <replaceable>path</replaceable></para>
<para><option>-x509_cert_file</option> <replaceable>file</replaceable></para>
<para><option>-x509_user_cert</option> <replaceable>file</replaceable></para>
<para><option>-x509_user_key</option> <replaceable>file</replaceable></para>
<para><option>-x509_user_proxy</option> <replaceable>file</replaceable></para>
<para>These options set the respective variables.</para>
<para><option>-dbname</option> <replaceable>name</replaceable></para>
<para>Sets the name of the DB. Default <emphasis remap='I'>voms</emphasis>.</para>
<para><option>-username</option> <replaceable>name</replaceable></para>
<para>Sets the name of the user for the DB login. The default is <emphasis remap='I'>voms</emphasis>.</para>
<para><option>-vo</option> <replaceable>name</replaceable></para>
<para>Sets the name of the VO that owns this server. The default is <emphasis remap='I'>unspecified</emphasis>.</para>
<para><option>-timeout</option> <replaceable>limit</replaceable></para>
<para>Sets the length of time that the information is valid, measured in secods.
The default is 86400 seconds (24 hours).</para>
<para><option>-test</option></para>
<para>Prints information about the server startup and then exits.</para>
<para><option>-conf</option> <replaceable>file</replaceable></para>
<para>Reads option from the file <emphasis remap='I'>file</emphasis>. The options must be present
one per line in the format <option>-option[=value]</option> where the value
part must obviously be present only if it is required.</para>
<para><option>-uri</option> <replaceable>uri</replaceable></para>
<para>Defines the uri of the server that will be included in the generated
pseudo certificate. The default value is hostname:port</para>
<para><option>-version</option></para>
<para>Prints information about the server and then exits.</para>
<para><option>-code</option> <replaceable>c</replaceable></para>
<para><option>-globus</option> <replaceable>version</replaceable></para>
<para>These options are obsolete and only present for backwards
compatibility with old installations. Currently, their values are
ignored. Do not specify them in new installations.</para>
<para><option>-logtype</option> <replaceable>type</replaceable></para>
<para>Sets the type of messages that will be loggged. Acceptable values are:</para>
<itemizedlist>
<listitem>
<para>1 - STARTUP, print startup messages.</para>
</listitem>
<listitem>
<para>2 - REQUEST, print messages during the request interpretation phase.</para>
</listitem>
<listitem>
<para>4 - RESULT, print messages during the result sending phase.</para>
</listitem>
</itemizedlist>
<para>This values can be ORed together to indicate that all the corresponding types
of messages are required. The default values is 255.</para>
<para><option>-loglevel</option> <replaceable>lev</replaceable></para>
<para>Sets the level of verbosity of log messages. Acceptable values are:</para>
<itemizedlist>
<listitem>
<para>1 - LEV_NONE, do not log anything.</para>
</listitem>
<listitem>
<para>2 - LEV_ERROR, the default, logs only error conditions.</para>
</listitem>
<listitem>
<para>3 - LEV_WARNINGS, logs also warning messages.</para>
</listitem>
<listitem>
<para>4 - LEV_INFO, logs also general informational messages.</para>
</listitem>
<listitem>
<para>5 - LEV_DEBUG, logs also a lot of debug messages. Setting this level of verbosity
overwrites the value of the <option>-logtype</option> option to 255.</para>
</listitem>
</itemizedlist>
<para>Higher values include all messages printed by lower ones, and values
not documented here are translated as the highest level possible, LEV_DEBUG</para>
<para><option>-logformat</option> <replaceable>str</replaceable></para>
<para>Sets the format used by the logging system according to a printf-like
format string with the following directives format: <emphasis remap='I'>\%[size][char]</emphasis> where size,
if present, sets the maximum length of the field and <emphasis remap='i'>char</emphasis> selects the type
of substitution done. Possible values are the following:</para>
<itemizedlist>
<listitem>
<para>% - Substitutes a plain '%'.</para>
</listitem>
<listitem>
<para>d - Substitutes the date. The date format is specified by the <option>-logdateformat</option> option.</para>
</listitem>
<listitem>
<para>f - Substitutes the name of the source file that logs the message.</para>
</listitem>
<listitem>
<para>F - Substitutes the name of the function that logs the message.</para>
</listitem>
<listitem>
<para>h - Substitutes the hostname of the machine hosting the service.</para>
</listitem>
<listitem>
<para>l - Substitutes the line number that logs the message.</para>
</listitem>
<listitem>
<para>m - Substitutes the message proper.</para>
</listitem>
<listitem>
<para>p - Substitutes the process' pid.</para>
</listitem>
<listitem>
<para>s - Substitutes the service name ("vomsd").</para>
</listitem>
<listitem>
<para>t - Substitutes the number of the message type. (see the <option>-logtype</option> option)</para>
</listitem>
<listitem>
<para>T - Substitutes the name of the message type. (see the <option>-logtype</option> option)</para>
</listitem>
<listitem>
<para>v - Substitutes the number of the message level. (see the <option>-loglevel</option> option)</para>
</listitem>
<listitem>
<para>V - Substitutes the name of the message level. (see the <option>-loglevel</option> option)</para>
</listitem>
</itemizedlist>
<para>The default value for this options is: "%d:%h:%s(%p):%V:%T:%F (%f:%l):%m"</para>
<para><option>-logdateformat</option> <replaceable>str</replaceable></para>
<para>This option sets the format used to print the date. The format is the same used
by the strftime(3) function, and its default value is: "%c".</para>
<para><option>-debug</option></para>
<para>This option puts the server into debug mode. This mode automatically implies
<option>-loglevel 5</option>. Also, this option hurts scalability and is not suggested in a production
environment</para>
<para><option>-sqlloc</option> <replaceable>/path/file</replaceable></para>
<para>This option specifies the full path for the DB access library. Please note that there is no
default for this option!</para>
<para><option>-socktimeout</option> <replaceable>num</replaceable></para>
<para>This option sets the amount of time, in seconds, after which the server will drop
an inactive connection. The default is 60 seconds.</para>
<para><option>-maxlog</option> <replaceable>num</replaceable></para>
<para>This options sets the maximum size of a log file. Please note that this size is
approximate, and may be exceeded by a few thousand bytes. In any case, when the specified
amount is surpassed, logfiles are rotated. The default is 10Mb</para>
<para><option>-newformat</option></para>
<para>This forces the server to generate ACs in the new (correct) format. This is meant
as a compatibility feature to ease migration while the servers upgrade to the new version.</para>
<para><option>-skipcacheck</option></para>
<para>This option, if specified, forces voms to drop some of the checks
done as the authorization step before AC creation. Specifically, voms will no
longer be capable of distinguishing to certificates with the same DN but
different issuers.
For obvious reasons, use of this option is discouraged.
Note also that activating this option requires a previous check by the voms
server administrator that there are no certificates registered in the DB
which the same DN and different issuers. If there are, the result of a
voms-proxy-init command for one of those users will be unpredictable.
</para>
<para><option>-contactstring</option> <replaceable>contact</replaceable></para>
<para>This string specifies information on how to contact the DB server.
Its exact meaning depends on the DB backend used. For MySQL it is the
hostname of the MySQL server, and it defaults to 'localhost'. For
Oracle it is the contactstring of the DB. However, for oracle it is
better to put what whould be the argument of this string into the
'tnsnames.ora' file and ignore this option,</para>
<para><option>-mysql-port </option> <replaceable>port</replaceable></para>
<para>This option specified the port on which the MySQL server is
listening if it is different from its 3306 default. This value is
ignored for Oracle backends.</para>
<para><option>-mysql-socket</option> <replaceable>socket</replaceable></para>
<para>MySQL servers may be configured to allow access through a
unix-level socket. This option allows one to specify this method of
contact. However, it is almost always better to contact the server
through the port. This option is ignored for Oracle
backends.</para>
<para><option>-shortfqans</option></para>
<para>This option instructs the server to always generate FQANs in
their short form, i.e. without the /Role=NULL and /Capability=NULL
parts. Successive server version will make this behaviour the
default, and provide a <option>-noshortfqans</option> option to
fallback to the longer format. Specifying this option is
recommended.</para>
<para><option>-syslog</option></para>
<para>This option allows log messages to be sent to syslog.</para>
<para><option>-base64</option></para>
<para>This option instructs the server to use the base64 encoding for
its messages, rather than the in-house encoding. This option will
be made the default in future versions
and <option>-nobase64</option> will be provided to fallback to the
inhouse encoding. Specifying this option is recommended.</para>
<para><option>-nologfile</option></para>
<para>This option disables logging on the voms specific logfile.
Please note that specifying this option without at the same time
specifying <option>-syslog</option> implies that no logging will
take place.</para>
</refsect1>
&bugzilla;
<refsect1 id='seealso'><title>See also</title>
<para>voms-proxy-init(1), voms-proxy-info(1), voms-proxy-destroy(1)</para>
&links;
</refsect1>
&authors;
&license;
</refentry>
|