3 Uninstalling Directory Server Enterprise Edition

This chapter provides instructions for uninstalling Directory Server Enterprise Edition. Complete the uninstallation procedures in the order they are presented in the chapter:

  1. Remove Directory Proxy Server Instances

  2. Remove Directory Server Instances

  3. Unconfigure and Remove the DSCC Agent from the Directory Server and Directory Proxy Server Hosts

  4. Unconfigure and Remove DSCC from the Administration (DSCC) Host

  5. Remove the ODSEE Software

3.1 Remove Directory Proxy Server Instances

Use one of the following methods to remove a Directory Proxy Instance:

See Also

After you have removed all server instances on the system, go to Section 3.5, "Remove the ODSEE Software.".

3.1.1 To Delete a Directory Proxy Server Instance Using DSCC

  1. Access Directory Service Control Center.

    Use http://dscc-host:port/dscc7 or https://dscc-host:port/dscc7 to access DSCC, where port depends on your application server configuration.

  2. Under the Proxy Servers tab, select the server to delete and click Delete in the More Server Actions drop-down list.

  3. Delete the server instance. Choose the Delete command in the Action drop-down list.

dscc-host: DSCC控制台服务器的地址   dscc-registry-port:默认3998,使用命令./dsccsetup status -v可查看

3.1.2 To Delete a Directory Proxy Server Instance Using the Command Line

  1. If you have used DSCC to manage the server instance, remove registration for the server.

    $ dsccreg remove-server -h dscc-host -p dscc-registry-port /local/dps
    
    Enter DSCC administrator's password: directory-service-pwd
    /local/dps is an instance of DPS
    Enter password of "cn=Proxy Manager" for /local/dps:
    Unregistering /local/dps from DSCC on hostname.
    Connecting to /local/dps
    Disabling DSCC access to /local/dps

    For details, see the dsccreg man page.

  2. Delete the server instance.

    $ dpadm delete /local/dps
    Directory Proxy Server instance '/local/dps' stopped
    Directory Proxy Server instance '/local/dps' removed.

3.2 Remove Directory Server Instances

Use one of the following methods to remove a Directory Server instance:

See Also

After you have removed all server instances on the system, go to Section 3.5, "Remove the ODSEE Software.".

3.2.1 To Delete a Directory Server Instance Using DSCC

Caution:

Deleting a Directory Server instance completely removes all the instance files, including all LDAP entries managed by the instance. Before you delete an instance, back up your data as described in Chapter 8, Directory Server Backup and Restore, in Administrator's Guide for Oracle Directory Server Enterprise Edition.

  1. Access Directory Service Control Center.

    Use http://dscc-host:port/dscc7 or https://dscc-host:port/dscc7 to access DSCC, where port depends on your application server configuration.

  2. Under the Directory Servers tab, select the server to delete and click Delete in the More Server Actions drop-down list.

  3. Delete the server instance with the Delete command in the action drop-down list.

3.2.2 To Delete a Directory Server Instance From the Command Line

Deleting a Directory Server instance completely removes all the files under the instance-path directory. If the databases and logs are saved in another directory, they are not removed when you delete the Directory Server instance.

Before you delete a server instance, back up your data as described in Chapter 8, Directory Server Backup and Restore, in Administrator's Guide for Oracle Directory Server Enterprise Edition.

  1. If you have used DSCC to manage the server instance, remove registration for the server.

    $ dsccreg remove-server -h dscc-host -p dscc-registry-port /local/dsInst
    
    Enter DSCC administrator's password: directory-service-pwd
    /local/dsInst is an instance of DS
    Enter password of "cn=Directory Manager" for /local/dsInst:
    This operation will restart /local/dsInst.
    Do you want to continue ? (y/n) y
    Unregistering /local/dsInst from DSCC on hostname.
    Connecting to /local/dsInst
    Disabling DSCC access to /local/dsInst
    Restarting /local/dsInst

    For details, see dsccreg

  2. Delete the server instance.

    $ dsadm delete /local/dsInst
    Server stopped
    /local/dsInst deleted

3.3 Unconfigure and Remove the DSCC Agent from the Directory Server and Directory Proxy Server Hosts

To remove the DSCC agent, run the following commands:

$ dsccagent stop
$ dsccreg remove-agent -h dscc-host -p dscc-registry-port
$ dsccagent delete

3.4 Unconfigure and Remove DSCC from the Administration (DSCC) Host

  1. Remove the DSCC agent.

    $ dsccagent stop
    $ dsccreg remove-agent -h dscc-host -p dscc-registry-port
    $ dsccagent delete
  2. Delete the WAR file.

    $ dsccsetup war-file-delete
    
  3. Delete the DSCC registry.

    $ dsccsetup ads-delete
    ***
    Deleting DSCC Registry...
    All server registrations will be definitively erased.
    Existing server instances will not be modified.
    Do you really want to delete the DSCC Registry ? [y/n]y
    Directory Server instance 'install-path/dsee7/var/dcc/ads' stopped
    DSCC Registry has been deleted successfully
    ***
    Deleted install-path/dsee7/var/dscc7.war
    ***

3.5 Remove the ODSEE Software

Remove Directory Server Enterprise Edition with a system command.

$ rm -r install-path

原文地址: http://docs.oracle.com/cd/E29127_01/doc.111170/e28973/uninstalling-dsee.htm#uninstall

