If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it! Learn more
I am migrating Novell OES from one Novell server to another Novell server (which i will be eventually using as Novell file server because it has bigger hard disk) using the miggui (novell migration tools) on the target server. In the Add services to migrate, it only shows file service and iprint. eDirectory service is not shown, so I am not able to migrate users and trustees. How to migrate trustees and users?
Am 05.07.2017 um 13:44 schrieb srinivaskv: > > I am migrating Novell OES from one Novell server to another Novell > server (which i will be eventually using as Novell file server because > it has bigger hard disk) using the miggui (novell migration tools) on > the target server. In the Add services to migrate, it only shows file > service and iprint. eDirectory service is not shown, so I am not able to > migrate users and trustees. How to migrate trustees and users? > >
You're looking for "transfer ID" in Miggui. eDirectory is not a service.
few questions: 1. wouldn't transfer id rename the target and change it's ip address to that of source and shutdown the source server. I do not want it this way. I would like to create a replica. so I only want to transfer users and trustees. I used to be able to do this with mls, maptrustees, migtrustees command, but now it does not seem to work. 2. does transfer id require the target server be clean that is no volumes or volume data?
Thanks for your input and suggestions. Looks like now both servers and hosting eDirectory. I was under the impression that eDirectory is only on primary server. I will try downing the servers and reconnecting them at a later time and update this thread with results. BTW, is there command to take backup of eDirectory data, delete eDirectory data, restore eDirectory from backup. If I could do that then I could just restore the data on secondary.
Every server in a tree hosts eDirectory. You can partition the tree and place replicas of these partitions on servers as you like, but even a server that doesn't hold any replica still hosts eDirectory. In your case i'd assume there is a total of two servers SUPPOSED to be in the tree and that there's only one partition (which is the [root] partition). For unknown reasons (but likely to those Massimo posted earlier in this thread) you ended up with a highly undesirable offset, in which LFA1 assumes to be the master of a tree with a second server called LFA2. While LFA2 considers itself to be the master of a single-server tree. Consequently, LFA1 tries to sync changes made in its database to LFA2, but as LFA2 doesn't know of LFA1 it ignores these sync attempts. On the other hand, if there are changes taking place in the DIB of LFA2, the latter one doesn't even try to sync them anywhere as it's not aware of any other server in its tree. What this means in the first place is, that you have some sort of "split brain condidtion" ever since July 24th, i.e. if you created an object on LFA1 since then, LFA2 doesn't know anything about it. And, of course, vice versa. The schematic plan (without details) to clean this up would be something like - decide which server will survive in the first place - backup data and trustee assignments from the other one - try to export objects created on the other one after jul24th (e.g. via LDAP) - wipe the other one (you can keep NSS volumes) - clean up the tree on the survivor (i.e. clean up the replica ring and DIB from references to by now wiped box) - patch the survivor to current code - install the "other one" into the survivor's tree (PLEASE do so with current code, i.e. the stuff you've used one step before) - try to recreate / import objects exported in step#3 - restore data / reattach data volumes - restore trustee assignments as needed
Just a rough overview with no warranty. There are, of course, other ways to get this done, but the outline above can be followed without special tools.
Could you explain how I do this ? - "clean up the tree on the survivor" Should I open the objects browser in iManager and delete all objects that have LFA2 including LFA2. (could I use 3rd party LDAP tools to do this?) After I clean up the tree , could I do this? Shutdown LFA2. Create another LFA2 server (with the same ip address as before ) and install it under the same tree as LFA1. create volumes and restore data from backup tape.
I also tried some other method: Because now we have bigger space available, I created a new server LFA1 and restored the eDirectory that I took from previous LFA1 server. ( I do not need another server LFA2. I have space for all the volumes of LFA2 in this LFA1). Then I removed all references to LFA2. Also recreated server and local certificates. I have all the users from the previous server, but i notice only one problem. If I create a volume, the volume is created but with an error message - NDS error 669. Also the volume does not show in Files/Folders in iManager client.
You would shutdown LFA2 first, then remove it (with ndsrepair) from the replica ring and finally wipe all objects referencing it from the DIB. Once finished you could install a new LFA2 into the tree, you could use the "old" IP again if you like.
As for the second part: 669 means "no access" which is likely a result of the way you "restored eDir from the previous LFA1 server". When you create a volume the system tries to create a corresponding volume object in NDS, there's a "servernameadmin" object (likely LFA1admin in your case), whose identity is used for this task. This object gets created on server installation and should have inheritable supervisory rights to the server's context. I'd assume that your restore procedure left you with a problem in this area. You'll likely be able to resolve this by re-running the configuration workflow for NSS via "yast2 nss".
For the second part: I tried the yast2 nss (reconfigure). Even after this I am getting an error (-669) while creating a new Volume (volume is created except for the error message and it is not listed in iManager client). The ndstrace also says authentication failed. Anything else I can do to debug this.