Configuring HP DCE Cells

Integrating DCE Services with MC/ServiceGuard

Configuring the Package

Create a package for the DCE services that ServiceGuard can monitor with the following steps:

1. Create a directory for the DCE package name as follows:

mkdir /etc/cmcluster/pkg-name.conf

2.Generate and modify the package configuration script for DCE as follows:

cmmakepkg -p /etc/cmcluster/pkg-name/pkg-name.conf

This command creates a template for pkg-name.

3.Edit this template for the DCE package by supplying the necessary information (for example: PACKAGE_NAME, NODE_NAME). Use the sample file dcepkg.conf for reference.

4.Create a control script for the package as follows:

cmmakepkg -s /etc/cmcluster/pkg-name/rc.pkg-namechmod 755 /etc/cmcluster/pkg-name/rc.pkg-name

Each package has a control script that starts and stops services for the package.

5.Modify the DCE Package information in the control script

(rc.pkg-name) to include the logical volume name, IP address, service name, service and monitoring script names (for example: dce.start and dce.monitor).

Read the sample control script rc.dcepkg carefully and make the similar change in the new control script (rc.pkg-name).

6.Copy the standard DCE configuration file to your package directory. Enter the following command:

cp /etc/rc.config/dce /etc/cmcluster/pkg-name/dce

7.Modify the configuration file /etc/cmcluster/pkg-name/dceto restrict IP address to package IP address. To do this, set the environment variable RPC_SUPPORTED_NETADDRS.

8.Create the package startup script using dce.start as a sample template. Set the environment variable SG_DCE_BASE_DIR to /etc/cmcluster/pkg-name.

9.Create the DCE monitor script using dce.monitor as a sample template. Set the environment variable SG_DCE_BASE_DIR to /etc/cmcluster/pkg-name.

5-38

Planning and Configuring HP DCE 1.7

Page 122
Image 122
HP UX DCE Software manual Configuring the Package

UX DCE Software specifications

HP UX DCE Software, or Hewlett-Packard UNIX Distributed Computing Environment, represents a significant tool in the realm of distributed system architecture. Designed primarily for enterprise environments, HP UX DCE enhances the reliability, scalability, and manageability of applications over diverse networked systems.

One of the main features of HP UX DCE is its ability to integrate various computing platforms, enabling seamless communication and resource sharing across distributed nodes. This facilitates the creation of complex applications that can operate on a multitude of systems, thus enhancing operational flexibility. DCE employs standardized interfaces, which means applications written for one platform can run on any other platform that supports DCE, promoting cross-platform compatibility.

In terms of technologies, HP UX DCE utilizes Remote Procedure Calls (RPC) as a core feature. This mechanism allows different applications to communicate and invoke procedures on remote systems as if they were local calls. Additionally, DCE includes a robust security model that incorporates Kerberos for authentication, ensuring that communication between nodes remains secure and protected against unauthorized access.

Another significant characteristic of HP UX DCE is its distributed file system, which allows for transparent file access across different machines. The DCE File System (DFS) provides a unified namespace and manages data replication and consistency across distributed storage resources. This reduces the complexity of data management and enhances data availability.

HP UX DCE also supports a variety of programming languages, making it accessible for developers accustomed to different coding environments. This versatility encourages widespread adoption and innovation, as developers can leverage existing skills to create distributed applications.

Furthermore, HP UX DCE is built for high availability, ensuring that critical applications remain responsive even in the face of hardware or network failures. Its inherent component redundancy and fault-tolerant architecture are designed to minimize downtime, which is essential for mission-critical applications in enterprise scenarios.

In conclusion, HP UX DCE Software provides a comprehensive framework for developing, deploying, and managing distributed applications. Its core features such as RPC support, a secure authentication mechanism, a robust file system, and cross-platform compatibility make it a vital resource for organizations aiming to leverage distributed computing effectively. As enterprises evolve, HP UX DCE stands out as an influential solution in the dynamic landscape of distributed environments.