How to remove a OES2 Linux server from a eDirectory?

Many people ask me the question how you can remove a OES2 Linux server from a eDirectory tree.

With Netware you go to NWCONFIG, Directory Options, Remove Directory Service from this Server.

But how can we do this on OES Linux? Simple just give the command

ndsconfig rm -a cn=admin.o=org

Give the admin password and eDirectory will be removed. Don’t forget to cleanup you eDirectory. The following object will still exist after removing eDirectory:

  • Volume object(s) (As a unknow object, because it’s missing a mandatory property)
  • SAS object
  • SSL Certificate objects
  • Unix Workstation object

About Michael
Michael Wilmsen is a VMware training/consultant (no specific order) with more than 15 years in the IT industry. Main focus is VMware vSphere, Horizon View and Site Recovery Manager with a deepdive to performance. Michael is VCDX 210, VCAP 4/5 certified, has been rewarded with the vExpert title from 2011, is a PernixPro, Nutanix Tech Champion and a Nutanix Platform Professional.

22 Comments to “How to remove a OES2 Linux server from a eDirectory?”

  1. By Susan Moser, March 18, 2010 @ 19:12

    This has been very helpful thanks for the post. There is another object that will need to be deleted if NSS is installed the admin user object.

    Thanks!

    • By Mike, March 19, 2010 @ 10:19

      Your right, and be carefull because sometimes the admin user for nss doesn’t exist in the server object context.

  2. By Susan Moser, March 18, 2010 @ 19:12

    This has been very helpful thanks for the post. There is another object that will need to be deleted if NSS is installed the admin user object.

    Thanks!

    • By Mike, March 19, 2010 @ 10:19

      Your right, and be carefull because sometimes the admin user for nss doesn’t exist in the server object context.

  3. By lobito, April 6, 2010 @ 14:44

    Very hepful for me.
    I’ve done the command and all goes good.
    Thanks for all

  4. By lobito, April 6, 2010 @ 14:44

    Very hepful for me.
    I’ve done the command and all goes good.
    Thanks for all

  5. By seks randki, May 4, 2010 @ 14:55

    Do you know where to find paid templates for my blog, i got site on the same cms like yours.

  6. By seks randki, May 4, 2010 @ 14:55

    Do you know where to find paid templates for my blog, i got site on the same cms like yours.

  7. By WorkingDog, August 25, 2010 @ 11:28

    Be sure the server is not the tree CA. If it is you will need to move the CA to another server in the tree.

  8. By WorkingDog, August 25, 2010 @ 11:28

    Be sure the server is not the tree CA. If it is you will need to move the CA to another server in the tree.

  9. By WSUEdd, September 27, 2010 @ 19:36

    according to the documentation (man) the command ndsconfig rm -a cn=admin.o=org removes eDirectory from the TREE. I only want to remove the OES server from the tree not eDirectory from the entire tree.

    any suggestions.

    • By Mike, September 28, 2010 @ 09:26

      Hi, When you use the command ndsconfig rm -a cn=admin.o=org the server where the command is issued is removed from the Tree. I used this command several times and I’m sure that the eDirectory on the other servers are untouched.
      I must say I don’t quite understand what you mean by removing the eDirectory from the Tree. Can you point out the pages and document?

  10. By WSUEdd, September 27, 2010 @ 19:36

    according to the documentation (man) the command ndsconfig rm -a cn=admin.o=org removes eDirectory from the TREE. I only want to remove the OES server from the tree not eDirectory from the entire tree.

    any suggestions.

    • By Mike, September 28, 2010 @ 09:26

      Hi, When you use the command ndsconfig rm -a cn=admin.o=org the server where the command is issued is removed from the Tree. I used this command several times and I’m sure that the eDirectory on the other servers are untouched.
      I must say I don’t quite understand what you mean by removing the eDirectory from the Tree. Can you point out the pages and document?

  11. By WSUEdd, September 28, 2010 @ 20:51

    I have a server that is no longer needed in the Tree. It has eDirectory installed. It is a SLES/OES server. The command you show has a man page discription for the option rm of “Removes the server object and directory services from a tree.” I do not want to remove “directory services from a tree”. Just the server from the tree. In netware this is done by uninstalling eDirectory from the server. In just SLES there is a nds-uninstall command. On a SLES with OES there is no nds-uninstall command. My concern is that the ndsconfig rm command will damage the directory services of the tree. Your response indicates it does not affect the rest of the tree. Thank you very much for your help.

  12. By WSUEdd, September 28, 2010 @ 20:51

    I have a server that is no longer needed in the Tree. It has eDirectory installed. It is a SLES/OES server. The command you show has a man page discription for the option rm of “Removes the server object and directory services from a tree.” I do not want to remove “directory services from a tree”. Just the server from the tree. In netware this is done by uninstalling eDirectory from the server. In just SLES there is a nds-uninstall command. On a SLES with OES there is no nds-uninstall command. My concern is that the ndsconfig rm command will damage the directory services of the tree. Your response indicates it does not affect the rest of the tree. Thank you very much for your help.

  13. By Steve, August 24, 2011 @ 23:31

    I have built up a OES2 single server tree that I now want to remove eDir from and merge into our production Netware 6.5, eDir 8.7.9 tree. Can I just do the “ndsconfig rm -a cn=admin.o=org” then add it in? ie I’ve decided to do a consolidation rather than migration approach. Thanks in advance.

    • By Mike, September 15, 2011 @ 15:42

      Hi,

      Somehow I missed your question, no if you remove the eDirectory all services that depend on eDir will fail. Look at the command ndsmerge (for example ndsmerge -m [IP] administrator.target admin.source
      ). This will help you further.

  14. By Steve, August 24, 2011 @ 23:31

    I have built up a OES2 single server tree that I now want to remove eDir from and merge into our production Netware 6.5, eDir 8.7.9 tree. Can I just do the “ndsconfig rm -a cn=admin.o=org” then add it in? ie I’ve decided to do a consolidation rather than migration approach. Thanks in advance.

    • By Mike, September 15, 2011 @ 15:42

      Hi,

      Somehow I missed your question, no if you remove the eDirectory all services that depend on eDir will fail. Look at the command ndsmerge (for example ndsmerge -m [IP] administrator.target admin.source
      ). This will help you further.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

You must be logged in to post a comment.