Deleting ULN Channel Repositories

This procedure describes how to delete ULN channel repositories.

  1. Verify that the repositories are configured.

    # /usr/sbin/pca-admin show uln-repo

    The preceding output should show a Repository Type of Direct or Mirror.

  2. Delete the repositories.

    # /usr/sbin/pca-admin delete uln-repo
    ************************************************************
     WARNING !!! THIS IS A DESTRUCTIVE OPERATION.
    ************************************************************
    Are you sure [y/N]:y
     
    Status: Success

    Local repositories and repository configuration files are deleted.

    • The /nfs/shared_storage/yum/pca_patch directory is deleted.

    • All repositories are disabled.

    • The /nfs/shared_storage/conf/uln.conf file is deleted.

    • If a mirror server was being used, both of the following are deleted:

      /nfs/shared_storage/conf/uln.repo
      /nfs/shared_storage/conf/uln.repo.bak
    • If a direct configuration was used, the /etc/yum/pluginconf.d/rhnplugin.conf file is restored to its original condition, and the backup of the original is deleted.

    If any failure occurs, check the ovca.log file for messages.

  3. (Direct configuration only) For a Private Cloud Appliance to be fully removed from a ULN configuration, perform these additional steps:

    1. Remove the system from the ULN site. If you no longer want this appliance to be subscribed, log into ULN and delete the system. See Removing a System From ULN.

    2. Log into the appliance and remove /nfs/shared_storage/conf/systemid.

  4. Verify that the repositories are deleted.

    # /usr/sbin/pca-admin show uln-repo 

    The following message is shown: "No patch repositories setup. Run create uln-repo to create repositories."