Create an unattended setup profile
An unattended setup allows you to deploy operating systems on target machines such that when the operating system is being deployed/installed the installation process will not ask any questions. Thus, it does not need to be manually watched, attended, and can complete without user input. This section shows you how to create an unattended setup profile that you'll deploy later.
Before proceeding, it's crucial to make sure that the hardware onto which you're going to be deploying RedHat Enterprise Linux 4 (RHEL4) is actually compatible with RHEL4. This might seem like a simple task, but it's not. The hardware not only has to work with RHEL4, it has to be configurable by RHEL4.
Pay particular attention to your motherboard and video card, and make sure you check the appropriate Hardware Compatibility List. It's not unusual for a salesman to be less familiar with the requirements of Linux in general, and RHEL4 in particular.
With your hardware in place, it's time to create a new profile.
You're going to create a new profile, and then designate it as an unattended setup profile.
- Open the Web interface, and then select (in the menu on the left side) OS
Deployment > Profiles. Your screen should look like Figure 14.
Figure 14. The System profiles page
- Here you can see existing profiles, if any, and options to create new
profiles and/or CDs, or import/export from/to RAD. Because you're creating a
new unattended setup profile, click New profile. You should see the
screen shown in Figure 15.
Figure 15. Select type of profile
- Select Unattended setup, which is basically a scripted installation
that won't require any user input. Click Next, which brings you to the
Figure 16. Select operating system type
Because Red Hat Enterprise Linux 4 is a Linux OS, select Linux system profile shown in Figure 15. Next, configure more about the Linux system profile you're creating.
After selecting Linux system profile, you can configure the sizes of the swap, root and boot partitions, as shown in Figure 17.
Figure 17. Allocating hard disk space for partitions
This is where familiarity with installing Linux systems comes in handy. If you're not sure what to do, get assistance from your friendly neighborhood Linux administrator. This tutorial uses 1024MB for swap space, 100% disk space for root using the ExtFS file system, and 256MB for the /boot partition. Clicking next brings you to the next screen, as shown in Figure 18.
Figure 18. Where can the Linux CDs be found?
By choosing 100% as the root partition size, rather than a specific number of MB, you ensure that the deployment can be successful even if the disk drive is smaller than you anticipated.
The simplest way to provide access to the RHEL4 CDs is to use the CD-ROM drive on the Tivoli Provisioning Manager for OS Deployment server.
- Select On your local computer and click Next. You should see
the screen shown in Figure 19.
Figure 19. What drive can the Linux CDs be found in?
- Enter which drive the Linux CDs can be found in, in this case E:\. In the next section you'll configure the installation with respect to RHEL4.
- After choosing the drive for the Linux CDs, place disk one into your CD
drive, and click Next. The system searches the CDs to detect which
operating system is contained therein, as shown in Figure 20.
Figure 20. Searching the CD
- When Tivoli Provisioning Manager for OS Deployment finds an OS it can
deploy, it alerts you, as shown in Figure 21.
Figure 21. Operating system found
- With the correct operating system found, you can now begin configuring it.
The purpose of generating an unattended profile is essentially to answer, up
front, any questions the installer would normally ask you in the course of
installing the operating system you're going to deploy.
For example, the first screen, shown in Figure 22, asks you to choose the RHEL4 windowing system.
Figure 22. Choosing a Windowing system
Every Linux environment needs a windowing system, and every Linux user has their favorite. For this tutorial KDE has been chosen as the desktop environment.
- Click Next to continue, as shown in Figure 23.
Figure 23. Choosing software packages to install
One advantage to using Tivoli Provisioning Manager for OS Deployment is that you don't have to install absolutely everything -- but you can, if you like. Figure 23 shows available software packages you can add to the installation process.
- If you want everything installed, check all the boxes. This tutorial shows a minimal installation.
- Click Next to continue, as shown in Figure 24.
Figure 24. Choosing a time zone
- Select your time zone and the appropriate language, and click Next.
- The next screen asks if you want to specify a custom configuration file, which enables you to set specific parameters for the installation. This tutorial doesn't use a custom configuration file, but if you wanted to this is where you would specify its location.
- Click Next to continue, as shown in Figure 25.
Figure 25. Profile description and comment
In a real system, this profile would likely be one of many, so it's a good idea to make sure that your title is descriptive, or at least that the comment has enough information for you to know what machines and circumstances warrant using this particular profile.
- In this case, however, you won't need as much detail, you'll only be
generating a single profile. Enter
Linux RHEL4 Setupfor the description and
Red Hat Enterprise Linux 4for the comment.
Now you're ready to generate the profile.
- After entering an appropriate description and comment for the profile, click Next.
- The next several screens begin the disk image creation process by gathering
all of the required packages from the installation CD(s). Eventually you'll
see a screen asking for the location of the other packages needed to complete
the profile, as shown in Figure 26.
Figure 26. Insert another disk
- If the contents of the other CDs are in other disk drives, or mounted elsewhere on your hard drive, you can simply select the other location. It's more likely, though, that you'll have all five RHEL4 CDs. Insert them in succession until the profile is completely created. Depending on the software packages chosen earlier, you might now need all five CDs.
- When the profile is complete you'll see the screen shown in Figure 27.
Figure 27. Unattended setup profile complete!
- When the system has finished generating the profile, go back to the Profiles
page. You should see your new profile in the list, as shown in Figure 28.
Figure 28. Seeing your new profile
Now you have a profile ready to deploy. You'll see that next.