10    Preparing DMS Servers and Clients

This chapter describes how to get DMS servers and clients ready to run in a dataless environment. Perform the following steps to prepare DMS servers and clients:

  1. Meet requirements for DMS servers. (Section 10.1)

  2. Meet requirements for DMS clients. (Section 10.2)

  3. Allocate disk partitions for DMS. (Section 10.3)

  4. Set up a local area network (LAN). (Section 10.4)

  5. Set up a Network File System (NFS). (Section 10.5)

  6. Plan and calculate DMS disk space requirements. (Section 10.6)

  7. Install the operating system software on the DMS server. (Section 10.7)

  8. Register DMS clients. (Section 10.8)

  9. Understand DMS security issues. (Section 10.9)

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. Otherwise, the root file system is not large enough for many client areas and the var file system 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:

See the System Administration manual 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, see the Network Administration: Connections manual.

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, see the Network Administration: Services manual. 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. See the appropriate reference pages for information about starting these daemons. For example, enter the following command to display the portmap(8) reference page:

# 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.

The following sections describe:

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.

Reserve the following space in addition to space needed for the mandatory subsets and the subsets required by DMS:

Appendix B contains worksheets for calculating the amount of space you need for a single DMS environment. Look at the first worksheet as you read the calculation illustrated in Table 10-1.

Note

Subset sizes in this example are for illustration only. The actual sizes for standard operating system subsets are listed in the Release Notes. Subset size information for layered products is included in the product installation documentation.

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

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.

For example, you look at the Release Notes and determine the estimated subset sizes in Table 10-1:

Table 10-1:  Estimated Subset Sizes for DMS

Subsets Size in MB
Mandatory subsets 250
All optional subsets 400
One layered product subset 50
SUBTOTAL 700
+10 percent 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.

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

10.6.3    Considering 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 also must 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 and describes the standard operating system software subsets. Subset sizes are listed in the Release Notes.

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

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

For information about using the SysMan Menu to load software subsets, see the Installation Guide or sysman(8).

10.8    Registering DMS Clients

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 (Section 10.8.1).

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

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

10.8.1    Obtaining DMS Client Information

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

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 Application is described in the Network Administration: Connections manual.

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: Services manual for information about setting up NIS and the BIND Configuration Application.

10.9    Considering Security Issues

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