Skip to main content
Question

Cascade Software updates on Lion Server

  • January 30, 2012
  • 9 replies
  • 53 views

Forum|alt.badge.img+8

Hi

I'm trying to set this up and following the following instructions

http://support.apple.com/kb/HT3765

But when ever I run the update on the replic box i get a message saying that it can't find the catalog files.

Has any successfully set this up?

Thanks

9 replies

Forum|alt.badge.img+10
  • Valued Contributor
  • January 30, 2012

Hello, I am not sure my reply will answer your question, as you're referring to Lion Server.
I could successfully create a 10.6.x cascade SUS to serve Lion updates.
I started by setting up the cascade for 10.6.X updates only (the same kb you mentioned) and it worked as advertised.
Then I changed the main SUS to download and serve Lion updates (http://support.apple.com/kb/HT4771) and then changed the same swupd.plist and swupd.conf files for each replica (first stop SU service and quit Server Admin).
Cheers
Carlo


Forum|alt.badge.img+8
  • Author
  • Contributor
  • January 30, 2012

Hi Carlo

Thanks for the reply, I've updated the above successfully, so i am able to down the updates to my master ASUS, but when I follow the KB article my Apple i'm not able to server the updates to my replica box.

I think im getting closer to the issue I can't seem to web to the catalogs files internally so perhaps this is the problem e.g

http://zz.xx.com:8088/content/catalogs/others/index-leopard.merged-1.sucatalog

but I can web to

http://zz.xx:8088/catalogs.sucatalog


Forum|alt.badge.img+10
  • Valued Contributor
  • January 30, 2012

Try completely resetting the SUS on one of the replicas by stopping SUS, emptying /private/var/db/swupd/html (trash the catalogs but leave the "html" folder as is), then restart the server and SUS service.
The replica should now point back to Apple's SUS.
From here you can make it point back to your main internal SUS and start over
Cheers
Carlo


Forum|alt.badge.img+8
  • Author
  • Contributor
  • January 30, 2012

will try that, quick question on your update server
when you put the replica to http://test.example.com:8088/catalogs.sucatalog

and you get presented with the following:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict> <key>CatalogsList</key> <array> <string>http://test.example.com:8088/content/catalogs/others/index-leopard.merged-1.sucatalog</string> <string>http://test.example.com:8088/content/catalogs/others/index-leopard-snowleopard.merged-1.sucatalog</string> <string>http://test.example.com:8088/content/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog</string> </array> <key>PrimaryCatalog</key> <string>http://test.example.com:8088/content/catalogs/others/index-leopard.merged-1.sucatalog</string>
</dict>
</plist>

are you able to access each of those URL's locally?


Forum|alt.badge.img+10
  • Valued Contributor
  • January 30, 2012

Yes, I have these and can load each catalog within a webpage
It looks like you're missing the first catalog and the primary it's different from mine though

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict> <key>CatalogsList</key> <array> <string>http://myFQDN_SUS.com:8088/content/catalogs/index.sucatalog</string> <string>http://myFQDN_SUS.com:8088/content/catalogs/others/index-leopard.merged-1.sucatalog</string> <string>http://myFQDN_SUS.com:8088/content/catalogs/others/index-leopard-snowleopard.merged-1.sucatalog</string> <string>http://myFQDN_SUS.com:8088/content/catalogs/others/index-lion-snowleopard-leopard.merged-1.sucatalog</string> </array> <key>PrimaryCatalog</key> <string>http://myFQDN_SUS.com:8088/content/catalogs/index.sucatalog</string>
</dict>
</plist>


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • January 30, 2012

@Abz...

Does your master server yet have an index.sucatalog?

(http://myFQDN_SUS.com:8088/index.sucatalog should give you a result)

The catalog only gets published after the 1st download of the updates.


Forum|alt.badge.img+8
  • Author
  • Contributor
  • January 30, 2012

Hi Ben

I'll have a look tomorrow when im back in the office. that maybe the problem hopefully it fixes it!


Forum|alt.badge.img+8
  • Author
  • Contributor
  • January 31, 2012

Ben

I dont seem to have /index.sucatalog

I have also downloaded updates


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • January 31, 2012

hmm.. actually ignore the index.sucatalog for now.. i cannot remember how to check for it..

see you in the other thread!