From b1693fdfd35f1c5c9c178d98d59cca54c71ebe4a Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 11 Feb 2009 03:29:00 +0000
Subject: [PATCH] Add options displayCommand and commandFilePath to the dsreplication command-line. These options display the equivalent non-interactive command-line when dsreplication is run in interactive mode (they are the same options already provided by dsconfig). The WIKI content has already been updated to reflect these changes.
---
opends/src/messages/messages/admin_tool.properties | 41 ++++++++++++++++++++++++++++++-----------
1 files changed, 30 insertions(+), 11 deletions(-)
diff --git a/opends/src/messages/messages/admin_tool.properties b/opends/src/messages/messages/admin_tool.properties
index 8e515a9..021cba3 100644
--- a/opends/src/messages/messages/admin_tool.properties
+++ b/opends/src/messages/messages/admin_tool.properties
@@ -435,11 +435,11 @@
INFO_DESCRIPTION_ENABLE_REPLICATION_PORT2=Port that will be used \
by the replication mechanism in the second server to communicate with the \
other servers. You have to specify this option only if replication was not \
- previously configured in the second server.
+ previously configured in the second server
INFO_DESCRIPTION_ENABLE_SECURE_REPLICATION2=Specifies whether or not the \
communication through the replication port of the second server is encrypted \
or not. This option will only be taken into account the first time \
- replication is configured on the second server.
+ replication is configured on the second server
INFO_DESCRIPTION_ENABLE_REPLICATION_STARTTLS2=Use StartTLS to secure \
communication with the second server
INFO_DESCRIPTION_REPLICATION_BASEDNS=Base DN of \
@@ -472,7 +472,7 @@
replication between servers so that the data of the servers is synchronized.\
For replication to work you must first to enable replication using the \
'%s' subcommand and then initialize the contents of one of \
- the servers with the contents of the other using the '%s' subcommand.
+ the servers with the contents of the other using the '%s' subcommand
INFO_REPLICATION_DESCRIPTION_QUIET=Perform a quiet operation (no \
progress information is written to the standard output)
INFO_DESCRIPTION_DISABLE_REPLICATION_BINDDN=DN to use to \
@@ -480,42 +480,42 @@
be used when no Global Administrator has been defined on the server or if the \
user does not want to remove references in the other replicated servers. The \
password provided for the Global Administrator will be used when specifying \
- this option.
+ this option
INFO_DESCRIPTION_SUBCMD_INITIALIZE_REPLICATION=Initialize the contents of the \
data under the specified Base DN on the destination server with the contents \
on the source server. This operation is required after enabling replication \
- in order replication to work ('%s' can also be used for this purpose).
+ in order replication to work ('%s' can also be used for this purpose)
INFO_DESCRIPTION_SUBCMD_INITIALIZE_ALL_REPLICATION=Initialize the contents of \
the data under the specified Base DN on all the servers whose contents are \
being replicated with the contents on the specified server. This operation \
is required after enabling replication in order replication to work ('%s' \
- applied to each server can also be used for this purpose).
+ applied to each server can also be used for this purpose)
INFO_DESCRIPTION_SUBCMD_PRE_EXTERNAL_INITIALIZATION=This subcommand must be \
called before initializing the contents of all the replicated servers using \
the tool import-ldif or the binary copy method. You must specify the list of \
Base DN's that will be initialized and you must \
provide the credentials of any of the servers that are being replicated. \
After calling this subcommand, initialize the contents of all the servers in \
- the topology, then call the subcommand '%s'.
+ the topology, then call the subcommand '%s'
INFO_DESCRIPTION_SUBCMD_POST_EXTERNAL_INITIALIZATION=This subcommand must be \
called after initializing the contents of all the replicated servers using \
the tool import-ldif or the binary copy method. You \
must specify the list of Base DN's that have been initialized and you must \
provide the credentials of any of the servers that are being replicated. See \
- the usage of the subcommand '%s' for more information.
+ the usage of the subcommand '%s' for more information
INFO_DESCRIPTION_SUBCMD_ENABLE_REPLICATION=Updates the configuration of the \
servers to replicate the data under the specified Base DN. If one of the \
specified servers is already replicating the data under the Base DN with \
other servers, executing this subcommand will update the configuration of all \
the servers (so it is sufficient to execute the command line once for each \
- server we add to the replication topology).
+ server we add to the replication topology)
INFO_DESCRIPTION_SUBCMD_DISABLE_REPLICATION=Disables replication on the \
specified server for the provided Base DN and removes references in the other \
- servers with which it is replicating data.
+ servers with which it is replicating data
INFO_DESCRIPTION_SUBCMD_STATUS_REPLICATION=Displays a list with the basic \
replication configuration of the base DN's of the servers defined in the \
registration information. If no base DN's are specified as parameter the \
- information for all base DN's is displayed.
+ information for all base DN's is displayed
SEVERE_ERR_REPLICATION_NO_BASE_DN_PROVIDED=You must provide at least one base \
DN in no interactive mode.
SEVERE_ERR_REPLICATION_NO_ADMINISTRATOR_PASSWORD_PROVIDED=You must provide the \
@@ -796,6 +796,25 @@
INFO_REPLICATION_POST_ENABLE_INFO=Replication has been successfully enabled. \
Note that for replication to work you must initialize the contents of the \
base DN's that are being replicated (use %s %s to do so).
+SEVERE_ERR_REPLICATION_ERROR_MISSING_NON_INTERACTIVE_ARG=The argument \
+ "--%s" must be specified when this application is used non-interactively
+INFO_REPLICATION_NON_INTERACTIVE=The equivalent non-interactive command-line \
+ is:%n%s
+INFO_REPLICATION_DESCRIPTION_DISPLAY_EQUIVALENT=Display the equivalent \
+ non-interactive argument in the standard output when this command is run in \
+ interactive mode
+INFO_REPLICATION_DESCRIPTION_EQUIVALENT_COMMAND_FILE_PATH=The full path to \
+ the file where the equivalent non-interactive commands will be written when \
+ this command is run in interactive mode
+MILD_ERR_REPLICATION_ERROR_WRITING_EQUIVALENT_COMMAND_LINE=An error \
+ occurred while attempting to write equivalent non-interactive command line to \
+ file %s. Error details: %s
+SEVERE_ERR_REPLICATION_CANNOT_WRITE_EQUIVALENT_COMMAND_LINE_FILE=Cannot \
+ write to file %s. Verify that you have access rights to that file and that \
+ you provided the full path of the file
+SEVERE_ERR_REPLICATION_EQUIVALENT_COMMAND_LINE_FILE_DIRECTORY=The \
+ specified path %s to write the equivalent command is a directory. You must \
+ specify a path to a file
INFO_CONTROL_PANEL_TITLE=OpenDS Control Panel
INFO_PERSON_ICON_DESCRIPTION=Person object
INFO_ORGANIZATION_ICON_DESCRIPTION=Organization
--
Gitblit v1.10.0