Bug 440141 - Provide a tool which removes DS instances
Summary: Provide a tool which removes DS instances
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Dogtag Certificate System
Classification: Retired
Component: Tools - Java
Version: 1.0
Hardware: All
OS: Linux
low
low
Target Milestone: 1.0
Assignee: Matthew Harmsen
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 443788
TreeView+ depends on / blocked
 
Reported: 2008-04-01 21:26 UTC by Matthew Harmsen
Modified: 2015-01-04 23:31 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-15 20:25:49 UTC
Embargoed:


Attachments (Terms of Use)
PKI remove DS instance script (4.10 KB, text/plain)
2008-04-18 21:00 UTC, Matthew Harmsen
no flags Details
32-bit CGI DS removal script (8.86 KB, text/plain)
2008-04-18 21:01 UTC, Matthew Harmsen
no flags Details
64-bit CGI DS removal script (8.86 KB, text/plain)
2008-04-18 21:02 UTC, Matthew Harmsen
no flags Details

Description Matthew Harmsen 2008-04-01 21:26:42 UTC
To aid in building/rebuilding CS, two scripts have been provided:

* remove_default_pki_instances
* remove_pki_components

A similar tool should be provided to manage the removal of existing Directory
Server Instances which are used for the specific purpose of CS data storage.

Comment 1 Bob Lord 2008-04-02 22:11:18 UTC
Related to bug 440298?


Comment 2 Matthew Harmsen 2008-04-17 01:43:56 UTC
This script needs to work for BOTH 32-bit and 64-bit instances.

Comment 3 Matthew Harmsen 2008-04-18 21:00:52 UTC
Created attachment 302939 [details]
PKI remove DS instance script

Comment 4 Matthew Harmsen 2008-04-18 21:01:34 UTC
Created attachment 302940 [details]
32-bit CGI DS removal script

Comment 5 Matthew Harmsen 2008-04-18 21:02:19 UTC
Created attachment 302941 [details]
64-bit CGI DS removal script

Comment 6 Nathan Kinder 2008-04-18 21:09:09 UTC
The attachments look good.  A couple of very minor nits with the shell script:

- Make the strings that refer to Fedora Directory Server brand agnostic.
- Prepend "./" to the cgi that the shell script will call.

Comment 7 Matthew Harmsen 2008-04-18 21:20:24 UTC
Thanks to the Directory Server team for letting us "borrow" their scripts to
create our own PKI-specific scripts.  This will be addressed better by Bugzilla
Bug #442753, when Directory Server creates a removal script that is independent
of the Administration Server.

svn status | grep -v ^$ | grep -v ^? | grep -v ^P | grep -v ^X
A      linux/scripts/remove_ds_instance
A      linux/scripts/ds_remove_cgi_32
A      linux/scripts/ds_remove_cgi_64
Adding         linux/scripts/ds_remove_cgi_32
Adding         linux/scripts/ds_remove_cgi_64
Adding         linux/scripts/remove_ds_instance
Transmitting file data ...
Committed revision 29.


Comment 8 Matthew Harmsen 2008-04-18 21:30:51 UTC
Added a comment to the 
http://pki.fedoraproject.org/wiki/PKI_Components_Collectively_via_Subversion page
regarding the use of this script.

Comment 9 Chandrasekar Kannan 2008-08-27 00:27:57 UTC
Bug already MODIFIED. setting target CS8.0 and marking screened+

Comment 10 Jenny Severance 2009-06-15 19:59:11 UTC
the scripts exist in the source tree but are not installed.  Is this correct?

Comment 11 Nathan Kinder 2009-06-15 20:10:44 UTC
(In reply to comment #10)
> the scripts exist in the source tree but are not installed.  Is this correct?  

The remove-ds.pl script should be installed as of RHDS 8.1.


Note You need to log in before you can comment on or make changes to this bug.