Solaris Express Installation Guide: Custom JumpStart and Advanced Installations

ProcedureTo Create a JumpStart Directory on a Server


Note –

This procedure assumes that the system is running removable media services. If you have questions about removable media services that manage discs, refer to System Administration Guide: Devices and File Systems for detailed information.


  1. Locate the server on which you want to create the JumpStart directory.

  2. 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.

  3. Create the JumpStart directory anywhere on the server.


    # mkdir -m 755 jumpstart_dir_path
    

    In the command, jumpstart_dir_path is the absolute path of the JumpStart directory.

    For example, the following command creates a directory that is called jumpstart in the root (/) directory and sets the permissions to 755:


    # mkdir -m 755 /jumpstart
    
  4. Use either the sharemgr utility or the share command as follows:


    Note –

    Starting with the 5/07 Developer release, the sharemgr utility introduces the concept of share groups. See sharemgr Command in System Administration Guide: Network Services.


    • Using the share command, edit the /etc/dfs/dfstab file by adding the following entry.

      # share -F nfs -o ro,anon=0 jumpstart_dir_path

      For example, the following entry shares the /jumpstart directory:

      # share -F nfs -o ro,anon=0 /jumpstart

      Then, type shareall and press Enter.

    • Using the sharemgr utility, enter the following commands:

      # sharemgr add-share -s /jumpstart default

      # sharemgr set -P nfs -S sys -p ro="*" -s /jumpstart default

      # sharemgr set -P nfs -p anon=0 -s /jumpstart default

  5. Determine if you want to copy examples of custom JumpStart files to your JumpStart directory.

    • If no, go to Step 8.

    • If yes, use the following decision table to determine what to do next.

    Example Locations 

    Instructions 

    The Solaris Operating System DVD or the Solaris Software - 1 CD for your platform 

    Insert the Solaris Operating System DVD or the Solaris Software - 1 CD into the server's CD-ROM drive. 

    Removable media services automatically mounts the CD or DVD. 

    An image of the Solaris Operating System DVD or the Solaris Software - 1 CD for your platform on a local disk

    Change directory to the location of the Solaris Operating System DVD or the Solaris Software - 1 image. For example, type the following command: 


    cd /export/install

  6. Copy the example custom JumpStart files into the JumpStart directory on the profile server.


    # cp -r media_path/Solaris_11/Misc/jumpstart_sample/* jumpstart_dir_path
    
    media_path

    The path to the CD, DVD, or image on the local disk

    jumpstart_dir_path

    The path on the profile server where you are placing the example custom JumpStart files

    For example, the following command copies the jumpstart_sample directory into the /jumpstart directory on the profile server:

    • For SPARC based systems:


      cp -r /media/cdrom/s0/Solaris_11/Misc/jumpstart_sample/* /jumpstart
      
    • For x86 based systems:


      cp -r /media/cdrom/Solaris_11/Misc/jumpstart_sample/* /jumpstart
      
  7. Update the example JumpStart files so that the files work in your environment.

  8. Ensure that root owns the JumpStart directory and that the permissions are set to 755.

  9. Allow systems on the network to access the profile server.

    For detailed instructions, see To Allow All Systems Access to the Profile Server.