Perhaps I've misunderstood some step!
But, in any case, as far as I understand this process requires a full-functioning admin account. Any work-around for database corruption such as one where the only admin user has lost its rights?
Table of Contents
This document will help you in reconfiguring eDirectory on OES Server and restoring all OES Services.
While removing and reinstalling the eDirectory Server due to dib corruption with no backup or some other issues requiring it, some of the OES Services are disconnected. Currently, there are no tools to resolve this issue. The Server has to be formatted and completely reinstalled, which can result in data loss and service disruption, which is not acceptable by customers. The following sections describe a manual approach to successfully reconfigure the eDirectory and bring up all the broken OES Services.
Reconfiguring the eDirectory and bringing back the OES Server up and running are achieved by the following three steps:
Before starting, note down the following eDirectory configuration parameters. You will need this information while reconfiguring the eDirectory server.
Prior to reconfiguring eDirectory, eDirectory has to be cleaned up to avoid any conflicts that can arise during reconfiguration. Follow the steps mentioned below to clean eDirectory.
# rcndsd stop
# rm -f /etc/opt/novell/eDirectory/conf/nds.conf
# rm -f /etc/opt/novell/eDirectory/conf/instances.0
# rm -rf /var/opt/novell/eDirectory/data/dib
Log into iManager with admin credentials.
Click the View objects button available in the Header frame.
Select the Tree tab in the Navigation frame.
Browse the eDirectory tree and select the server context for which reconfiguration is to be done.
In the Contents frame, select the NCP and HTTP server objects, SNMP group object, LDAP server object, and LDAP group object.
In the Menu bar above the Content frame, click the Delete button. A confirmation pop-up window is displayed. Click OK to confirm deletion.
eDirectory reconfiguration could be done on the Root partition Master replica server, Read-Write replica server, or Server without replica.
If the reconfiguration is performed on the Root partition Master replica server, then make any other replica as the Master replica. Access the following link for role transfer:
Section 5.5.3 Changing the Replica Type
If reconfiguration is performed on the CA server, then transfer the CA server role to another server or create a new CA server.
Access the following links:
When eDirectory is cleaned, follow the listed steps for reconfiguring the eDirectory.
After eDirectory reconfiguration is complete, configure and start all the OES services. The following table lists the services that are already running, and the services that require a manual start, services that require re-initialization, and services that require reconfiguration.
|Services Started by Default|
|Services to be Started Manually.|
|Services Requiring Re-Creation|
|Services Requiring Reconfiguration|
The following subsections describe the steps to be followed to reconfigure the services.
Use the NSS management utility to delete and re-create the existing NSS Volumes and Pools eDirectory objects.
Use the NCP Server command line utility to delete and re-create the NCP volume object from eDirectory.
DNS can be reconfigured in two ways, by using YaST or without YaST
Reconfiguring DNS without YaST
Using iManager, add the following DNS attributes to the newly created NCP server (that is created during reconfiguration of eDirectory).
|NCP server location|
|DNS Locator object location|
|SSL Certificate DNS|
|Novell DNS Server 6.0.0|
Start DNS Service by entering the command rcnovell -named start.
Reconfiguring DNS by using YaST
Follow the below steps to reconfigure the DNS using YaST2.
Using iManager, add the DNIP:DNSServerReference attribute to a newly created NCP server and add the NCP server location value. Also, add the SecurityEquals attribute and add value DNS-DHCP-Group location.
Start DNS Service by executing the command rcnovell -named start.
Follow the below steps to reconfigure the CIFS by using YaST2.
Before starting CIFS service, re-create the NCP and NSS pools and volume objects, as detailed in sections for NCP and NSS.
Restart the CIFS service by specifying the command rcnovell –cifs restart.
This was already covered as part of reconfiguring eDirectory. SLP will be reconfigured only if it was configured during the earlier configuration.
NMAS was already covered as part of reconfiguring eDirectory.
Services to Be Started Manually
Before starting the AFP service, re-create the NCP and NSS pools and volume objects, as detailed in sections for NCP and NSS.
Start the AFP Service by executing the command rcnovell -afptcpd start.
Before starting the NCS service, re-create the NCP and NSS pools and volume objects, as detailed in sections for NCP and NSS.
Start the NCS service by specifying the command rcnovell -ncs start.
Before starting the Archive versioning service, re-create the NCP and NSS pools and volume objects, as detailed in the sections for NCP and NSS.
Start the Archive versioning service by specifying the command rcnovell -ark start and rcadminfs start.
Dynamic Host Configuration Protocol
Start the Dynamic Host Configuration Protocol (DHCP) Server by entering the command rcnovell -dhcpd start.
Start the iPrint Service by entering the command rcnovell -ipsmd start and rcnovell-idsd start.
Before starting the SAMBA service, re-create the NCP and NSS pools and volume objects, as detailed in sections for NCP & NSS.
Using iManager, start the SAMBA Service.
Before starting the NetStorage service, re-create the NCP and NSS pools and volume objects, as detailed in sections for NCP & NSS.
Start NetStorage Service by executing the command 'rcnovell -xregd start' and 'rcnovell-xsrvd start'.
Start iManager Service by executing the command '/etc/init.d/tomcat5 start' and 'rcapache2 restart'.
Start the NTP service by executing the command 'rcntpd restart'.
Before starting QuickFinder service re-create the NCP and NSS pools and volume objects, as detailed in the sections for NCP and NSS.
Generate the index again from QuickFinder Administration.