My last couple of blogs have been about creating a manifest to be used when installing a system with the Solaris 11 Express Automated Installer. Now that we have this basic manifest constructed, let's install a system.
To review, the Automated Installer is the facility in Solaris 11 Express that supports network-based installation. The manifest used with AI determines what is installed and how the system is customized during installation.
Typically, one would set up a network install service and fetch the manifest from there. However, sometimes this is not desired or practical. An option in these cases is to use bootable AI. In this case, you boot the system to be installed from the AI ISO image. During the boot process, you are prompted for a URL that points to a valid AI manifest. This manifest is just fetched using HTTP (wget
is actually used). So, so long as you can get to the manifest, you are good to go. Once fetched, the manifest is validated and acted upon to complete the installation.
In this installment, we will go through the boot process. In particular, I will show what this looks like on an x86 host. For details on SPARC, see my previous blog
So, to start, boot your system from the Automated Install (AI) ISO. When presented with the Grub menu, the default selection is to use a custom manifest. This selection is the one we want and will prompt us for the URL of the manifest. The other options allow you to use the default manifest built into the ISO and to perform the installation across a serial connection.
After the system has booted the small Solaris image on the AI ISO, you will be prompted for the URL of the manifest.
AI fetches the manifest and begins the installation process. The installation goes on in the background rather than on the console. Like the LiveCD installation, Solaris is running at this point. If you want to monitor the progress of the installation, log in as the default admin user included in the ISO image. The default login name is jack, with the password jack. Once you have logged in, you can monitor the progress of the installation by tailing the installation log, found in /tmp/install_log
Since Solaris is up and running, it is possible to enable network logins to the system while it is still installing. To do this, su
to root and enable the ssh service (svcadm enable ssh
). Once ssh is enabled, you can ssh into the system as jack. I have sometimes found this to be a useful tool when installing a virtual machine over a slow and unreliable network, where VNC is unable to sustain its required bandwidth.
Once the installation completes, you can reboot the system. Of course, the regular first-boot SMF import will happen. And the services that we configured in the last section will be activated to configure the networks and system identity. Once all of this complete, the system is ready for use. The piece that you might have noticed is missing is any sort of finish-script customization. Stay tuned for future installments to cover this.
Using the bootable AI, it is simple to provide a manifest via a simple URL and perform a near-hands-free, customized installation of the system. It is important to note that DHCP is still used to fetch an address for the system, along with routing and DNS information. For a truly hands-free installation, a network-based install server and install service would have to be created.