setup-ds.pl.8 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. .\" Hey, EMACS: -*- nroff -*-
  2. .\" First parameter, NAME, should be all caps
  3. .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
  4. .\" other parameters are allowed: see man(7), man(1)
  5. .TH SETUP-DS.PL 8 "May 18, 2008"
  6. .\" Please adjust this date whenever revising the manpage.
  7. .\"
  8. .\" Some roff macros, for reference:
  9. .\" .nh disable hyphenation
  10. .\" .hy enable hyphenation
  11. .\" .ad l left justify
  12. .\" .ad b justify to both left and right margins
  13. .\" .nf disable filling
  14. .\" .fi enable filling
  15. .\" .br insert line break
  16. .\" .sp <n> insert n+1 empty lines
  17. .\" for manpage-specific macros, see man(7)
  18. .SH NAME
  19. setup\-ds.pl \- Set up an instance of Directory Server
  20. .SH SYNOPSIS
  21. .B setup-ds.pl
  22. [\fI--options\fR] \fI-- \fR[\fIargs\fR]
  23. .SH DESCRIPTION
  24. Set up a Directory Server instance. Creates the configuration
  25. files for an instance of Directory Server based on a few parameters
  26. like the hostname, port number, and directory manager information.
  27. Can be run in interactive mode with different levels of verbosity, or
  28. in silent mode with parameters supplied in a .inf format file or
  29. on the command line.
  30. .PP
  31. .\" TeX users may be more comfortable with the \fB<whatever>\fP and
  32. .\" \fI<whatever>\fP escape sequences to invode bold face and italics,
  33. .\" respectively.
  34. .SH OPTIONS
  35. A summary of options is included below:
  36. .TP
  37. .B \fB\-\-help\fR
  38. This message
  39. .TP
  40. .B \fB\-\-version\fR
  41. Print the version and exit
  42. .TP
  43. .B \fB\-\-debug\fR
  44. Turn on debugging
  45. .TP
  46. .B \fB\-\-silent\fR
  47. Use silent setup \- no user input
  48. .TP
  49. .B \fB\-\-file\fR=\fIname\fR
  50. Use the file 'name' in .inf format to supply the default answers
  51. .TP
  52. .B \fB\-\-keepcache\fR
  53. Do not delete the temporary .inf file generated by this program
  54. .TP
  55. .B \fB\-\-logfile\fR
  56. Log setup messages to this file \- otherwise, a temp file will be used
  57. .TP
  58. .B \fB\-\-update\fR
  59. Update existing installations \- add/update schema files, add/change configuration, add new instance scripts, etc. You must run setup-ds.pl \-u after upgrading your packages. You will usually have to restart your servers in order for all of the changes to take effect (e.g. adding/changing plug-in configuration), so schedule this when you can afford a little downtime.
  60. .TP
  61. .B \fB\-\-continue\fR
  62. (Update only) Keep going even if errors occur. You will usually not need to use this option unless your installation is broken and you need to force it to update in order to fix it.
  63. .PP
  64. For all options, you can also use the short name e.g. \fB\-h\fR, \fB\-d\fR, etc. For the \fB\-d\fR argument,
  65. specifying it more than once will increase the debug level e.g. \fB\-ddddd\fR
  66. .PP
  67. args:
  68. You can supply default .inf data in this format:
  69. .IP
  70. section.param=value
  71. .PP
  72. e.g.
  73. .IP
  74. General.FullMachineName=foo.example.com
  75. .PP
  76. or
  77. .IP
  78. "slapd.Suffix=dc=example, dc=com"
  79. .PP
  80. Values passed in this manner will override values in an .inf file given with the \fB\-f\fR argument.
  81. .SH UPDATES
  82. The update process (setup-ds.pl \-u) can work in one of two modes:
  83. \fBOnline\fR: Configuration changes are made to the running directory servers
  84. using LDAP. The operations must be performed as an administrative
  85. user. You must provide the name and password, for each instance if
  86. there is more than one instance of directory server. Some changes (e.g. plug-ins)
  87. may require a directory server restart to take effect. The update
  88. script will notify you if a restart is required.
  89. \fBOffline\fR: The changes are made to the server configuration files.
  90. The servers \fBMUST FIRST BE SHUTDOWN BY YOU\fR. The script will not
  91. shutdown the servers for you. \fBYou MUST\fR shutdown the servers in order
  92. to use this mode. A username and password are not required to use
  93. Offline mode. If the servers are not shutdown, \fBCHANGES WILL BE LOST\fR.
  94. To summarize:
  95. Online \- servers remain running - you must provide admin name and password for each server - servers may need to be restarted
  96. Offline \- servers \fBmust be shutdown\fR - no username or password required
  97. .br
  98. .SH AUTHOR
  99. setup-ds.pl was written by the 389 Project.
  100. .SH "REPORTING BUGS"
  101. Report bugs to https://fedorahosted.org/389/newticket.
  102. .SH COPYRIGHT
  103. Copyright \(co 2008 Red Hat, Inc.
  104. .br
  105. This manual page was written by Michele Baldessari <[email protected]>,
  106. for the Debian project (but may be used by others).
  107. .br
  108. This is free software. You may redistribute copies of it under the terms of
  109. the Directory Server license found in the LICENSE file of this
  110. software distribution. This license is essentially the GNU General Public
  111. License version 2 with an exception for plug-in distribution.