|
|||
|
1. What's New For Automated Installations 2. Introduction to the Automated Installer 3. Automated Installer Task Map 4. Automated Installations Using Media 5. Automated Installer Setup Instructions 6. How to Administer an Automated Install Server 7. How to Administer a Custom Install Client 8. How to Administer the Manifest Files for an Install Service 9. How to Manage Client Installations |
Frequently Asked Questions1. How Do I Switch to a Static IP System if I Do Not Have Access to the System's Desktop?The following steps can be used to configure a wired network interface to have a static IP address.
2. Does My SPARC Client Support WAN Boot?The automated installer requires WAN boot support for SPARC clients. You can check whether your client open boot prompt supports WAN boot by checking if network-boot-arguments is a valid variable that can be set in the eeprom. If the variable network-boot-arguments is displayed, or if it returns the output network-boot-arguments: data not available, the open boot prompt supports WAN boot installations. # eeprom | grep network-boot-arguments network-boot-arguments: data not available If the command results in no output, then WAN Boot is not supported. 3. Where Do I Find the AI ISO Image That I Need?Download an AI ISO image for x86 clients or for SPARC clients from http://www.opensolaris.com/get/. The automated installer will use this AI ISO image to install the OpenSolaris OS to your client systems. Store the AI ISO image on your local file system. For example, store the image at /export/aiimages/osol-0906-ai-x86.iso. 4. How Do I Modify the Manifest File to Point to the Repository of My Choice?You can modify the following default repository information in the manifest file: <ai_pkg_repo_default_publisher>
<main url="http://pkg.opensolaris.org" publisher="opensolaris.org"/>
</ai_pkg_repo_default_publisher>If your IPS repository is pkg.mycompany.com and the publisher name is mycompany.com, change pkg.opensolaris.org to pkg.mycompany.com and opensolaris.org to mycompany.com. <ai_pkg_repo_default_publisher>
<main url="http://pkg.mycompany.com" publisher="mycompany.com"/>
</ai_pkg_repo_default_publisher>
5. How Do I Install a Particular OpenSolaris Development Build?Development builds of the OpenSolaris operating system are available in-between releases. See http://www.opensolaris.org/os/downloads/. The build number or release of the AI ISO image that you specify in the installadm create-service command with the -s option must be the same build number or release of the OpenSolaris operating system that you specify in the AI manifest. Check the build number or release for the AI ISO image when you download the image. In the AI manifest, if you want to install a specific version of the OpenSolaris OS, you can specify the version in the package entire. The IPS repositories include the full FMRI for each version of a package. Use the FMRI string to specify a specific version of the package, entire, in the AI manifest. Use the following form: <pkg_name="entire@0.5.11-0.build#/> The following example specifies that OpenSolaris build 111 be installed to the client. <ai_manifest name="ai_packages">
...
<ai_install_packages>
<pkg name="entire@0.5.11-0.111"/>
<pkg name="SUNWcsd"/>
<pkg name="SUNWcs"/>
<pkg name="babel_install"/>
<pkg name="openoffice"/>
<pkg name="SUNWTcl"/>
</ai_install_packages>
<ai_uninstall_packages>
<pkg name="babel_install"/>
<pkg name="slim_install"/>
</ai_uninstall_packages>
...
</ai_manifest>
6. How Do I Locate the Default AI Manifest Provided with an Install Service?The default AI manifest for each install service is called default.xml. This file is located in the AI image associated with each install service at the location <imagepath>/auto_install/default.xml, where <imagepath> is the image path directory that was used during the creation of the install service. For example, if you are looking for the default manifest provided with the install service, 201003sparc, you can use the following command to locate this file: # installadm list -n 201003sparc
Service Name Status Arch Port Image Path
------------ ------ ---- ---- ----------
201003sparc on sparc 45603 /export/images/201003sparcIn the above example output, the default manifest provided with this service can be found at /export/images/201003sparc/auto_install/default.xml. Note - Do not modify the default AI manifest file. You can, however, copy this file and create a new default manifest for an install service. For instructions, see Replacing Default AI Manifest with a Custom Manifest. 7. How Can I Cleanup a Failed Service?If installadm create-service fails to create an install service, use the following procedures to clean up.
As a further step, see 8. How Do I Cleanup DHCP Configurations for a SPARC Install Service? 8. How Do I Cleanup DHCP Configurations for a SPARC Install Service?When you run the installadm create-service command with the -i and -c options, the DHCP server is configured . To cleanup the DHCP configurations for a failed or deleted SPARC install service, log into the DHCP Manager and manually remove the DHCP macros for the install service. And, remove any IP addresses that were configured when you created the install service. For more information, see the dhcpmgr(1M) man page. 9. How Do I Run Automated Installations in Debug Verbose Mode?You can run the installer in verbose debug mode, in order to capture more information about the installation in the install_log file. For SPARC systems, boot the system with the install_debug boot argument as follows: For network installations: ok> boot net:dhcp - install install_debug For installations using media: ok> boot cdrom - install install_debug For x86 systems, edit the GRUB menu and add the install_debug=enable as a boot property to the kernel line of the entry you wish to boot. For example, kernel$ ... -B install_media=...,install_debug=enable Alternatively for x86 systems, you can preset debug mode on the AI server by using the -b <property=value> option with the installadm create-service and installadm create-client commands. This option presets that boot property in the GRUB menu for that service or client. For example, installadm create-client -e <mac> -n <svc> -b install_debug=enable 10. How Do I Enable Remote Access to an AI Client by Using ssh?You can enable network access to an automated install client by using ssh. You can use this access to remotely observe an installation process. Enable this access by setting the option, livessh, to enable in the installation configuration file. When this access is enabled, you can log in to the AI client by using the username and password, “jack/jack”.
11. How Do I Boot the Install Environment Without Starting an Installation?Caution - The booting procedures changed for the OpenSolaris 2010.03 release. To view the booting instructions for the prior OpenSolaris releases, see FAQ #11 at http://dlc.sun.com/osol/docs/content/2009.06/AIinstall/faq.html. To boot the install environment without starting an installation, boot without specifying the install flag as a boot argument as follows.
See the following related information: 9. How Do I Run Automated Installations in Debug Verbose Mode? SPARC Error: 6. Auto-installer Disabled x86 Error: 5. Auto-installer Disabled 12. How Do I Generate Encrypted Passwords?One method of generating encrypted passwords for the OpenSolaris OS is to create a user of the intended name and password on the OpenSolaris OS, copy the password from the /etc/shadow file between the 1st and 2nd colons of the user's record, and add that information into the 'userpass' or 'rootpass' values in the SC manifest. See How to Create Custom SC Manifest Files. 13. Is the Automated Installer Backwards Compatible?If the OpenSolaris 2010.03 release is installed on your install server, you can use AI images for either the OpenSolaris 2009.06 release or for the OpenSolaris 2010.03 release. Otherwise, the OpenSolaris release installed on your server and the OpenSolaris release for the AI images that you plan to install to client systems must be the same release. 14. How is the Default Target Disk Selected?You can use the <ai_target_device> tag to specify a particular target disk on which to install the OpenSolaris OS. See Defining a Target for the Installation. If you do not specify a target disk, the automated installer chooses a default target for installing the OpenSolaris OS. The default target disk is selected as follows:
15. Once I've Booted Into the Install Environment, How Do I Start the Automated Installation?
|
||
|