The 3.2 migration may terminate due to any reason such as network issue. In such cases, re-run the migration after cleaning up partly installed components as in the following procedure:
To workaround this issue, perform the following steps to cleanup before re-running the install_and_migrate script:
Ensure that the 3.1 SP4 machine remains as master replica
In the 3.1 SP4 machine, run the ndsrepair -P -Ad command.
Enter 1 and press Enter.
Enter 5 and press Enter.
Restore certificates back to 3.1 SP4.
In the 3.1 SP4 machine, go to /opt/novell/devman/bin, then run the aminst-certs.sh script.
Enter the credentials and path for the backup file that was originally taken.
Remove the failed server.
In the new 3.2 machine, run the following command:
/opt/novell/eDirectory/bin/ndsconfig rm /etc/opt/novell/eDirectory/conf/nds.conf
Enter the admin credentials in the admin.novell format and proceed with deletion.
In the new 3.2 machine, uninstall the Novell Access Manager binaries.
From the novell-access-manager folder, run the./uninstall.sh script.
Select the option
and proceed.Delete the migrate_inputs.sh script under scripts folder.
Delete objects from the eDirectory Configuration Store.
Log in to the 3.1 SP4 Administration Console, then click
> .In the
section, select the failed primary Administration Console.Click
.Few objects in eDirectory require to be deleted. Sometime manual deletion could lead to errors. It is recommended to take a backup of entire eDirectory before you delete the objects.
Run the following command to back up the eDirectory objects:
ndsbackup cvf ndsbackupfile -a <user id like admin.novell> -p <password>
In case of any issue due to manual delete, you can restore the same by running the following command:
ndsbackup xvf ndsbackupfile
To delete the objects in eDirectory, select
from the menu bar.In the Tree view, select
and view the objects.Delete all objects that refer to the failed primary console. You should find the following types of objects:
SAS Service object with the host name of the failed primary console
An object that starts with the last octet of the IP address of the failed primary console
DNS AG object with the host name of the failed primary console
DNS IP object with the host name of the failed primary console
SSL CertificateDNS with the host name of the failed primary console
SSL CertificateIP with the host name of the failed primary console
NOTE:You must follow the procedure irrespective of where the migration terminated to ensure that the machine is clean.
On the 3.1 SP4 machine, run the /opt/novell/eDirectory/bin ndsstat -r command to verify if there are any replicas in eDirectory caused due to failure while migrating. Ensure that you remove them.
In the 3.2 machine, run the install_and_migate_3.2.sh script the novell-access-manager folder and proceed with the installation steps.