Understanding Tiered Electronic Distribution

Review the following sections for an understanding of Tiered Electronic Distribution:


Distribution Management through Tiered Electronic Distribution

Tiered Electronic Distribution provides you with a way to manage your servers through the distribution of electronic data between servers. For example, application programs, collections of data files, software patches, and server policies.

When you install Policy and Distribution Services, the installation process creates Tiered Electronic Distribution and server policy objects in the eDirectory tree, copies software to the various servers, and sets up basic configurations for the Tiered Electronic Distribution and Server Policies components according to your installation selections.

The Tiered Electronic Distribution software can be hosted on NetWare®, Windows 2000, Windows 2003 Server, Linux, and Solaris servers.

Tiered Electronic Distribution uses a tiered distribution model that enables one server to indirectly service hundreds or even thousands of other servers. Tiered Electronic Distribution makes it easy to distribute files and policy packages by building them into compressed data files and hosting them in distribution channels for dissemination to the appropriate servers.

Tiered Electronic Distribution lets you schedule the distribution processes to take advantage of off-peak hours. It also sends notification of distribution status by sending e-mail messages, logging events, displaying real-time messages, database reporting, and sending SNMP traps.

Server Management can efficiently process (send/receive/extract) Distributions that are large in size and contain a substantial number of files, such as an entire 4GB volume with greater than 50,000 file entries.


The Basic Distribution Process

The Tiered Electronic Distribution distribution process is based on the creation of Distributions (compressed file collections) that you use to move files and policies to your network servers. For more information, see Understanding the Distribution Processes.

Following is a simplified distribution process. It is governed by schedules that you set for each of the Tiered Electronic Distribution objects involved with the Distribution file.

  1. A Distributor creates a security certificate to provide distribution security.
  2. A Distribution is built on the Distributor server's file system according to the configuration you create in the Distribution object.
  3. You associate the Distribution with a Channel.
  4. You subscribe your target Subscriber servers to the Channel. This causes them to receive all of the Distributions contained in that Channel.
  5. The certificate (from 1 above) is copied to Subscriber servers for Distribution security verification.
  6. The Channel's listed Distributions are sent from the Distributor to the Subscriber servers whose security certificates are valid.
  7. The Subscriber extracts the files or policies from the compressed Distribution file and applies them according to the Distribution object's configuration.

The schedules that you need to coordinate for sending Distributions are the Distributor's Refresh schedule, the Distribution's Build schedule, and the Channel's Send schedule.

The schedules that you need to coordinate for receiving and extracting Distributions are the Channel's Send schedule and the Subscriber's Extract schedule.


Tiered Electronic Distribution's eDirectory Objects

Tiered Electronic Distribution uses eDirectory objects and the related software for performing its distribution functions. The Distinguished Name (DN) of all Tiered Electronic Distribution objects includes the server name and component function of the host server.

The eDirectory schema extensions included in Tiered Electronic Distribution define the classes of eDirectory objects that are created in your eDirectory tree, including information that is required or optional at the time the object is created. Every object associated with Tiered Electronic Distribution in an eDirectory tree has a class defined for it in the tree's schema.

You will extend the schema of your tree for the following eDirectory objects when you install ZENworks 6.5 Server Management:

Object Basic Function More Information

Distributor

Build, send Distributions

Distributors

Distribution

Contain files, policies

Distributions

Channel

List Distributions

Channels

Subscriber

Receive, extract Distributions

Subscribers

Subscriber Group

Channel subscriptions by multiple Subscribers

Subscriber Groups

External Subscriber

Enable distributing between trees

External Subscribers


Relationships of the Tiered Electronic Distribution Objects

The following illustrates the relationships of the main Tiered Electronic Distribution objects:


The Distributor, Distribution, Channel, Subscriber, and External Subscriber objects

Note the following from this illustration:


Physical Network Connections

Distributor and Subscriber servers can be physically connected to the network in any configuration, including having some servers across WAN links. The following describes the possible physical interactions between Distributor and Subscriber servers:


Distribution Flow Details

The following illustrates the physical flow of Tiered Electronic Distribution Distributions:


Distributor and Subscriber servers and their hard drives. The Distribution object is on the Distributor's hard drive. The Distribution object is also on the Subscriber's hard drive, along with the Distribution's extracted files. The Channel object indicates that it holds only a record of the Distributions.

Note the following from the illustration:

