223f92b6bea3647c9caf9b6f64d34d89.ppt
- Количество слайдов: 36
Mac OS X Imaging Training for Deployment Server 6. 9 May 27, 2009
Mac Imaging Training Agenda Requirements: Mac Imaging Creating an Automation Image the OS X Client Source Computer Configuring the Net. Boot Service Mac Deployment Agent 2
Mac Imaging Training Agenda Troubleshooting OS X Server Troubleshooting OS X Client Troubleshooting Darwin Agent Internet Resources Glossary 3
Requirements: Mac Imaging Components Hardware Apple MAC OS X Server • Microsoft Windows Server • Article 44067 “Deployment Solution 6. 9 SP 1 and SP 2 supported platforms and system requirements” • Article 29453 “Choosing the placement and types of Deployment Server” Software • Altiris Deployment Solution Article 46383 “Altiris™ Deployment Solution from Symantec 6. 9 SP 2 Release Notes” • Article 27304 “Altiris® Deployment Solution™ 6. 8 Installation Guide” • Located on http: //kb. altiris. com Mac OS X Server v. 10. 5 Leopard Article 46383 “Altiris™ Deployment Solution from Symantec 6. 9 SP 2 Release Notes” • Article 27304 “Altiris® Deployment Solution™ 6. 8 Installation Guide” Located on http: //kb. altiris. com Mac OS X v. 10. 3 Panther • Mac OS X v. 10. 4 Tiger • http: //www. apple. com/macosx/techspecs/ • • • Mac OS X Server v. 10. 4 Tiger • Apple Mac OS X Client • • http: //www. apple. com/server/macosx/specs. html Mac OS X v. 10. 5. 2 Leopard • Deployment Solution 6. 8 SP 1 supports Mac OS X v. 10. 4 PPC only • Deployment Solution 6. 8 SP 2 supports Mac OS X v. 10. 4 PPC and Intel • Deployment Solution 6. 9 supports Mac OS X v. 10. 5 PPC, Intel, and Universal 4
Creating an Automation Image
Creating an Automation Image • Perform a fresh installation of Mac OS X on the source client computer. • Log in using the Administrator account you created during installation. • Change any settings that might require user interaction. For example: – Enable automatic login (System Preferences > Accounts). – Disable the Sleep option (System Preferences > Energy Saver). – Disable software updates (System Preferences > Software Update). 6
Creating an Automation Image • Mac OS X v 10. 5. 2 from the Apple menu – Select System Preferences. In System Preferences, from the View menu, select Network. – In the list of network ports on the left, click the option for Ethernet. – Next to Configure, select Using DHCP. – Click the Apply button. You will immediately be able to use your network connection. • Mac OS X v 10. 4 from the Apple menu – Select Location and then choose Network Preferences. In the list of network ports on the left, click the option for Ethernet. – In the network preferences window, next to Show, select the Ethernet option, usually termed Built-in Ethernet. – Click the Apply button. You will immediately be able to use your network connection. 7
Creating an Automation Image • Verify Apple Remote Desktop 2. 2 is installed by browsing to /System/Library/Core. Services/Remote. Management. – If this folder is not present, download and install from apple. com/support/downloads/appleremotedesktop 22 client. html. • Install the Mac Deployment Darwin Agent. – This is explained in detail later in the presentation. • After the installation completes, open Terminal – /etc/altiris/deployment/agentinstall. conf – Change the following: • export OS_TOOLBOX=automation 8
Creating an Automation Image • Re-install the Deployment Agent. – This is explained in detail later in the presentation. • Provide Credentials to Access – From the source computer you are configuring, connect to the Deployment Share using Finder > Go > Network > Domain > e. Xpress • Replacing domain with the domain containing your Deployment Server. – Browse to the techsup/macintosh folder. – Extract and run the program contained in Add. Credentialsto. Key. Chain, providing the username, password, and hostname for each AFP share hosting images. 9
Image the OS X Client Source Computer
Image the OS X Client Source Computer • From the source computer, connect to your Net. Boot Server and mount a Net. Boot share, typically Net. Boot. SP 0. (If using a different share, replace Net. Boot. SP 0 with the share you are using in these instructions). Connect by clicking Go > Connect to Server, providing a path similar to the following: – afp: //server_ip/Net. Boot. SP 0 • Replacing server_ip with the IP address of your Mac OS X Server. • Open Terminal on the source computer and type the following command to capture and store the volume (local disk) image: – Sudo hdiutil create –srcfolder /Volumes/local_disk /Volumes/Net. Boot. SP 0/System. RO. dmg Replace local_disk with the name of the local hard disk on the source computer 11
Image the OS X Client Source Computer • Convert the existing read-only image to read-write using the following command: – hdiutil convert /Volumes/Net. Boot. SP 0/System. RO. dmg -format UDRW o /Volumes/Net. Boot. SP 0/System. dmg • When this operation completes, you can delete System. RO. dmg • Add an additional 1 GB padding to the image using the following command: – hdiutil resize -size newsize /Volumes/Net. Boot. SP 0/System. dmg • Next step to configuring the Net. Boot Service. 12
Configuring the Net. Boot Service
Configuring the Net. Boot Service • On your OS X Server hosting the Net. Boot service, doubleclick /library/Net. Boot. SP 0/System. dmg to mount the image you captured in the previous step as a volume. • Open the System Image utility (Applications > Server > System Image Utility). – In the upper pane, select New Boot. – Type “Automation” as the image name. – Provide an image ID. • Example: 1300 • Leave the default NFS option selected. 14
Configure the Net. Boot Image • On the Contents tab, select disk image, then browse to the image file volume you mounted in step 1. – Click Create. • Provide Automation as the folder name and save it to the /Library/netboot/Ne. Boot. SP 0 folder. – If that location is unavailable, save the folder to a different location and then copy it to the correct location after the operation completes. 15
Configure the Net. Boot Image • Your Net. Boot server should now have a folder at /Library/Net. Boot. SP 0/ Automation. nbi containing the following: – System. dmg – Booter – mach. macosx (10. 3 only) – mach. macosx. mkext – NBImage. Info. plist • You are now ready to start the Net. Boot service. 16
Start the Net. Boot Service
Start the Net. Boot Service • On your OS X Server hosting the Net. Boot service, open the Server Admin utility. – Expand the services on the localhost. – Start the AFP service (if not already started). – Start the DHCP service. • It is not necessary to click Enable. Running the service but not enabling any adapters prevents your Net. Boot server from responding to DHCP requests on your network, but allows your Net. Boot server to provide IP address when booting clients. • Select the Net. Boot service. • On the General tab, select the volume containing your images. 18
Start the Net. Boot Service • On the Images tab, select the Automation image and: – Enable the image. – Enable the diskless option. – Select it as default. 19
Mac Deployment Darwin Agent
Mac Deployment Darwin Agent • Installing the Mac Deployment Agent – Connect to the Deployment Share using Finder > Go > Connect to Server, Type smb: //Windows. Server. Name/e. Xpress – Browse to the Agents/ADLAgent folder. – Extract and double click the altiris-adlagent-x-darwin. zip. – Complete the prompts, providing the IP address of your Deployment Server and the IP address of your Net. Boot Server (if the client is running OS X v. 10. 5. 4 or later, follow the procedure outlined in KB 45086). – Mac OS X client will show in the Deployment Server Console as a Blue Apple Icon under “All Computers” 21
Mac Deployment Darwin Agent • Removing the Mac Deployment Agent • An uninstall script is contained in the /opt/altiris/deployment/adlagent/bin folder. • Before executing this script you must make it executable using chmod. – Start Terminal and browse to /opt/altiris/deployment/adlagent/bin. – Enter sudo chmod 777 /opt/altiris/deployment/adlagent/bin/ uninstall. app. – Enter and it will prompt for password. 22
Mac Deployment Darwin Agent • Features Mac Deployment Agent – Right Click on • Execute • File Copy • Advance • History • Power Control – Restart – Shut Down 23
Deployment Server Image Job
Deployment Server Image job • Within the Deployment Server Console. – Create Distribute Disk Image Job • Task “Distribute Disk Image” • Type “afp: //admin: ******@ipaddress/Net. Boot. SP 0/ Image. dmg” • Type “afp: //Net. Boot. SP 0/ Image. dmg” • Leave “Default Automation” • Drag the job to the Mac OS X client. • The Client will reboot into Automation as a Spinning Globe 25
Troubleshooting Tips
Troubleshooting OS X Server • Within the OS X Server > Server Admin, you can only choose PPC default boot and one Intel Boot option at the same time for 10. 4. • With OS X Server 10. 5. 2 you can create a Universal Boot Image. • You need to have at least three times as much free space as your largest automation image on the OS X Server hard drive in order to save your Net. Boot images on the OS X Server. • To view Net. Boot logs, open Server Admin, click on Net. Boot service, and log (bottom of interface). The log location within OS X Server is /var/log/system. log. • Troubleshooting Net. Boot > Mac OS X Server: Net. Boot clients cannot start up from server (Net. Boot troubleshooting). – http: //www. bombich. com/mactips/bootpd. html 27
Troubleshooting OS X Client • Verify the Mac OS X client can connect to OS X Server – Go > Connect to Server or press Apple + K. – afp: //OSXServer. IPaddress/ • Verify the Mac OS X client can connect to the Deployment Server Share – Go > Connect to Server or press Apple + K. – In the address field of the Connect to Server dialog, type the URL using this syntax smb: //Server. Name/Share. Name/ – Mac OS X uses SMB only over the TCP/IP protocol, not over the Net. BEUI protocol. 28
Troubleshooting Darwin Agent • To stop the Darwin Agent services, start Terminal and type “sudo killall bootpd”. • The ADLDarwin agent log files are located on Client. – /opt/altiris/deployment/adlagent/log. • adlagentdbg. txt and adlagent. Ip. Trace. txt. • If the client is not showing in the Deployment Server console or grayed out in the Deployment Server Console: – Browse to /opt/altiris/deployment/adlagent. conf in Terminal Sudo vi adlagent. conf to edit the IP address of the DS Server. – Press the Esc key. If you are in command mode when you press Esc, the terminal will beep. Press CMD + I to insert new data. – To save changes, Select ESC then type ": wq". 29
Troubleshooting Darwin Agent • Create a ‘Copy File To’ Job Enter the name of the source file or directory to copy to the remote computers – Copy file • . AgentsADLagentadlagent. conf • Destination Path – /Volume Name/Test 30
Internet Resources
Internet Resources • http: //www. apple. com/server/macosx/resources/ • http: //www. apple. com/server/documentation/ • http: //www. apple. com/macosx/features/applescript/ • http: //www. bombich. com/mactips/bootpd. html • https: //kb. altiris. com • Article 40693 ADLAgent (Linux and Mac) is grayed out in the Deployment Server console. 32
Glossary
Glossary • Apple. Script – Apple. Script is an object-oriented scripting language with a syntax resembling ordinary English. • Apple Remote Desktop – Manage the Mac computers on your network. • Disk Utility – Mac OS X v 10. 5 Leopard added the ability to create, resize, and delete disk partitions without erasing them, a feature known as live partitioning. – Disk Utility functions may also be accessed from the Mac OS X command line with the diskutil and hdiutil commands. • Keychain Access – A Mac OS X application that allows the user to access credentials. 34
Glossary • Mac Deployment Darwin Agent – Agent to communicate with the Deployment Solution Server. • Mac OS X – The operating system currently used by Macintosh Client computers. • Mac OS X Server – The server-class version of Apple's desktop operating system. • Net. Boot Service – Net. Boot Service boots clients in automation and distributes networkbased image for Macs throughout a network. • Terminal – An application for using the command-line interface. – Terminal is located in the /Applications/Utilities folder. 35
Thank You! Copyright © 2007 Symantec Corporation. All rights reserved. Symantec and the Symantec Logo are trademarks or registered trademarks of Symantec Corporation or its affiliates in the U. S. and other countries. Other names may be trademarks of their respective owners. This document is provided for informational purposes only and is not intended as advertising. All warranties relating to the information in this document, either express or implied, are disclaimed to the maximum extent allowed by law. The information in this document is subject to change without notice.