Solaris 10 Installation Guide for IBM BladeCenter Servers

Testing a Profile

After you create a profile, use the pfinstallcommand to test the profile. Test the profile before installing or upgrading a system. Testing a profile is especially useful when you are creating upgrade profiles that reallocate disk space.

Review the installation output that is generated by pfinstall to determine if the profile works as you intended. For example, use the profile to determine if a system has enough disk space for installing a new release of the Solaris software before you perform the installation on that system.

The pfinstall command enables you to test a profile against the following:

ProcedureHow To Test a Profile

  1. Locate a system on which to test the profile.

  2. Test an initial installation profile on a system that is running at least the Solaris 10 1/06 software.

  3. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  4. Create a temporary mount point.

    # mkdir /tmp/mnt
  5. Mount the directory that contains the profile or profiles that you want to test. Type the instructions that apply.

    • To mount a remote NFS file system for systems on the network, type:

      # mount -F nfs server-name:path /tmp/mnt
    • To mount a PCFS-formatted diskette, type:

      mount -F pcfs /dev/diskette /tmp/mnt
  6. To test the profile with a specific system memory size, set SYS_MEMSIZE to the specific memory size in MB.

    # SYS_MEMSIZE=memory-size
    # export SYS_MEMSIZE
  7. Depending on whether you mounted a directory in Step 4, do one of the following:

    • If you mounted a directory in Step 4, change to that directory.

      # cd /tmp/mnt
    • If you did not mount a directory in Step 4, change to the directory where the profile is located, which is usually the JumpStart directory.

      # cd jumpstart-dir-path
  8. Test the profile.

    # /usr/sbin/install.d/pfinstall -D:-d disk-config-file -c path profile

    Caution – Caution –

    You must include the -d option or the -D option when using the pfinstall command. If you do not include one of these options, the command uses the profile you that specify for installing the Solaris software. As a result, all of the system data is overwritten.


    pfinstall uses the current system's disk configuration to test the profile.

    -d disk-config-file

    pfinstall uses the disk configuration file, disk-config-file, to test the profile. If disk-config-file is not located in the directory where pfinstall is run, you must specify the path.

    Note –

    You cannot use the -d disk-config-file option with an upgrade profile, install_type upgrade. You must always test an upgrade profile against a system's disk configuration, that is, you must use the -D option.

    -c path

    The path to the Solaris software image. You use this option, for example, if the system is using Solaris Volume Manager to mount the Solaris Software - 1 CD for your platform.

    The -c option is not required if you booted from at least the Solaris 10 1/06 DVD or the Solaris 10 1/06 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.

Profile Test Examples

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 Solaris software is installed. The basic_prof profile is located in the /jumpstart directory, and the path to the Solaris 10 1/06 Software for x86 Platforms - 1 CD image is specified because Solaris Volume Manager is being used.

Example 1–9 Using a Solaris 10 1/06 System to Test a Profile

# cd /jumpstart
# /usr/sbin/install.d/pfinstall -D -c /cdrom/path-name basic_prof

The following example shows how to use pfinstall to test the profile that is named basic_prof on a Solaris 10 1/06 system. The test is performed against the 535_test disk configuration file. The test checks for 64 MB of system memory. This example uses a Solaris 10 1/06 Software for x86 Platforms - 1 CD image that is located in the /export/install directory.

Example 1–10 Profile Test Using a Disk Configuration File

# export SYS_MEMSIZE
# /usr/sbin/install.d/pfinstall -d 535_test -c /export/install basic_prof