IMPORTANT:  When there are multiple versions of a File or Desktop Application Distribution, the Subscriber maintains copies of each of the versions, as is specified in the Distribution object's properties. The default is to maintain 10 versions per Distribution type.


Tiered Electronic Distribution Processes

The following processes are used to perform Tiered Electronic Distribution functions:


Distributor Agent

The Distributor Agent is installed on each server where you select the Distributor option during installation.

This agent has the following functions:

  • Reads eDirectory for all Tiered Electronic Distribution configuration information (Distribution, Channel, and Subscriber) according to the Refresh schedule
  • Builds Distributions based on the information contained in the Distribution objects that are associated with the Distributor
  • Builds Distributions according to the Build schedule
  • Sends Distributions according to the Send schedule
  • Handles all notifications and events for the Subscriber
  • Sends DS configuration information found in Subscriber objects to each Subscriber as part of each Distribution
  • Logs Tiered Electronic Distribution information to the ted.log file for reporting purposes


Policy/Package Agent

The Policy/Package Agent is installed on each server where you selected the Policy and Distribution Server option during installation.

This agent has the following Tiered Electronic Distribution functions:

  • Reads and enforces policy information that has been extracted from Policy Package Distributions

    For more information on policies, see Server Policies.

  • Installs Server Software Packages that have been extracted from Software Package Distributions

    For more information on software packages, see Server Software Packages.

  • Logs policy and software package information to the zfs-startup.log file for reporting purposes


Tiered Electronic Distribution Software Running on the Subscriber Server

Tiered Electronic Distribution software is installed on each server where you selected the Policy and Distribution Server option during installation.

This software has the following functions:

  • Subscribes a Subscriber server to Channels for receiving Distributions
  • Receives and extracts the following Distribution types to the server's file system according to the Extract schedule:
       Desktop Application 1
       File
       FTP
       HTTP
       MSI
       Policy Package
       RPM
       Software Package

    1 The Desktop Application Distribution is only available when ZENworks Desktop Management is installed.

  • Installs the following extracted Distributions:
       Desktop Application
       MSI
       RPM
  • In the parent Subscriber role, receives a Distribution and forwards it on to other Subscriber servers


Distribution Processes Summary

Function Process Explanation

Building and Sending Distributions

Distributor Agent

Discovers, builds, and sends all Distributions using the Distributor server's CPU and file system.

Extracting Distributions

Tiered Electronic Distribution software running on the Subscriber server

Extracts the Distribution's data onto the Subscriber server using the Subscriber server's CPU and file system.

Also notifies the Policy/Package Agent when there are Server Policies to be enforced, or Server Software Packages to be installed.

Installing Distributed Software

Policy/Package Agent

Installs Server Software Packages onto the Subscriber server using the Subscriber server's CPU and file system.

Enforcing Installed Policies

Policy/Package Agent

Reads and enforces the extracted policies on the Subscriber server using its CPU and file system.


The Tiered Distribution Model

The power of the tiered distribution model is that you can spread the workload for sending Distributions. This is particularly important to the Distributor servers. By sharing distribution duties with parent Subscribers, a Distributor server can have more resources available for reading eDirectory, building each of its Distributions, and logging information to the database.

Tiered distribution levels can be very deep, providing a very large number of Subscribers that any one Distributor can service---without doing so directly.

The following illustrates a distribution routing hierarchy containing a Distributor, several parent Subscribers, and many end-node Subscribers:


Distribution Route Hierarchy showing parent Subscribers and end-node Subscribers

The Distributor can service hundreds of parent Subscribers directly, or service just a few first-tier parent Subscribers and let them do the bulk of the distribution work. In the above illustration, the Distributor only sends its Distribution to two parent Subscribers, yet nine end-node Subscribers receive the Distribution.

The parent Subscribers shown in this illustration can also receive the Distribution for extraction if they were also subscribed to the Distribution's Channel. If all of the parent Subscribers in the above illustration were subscribed to receive the Distribution being sent to the end-node Subscribers, the Distributor services 14 total Subscriber servers while itself sending the Distribution only twice.

Each parent Subscriber can service hundreds of other parent Subscribers or end-node Subscribers (the intended recipients of the Distributions). The workload for passing on a Distribution by a parent Subscriber is minimal in compared to the workload for the Distributor to build the Distribution.

As you can see, the tiered distribution model allows you to minimize the distribution workload for your Distributor servers.


Tiered Electronic Distribution's Key Components

In summary, the key components of Tiered Electronic Distribution include: