SUS on 10.6 server for 10.8 clients?
With the move of software update to the Mac App store in Mountain Lion, will SUS on 10.6 server update 10.8 clients?
X Serve, Mac OS X (10.6.8)
With the move of software update to the Mac App store in Mountain Lion, will SUS on 10.6 server update 10.8 clients?
X Serve, Mac OS X (10.6.8)
I would say no, but you can host lion updates so maybe. Might be able to hack 10.6.8 the same way once Mt Lion ships, but not sure at this point. I would think Apple would have to have a special catalog though like they made for this kbase. Here is the kbase: http://support.apple.com/kb/HT4771
I would say not, not officaily anyhow
They may offically sanction support lion updating mountain lion.
thinking back I don't think any 10.5 server SUS support was offically sanctioned for 10.7.
usually your lucky if you get an extra generation support (oficalliy) I'd doubt if you'd get 2 generations of SUS
but who knows
if you look at mountain lion server info on apples web site
http://www.apple.com/osx/server/specs/
SUS is still there, along with most of the existing lion services
looks like podcast producer is gone, FTP is back other than ichat replaced with messages and addressbook replaced with contact server I can't see any other missing services - thankfully
unlike the move from 10.6 to 10.7 server
Only 10.8 server can provide 10.8 clients with software updates. Just figured this out today and it quite awkward for our multi site 10.7 server setup
Not test yet, but if you have a test environment, you can try the following way based on http://support.apple.com/kb/HT4771, the lines marked bold are for Mountain Lion clients, good luck.
1. Update your server to Mac OS X Server v10.6.8.
2. Stop the Software Update service if it is running.
3. Quit Server Admin if it is active.
4. Update /etc/swupd/swupd.plist to begin hosting OS X Lion software updates. (See details below.)
5. Update /etc/swupd/swupd.conf to allow OS X Lion computers to receive updates. (See details below.)
6. Open Server Admin and start the Software Update service.
7. Use the instructions in Mac OS X Server v10.6: Using the Software Update service with multiple Mac OS X client versions to point your OS X Lion clients to this server.
In step 4, you will need root access to update the file /etc/swupd/swupd.plist. To be safe, make a backup copy of the file before editing it. Add the string in bold below to the otherCatalogs array:
otherCatalogs
index-leopard.merged-1.sucatalog
index-leopard-snowleopard.merged-1.sucatalog
index-lion-snowleopard-leopard.merged-1.sucatalog
index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Note: You can edit the file using a text or property list editor, or use the single command below to make the change.
sudo /usr/libexec/PlistBuddy -c 'add :otherCatalogs:2 string index-lion-snowleopard-leopard.merged-1.sucatalog' /etc/swupd/swupd.plist
sudo /usr/libexec/PlistBuddy -c 'add :otherCatalogs:3 string index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog' /etc/swupd/swupd.plist
In step 5, you will need root access to update the file /etc/swupd/swupd.conf. To be safe, make a backup copy of the file before editing it. Locate the following line near the end of the file:
RewriteCond %{HTTP_USER_AGENT} Darwin/11
RewriteCond %{HTTP_USER_AGENT} Darwin/12
Edit the following line to read:
RewriteRule ^/index\.sucatalog$ /index-lion-snowleopard-leopard.merged-1.sucatalog
RewriteRule ^/index\.sucatalog$ /index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Will take some time to test this as there are no updates for Mountain Lion so far?
Just set up Mac OS X Server 10.7.4 to host Mac OS X 10.8 (Mountain Lion) software updates using method as suggested by xiao zhong
So far so good...update server is running and both 10.7 and 10.8 clients can connect OK. Just need to wait for some new updates to confirm sincw all my cleints were already up to date.
Hello,
Just to confirm it seems to work, although I have no updates to download...
Both AppStore and from Terminal "softwareupdate -i-a" seem just fine.
Cheers and thank you all
Carlo
tried the same but got :
"NSURLErrorDomain error -1100"
both in App Store and Terminal.
looked over everything again and the changes in Step #5 seem to get overwritten. as in the changes exist in the .previous version of the file after i start it up again but not the actual used file being used.
the swupd.conf.previous is created the instant i start up SUS again. and the actual swupd.conf file is lacking the changes.
how are people getting this change to stick?
locked the file in the Terminal and that seemed to work good enough for keeping the changes.
so App Store and Terminal both report it working now. have to wait for a real update to show up to be sure i suppose.
A possible way before OSX 10.8.1 update: If you don't install Java runtime SE, On Mountain Lion, try open /Applications/Utilities/Java Preferences.app, it will ask for install Java stuff, not sure if it can find Java stuff from your Snow Leopard Server.
/Xiao zhong
This seems to have worked on 10.6.8 Server. Thank you!
tried the same but got :
"NSURLErrorDomain error -1102"
I locked the Files but still get an Error Message...
I'm trying this trick on 10.7.4 as I have to revert back (ML Server is a shame).
But when I restart the SUS it copy my swupd.conf to .previous and create a new one WITHOUT the lines I added. But the .plist stays intact 😟
What's wrong here ?
Before 10.8.1 release, I am not sure whether it really work, but for Lion Server 10.7.4, take care the format of step 5, it should be the following, which is different from Snow Leopard Server
RewriteCond %{HTTP_USER_AGENT} Darwin/12
RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-mountainlion-lion-snow leopard-leopard.merged-1.sucatalog
Yes I should add that I tested with adding the missing text so the line is the same than previous but with a different index location. But it was not working.
But now you wrote a reply I tested again and it works !
It's strange but maybe I should had restarted the mac before (with the edit of the plist).
So it works and I had the HP printer updates correctly took from my server !
Thanks !
SUS on 10.6 server for 10.8 clients?