LDAP7卸载的更多相关文章

  1. 获取微软原版“Windows 10 推送器(GWX)” 卸载工具

    背景: 随着Windows 10 免费更新的结束,针对之前提供推送通知的工具(以下简称GWX)来说使命已经结束,假设您还未将Windows 8.1 和Windows 7 更新到Windows 10 的 ...

  2. 卸载oracle之后,如何清除注册表

    之前卸载了oracle,今天偶然间发现,在服务和应用程序里面,还残存着之前的oracle服务.原来,还需要去清理下注册表. 在开始菜单的这个框里面 输入regedit,进入注册表.找到这个目录 HKE ...

  3. C#创建、安装、卸载、调试Windows Service(Windows 服务)的简单教程

    前言:Microsoft Windows 服务能够创建在它们自己的 Windows 会话中可长时间运行的可执行应用程序.这些服务可以在计算机启动时自动启动,可以暂停和重新启动而且不显示任何用户界面.这 ...

  4. linux下mono的安装与卸载

    我很遗憾的告诉你,这里没有安装,为什么标题里加入安装俩字呢,因为如果不加的话你会搜到这篇文章吗?哈哈!别气馁,这里会给你些安装的tips! 源码安装,git安装:建议安装路径如下,至于为什么,我也讲不 ...

  5. 玩转Windows服务系列——Debug、Release版本的注册和卸载,及其原理

    Windows服务Debug版本 注册 Services.exe -regserver 卸载 Services.exe -unregserver Windows服务Release版本 注册 Servi ...

  6. C# windows服务制作(包括安装及卸载)

    开篇语 因工作内容需要做一个windows服务,此前并没有相关经验,所以做了一个demo来跑跑这个梗(高手跳过,需要的来踩)- 效果如下:打开服务,可以找到我们新增的一个windows服务,这个dem ...

  7. Win7系统卸载McAfee杀毒软件

    方法一.用系统正常卸载程序卸载. 首先,在服务里将McAfee相关的所有服务“禁用”. 然后, Windows“控制面板”中的“添加/删除程序”卸载 McAfee Consumer 产品. 接着,到C ...

  8. 解决mysql卸载后无法从新安装,卡在最后一步的问题

    mysql服务出现问题往往是最麻烦的,往往需要重装,而重装很多人卸不干净残留文件,更加装不上.在下就遇到这个问题.重装mysql到最后一步时卡在了最后一步的第二条上 解决办法就是卸载后删注册表+删数据 ...

  9. Mac MySQL启动不了解决办法(MySQL卸载重新安装教程)

    一段时间没用MySQL,今天使用时突然发现启动不了了,怎么点start都没用,或者输入密码了  还是没用... 好急...找了一圈资料,没发现特别好的解决办法,只能使用大招了----->< ...

随机推荐

  1. 解决类型“System.Web.UI.UpdatePanel”不具有名为“Gridview”的公共属性,

    类型“system.web.ui.updatepanel” 不具有名为“XXX”的公共属性,其实原因很简单.就是少了一个<ContentTemplate></ContentTempl ...

  2. vim自动补全

    Vim 中使用 OmniComplete 为 C/C++ 自动补全 OmniComplete 并不是插件的名字,而是 Vim 众多补全方式中的一种(全能补全).说白了 OmniComplete 其实就 ...

  3. [BZOJ 1058] [ZJOI2007] 报表统计 【平衡树】

    题目链接:BZOJ - 1058 题目分析 这道题看似是需要在序列中插入一些数字,但其实询问的内容只与相邻的元素有关. 那么我们只要对每个位置维护两个数 Ai, Bi, Ai 就是初始序列中 i 这个 ...

  4. Codeforces Round #131 (Div. 2) : B

    首先能被2,5整除的数结尾必须是0: 如果没有0肯定不行: 然后判断他们的和ans%3: 如果==0,直接从大到小输出就行: 如果==1,要么删除它们之间最小的那个%3==1的,要么删除两个小的并且% ...

  5. 如何用 React Native 创建一个iOS APP?(三)

    前两部分,<如何用 React Native 创建一个iOS APP?>,<如何用 React Native 创建一个iOS APP (二)?>中,我们分别讲了用 React ...

  6. Android 如何自定义EditText 下划线?

    项目要求: 笔者曾经做过一个项目,其中登录界面的交互令人印象深刻.交互设计师给出了一个非常作的设计,要求做出包含根据情况可变色的下划线,左侧有可变图标,右侧有可变删除标志的输入框,如图 记录制作过程: ...

  7. 【HDOJ】1908 Double Queue

    双端队列+二分. #include <cstdio> #define MAXN 1000005 typedef struct { int id; int p; } node_st; nod ...

  8. bzoj1257

    这道题初看确实没什么思路,感觉之前的数论知识都用不上,只好自己找规律首先当n>=k 这部分是很容易直接算出的下面我们先来尝试这穷举i,不难发现当穷举i时,总存在一段连续的除数,k div i=p ...

  9. luoguP2265 路边的水沟

    题目:http://www.luogu.org/problem/show?pid=2265 题解:ans=C(n+m,n)%p 求一下逆元就行 代码: #include<cstdio> # ...

  10. Mysql慢日志查询

    MYSQL慢查询配置: 查看是否启用慢日志查询: show VARIABLES like '%quer%'; 没有配置的情况下慢查询是关闭的: