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. PyCharm 5.0.3 快捷键

    下面记录PyCharm 5.0.3常用快捷键 注释 注释行:Ctrl+/

  2. mysql中使用concat例子

    数据库为mysql,需要把旧门店记录的note字段的资料追加到新门店的note资料的后面 旧记录id为old_terminal_id,新记录id为new_terminal_id,提供格式如下:

  3. 为ant指定编译版本

    用Eclipse的ant折腾了一天也没搞清楚为什么同样的设置ant出的class版本却不一样.后来下载个ant工具在命令行执行通过. 从网上抄得指定编译版本的方法如下: ant 运行时,必需依赖jdk ...

  4. LINUX TOP,不是这样玩地!!!

    老同志遇到新问题了. TOP显示完全不是我要的,CPU,内存都是0.每个CPU还分别显示. 网上搜下,原来是A(显示风格)R(反向排序)P,M(CPU,内存排序)之类引起的. 记下了.

  5. explain简介

    EXPLAIN显示了MySQL如何使用索引来处理SELECT语句以及连接表.可以帮助选择更好的索引和写出更优化的查询语句. 使用方法,在select语句前加上EXPLAIN就可以了: 如: EXPLA ...

  6. UML-图的意义

    在UML类图中,常见的有以下几种关系: 泛化(Generalization),  实现(Realization),关联(Association),聚合(Aggregation),组合(Composit ...

  7. Learning WCF Chapter 3 Bindings One-Way and Duplex Communication

    One-Way and Duplex Communication A message exchange pattern describes the way messages are sent betw ...

  8. arp命令(windows ),nmap查看局域网内所有主机IP和MAC

    ARP命令详解 ARP是一个重要的TCP/IP协议,并且用于确定对应IP地址的网卡物理地址.实用arp命令,我们能够查看本地计算机或另一台计算机的ARP高速缓存中的当前内容.此外,使用arp命令,也可 ...

  9. Kafka Topic Partition Replica Assignment实现原理及资源隔离方案

    本文共分为三个部分:   Kafka Topic创建方式 Kafka Topic Partitions Assignment实现原理 Kafka资源隔离方案   1. Kafka Topic创建方式 ...

  10. 数据结构之数组Array

    数组Array 基本操作 Status InitArray(int dimm,...)//若维数dim和随后的各维长度合法,则构造相应的数组A,并返回OK Status DestroyArray() ...