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

  • Download
  • Add to my manuals
  • Print
  • Page
    / 115
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 74
[root@server ~]# service dirsrv-admin stop
[root@server ~]# service dirsrv stop
4. Back up all the Directory Server user and configuration data. For example:
[root@server1 ~]# db2bak
/var/lib/dirsrv/slapd-instance_name/bak/instance_name-2013_04_30_16_27_56
5. Tar (almost) all of the files and directories for the original Directory Server 8.2 instance.
The adm serv.conf and httpd.conf files should not be included since the new versions of
these files should always be used. Additionally, these tar files don't contain the error and access
log files. These files are not necessary for upgrading an instance but can be stored separately.
IMPORTANT
Make sure that partition where the tar file is created has enough space to store all of the
configuration and data.
For migrating to a machine with the same architecture:
[root@server1 ~]# cd /
[root@server1 /]# tar cpjf rhds-upgrade.tar.bz2 -C / --no-recursion --
exclude httpd.conf --exclude admserv.conf etc/sysconfig/dirsrv-*
etc/dirsrv/slapd-* etc/dirsrv/slapd-*/* etc/dirsrv/slapd-*/schem a/*
var/run/dirsrv var/lock/dirsrv/slapd-* var/log/dirsrv/slapd-*
var/lib/dirsrv/slapd-* var/lib/dirsrv/slapd-*/* var/lib/dirsrv/slapd-
*/ldif/* var/lib/dirsrv/slapd-*/db/* var/lib/dirsrv/slapd-*/db/*/*
etc/dirsrv/admin-serv etc/dirsrv/admin-serv/* var/log/dirsrv/adm in-serv
var/lib/dirsrv/slapd-*/cldb/* usr/lib[64]/dirsrv/slapd-*
NOTE
The cldb location assumes that the changelog is located in the default changelog
directory. If the changelog is in a different location, use the appropriate directory. If
replication is not enabled, this directory can be omitted.
For migrating to a different architecture:
[root@server1 ~]# cd /
[root@server1 /]# tar cpjf rhds-upgrade.tar.bz2 -C / --no-recursion --exclude
httpd.conf --exclude admserv.conf etc/sysconfig/dirsrv-* etc/dirsrv/slapd-*
etc/dirsrv/slapd-*/* etc/dirsrv/slapd-*/schema/* var/run/dirsrv
var/lock/dirsrv/slapd-* var/log/dirsrv/slapd-* var/lib/dirsrv/slapd-*
var/lib/dirsrv/slapd-*/* var/lib/dirsrv/slapd-*/ldif/* .upgrade.ldif
etc/dirsrv/admin-serv etc/dirsrv/admin-serv/* var/log/dirsrv/adm in-serv
usr/lib[64]/dirsrv/slapd-*
6. On the new machine which will host Directory Server, install or upgrade the Directory Server 9.1
packages.
a. Register the system. Use the --auto-attach option to apply subscriptions for the
Red Hat Directory Server Red Hat Directory Server 9 Installation Guide
72
Page view 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 114 115

Comments to this Manuals

No comments