Red Hat NETSCAPE DIRECTORY SERVER 7.0 - DEPLOYMENT Installation Guide Page 81

  • Download
  • Add to my manuals
  • Print
  • Page
    / 115
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 80
Remove the entire cn=uniqueid generator,cn=config entry.
d. For each /etc/dirsrv/slapd-* instance, make a corresponding directory, with the
same name, in the /usr/lib[64 ]/dirsrv directory.
e. Change the ownership to the Directory Server user ID. For example:
for i in `find /usr /var /etc -name dirsrv`; do chown -R nobody:nobody
$i; done
10. Make sure the new files and directories created by the tar command have the correct SELinux
labeling:
# restorecon -R /etc/sysconfig/dirsrv-* /etc/dirsrv /usr/lib/dirsrv
/usr/lib64/dirsrv /var/*/dirsrv
11. Make sure that the new Directory Server instance is not running.
service dirsrv-admin stop
service dirsrv stop
12. Run the setup-ds.pl command in offline mode to upgrade only the Directory Server
configuration. T his performs all of the basic setup required to perform any schema or data
changes.
For example:
setup-ds.pl -u -s General.UpdateMode=offline
13. Start the servers.
service dirsrv-admin start
service dirsrv start
14. Run the setup-ds-admin.pl -u script to update the configuration. Make sure that the
Directory Server and Admin Server are running when the script is run.
setup-ds-adm in.pl -u
15. Update syntaxes and the enable syntax checking.
In 8.2, syntax checking is available, but disabled by default, while a new 9.0 instance has syntax
checking enabled by default. Syntax validation checks every modification to attributes to make
sure that the new value has the required syntax for that attribute type, so this is a beneficial
configuration attribute to use to ensure data quality.
a. Run the syntax-validate.pl Perl script to validate and, if necessary, correct any syntax
errors in the migrated 8.2 data.
/usr/lib64/dirsrv/instance_name/syntax-validate.pl -D "cn=directory
manager" -w secret -b "dc=example,dc=com"
b. Enable syntax checking for the migrated server.
Red Hat Directory Server Red Hat Directory Server 9 Installation Guide
78
Page view 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 114 115

Comments to this Manuals

No comments