Sun N1 Service Provisioning System User's Guide for OS Provisioning Plug-In 3.0

ProcedureHow to Create a Non-JET RedHat Linux Provisioning Profile (Browser Interface)

Before You Begin

Make sure the Linux image server exists and that the RedHat Linux operating system software is available to that server. For more information about creating the RedHat Linux image server, see Setting up the RedHat Linux Server.

Create a PXE Linux configuration file, and locate this file in the pxelinux.cfg directory on the boot and install server. For an example of the PXE Linux configuration file, see How to Create a PXE Configuration File for RedHat Linux OS Provisioning.

Steps
  1. In the Common Tasks section of the provisioning software page, select OS Provisioning.

  2. On the OS Provisioning Common Tasks page, click Create Profile in the RedHat Linux Images section.

  3. On the Plans Details page, click Run.

  4. Choose variables to use for this plan.

    • To use an existing variables set, select a name from the drop-down menu in the LinuxImage component row of the Plan Parameters table.

    • To create a new variables set, click Select from List in the LinuxImage component row of the Plan Parameters table.

      1. Click Create Set.

      2. Type a name for the variables set.

      3. Verify variables and change them, if needed.

        The following table describes the additional variables and their default values.

        Variable Name 

        Description 

        Default Value/Example 

        osp_server

        Virtual server representing the OS provisioning service 

        masterserver-osp (Default)

        version

        Version of Linux to be deployed by this component 

        3U4 (Example)

        architecture

        Architecture of the physical system, for example, x86 


        Note –

        This value is used to name the profile component and OS image. The value of this variable is not validated or enforced by the provisioning software.


        x86 (Default)

        installPath

        RedHat Linux image name to attach 

        Linux:[version]_:[architecture]

        For example: Linux_3U4_x86

        description

        Optional description for this profile 

        test linux (Example)

        min_disk_size

        Minimum disk space required to provision the RedHat Linux OS 

        10GB (Default)

        boot_server_name

        Name of RedHat Linux boot and install server 

        masterserver (Example)

        boot_server_subnet_address

        Subnet served by the boot and install server 

        10.10.31.0 (Example)

        boot_server_subnet_ip_address

        IP address of the boot and install server on the subnet 

        10.10.31.1 (Example)

        image_subnet_mask

        Netmask of the provisioning subnet 

        255.255.255.0 (Default)

        kickstart_file

        (Non-JET profiles only) 

        Absolute path of the Kickstart file ks.cfg on the boot server. This file must be accessible to the boot and install server.

        Do not specify a value for this variable for JET-generated profiles. 

        /tftpboot/v6x/as21.cfg (Example)

        pxe_boot_file

        (Non-JET profiles only) 

        Relative path from the /tftpboot directory of the pxelinux.0 boot file on the boot server

        Do not specify a value for this variable for JET-generated profiles. 

        v6x/pxelinux.0 (Example)

        pxe_configuration_file

        (Non-JET profiles only) 

        Relative path from the pxelinux.cfg directory of the PXE Linux configuration file on boot server

        Do not specify a value for this variable for JET-generated profiles. 

        as21-console (Example)

        linux_component_folder

        Location of autogenerated Linux Provision component folder 

        /com/sun/n1osp/autogen-:[target(..):sys.hostName]-linux (Default)

        image_path

        (JET profiles only) 

        NFS path to the OS image. 

        Do not specify a value for this variable for non-JET profiles. 

        N/A 

        kernel

        (JET profiles only) 

        Relative path to the kernel in the OS image 

        Do not specify a value for this variable for non-JET profiles. 

        N/A 

        initrd

        (JET profiles only) 

        Relative path to initrd in the OS image

        Do not specify a value for this variable for non-JET profiles. 

        N/A 

      4. Save the variables set.

      5. Select the variables set that you just saved from the drop-down menu in the LinuxImage component row of the Plan Parameters table.

  5. On the Plan Details Run page, select the Linux image server on which to create the profile.


    Tip –

    The host name of the Linux image server ends in -linux.


  6. Deselect the checkbox for Use the Jet Modules Specified Above.

  7. Click Run Plan (includes preflight).

  8. To verify that the Linux profile is created to the Linux image server, click Components in the left pane of the N1 SPS browser interface.

    You should find a provision component in the folder /com/sun/n1osp/autogen-server-name-linux/provision/, where server-name is the Linux server name that you provided in the variable set. For example: /com/sun/n1osp/autogen-Linux3U4_x86-linux/provision/.