My Favorites

Close

Please to see your favorites.


Configuring SMT11 servers to use self-hosted repositories

This document (7004388) is provided subject to the disclaimer at the end of this document.

Environment

Novell Subscription Management Tool 11
SUSE Linux Enterprise Server 11

Situation

When installing and configuring Subscription Management Tool 11 (SMT11) on a SUSE Linux Enterprise Server 11, the Novell Customer Center wizard registers the server with the update service at https://nu.novell.com and subscribes to the appropriate update repositories there. For the time being the repositories that get enabled are SLES11-Updates and SLE11-SMT-Updates.
If these repositories are to be mirrored to the server, that fact that the SMT server will download patches from nu.novell.com is inefficient.

Resolution

Change this behavior by registering the server against itself as described below :
  1. Make sure the SLES11-Updates and SLE11-SMT-Updates repositories are enabled and mirrored for the architecture of the server.
  2. Delete the nu_novell_com service if it is present. The simplest way to do that is to just try and delete it like this :
    # zypper sd nu_novell_com
    In case the server has not registered the nu.novell.com service, the output of the command will be :
    Service 'nu_novell_com' not found by alias, number or URI.
    If it had been present, the command would return output like this :
    Removing service 'nu_novell_com':
    Removing repository 'SLE11-SMT-Updates' [done]
    Removing repository 'SLES11-Updates' [done]
    Service 'nu_novell_com' has been removed.
  3. Register the server against itself with the clientSetup4SMT.sh script :
    # /srv/www/htdocs/repo/tools/clientSetup4SMT.sh --host <fqdn-of-server>
    Accept the certificate (Ignore "WARNING: Skipping duplicate certificate YaST-CA.pem") and start the registration.
  4. Refresh the services :
    # zypper ref -s
  5. Verify that the SLES11-Updates and SLE11-SMT-Updates repositories are enabled and point to this server with
    # zypper lr -u
    The aliases of the repos would be :
    SMT-http_<fqdn-of-server>:SLE11-SMT-Updates and
    SMT-http_<fqdn-of-server>:SLES11-Updates

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7004388
  • Creation Date:06-SEP-09
  • Modified Date:27-APR-12
    • SUSESubscription Management Tool
      SUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback