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. GHOST备份

    整理日: 2015年2月16日 GHOST Disk2GHO STEP01 STEP02 STEP03 STEP04 STEP05 STEP06 STEP07 STEP08 STEP09 STEP10

  2. 添加Fragment注意事项

    配置(Configuration )改变是Android应用生命周期的一部分,如果发生了该事件(屏幕从横屏换行为竖屏),就会导致Activity被销毁然后重新创建.就算您在配置文件中设定Activit ...

  3. Android开源项目发现--- 安全篇(持续更新)

    SQLCipher Sqlite加密工具 项目地址:https://github.com/sqlcipher/sqlcipher 帮助文档:http://sqlcipher.net/sqlcipher ...

  4. Linux os

    进程就是处于执行期的程序(目标代码存放在某种存储介质上,如内存).进程不只局限于可执行代码,还包括其他资源:打开的文件,挂起的信号,内核数据结构,内存地址空间以及至少一个执行线程. 进程是出于执行期的 ...

  5. js图片预览插件,不涉及上传

    小小的几十行代码,很牛逼,很实用. 支持多个图片的预览,只要new多个对象就行了. html如下 <!-- zhouxiang www.zhou-xiang.com --> <!DO ...

  6. ASP.NET 中Request.QueryString 中的key

    在ASP.net中 的Key是可能为null的,例如在如下的Url中 http://localhost:14546/Home/Index?a 有一个key=null 其value是a,以前一直以为ke ...

  7. WordPress Event Easy Calendar插件多个跨站请求伪造漏洞

    漏洞名称: WordPress Event Easy Calendar插件多个跨站请求伪造漏洞 CNNVD编号: CNNVD-201309-083 发布时间: 2013-09-11 更新时间: 201 ...

  8. Spark安装和配置

    hadoop2的安装教程 Spark可以直接安装在hadoop2上面,主要是安装在hadoop2的yarn框架上面 安装Spark之前需要在每台机器上安装Scala,根据你下载的Spark版本,选择对 ...

  9. 使用 Chef 管理 Azure 资源

     发布于 2014-07-08 作者 陈 忠岳 Chef 是一款开源的开发运营(DevOps)工具,用以应对 IT 基础设施方面的挑战.微软开放技术有限公司(简称"微软开放技术" ...

  10. 【转】使用命令行方式创建和启动android模拟器

    原文网址:http://blog.csdn.net/tiandinilv/article/details/8953001 1.Android模拟器介绍 Android中提供了一个模拟器来模拟ARM核的 ...