SUSE Manager/SLES 10 Betatest

From MicroFocusInternationalWiki
Revision as of 13:45, 10 August 2011 by Kwk (Talk | contribs) (Created page with "= Instructions how to enable Code10 support on SUSE Manager = Following these instructions will allow you to manage SLES10 (SP3 and SP4) clients with SUSE Manager = !! Attentio...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Instructions how to enable Code10 support on SUSE Manager

Following these instructions will allow you to manage SLES10 (SP3 and SP4) clients with SUSE Manager

!! Attention - this is part of a closed beta test

!! Do NOT try this on a production system

Quick outline

The majority of steps is around adding SLES 10 repositories and channels on the server side.

Client management (registering it with the SUSE Manager Server, etc.) is supposed to be identical to SLES 11 based clients.

Prerequisites

  1. A fully updated SUSE Manager Server
    1. spacewalk-service stop
    2. zypper ref
    3. zypper up
  1. Make sure you have plenty of disk space, the SLES10 channels are huge (~10GB)

Detailed steps (Server side)

2. Add the repo with latest SUSE Manager packages

 - zypper ar http://beta.suse.com/private/SUSE-Manager-Code10/Beta1/Server beta1
 - zypper ref beta1

3. Allow vendor change to openSUSE Build Service

 - mkdir /etc/zypp/vendors.d
 - cat <<EOF > /etc/zypp/vendors.d/suse-manager

[main] vendors = suse,openSUSE,openSUSE Build Service EOF

4. Update Server to Beta1

 - zypper up
 

5. Install SLES 10 SPx client repos

 - zypper in spacewalk-client-repository-sle-10-4
 - zypper in spacewalk-client-repository-sle-10-3
 - zypper in spacewalk-client-repository-sle-10-2

5. Upgrade the DB schema

 - /etc/init.d/oracle-xe start
 - spacewalk-schema-upgrade
 

6. Restart the Server

 - spacewalk-service start
 

7. Re-generate bootstrap.sh (with Code10 support)

 - Navigate to Admin -> SUSE Manager Configuration -> Bootstrap Script
 - Click on 'Update'

8. Add SLES 10 channels

 - ssh to the server
 - Update the channel configuration
   - mgr-ncc-sync
 - Verify that sles10-sp{3,4}-pool-* and sles10-sp{3,4}-updates-* are listed
   - mgr-ncc-sync -l
 - Add the SLES 10 channel you need
   - mgr-ncc-sync -c sles10-sp4-pool-x86_64
   - mgr-ncc-sync -c sles10-sp4-updates-x86_64

9. Add SLES 10 Client Tools

 - Navigate to Channels -> Manage Software Channels -> Manage Repositories
 - click on 'create new repository'
 - create sles-10-sp4-clienttools from
   http://beta.suse.com/private/SUSE-Manager-Code10/Beta1/SLES-10-SP4-SUSE-Manager-Tools
 - create sles-10-sp3-clienttools from
   http://beta.suse.com/private/SUSE-Manager-Code10/Beta1/SLES-10-SP3-SUSE-Manager-Tools
 - Navigate to Channels -> Manage Software Channels
 - click on 'create new channel'
 - create SLES 10 SP4 Tools, assign it to the correct parent
 - add the respective repository ('Respositories') and sync it

10. Create activation keys

 - assign Pool, Updates, and Tools channel


Client

Supported is SLES 10 SP3 and SP4

Register the client

 - download bootstrap.sh
 - edit bootstrap.sh, fill in activation key
 - run bootstrap.sh