Solaris 8 Advanced Installation Guide

Profile Examples

The following examples of profiles show how to use different profile keywords and profile values to control how the Solaris software is installed on a system. Profile Keywords and Values contains a description of profile keywords and values.


Example 23–2 Mounting Remote File Systems and Adding and Deleting Packages

 
# profile keywords        profile values
# -----------------       -----------------
  install_type            initial_install1
  system_type             standalone2
  partitioning            default3
  filesys                 any 512 swap   # specify size of /swap
  cluster                 SUNWCprog4
  package                 SUNWman delete5
  package                 SUNWolman delete
  package                 SUNWxwman delete
  package                 SUNWoldem add
  package                 SUNWxwdem add
  package                 SUNWoldim add
  package                 SUNWxwdim add
  1. The install_type keyword is required in every profile.

  2. The system_type keyword defines that the system is to be installed as a standalone system.

  3. The file system slices are determined by the software to be installed with the value default. The size of swap is set to 512 Mbytes and is installed on any disk, value any. The standard man pages are mounted from the file server, s_ref, on the network.

  4. The Developer System Support software group, SUNWCprog, is installed on the system.

  5. Because the man pages are being mounted remotely, the man page packages are not to be installed on the system. The packages that contain the OPEN LOOK and X Window System demonstration programs and images are selected to be installed on the system.



Example 23–3 Specifying Where to Install File Systems

# profile keywords        profile values
# ----------------        -------------------
  install_type	        initial_install
  system_type             standalone
 
  partitioning            explicit1
  filesys                 c0t0d0s0 auto /
  filesys                 c0t3d0s1 auto swap
  filesys                 any auto usr
  cluster                 SUNWCall2
  1. The file system slices are determined by the filesys keywords, value explicit. The size of root (/) is based on the selected software, value auto, and is installed on c0t0d0s0. The size of swap is set to the necessary size and is installed on c0t3d0s1. usr is based on the selected software and the installation program determines where usr is installed, based on the value any.

  2. The Entire Distribution software group, SUNWCall, is installed on the system.



Example 23–4 x86: Using the fdisk Keyword

# profile keywords      profile values
# ----------------      -------------------
  install_type          initial_install
  system_type           standalone

  fdisk                 c0t0d0 0x04 delete1
  fdisk                 c0t0d0 solaris maxfree2
  cluster               SUNWCall3
  cluster               SUNWCacc delete4
  1. All fdisk partitions of type DOSOS16 (04 hexadecimal) are deleted from the c0t0d0 disk.

  2. A Solaris fdisk partition is created on the largest contiguous free space on the c0t0d0 disk.

  3. The Entire Distribution software group, SUNWCall, is installed on the system.

  4. The system accounting utilities, SUNWCacc, are not to be installed on the system.



Example 23–5 Reallocating Disk Space for an Upgrade

# profile keywords         profile values
# ----------------         -------------------
  install_type             upgrade1
 
  root_device              c0t3d0s22
 
  backup_media             remote_filesystem timber:/export/scratch3
  layout_constraint        c0t3d0s2 changeable 1004
  layout_constraint        c0t3d0s4 changeable
  layout_constraint        c0t3d0s5 movable
 
  package                  SUNWbcp delete5
  package                  SUNWolman add6
  package                  SUNWxwman add
  cluster                  SUNWCumux add
 
  locale                   de7
  1. The profile upgrades a system by reallocating disk space. In this example, disk space must be reallocated because some file systems on the system did not have enough room for the upgrade.

  2. The root file system on c0t3d0s2 is upgraded.

  3. A remote system that is named timber is to be used to back up data during the disk space reallocation.

  4. The layout_constraint keywords designate that auto-layout can perform the following when auto-layout attempts to reallocate disk space for the upgrade.

    • Change slices 2 and 4. The slices can be moved to another location and the size can be changed.

    • Move slice 5. The slice can be moved to another location but its size must stay the same.

  5. The binary compatibility package, SUNWbcp, is not installed on the system after the upgrade.

  6. The code ensures that the OPEN LOOK and X Window System man pages and the universal multiplexor software are to be installed if they are not already installed on the system. All packages already on the system are automatically upgraded.

  7. The German localization packages are to be installed on the system.