Sun Update Connection - Enterprise 1.0 User's Guide

Distributing Local Files

ProcedureTo Install Configuration Files on Multiple Remote Hosts

In this procedure you will install local Configuration files on managed hosts with an inventory job. The version you want must already be on the Components list, under Local/Configuration files. If the file has a macro sign in its contents, make sure the appropriate macro is also uploaded to the knowledge base. You do not need to add the macros to the inventory job; macros are called and executed automatically by Sun Update Connection – Enterprise.

  1. Make sure the Inventory panel is open in the main window by choosing Inventory from the View menu.

  2. From the drop-down list on the tool bar, select a distribution-architecture.

    The Components list changes to display components of the selected distribution.

  3. In the Hosts list, select hosts on which the files will be installed.

  4. In the Components list, under Local/Configuration files select the file version that you want.

  5. Do one of the following:

    • From the tool bar, click the Required button.

    • Right-click the selected file and choose Required.

    • From the Components menu, choose Required.

      The action setting appears in the Actions list.

  6. To install the files on hosts of different distributions:

    • To select specific files from different distributions, change the selection of the drop-down list of distributions in the tool bar. Find the relevant files and set them to Required.

    • To let Sun Update Connection – Enterprise automatically add to the Actions list the same files that you uploaded to multiple distributions, click the Multi Distribution button. See To Align Component Settings for Multiple Distributions.

  7. Do one of the following:

    • From the tool bar, click the Run Job button.

    • Right-click in the Actions list and choose Run on Selected Hosts.

    • From the Actions menu, choose Run on Selected Hosts.

    The Run Job window opens.

  8. Type a name and description for the job.

  9. Select Deploy mode.

  10. Click OK.

    The job begins.

    The files that were uploaded to the knowledge base are installed on the remote hosts in the path names provided by the File Declaration of each Configuration file version.

    If a Configuration file has a macro sign, the macro is called after file installation. The macro executes, and its output replaces the macro sign in the Configuration file.


Example 8–7 Distributing Local Files

Your File Declaration is /etc/printcap and the local File is printcap_01. Use this job to install printcap_01 on ten hosts. On the hosts, it installs a file named /etc/printcap that has the contents of printcap_01. The contents of each existing printcap file are overwritten with the contents of printcap_01.