Migration (Upgrade) from Netscape or Red Hat Directory Server to HP-UX Directory Server 8.10.04
To restore HP-UX Directory Server 8.10.x, reinstall the HP-UX Directory Server 8.10.x product
package. Stop the directory server instance, and extract the configuration data to
/etc/opt/dirsrv directory, and run the bak2db command to restore the data. For example:
# /opt/dirsrv/slapd-instance_name/stop-slapd
# cd /etc/opt/dirsrv
# tar -xvf /home/files/hpds8103cfg.tar
# /opt/dirsrv/slapd-
instance_name
/bak2db \
/home/files/bak/slapd-
instance_name
Performing an Upgrade to HP-UX Directory Server 8.10.04
Upgrading a Server
1. Shut down all directory server instances and the administration server. Run the following
commands to shut down:
# /opt/dirsrv/slapd-
instance_name
/stop-slapd
# /opt/dirsrv/sbin/stop-ds-admin
2. Run swinstall command to install the HP-UX Directory Server 8.10.04 depot.
3. Download the migration2HPDS8104.tar file from the following ftp site (or contact
product support team) and untar migration2HPDS8104.tar file to the /tmp directory and
execute setup.sh command.
ftp://hpds8104:Welcome1@ftp.usa.hp.com
#cp migration2HPDS8104.tar /tmp
#cd /tmp
#tar –xvf migration2HPDS8104.tar
#cd migration2HPDS8104
#./setup.sh
4. Run the setup-ds.pl script with an update option:
# /opt/dirsrv/sbin/setup-ds.pl –u
When the setup-ds.pl script prompts for
online
or
offline
mode, select the
offline
mode option.
5. Run the following commands to start the directory server instances and the administration
server:
# /opt/dirsrv/slapd-instance_name/start-slapd
# /opt/dirsrv/sbin/start-ds-admin
6.
Ru
n the
setup-ds-admin.pl
script with an update option
:
#/opt/dirsrv/sbin/setup-ds-admin.pl –u
When the script prompts an input for LDAP URL, admin ID, and admin domain, verify and
continue with default values if appropriate and provide the admin password.