From 663ed55bcb36bc5bcb22fde58b857689397844cb Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Thu, 15 Nov 2007 20:53:25 +0000
Subject: [PATCH] CLI part for Issue 2424 (Impact of generation ID on binary copy).

---
 opends/src/messages/messages/admin_tool.properties |   72 +++++++++++++++++++++++++++++++++--
 1 files changed, 67 insertions(+), 5 deletions(-)

diff --git a/opends/src/messages/messages/admin_tool.properties b/opends/src/messages/messages/admin_tool.properties
index 290a789..b41bcb8 100644
--- a/opends/src/messages/messages/admin_tool.properties
+++ b/opends/src/messages/messages/admin_tool.properties
@@ -461,8 +461,6 @@
  communication with the source server
 INFO_DESCRIPTION_INITIALIZE_REPLICATION_STARTTLS_SOURCE=Use StartTLS to \
  secure communication with the source server
-INFO_REPLICATION_INITIALIZE_PROTOCOL_SOURCE=How do you want to connect to the \
- source server?
 INFO_DESCRIPTION_INITIALIZE_REPLICATION_HOST_DESTINATION=Directory server \
  hostname or IP address of the destination server whose contents will be \
  initialized
@@ -472,6 +470,9 @@
  secure communication with the destination server
 INFO_DESCRIPTION_INITIALIZE_REPLICATION_STARTTLS_DESTINATION=Use \
  StartTLS to secure communication with the destination server
+INFO_DESCRIPTION_EXTERNAL_INITIALIZATION_LOCAL=Use this option when only the \
+ contents of the specified directory server will be initialized with an \
+ external method (import-ldif command or binary copy)
 INFO_REPLICATION_TOOL_DESCRIPTION=This utility may be used to configure \
  replication between servers so that the data of the servers is synchronized.\
  For replication to work you must first to enable replication using the \
@@ -494,6 +495,20 @@
  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).
+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 for replication to work.  You \
+ must specify the list of Base DNs that will be initialized and you must \
+ provide the credentials of any of the servers that is being replicated.  \
+ After calling this subcommand, you must initialize the contents \
+ of all the servers in the topology and after the initialization is over you \
+ must 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 for replication to work.  You \
+ must specify the list of Base DNs that have been initialized and you must \
+ provide the credentials of any of the servers that is being replicated.  See \
+ 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 \
@@ -599,16 +614,31 @@
 SEVERE_ERR_NO_SUFFIXES_AVAILABLE_TO_INITIALIZE_ALL_REPLICATION=There are no \
  base DNs replicated in the server.  The base DNs must be replicated to be \
  able to use their contents to initialize the base DNs on the other servers.
+MILD_ERR_NO_SUFFIXES_AVAILABLE_TO_INITIALIZE_LOCAL_REPLICATION=There are no \
+ base DNs replicated in the server.
 MILD_ERR_REPLICATION_DISABLE_SUFFIXES_NOT_FOUND=The following base DNs could \
  not be found on the server:%n%s
- MILD_ERR_REPLICATION_INITIALIZE_ALL_SUFFIXES_NOT_FOUND=The following base \
+ MILD_ERR_REPLICATION_INITIALIZE_LOCAL_SUFFIXES_NOT_FOUND=The following base \
  DNs could not be found on the server:%n%s
 MILD_ERR_NO_SUFFIXES_SELECTED_TO_DISABLE=You must choose at least one \
  base DN to be disabled.
 MILD_ERR_NO_SUFFIXES_SELECTED_TO_INITIALIZE_ALL=You must choose at least one \
  base DN to initialize.
