Connecting a SUSE Linux Enterprise Server for VMware virtual machine to an internal SMT server for activation code registration and updates
search cancel

Connecting a SUSE Linux Enterprise Server for VMware virtual machine to an internal SMT server for activation code registration and updates

book

Article ID: 340431

calendar_today

Updated On:

Products

VMware

Issue/Introduction

This article provides information about registering, activating, and adding Subscription Management Tool (SMT) repositories and updating a SUSE Linux Enterprise for VMware virtual machine to an internal SMT server.


Symptoms:



Environment

SUSE Linux Enterprise Server (SLES) for VMware 1.x

Resolution

After installing and configuring the SMT server as per the Subscription Management Tool (SMT) for SUSE Linux Enterprise 11 Guide, the SUSE Linux Enterprise Server virtual machines need to be configured to:
  • Register to the SMT server
  • Add the mirrored software repositories of the SMT server to the new SLES virtual machine

To register and activate the SUSE Linux Enterprise Server for VMware virtual machine to an internal SMT server:

Note: Replace smtserver.domain.com with the URL of your SMT server, XXXXXXXXXXXXXX with your SUSE Linux Enterprise Server for VMware activation code, and [email protected] with the email address you are using to register the activation code.
  1. Copy clientSetup4SMT.sh from the SMT server with the command:

    scp
    [email protected]:/usr/share/doc/packages/smt/clientSetup4SMT.sh /var/tmp
  2. Register with the SMT server using the command:

    /var/tmp/clientSetup4SMT.sh
    https://smtserver.domain.com/center/regsvc

  3. When asked Do you accept this certificate?, press y.
  4. When asked Start the registration now?, press y.
  5. Register the activation code of the new SUSE Linux Enterprise Server for VMware with the command:

    suse_register -d 3 -a
    [email protected] -a regcode-sles=XXXXXXXXXXXXXX -L /tmp/register.txt
To add the software repositories of the SMT server to the new SLES virtual machine:
Note: In this example, 64-bit repositories are being added. If you are adding 32-bit repositories, change sle-11-x86_64 to sle-11-i586.
  1. Click Computer > Yast > Software > Software Repositories.
  2. Click Add.
  3. Click Specify URL, and enter a Repository Name (for example, SMT Server SLES11-SP1-VMware-Pool).
  4. Input a URL of a repository on the SMT server (for example, https://smtserver.domain.com/repo/$RCE/SLES11-SP1-VMware-Pool/sle-11-x86_64), then click Next.
  5. When prompted for User Authentication, input the mirror credentials.
  6. Add another repository using Repository Name SMT Server SLES11-SP1-VMware-Updates and URL https://smtserver.domain.com/repo/$RCE/SLES11-SP1-VMware-Updates/sle-11-x86_64.
  7. Click OK to close the Configured Software Repositories window.
  8. Click Computer > Yast > Software > Online Update, then click Accept.
  9. Click Continue on the Automatic Changes window. The update process begins.
Within the SMT Servers SMT management Client Status tab, the SUSE Linux Enterprise Server for VMware server that was just registered and updated may show a status of unknown. To update the unknown status:
  1. On the connecting SUSE Linux Enterprise Server for VMware server connecting to the internal SMT server, click Computer > Yast > Software > Software Management.
  2. Search for smt-client.
  3. Click the smt-client package, then click Accept.
  4. Click Continue on the Changed Packages window.
  5. Open a terminal and run the command:

    smt-agent