HP UX Direry Server Uninstalling Directory Server, Removing a single Directory Server instance

Page 40

4.2.3Creating a Directory Server instance manageable at the command line instead of Console

To create a Directory Server instance so that you can manage the instance through the command line or other tools instead of through the Console, use the /opt/dirsrv/sbin/setup-ds.plcommand. All tasks that can be performed from the Console can be performed from the command line or by other means. This is advantageous if you have a large number of Directory Server instances to manage, especially when they require tasks that can be more easily performed from the command line or by scripting (such as configuration of replication, LDIF, or SSL). This is also advantageous if you have to manage remotely and network traffic or connection quality makes use of the Console unviable (because of the additional network traffic incurred from graphics-intensive screens).

The script works exactly the same way as setup-ds-admin.plexcept it omits the questions about the Configuration Directory Server and Administration Server. It only creates a single, standalone Directory Server instance. (To manage the Directory Server instance with the Console, you must register the Directory Server instance with the Configuration Directory Server. For more information, see “Registering an existing Directory Server instance with the Configuration Directory Server”.) The script can be run silently as well, accepting command line options.

4.3Registering an existing Directory Server instance with the Configuration Directory Server

The Configuration Directory Server uses the o=NetscapeRoot database to store information about the Directory Servers and Administration Servers in your network. This database is used by the Console and the Administration Servers. This database can belong to a separate Directory Server instance, called the Configuration Directory Server. When you set up a Directory Server instance using the setup-ds-adminscript, the instance is always registered with a Configuration Directory Server. When you use the setup-dsscript to set up a Directory Server instance so that it is manageable at the command line instead of at the Console (see “Creating a Directory Server instance manageable at the command line instead of Console” (page 40)), the instance is not registered with a Configuration Directory Server. If you decide you want that instance to be manageable at the Console, you can manually register it with a Configuration Directory Server by launching the register-ds-adminscript:

#/opt/dirsrv/sbin/register-ds-admin.pl

IMPORTANT:

Running register-ds-admincreates a default instance of the Administration Server and Configuration Directory Server if they do not already exist, then registers any existing Directory Servers with the Configuration Directory Server.

4.4 Uninstalling Directory Server

This section provides information on removing a single Directory Server instance as well as the Directory Server entirely.

4.4.1 Removing a single Directory Server instance

It is possible to remove a single instance of Directory Server without uninstalling the system. Do this with the following command:

#/opt/dirsrv/sbin/ds_removal -s server_id -w admin_password

The ds_removal script unregisters the server from the Configuration Directory Server and removes any related files and directories. If the Directory Server was configured to support SSL, the command leaves the key and cert files in the instance configuration directory, and renames the configuration directory to instance-name.removed.

40 Post-installation and advanced configuration tasks