+INFO_REPLICATION_PRE_EXTERNAL_INITIALIZATION_LOCAL_PROMPT=Are you going to \
+ initialize only the contents of server %s (type 'no' if you will initialize \
+ contents of all replicated servers for the given Base DNs)?
+MILD_ERR_NO_SUFFIXES_SELECTED_TO_PRE_EXTERNAL_INITIALIZATION=You must specify \
+ the base DNs that will be initialized using the import-ldif command or the \
+ binary copy.
+MILD_ERR_NO_SUFFIXES_SELECTED_TO_POST_EXTERNAL_INITIALIZATION=You must specify \
+ the base DNs that have been initialized using the import-ldif command or the \
+ binary copy.
 INFO_REPLICATION_DISABLE_SUFFIX_PROMPT=Disable replication on base DN %s?
 INFO_REPLICATION_INITIALIZE_ALL_SUFFIX_PROMPT=Initialize base DN %s?
+INFO_REPLICATION_PRE_EXTERNAL_INITIALIZATION_SUFFIX_PROMPT=Are you going to \
+ initialize with import-ldif or binary copy base DN %s?
+INFO_REPLICATION_POST_EXTERNAL_INITIALIZATION_SUFFIX_PROMPT=Have you \
+ initialized with import-ldif or binary copy base DN %s?
 MILD_ERR_REPLICATION_READING_REGISTERED_SERVERS_CONFIRM_UPDATE_REMOTE=The \
  following errors were encountered reading the configuration of the existing \
  servers:%n%s%n%nIf you continue the replication tool will to try to update \
@@ -716,5 +746,37 @@
 INFO_REPLICATION_STATUS_SECURITY_ENABLED=Enabled
 INFO_REPLICATION_STATUS_SECURITY_DISABLED=Disabled
 INFO_REPLICATION_CRITICAL_ERROR_DETAILS=Details: %s
-  
-  
+INFO_PROGRESS_PRE_EXTERNAL_INITIALIZATION=Preparing base DN %s to be \
+ initialized externally
+INFO_PROGRESS_POST_EXTERNAL_INITIALIZATION=Updating replication information on \
+ base DN %s
+INFO_PROGRESS_PRE_INITIALIZATION_LOCAL_FINISHED_PROCEDURE=Now you can proceed \
+ to the initialization of the contents of the base DNs on server %s.  You can \
+ use the command import-ldif or the binary copy to do so.%n%nWhen the \
+ initialization is completed you must use the subcommand {%s} for replication \
+ to work with the new base DNs.
+INFO_PROGRESS_PRE_INITIALIZATION_FINISHED_PROCEDURE=Now you can proceed \
+ to the initialization of the contents of the base DNs on all the replicated \
+ servers.  You can use the command import-ldif or the binary copy to do \
+ so.%n%nWhen the initialization is completed you must use the subcommand \
+ {%s} for replication to work with the new base DNs contents.
+INFO_PROGRESS_POST_INITIALIZATION_FINISHED_PROCEDURE=Post initialization \
+ procedure completed successfully.
+SEVERE_ERR_POOLING_PRE_EXTERNAL_INITIALIZATION=Error reading the progress of \
+ the operation.
+SEVERE_ERR_POOLING_POST_EXTERNAL_INITIALIZATION=Error reading the progress of \
+ the operation.
+INFO_ERROR_DURING_PRE_EXTERNAL_INITIALIZATION_NO_LOG=Unexpected error during \
+ the operation.  Task state: %s.  Check the error logs of %s for more \
+ information.
+INFO_ERROR_DURING_PRE_EXTERNAL_INITIALIZATION_LOG=Unexpected error during the \
+ operation.  Last log details: %s.  Task state: %s.  Check the error logs of \
+ %s for more information.
+INFO_ERROR_DURING_POST_EXTERNAL_INITIALIZATION_NO_LOG=Unexpected error during \
+ the operation.  Task state: %s.  Check the error logs of %s for more \
+ information.
+INFO_ERROR_DURING_POST_EXTERNAL_INITIALIZATION_LOG=Unexpected error during the \
+ operation.  Last log details: %s.  Task state: %s.  Check the error logs of \
+ %s for more information.
+SEVERE_ERR_LAUNCHING_PRE_EXTERNAL_INITIALIZATION=Error launching the operation.
+SEVERE_ERR_LAUNCHING_POST_EXTERNAL_INITIALIZATION=Error launching the operation.

--
Gitblit v1.10.0