From f69dc03f07ef1dd7dde4f2db8ba0ffc57fedcab7 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 2 Mar 2011 16:45:45 -0500 Subject: Need to restart the dogtag 388-ds instance before using it. Restart the 389-ds instance to ensure all schema is loaded that dogtag may have installed as files. According to bug https://bugzilla.redhat.com/show_bug.cgi?id=680984 this it is only needed on clones. ticket 1024 --- install/tools/ipa-replica-install | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install index 17f5cbc3..d9a9748a 100755 --- a/install/tools/ipa-replica-install +++ b/install/tools/ipa-replica-install @@ -176,6 +176,23 @@ def install_ca(config): master_host=config.master_host_name, subject_base=config.subject_base) + # The dogtag DS instance needs to be restarted after installation. + # The procedure for this is: stop dogtag, stop DS, start DS, start + # dogtag + # + # The service_name trickery is due to the service naming we do + # internally. In the case of the dogtag DS the name doesn't match the + # unix service. + + service_name = cs.service_name + service.print_msg("Restarting the directory and certificate servers") + cs.service_name = "dirsrv" + cs.stop("PKI-IPA") + ca.stop() + cs.start("PKI-IPA") + ca.start() + cs.service_name = service_name + return ca def install_replica_ds(config): -- cgit