How to update SLES 10 devices in an isolated network with ZLM

  • 3153562
  • 10-Jul-2007
  • 27-Apr-2012

Environment

Novell ZENworks 7.2 Linux Management - ZLM7.2

Situation

How to update SLES 10 devices in an isolated network with ZLM

Resolution

SUMMARY

Make sure the agents have the ZLM 7.2 agent installed.
Mirror the updates down to a folder with a "static” type of mirror.

Burn the updates to CD or DVD.

Use ZLMAN to add the packages from the CD to a bundle in the isolated network.

Load the base SLE 10 packages into ZLM by following this TID:

3339684: How to load the base SLE 10 packages into ZLM 7

DETAILS:
1.Make sure the agents have the ZLM 7.2 agent installed.

To install the ZLM 7.2 agent on the managed devices, follow this link:

https://www.novell.com/documentation/zlm72/lm7install/data/bx5ait1.html#bvbghtn

This link talks about automating the install of the ZLM agent.

https://www.novell.com/documentation/zlm72/lm7install/data/b45k6d5.html#b45k6d5

2.Create a static mirror file:

Here is a sample mirror file called sled10_m_into_static.xml with an invalid username and password:

< Session>

< RemoteServer>

< Base>https://update.novell.com/data

< Proxy>

< Type>rce

< User>543dc919799f36bc23f430486fc8c75d

< Password>14026454a1a1667cac2d72957048bbe0

< /RemoteServer>

< LocalServer>

< Type>static

< Base>/mnt/nfs/zen216/data/temp/sled10mirror2

< User>administrator

< Password>novell

< /LocalServer>

< Catalog>

< Name>SLED10-Updates

< LocalName>

< Folder>

< Target>sled-10-i586

< /Catalog>

< /Session>

See this TID for more info on mirroring: 3860200: How to mirror SLES10 and SLED10 updates with your ZLM 7 server

3.Create a temporary folder for the files to mirror to.

For example:

mkdir /mnt/nfs/zen216/data/temp/sled10mirror2/

4.From the ZLM server, mirror down the updates:

For example:

zlmmirror m -c sled10_m_into_static.xml –debug (2 dashes before debug)

5.Burn the updates to CD or DVD.

6.On the ZLM server, create a .zlmanrc file in the home directory so the administrator and password won’t need to get entered repeatedly:

For example:

cd ~

vi .zlmanrc

"i" for insert

Add this: -U Administrator -P novell

7.On the ZLM server, insert the CD and change to the directory where the updates were burned to:

For example:

cd /media/DVD/temp/sled10mirror2/SLED10-Updates/SLED10-Updates-bundle/sled-10-i586

8.Use ZLMAN to create a bundle then add the packages to the bundle:

For example:

zlman bc SLED10-Updates-static-bundle

zlman bap --freshen --installtype=upgrade SLED10-Updates-static-freshen-update sled-10-i586 *

This will take several minutes to complete.

When it's finished, this should be displayed:

Successfully added package to Bundle

9.Assign the "SLED10-Updates-static-bundle” to the device(s) or device folder for automatic mandatory updates, or add the bundle to a catalog for optional manual updates from the agents.

10.Load the base SLE 10 packages into ZLM by following this TID:3339684: How to load the base SLE 10 packages into ZLM 7

The script from this TID loads the full FCS distribution into one bundle.

11.Add the FCS distribution bundle into a catalog and then assign the catalog to the device(s) or device folder so the device(s) can resolve dependencies when installing the updates.

The catalog can be set to hidden so users with SLED workstations don't even know it's there but can use it to resolve dependencies for updates.

Additional Information