删除目录服务

本例中,engine-manage-domains从OVIRTMANAGER中删除IdMdemo.eayunos.eayun.com的配置。更改完成之后,OVIRTMANAGER中属于demo.eayunos.eayun.com的用户将无法登录,但是依然会保留在用户列表中,除非手动清理用户列表。

本例中要删除的目录服务是OVIRTMANAGER中的最后一个,所以命令执行过程中会给出一个警告,提醒用户最后一个目录服务删除之后,只有admin@internal用户可以登录到MANAGER,新的用户只能在添加新的目录服务之后手动添加。

  1. # engine-manage-domains -action=delete -domain=demo.eayunos.eayun.com
  2. WARNING: Domain directory.demo.redhat.com is the last domain in the
  3. configuration. After deleting it you will have to either add another domain, or
  4. to use the internal admin user in order to login.
  5. Successfully deleted domain demo.eayunos.eayun.com. Please remove all users
  6. and groups of this domain using the Administration portal or the API.