2. Installing Directory Server 7.1 SP7
To install Directory Server 7.1 SP7 on Red Hat Enterprise Linux, simply download the RPM and either upgrade the existing installation with the rpm -U flag, as described in Section 2.2, “Installing Directory Server 7.1 SP7 on Red Hat Enterprise Linux”, or install a new Directory Server using the RPM package with the rpm -i flag and configure the server.
To install Directory Server 7.1 SP7 on HP-UX and Sun Solaris, download the packages from Red Hat Network, extract the binaries, then run the setup command.
For instructions on installing and configuring Directory Server 7.1 SP7, see the Directory Server Installation Guide, available at http://www.redhat.com/docs/manuals/dir-server/install/7.1/index.html.
Red Hat Network (RHN) (http://rhn.redhat.com) is the software distribution mechanism for Red Hat customers. When purchasing the entitlements for Red Hat Directory Server 7.1 SP7, you will also have received account login information for Red Hat Network.
Log into Red Hat Network.
Go to the Channels tab, and select the Red Hat Directory Server 7.1 channel. Browse through the complete channel list if needed.
Go to the Downloads tab in the Red Hat Directory Server 7.1 channel, and download the Red Hat Directory Server packages.
The files are tarball (.tar.gz) archive files, not ISO images.
ISO images containing both RPM and SRPM package files are available as downloads through the Red Hat Directory Server 7.1 channel. The RPM packages can be downloaded and installed in the usual manner. The ISO images can be downloaded and burned on to a CD-recordable media using the appropriate software.
The Solaris 9 64-bit packages can be found there under the ISOs list, as well as the tarball (.tar.gz file) archive for the source code.
On Red Hat Enterprise Linux, it is possible to upgrade an existing installation with the rpm -U flag or install a new Directory Server using the RPM package with the rpm -i flag.
RPMs for Directory Server 7.1 SP7 are also available to Red Hat Enterprise Linux users by running up2date using an account with entitlements for the Red Hat Directory Server 7.1 SP7 release.
To upgrade Red Hat Directory Server 7.1 (or any previous 7.1 service pack) on a Red Hat Enterprise Linux 3 or 4 system:
Log in as root.
Run rpm to upgrade the Directory Server using the package appropriate for your version of Red Hat Enterprise Linux.
For Red Hat Enterprise Linux 3:
rpm -U redhat-ds-7.1SP7-11.RHEL3.i386.rpm
For Red Hat Enterprise Linux 4:
rpm -U redhat-ds-7.1SP7-11.RHEL4.i386.rpm
For upgrading from SP4 or earlier. Run the setup script again.
# cd /opt/redhat-ds # ./setup/setup -r
When upgrading from an Directory Server instance version 7.1SP4 or older, you must run the setup script to resolve security issues addressed in 7.1SP5. If you are upgrading from version 7.1SP5, then this is not necessary.
To install a new installation of Red Hat Directory Server 7.1 SP7:
Log in as root.
Run rpm to install the Directory Server using the package appropriate for your version of Red Hat Enterprise Linux.
For Red Hat Enterprise Linux 3:
rpm -i redhat-ds-7.1SP7-11.RHEL3.i386.rpm
For Red Hat Enterprise Linux 4:
rpm -i redhat-ds-7.1SP7-11.RHEL4.i386.rpm
Go through the configuration process as described in the Directory Server Installation Guide.
Log in as root.
Create a new directory for the new Directory Server service pack version.
mkdir ds71sp7
Open the new directory.
cd ds71sp7
Download the Directory Server product binaries file to this directory.
Unpack the product binaries.
gzip -dc filename.tar.gz | tar -xvof -filename is the product binaries file; the exact name depends on your platform.
Make sure that the Configuration Directory Server instance on the machine is running and that the Administration Server instance is stopped.
# cdserverRoot./stop-admin # cdserverRoot/slapd-instance./restart-slapd
Open the new ds71sp7 directory, and extract the binary files for the new service pack setup program by running the setup command with the -b option.
# cd/path/to/ds71sp7 # ./setup -bserverRoot
Run the setup program again to install the service pack.
When upgrading from an Directory Server instance version 7.1SP4 or older, you must run the setup script to resolve security issues addressed in 7.1SP5. If you are upgrading from version 7.1SP5, then this is not necessary.
Supply the configuration information as prompted by the installer. An upgrade usually requires this information:
Agreeing to the setup and licensing terms.
The full path to the server root directory (the installation directory) where Directory Server 7.1 is located; by default, this is /opt/redhat-ds/servers.
The Configuration Administrator's password for the Directory Server 7.1 instance.
The upgrade process beings after all of the 7.1 instance information is given.
If Windows synchronization will be used on a Windows server in conjunction with a Red Hat Directory Server 7.1 server, then install the 7.1 SP7 Windows Sync services on the Windows machine:
Uninstall the Password Sync services. If the Windows sync peer is an NT server, then also uninstall the User Sync service. This is described in the Directory Server 7.1 Administrator's Guide, available at http://www.redhat.com/docs/manuals/dir-server/ag/7.1/sync.html#2878810.
The SSL databases or keystore are preserved and can be re-used after upgrade is complete.
Copy the the updated msi files from /opt/redhat-ds/winsync/ to the Windows system.
Double-click the new msi files to install them.
Reboot the Windows system after re-installing the Password Sync and, on NT, User Sync services.
Perform a full resynchronization between the Directory Server and Windows sync servers.
In the Directory Server Console, click the Configuration tab.
Expand the Replication folder in the left navigation window.
Click the name of the Directory Server database which is synchronized with the Windows directory, and select the sync agreement.
Select manual synchronization from the drop-down menu.