10    Preparing DMS Servers and Clients

This chapter describes the tasks that you must perform to set up a DMS server. Information includes:

10.1    Requirements for DMS Servers

Setting up a dataless environment requires that the following conditions be met for DMS servers:

10.2    Requirements for DMS Clients

Setting up a dataless environment requires that the following conditions be met for DMS clients:

10.3    Allocating Disk Partitions on the DMS Server

The DMS server must have at least one separate disk partition to contain the DMS environment and client areas because the root would not be large enough for many client areas and var likely would fill up after one environment was added. Deciding how to allocate disk partitions is critical to the performance of dataless management. Consider the following factors when allocating disk partitions for the DMS environment (/var/adm/dms/dmsN .alpha) and client (/clients) area:

Refer to the System Administration guide for more information about disk partitioning.

10.4    Setting Up a Local Area Network (LAN)

You must connect the DMS server and all of the client processors to an Ethernet or FDDI LAN. For instructions on setting up a LAN, refer to the Network Administration guide.

10.5    Setting Up a Network File System

The Network File System (NFS) must be set up before you install DMS. For instructions on setting up NFS, refer to the Network Administration guide. After you install NFS, ensure the portmap, mountd, nfsd, and nfsiod daemons are running by entering the following command:

# ps ax | grep -E "portmap|mountd|nfsd|nfsiod"

If these daemons are not all running, start the inoperative ones. Refer to the appropriate reference pages for information about starting these daemons. Enter the following command to display reference pages (this example shows how to display the reference page for the portmap daemon):


# man portmap

10.6    Planning Disk Space for DMS

You must calculate the amount of disk space required to ensure that you have enough space in the DMS areas in which the dmu utility will be created. DMS clients' system disk space is located on the server in a DMS area. See Section 9.3.2 for a description of the DMS area's contents. A server can have multiple DMS areas in which some of the files (for example the contents of the /usr area) are duplicated. This necessary duplication imposes additional space requirements on the server.

Throughout this guide, the server's environment file systems are designated as /var/adm/dms/dmsN .alpha and /clients/hostname where hostname is the name of the client. The root areas are designated dmsN .alpha where the letter N represents the number assigned to the specific file system or common root area when it is installed. The client's private portion of the common root area is designated /clients/hostname.

Disk space is required on the server for each DMS server area file system. The following sections provide guidelines for estimating the disk space required by the DMS area.

Appendix B contains worksheets to help you calculate your space requirements.

10.6.1    Disk Space Required for DMS Environments

Each dmsN .alpha environment must have the following software subsets installed:

Each dmsN .alpha environment also can contain additional software for the clients registered to access that environment. Section 11.2 describes how to install software in DMS environments.

In addition to space needed for the mandatory subsets and the subsets required by DMS reserve the following space:

Appendix B contains worksheets for calculating the amount of space you need for a single DMS environment. Refer to the first worksheet as you read the following example calculation.

Caution

Subset sizes in this example are for illustration only. The actual sizes for standard operating system subsets are listed in the Installation Guide.

To determine the names of the subsets you want to install, refer to the descriptions also listed in the Installation Guide.

Subset size information for layered products is included in the products' installation documentation.

Assume that you want to install all of the mandatory and optional subsets plus one layered product. You need at least one DMS environment, /var/adm/dms/dmsN .alpha. You refer to the appropriate documentation and find that you want the following subsets:

Table 10-1:  Estimated Version 4.0F Subset Sizes for DMS

Subsets Size in Mb
Mandatory subsets 250
All optional subsets 400
One layered product subset 50___
SUBTOTAL 700
10 percent additional space for overhead 70___
TOTAL 770

The subset sizes add up to 700 Mb. Allowing another 10 percent of this space (70 Mb) for file system administration and information, you arrive at a total size of 770 Mb for the /var/adm/dms/dmsN .alpha environment. Reserve additional space for any other software products you plan to install later. These products' space requirements must be factored into the 10 percent overhead allocation.

10.6.2    Estimating Disk Space for Clients

You must reserve disk space in the /clients file system on the server for clients' root areas. The amount of disk space required depends upon the type of kernel build you choose for the client.

Refer to the second DMS worksheet in Appendix B to calculate the amount of space needed for a /clients area.

10.6.3    Types of Kernel Builds

When you are adding clients to a DMS environment, you have the option to choose: no build, full build, or partial build kernel support. When determining the amount of space required by a client, you must keep in mind the type of build support you choose for the client.

Clients' volatile files, such as those in the /tmp, /var/spool, /var/sys, and /var/adm directories are located in the individual client's root area. The client's root area requires a minimum of 40 Mb of disk space. Use the following guidelines for estimating disk space requirements, in addition to the 30 Mb minimum required by the client:

The space required by individual clients will not be the same, but you can add all the needed spaces together to arrive at the total requirement for the /clients area. You must also remember to reserve additional space for clients that add files to their root areas.

10.7    Installing the Operating System on the DMS Server

The Installation Guide describes how to install the operating system on the server. It is recommended that you perform a custom installation when installing software on the server because during a custom installation you have the opportunity to choose the disks and partitions on which to install the software. The Installation Guide contains lists of all the standard operating system software sets, both supported and unsupported, with subset names, sizes, and descriptions of subset contents. You need this information to install the operating system itself as well as to install DMS.

The following optional software subsets must be installed on the server to successfully use the DMS utilities to set up a DMS environment:

To install these software subsets, you can follow either one of these steps:

For information about using the setld utility to load software subsets, refer to the Installation Guide or setld.

10.8    DMS Client Registration

Before you can use DMS to serve a client, you must register the client with a network naming service and with the DMS server. You must perform the following tasks to prepare to register clients:

  1. Obtain information about each client.

  2. Fill out a copy of the DMS Client Setup Worksheet in Appendix B for each client.

  3. Register each client's host name and IP (Internet Protocol) address with the appropriate naming service, using the NIS or BIND Configuration Application or by placing an entry for the client in the server's /etc/hosts file.

10.8.1    Obtaining Information About Each DMS Client

You need to know the following information about each processor you plan to add as a client to a /var/adm/dms/dmsN .alpha environment and to register the client with the appropriate naming service:

10.8.2    Registering Clients' Host Names and IP Addresses with DMS Servers

If the host system is served by any of the following naming services, check with your site administrator to be sure that your clients are registered with the appropriate naming service servers:

By using the Network Configuration Application, you can place each client processor's host name and IP (Internet Protocol) address in the /etc/hosts file when you initially set up your LAN. The Network Configuration Applicationutility is described in the Network Administration guide.

You also can place the host name and IP address in the /etc/hosts file by using a text editor such as vi. The host name and IP address for each client processor must be unique.

See the Network Administration guide for information about setting up NIS and the BIND Configuration Application.

10.9    Security Considerations

C2 security may be installed on the server and the clients. However, Dataless Management Services uses the bootp protocol, which is not a secure protocol. Therefore, your dataless environments may not be secure.