Novell Home

Set Up A Local YaST Online Update Server

Novell Cool Solutions: Feature
By Aaron Gresko

Digg This - Slashdot This

Posted: 21 Dec 2004
 

YaST Online Update (YOU) makes it easy to keep the systems in a network running with the latest patches. If your network has multiple machines that need to be updated, you may want to run a local YOU server that caches the updates.

Setting up a local YOU server is a simple process and can be done quickly. You'll need to:

  • Set up the local YOU server
  • Set up clients to pull updates from the local YOU server

Set Up The Local YOU Server

Setting up the local YOU Server requires the following steps:

  1. Analyze update needs
  2. Choose an update source
  3. Configure the YOU Server

Analyze Update Needs

Make sure your local YOU server meets your update needs. Pay attention to following:

  • Licensing: Make a list of the distributions the YOU server will service. Be sure to understand your organizations licensing agreements. Generally, enterprise and standard distributions are licensed per server and you shouldn't plan on servicing more systems than licensed. With professional and personal distributions, the YOU server can update an unlimited number of systems.

  • Connectivity: Ensure the YOU server can access the internet reliably and quickly. Also make sure that the client systems will be able to access the YOU server. The YOU server can be configured to synchronize updates automatically at a preset time every day. If you plan on using automatic update, choose a time when bandwith is greatest. Make sure not to interfer with any other large jobs performed in the data center.

  • Relibality: Make sure that the server running the YOU server will be robust enough to reliably service all of the systems in the organization. If needed, you can configure a master server that pulls updates from the internet source and multiple secondary YOU servers on additional machines that pull updates from the master.

Choose An Update Source

If the local YOU server is going to mirror enterprise or standard distribution updates, you'll pull updates from either sdb.suse.de or sdb2.suse.de. Accessing the updates on the sdb sites requires a valid SUSE Portal login.

For the professional updates, Novell maintains a list of mirrors and what they mirror. You can access the list by going to http://www.suse.com/en/private/download/ftp/int_mirrors.html. You should not pull updates from ftp.suse.com. Access to the professional updates is free and does not require a login.

Configure The YOU Server

To configure the YOU server, complete the following:

  1. Start YaST
  2. Select Software > YOU Server Configuration
  3. Two products are included by default---SUSE SLES 9 and SUSE CORE 9. If the YOU server will update SLES 9 systems, then edit the entries and add your SUSE Portal authentication information for the products. Remove the default entries if you don't need them.
  4. To add a product, click Add and enter information for the product. For example, a SUSE 9.2 Professional product would have the following entries (note the url will depend on the mirror you've selected):
    • Product Name: SUSE Linux
    • Version: 9.2
    • Architecture: i386
    • Syncronization URL: ftp://ftp.uni-kl.de/pub/linux/suse
    • Authentication: Anonymous
  5. Syncronize the products by selecting Synchronize Now. The files for the products will be downloaded to /var/lib/YaST2/you. Be patient, it takes some time to download the files.
  6. Set up automatic synchronization by selecting Setup automatic synchronization, selecting Enable Automatic Update, and setting the synchronization time.
  7. Start the YOU server by selecting Start Server

If the SLES 9 server doesn't have an HTTP server running, YaST will prompt to install one. Follow the prompts to complete the installation.

With the server status as running and the updates synchronized, the YOU server is ready to update systems on the network.

Set Up Clients To Pull Updates From The Local YOU Server

To configure a client system to pull updates from the local YOU server, do the following

  1. Start YaST
  2. Select Software > Online Update
  3. Change Installation Source to User-Defined Location
  4. In the Location field, enter http://name_of_YOU_Server/YOU

    Note: The YOU directory is case sensitive. The IP address of the YOU server can be used if name resolution or SLP discovery is not set up.

  5. Select Next
  6. Select patches to be installed and finish the update as normal


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell