Software Update Service/Reduce Onsite Download Time for OS X Server

Set up the Software Update Service/Reduce Onsite Download Time for OS X Server for Mavericks v10.9 or later Software Update Service

The following process will allow you to take the contents of a running Software Update Server (10.9 or greater) and pre-populate the swupd contents on a newly configured 10.9 or later install of OS X Server for Mavericks.

1. On the server, launch Server app.
2. Select the Software Update service in the sidebar.
3. Turn on the service.
4. Configure other Software Update service settings as necessary.
5. Check the service after a few minutes/hours and confirm that all available updates are downloaded.
6. Copy the downloaded software updates by copying your server’s /Library/Server/Software Update/Data/html folder to portable storage.
7. At the onsite OS X Server for Mavericks 10.9 or later, Select the Software Update service in the sidebar.
8. Turn on the Software Update service. (This is required for the service to build it’s directory tree)
9. Configure other Software Update service settings as necessary.
10. Turn off the Software Update service
11.Copy the catalog content folder (/html/content) from the external device to /Library/Server/Software Update/Data/html/ on the onsite server
12. Launch the Terminal.app and type the following

sudo cp -Rpv /path/to/copied/html/content /Library/Server/Software\ Update/Data/html/

13. Delete the contents of /Library/Server/Software Update/Data/html/content/catalogs/others/, but note that you should not delete the two Deprecations files in the catalogs folder.

sudo chown -R _softwareupdate:_softwareupdate /Library/Server/Software Update/Data/html/



14. In the Terminal.app type the following (Replace originalservername.yourcompany.com with your actual server that you made the copy)

sudo sed -i .bak 's/originalservername.yourcompany.com/newservername.yourcompany.com/g' /Library/Server/Software\ Update/Data/html/content/catalogs/others/*.sucatalog

15. Start the Software Update service.

When the service starts, the catalog and index files will be automatically recreated with the correct hostname of the new server.

Locations
New York
ConnecticutFloridaLouisianaChicago 

Tel: (866) 518-9672

Corporate Headquarters
New York

3900 Veteran's Memorial Hwy. Suite 110
Bohemia, NY 11716
Tel: (866) 518-9672
hcs-ny@hcsonline.com

Connecticut

65 High Ridge Road #510
Stamford, CT 06905
Tel: (866) 518-9672
hcs-ct@hcsonline.com

Florida

3321 SW 194th Terrace
Miramar, FL 33029
Tel: (866) 518-9672
hcs-fl@hcsonline.com

Louisiana

218 Barksdale Drive
Broussard LA 70518
hcs-la@hcsonline.com

Chicago

4 Knollwood Place
Joliet, IL 60433
hcs-il@hcsonline.com

London

10 Grosvenor Court
Rayners Road
London SW15 2AX UK

Apple Consultants Network