Previous Topic: Installing Wrapper Packages from External RepositoriesNext Topic: Deploy Debian Packages Using Software Delivery


Configuring External Debian Repositories in CA ITCM

As a desktop support analyst, you configure the external Debian repository details in CA ITCM. This configuration lets you browse the repository from CA ITCM, create mirrors of the repository, and deploy Debian packages using software delivery. The following diagram illustrates the steps that you perform to configure external Debian repositories details in CA ITCM:

Configuring External Debian Repositories in CA ITCM

Perform the following tasks to configure external Debian repositories in CA ITCM:

  1. Define the External Debian Repository Details in CA ITCM
  2. Extract Package Metadata from the Repository
  3. Browse the Debian Repository from Web Console

Back to Top

Define the External Debian Repository Details in CA ITCM

Define the details of the external Debian repository that CA ITCM must connect to. CA ITCM uses this information to browse the repository, create mirrors, and deploy software packages.

Follow these steps:

  1. Navigate to Control Panel, Configuration, Configuration Policy.
  2. Right-click Default Configuration Policy and select Unseal.

    Note: The changed configuration policy must be applied to all the target computers. Hence, select the Default Configuration Policy.

    The policy becomes editable.

  3. Navigate to DSM, Software Delivery, Shared, External Repository, Debian and select Repositories on the right pane.
  4. Provide the following details for each repository that you want CA ITCM to connect to, in the Repositories table:
    Repository Name

    Specifies a unique repository name. You can specify any name but verify that the name is unique across the Repositories table.

    Repository Relation

    Specifies whether the repository is a master, mirror, or mirror template.

    Master

    Specifies that the repository is a master. A master repository is used while creating wrapper packages. CA ITCM cannot deploy native Debian packages directly. Create wrapper packages that include references to the native Debian packages and then deploy the wrapper packages.

    Following guidelines apply for master repositories:

    • Add at least one master repository to create and deploy Debian wrapper packages.
    • You can add multiple master repositories; however, you can create wrapper packages only from the first (alphabetically) available master.
    • You can configure different master repositories at the enterprise manager and domain manager level. A master repository can be an external Debian repository or another mirror repository that acts as a master for creating wrapper packages. For example, you have an external Debian repository co-located with the enterprise manager. You created mirrors of this repository on a Linux computer that is co-located with each of your domain managers. You can configure these mirrors as the master for the respective domain managers so that you can create wrapper packages from the mirrors co-located with your domain managers.
    Mirror

    Specifies that the repository is a mirror that is created from a master or another mirror.

    Mirror-Template

    Specifies that the mirror is only a template and not a physical repository. The mirror template is only a placeholder for multiple mirror repositories that have the same configuration. When you have numerous mirrors, you can create one mirror template per parent instead of creating a row each for all the mirrors. Mirror templates are used for software deployment and repository extraction but not for mirror synchronization. The host name of the computers hosting the mirrors is dynamically replaced at run time.

    Repository Type

    Specifies the repository type.

    Repository Method

    Specifies the transfer protocol that is used for transferring the packages from the repository to the target computers. Select HTTP, FTP depending on what you have configured. For more information about this configuration, see Setting Up FTP and HTTP Share for Software Packages and OS Images.

    Note: If the repository is a master and you want to browse the repository and create wrapper packages from it, configure the repository as an FTP share.

    Hostname

    Specifies the host name of the computer that hosts the repository. For mirror template repositories, do not specify the host name because the host name is dynamically provided at run time. Even if you specify, the host name is ignored for mirror templates.

    Root

    Specifies the root node of the repository.

  5. Repeat step 4 to add more repositories.
  6. Save and seal the policy. Verify that the policy is applied on all the target computers.

    The repositories information is updated on all target computers.

Back to Top

Extract Package Metadata from the Repository

Extracting package metadata from the repository lets you view the Debian package details on DSM Web Console.

Note: The following steps apply for extracting the package metadata from both master and mirror repositories.

Follow these steps:

  1. Navigate to Control Panel, Engines, All Engines, SystemEngine from DSM Explorer.

    The engine log is displayed.

  2. Right-click the SystemEngine and select Add New Task.

    The New Task Wizard opens.

  3. Follow the instructions and perform the following steps in the wizard:
    1. Select the task type as CA Repository Extraction, and enter a task name and description. Click Next.

      Note: Ensure that you disable the system firewall to execute the task successfully.

    2. Provide the following details:

      Note: As the repository server is on Linux, values provided in the following Distribution and Components Name fields must be case-sensitive; they must match the case in the repository server. For example, if the repository server location for ftp://172.16.0.12/ubuntu/dists/lucid/main/binary-i386/, the distribution name must be specified as lucid and not as Lucid or LUCID.

      Repository Name

      Specifies the repository name from which you want to extract the package metadata. The list displays the repositories you had defined in the Repositories configuration table.

      Note: You cannot create two engine tasks with the same repository and distribution combination.

      Host Name

      Specifies the host name of the repository. This field is enabled only for repositories of type Mirror-Template. For the master and mirror repositories, the host name is automatically taken from the Repositories configuration table.

      Distribution

      Specifies the distribution from which you want to extract the package details.

      Note: An engine task can extract data only from a single distribution. If you want to extract data from multiple distributions, create additional engine tasks.

      Components Name

      Specifies the components that you want to extract. Click Add to add more components.

    3. Specify scheduling options.
  4. Click Finish on the last page.

    The System Engine creates the task and executes it at the schedule time. You can monitor the task by clicking the SystemEngine and review the status in the Task List section on the right pane.

    Note: You can also browse the repository from Web Console while the engine task is still in progress. The Web Console displays the distributions and packages as and when they are extracted from the repository.

Back to Top

Browse the Debian Repository from Web Console

You can browse the contents of a Debian repository in Web Console to know what packages are present in the repository.

Follow these steps:

  1. Log in to DSM Web Console.
  2. Navigate to Console, Software, External Repositories, repository.

    A list of distributions in the selected repository is displayed. The Synchronization Status column shows the status of the repository extraction task. You can also click View under the Synchronization Log column to view the progress of metadata extraction and errors that are encountered, if any.

    Note: If you open the repository before the extraction task completes, it is possible that you do not see all the distributions in the list.

  3. Click a distribution.

    A list of Debian packages in the distribution is displayed.

Back to Top