Upgrading a Server
83
Go through the setup process again to re-register the updated Directory Server. The upgraded
server has the same configuration as the 8.0 server. It is also possible to pass information with the
setup-ds-admin.pl
script, as in
Section 5.5, “Silent Setup”
The
setup-ds-admin.pl
script updates the Directory Server core packages and configuration
and the Directory Server and Administration Server consoles.
5. Restart the Directory Server.
service dirsrv restart
NOTE
The
setup-ds-admin.pl
script updates both the Directory Server instances and
the local Administration Server instance. However, the Administration Server console
shows the old version number, like 8.0.4, even though it has been successfully
upgraded. Restart the Administration Server to refresh the version number.
6. Verify that the packages have been properly updated by checking the version number on one of
the Directory Server packages. For example:
rpm -qf /usr/sbin/setup-ds-admin.pl
redhat-ds-admin-8.1.0-9.el5dsrv
Also restart the Directory Server Console to make sure that the version and build numbers are
appropriately updated.
7. The Distributed Numeric Assignment and MemberOf Plug-ins are new with Directory Server 8.1.
Their configuration is not automatically added to the
dse.ldif
file with the in-place upgrade, so
you need to add these entries to the file.
• The MemberOf Plug-in template entry is in
/usr/share/dirsrv/data/template-
dse.ldif
.
• The DNA Plug-in template entry is in
/usr/share/dirsrv/data/template-
dnaplugin.ldif
.
These entries can be added using
ldapmodify
or by editing the
dse.ldif
file directly. For
example:
/usr/lib/mozldap/ldapmodify
-a
-D "cn=directory manager" -w secret -p 389 -h
server.example.com
dn: cn=Distributed Numeric Assignment Plugin,cn=plugins,cn=config
objectClass: top
objectClass: nsSlapdPlugin
objectClass: extensibleObject
objectClass: nsContainer
cn: Distributed Numeric Assignment Plugin
nsslapd-pluginInitfunc: dna_init
nsslapd-pluginType: preoperation
nsslapd-pluginEnabled: on
nsslapd-pluginPath: libdna-plugin