Image 40
Contents HP-UX Directory Server installation guide Page Table of Contents Glossary Index Page Preparing for a Directory Server installation Considerations before setting up Directory ServerDirectory Server components Port numbersDirectory Server user and group Preparing for a Directory Server installationDirectory manager Administration Server user Directory administratorDirectory suffix Configuration directory Administration domainHardware requirements System requirementsHardware requirements Operating system requirements HP-UX patchesPerl prerequisites HP-UX system configurationKernel parameters Timewait setting Large file supportSetting up HP-UX Directory Server Installing the JREOverview HP-UX Apache-based web server requirementInstalling the Kerberos 5 libraries Installing the Directory Server packageSetting up the Directory Server and Administration Server Setup overviewOptions for running the setup script Responding to prompts and navigating between screen promptsPassing values for specific setup parameters Setup script command line options Setup-ds-admin optionsSetup file File name with the -f option. For exampleInteractive setup modes Reused for a silent setupWith this file CharactersComparison of setup types Performing express setup Set the Directory ManagerPort Blank all interfaces IP address Set user as whichSetting up the Directory Server and Administration Server Performing typical setup Administration Domain example.com Performing custom setup Run the setup-ds-admin.pl script as root Directory server network port 389 Performing silent setup Setup file structure Setup file directives General directivesConfigDirectoryAdminID Specifies the user Slapd directivesSuffix Specifies the suffix under Which to store Directory data. For Information on suffixesAdmin directives Sample setup files Example 3-1 Example of setup file for a custom installationSending parameters in the command line Example 3-2 Example of setup file for a typical setup# /opt/dirsrv/sbin/setup-ds-admin.pl -s \ Post-installation and advanced configuration tasks Configuring Administration Server instancesConfiguring IP authorization on the Administration Server Configuring Administration Server instancesPost-installation and advanced configuration tasks Configuring proxy servers for the Administration ServerCreating additional Directory Server instances Creating a new Directory Server instance interactively Creating a new Directory Server instance silentlyUninstalling Directory Server Removing a single Directory Server instanceUninstalling the HP-UX Directory Server Uninstalling Directory ServerPage General usage information Directory Server file locationsLdap tool locations File and directory locationsGetting the Administration Server port number Resetting the Directory Manager passwordStarting the Directory Server Console Starting and stopping serversTroubleshooting Problem Clients cannot locate the serverProblem The port is in use Problem Forgotten directory manager DN and passwordPage Configuring the Directory Server Console Tasks to perform before migratingMigrate-ds-admin Options and Argument Migration scriptMigration scenarios Migrating a server or single instance Migrating replicated serversMigrating a Directory Server from one machine to another Migrating a Directory Server from one platform to another Upgrading from Red Hat Directory Server Upgrading from Red Hat Directory ServerPerforming the upgrade to HP-UX Directory Server Contacting HP Support and other resourcesRelated information HP-UX documentation set Support and other resourcesTypographic conventions Troubleshooting resourcesTypographic conventions Page Access rights GlossaryBind rule GlossaryDIT GSS-API Ldap NIS PTA Sasl TCP/IP Page Symbols IndexHP authorized resellers Index
Related manuals
Manual 96 pages 26.31 Kb Manual 68 pages 26.36 Kb Manual 160 pages 39.12 Kb Manual 18 pages 3.79 Kb

UX Direry Server specifications

HP UX Directory Server is a robust and scalable solution designed for managing directory information within enterprise networks. Developed by Hewlett-Packard (HP), this server offers an extensive set of features tailored to meet the needs of organizations that require an efficient way to store, manage, and retrieve identity and access data.

One of the key features of HP UX Directory Server is its ability to handle large directories with significant volumes of data. Built on a highly optimized architecture, it provides excellent performance and can support millions of entries without sacrificing speed or reliability. This capability makes it an ideal choice for large-scale deployments in enterprises that require high availability and responsiveness.

In addition to its scalability, HP UX Directory Server supports a wide range of protocols, including LDAP (Lightweight Directory Access Protocol), which ensures seamless integration with diverse applications and systems across various platforms. The server maintains standards compliance, which facilitates interoperability and simplifies administration tasks.

Security is a top priority for HP UX Directory Server, offering an array of features to protect sensitive information. It supports secure data transmission via TLS/SSL protocols, ensuring encrypted communication between clients and servers. Advanced access controls allow administrators to define fine-grained permissions, helping to safeguard directory data against unauthorized access.

Another salient feature of HP UX Directory Server is its replication capabilities. The server can replicate directory data across multiple instances, ensuring data consistency and availability in distributed environments. This feature is essential for businesses operating across different geographical locations or requiring failover solutions for disaster recovery.

HP UX Directory Server also comes equipped with tools for data management, including an intuitive administration console for configuring and monitoring the server. Additionally, it offers customizable schema capabilities, enabling organizations to tailor the directory structure to fit their specific needs.

Integration with existing identity management solutions is streamlined through connectors and APIs, allowing organizations to extend their directory services and enhance user experience.

In summary, HP UX Directory Server is a powerful directory management solution that combines scalability, security, and integration flexibility. Its support for industry standards, advanced replication, and comprehensive administrative tools makes it an essential asset for organizations seeking to manage identity and access efficiently. By leveraging this technology, businesses can improve their operational efficiency and ensure a secure and organized approach to directory management.