Skip Navigation Links | |
Exit Print View | |
Oracle Solaris 10 1/13 Installation Guide: JumpStart Installations Oracle Solaris 10 1/13 Information Library |
1. Where to Find Oracle Solaris Installation Planning Information
3. Preparing JumpStart Installations (Tasks)
Task Map: Preparing JumpStart Installations
Creating a Profile Server for Networked Systems
How to Create a JumpStart Directory on a Server
Allowing All Systems Access to the Profile Server
Using a Wildcard Entry to Allow All Systems Access to the Profile Server
Creating a Profile Diskette for Stand-alone Systems
SPARC: How to Create a Profile Diskette
x86: How to Create a Profile Diskette With GRUB
How to Validate the rules File
4. Using Optional JumpStart Features (Tasks)
5. Creating Custom Rule and Probe Keywords (Tasks)
6. Performing a JumpStart Installation (Tasks)
7. Installing With JumpStart (Examples)
8. JumpStart Keyword Reference
After you create a profile, use the pfinstall(1M) command to test the profile. Test the profile before you use the profile to install or upgrade a system. Testing a profile is especially useful when you are creating upgrade profiles that reallocate disk space.
By looking at the installation output that is generated by pfinstall, you can quickly determine whether a profile works as you intended. For example, use the profile to determine if a system has enough disk space to upgrade to a new release of the Oracle Solaris software before you perform the upgrade on that system.
pfinstall enables you to test a profile against the following:
The system's disk configuration where pfinstall is being run.
Other disk configurations. You use a disk configuration file that represents a structure of a disk, for example, a disk's bytes/sector, flags, and slices. Creating disk configuration files is described in Creating Disk Configuration Files and x86: How to Create a Multiple-Disk Configuration File.
Note - You cannot use a disk configuration file to test a profile you intend to use to upgrade a system. Instead, you must test the profile against the system's actual disk configuration and the software that is currently installed on that system.
To test a profile for a particular Oracle Solaris release successfully and accurately, you must test a profile within the Oracle Solaris environment of the same release. For example, if you want to test an Oracle Solaris initial installation profile, run the pfinstall command on a system that is running the Oracle Solaris OS.
You need to create a temporary installation environment if you are testing a profile under one of the following conditions:
You want to test an Oracle Solaris 10 8/11 upgrade profile on a system that is running a previous version of the Oracle Solaris software.
You do not have an Oracle Solaris 10 8/11 system installed yet to test Oracle Solaris 10 8/11 initial installation profiles.
For SPARC based systems:
Oracle Solaris Operating System for SPARC Platforms DVD
Oracle Solaris Software for SPARC Platforms - 1 CD
For x86 based systems:
Oracle Solaris Operating System for x86 Platforms DVD
Oracle Solaris Software for x86 Platforms - 1 CD
Note - If you want to test an upgrade profile, boot the system that you are upgrading.
The Solaris installation program will assist you in installing software for Solaris. <Press ENTER to continue> {"!" exits}
For details about using the pfinstall command, see Step 5 in How to Test a Profile.
x86 only - If you are using the locale keyword, the pfinstall -D command fails to test the profile. For a workaround, see the error message “could not select locale,” in the section, Upgrading the Oracle Solaris OS in Oracle Solaris 10 1/13 Installation Guide: Network-Based Installations.
If you are testing an upgrade profile, you must test the profile on the actual system that you intend to upgrade.
# mkdir /tmp/mnt
mount -F nfs server-name:path /tmp/mnt
mount -F ufs /dev/diskette /tmp/mnt
mount -F pcfs /dev/diskette /tmp/mnt
# SYS_MEMSIZE=memory-size # export SYS_MEMSIZE
If you mounted a directory in Substep c, change the directory to /tmp/mnt.
# cd /tmp/mnt
If you did not mount a directory, change to the directory to where the profile is located, which is usually the JumpStart directory.
# cd jumpstart-dir-path
# /usr/sbin/install.d/pfinstall -D:-d disk-config-file -c path profile
Caution - You must include the -d or -D option. If you do not include one of these options, pfinstall uses the profile you specify to install the Oracle Solaris software. All of the data on the system is overwritten. |
pfinstall uses the current system's disk configuration to test the profile. You must use the -D option to test an upgrade profile.
pfinstall uses the disk configuration file to test the profile. If disk-config-file is not located in the directory where pfinstall is run, you must specify the path.
For instructions about how to create a disk configuration file, see Creating Disk Configuration Files.
The path to the Oracle Solaris software image. You use this option, for example, if the system is using Solaris Volume Manager to mount the Oracle Solaris Software - 1 CD for your platform.
Note - The -c option is not required if you booted from Oracle Solaris Operating System DVD or an Oracle Solaris Software - 1 CD image for your platform. The DVD or CD image is mounted on /cdrom as part of the booting process.
The name of the profile to test. If profile is not in the directory where pfinstall is being run, you must specify the path.
The following example shows how to use pfinstall to test a profile that is named basic_prof. The profile is tested against the disk configuration on a system on which the Oracle Solaris 10 8/11 software is installed. The basic_prof profile is located in the /jumpstart directory, and the path to the Oracle Solaris Operating System DVD image is specified because Solaris Volume Manager is being used.
Example 3-18 Profile Test Using an Oracle Solaris 10 8/11 System
# cd /jumpstart # /usr/sbin/install.d/pfinstall -D -c /cdrom/pathname basic_prof
The following example shows how to use pfinstall to test the profile that is named basic_prof on an Oracle Solaris 10 8/11 system. The test is performed against the 535_test disk configuration file. The test checks for 64 MB of system memory. This example uses an Oracle Solaris Software for SPARC Platforms - 1 CD or Oracle Solaris Software for x86 Platforms - 1 CD image that is located in the /export/install directory.
Example 3-19 Profile Test Using a Disk Configuration File
# SYS_MEMSIZE=64 # export SYS_MEMSIZE # /usr/sbin/install.d/pfinstall -d 535_test -c /export/install basic_prof