The JumpStart Enterprise Toolkit (JET) is a set of utilities that simplifies the process of creating the profiles necessary to provision the SuSe Linux. Through the N1 SPS browser interface, you can generate the profile keywords and values that are required to perform an automated Kickstart installation of your target host.
If you prefer to not use JET, and create the profile values manually, you can create the SuSe Linux image and profile without using JET modules. See Creating Non-JET SuSe Linux Images and Profiles.
Make sure the Linux image server exists and that the SuSe Linux operating system software is available to that server. For more information about creating the SuSe Linux image server, see Setting up the SuSe Linux Server.
In the Common Tasks section of the provisioning software page, select OS Provisioning.
On the OS Provisioning Common Tasks page, click Create Profile in the SuSe Linux Images section.
On the Plans Details page, click Run.
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.
Click Create Set.
Type a name for the variables set.
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 |
SLES9 (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 |
SuSe Linux image name to attach |
SuSeLinux:[version]_:[architecture] For example: SuSeLinux_SLES9_x86 |
description |
Optional description for this profile |
test linux (Example) |
min_disk_size |
Minimum disk space required to provision the SuSe Linux OS |
10GB (Default) |
boot_server_name |
Name of SuSe 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) |
distro_root_directory |
Absolute path of the base directory of the SuSe Linux distribution on the boot server |
nfs://10.10.31.4/Suse/SLES-9-x86-64/installroot (Example) |
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. |
boot/loader/linux (Default) |
initrd (JET profiles only) |
Relative path to initrd in the OS image Do not specify a value for this variable for non-JET profiles. |
boot/loader/initrd (Default) |
autoyast_file (Non-JET profiles only) |
Absolute path of the AutoYaST file on the boot server Do not specify a value for this variable for JET-generated profiles. |
N/A |
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. |
N/A |
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. |
N/A |
SuSelinux_component_folder |
Location of autogenerated SuSe Linux Provision component folder |
/com/sun/n1osp/autogen-:[target(..):sys.hostName]-linux (Default) |
Save the variables set.
Select the variables set that you just saved from the drop-down menu in the LinuxImage component row of the Plan Parameters table.
On the Plan Details Run page, select the Linux image server on which to create the profile.
The host name of the Linux image server ends in -linux.
If needed, change the Profile Name.
If needed, change the Profile Description.
Update the list of the JET modules to use.
The JET product modules are located on the JET server in the directory /opt/SUNWjet/Products.
By default, the plan variable JET Modules Name(s) lists two JET modules to include in the SuSe Linux profile component:
base_config – Installs and configures the SuSe Linux OS. For information about base_config variables, see Basic SuSe Linux OS Configuration Variables.
spsra – Installs and configures the N1 SPS Remote Agent (RA) on a Solaris system. For information about spsra variables, see Component Variables for SuSe Linux Remote Agents.
base_config is the required JET module for basic SuSe Linux installation. All other /opt/SUNWjet/Products modules are optional. Adding a module name to this list adds the module installation function and configuration variables to the newly created SuSe Linux provisioning profile.
Verify that the Use the Jet Modules Specified Above checkbox is selected.
Click Run Plan (includes preflight).
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-SuSe_SLES9_x86-linux/provision/.
To create a variable set for the LinuxImage component, type a command similar to the following example:
# cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/untyped/SuseLinuxImage \ -name "SLES9" -u admin -p admin -vars "osp_server=masterserver-osp;version=9; \ architecture=x86;installPath=SuSeLinux:[version]_:[architecture]; \ description=SUSE SLES9;min_disk_size=10GB; \ boot_server_name=biautoyast;boot_server_subnet_address=10.42.42.0; \ boot_server_subnet_ip_address=10.42.42.3; \ distro_root_directory=nfs://10.42.42.3/export/SUSE/SLES-9-x86-64/installroot;\ pxe_boot_file=;pxe_configuration_file=; \ autoyast_file=;kernel=boot/loader/linux;initrd=boot/loader/initrd" |
To run the plan, type a command similar to the following example:
# cr_cli -cmd pe.p.run -u admin -p admin \ -PID NM:/com/sun/n1osp/untyped/SuSeLinuxImage-create-profile \ -tar H:NM:bilinux-linux -comp - -vs SLES9 -pto 30 -nto 10 \ -f /tmp/suse-profile |
Note the default N1 SPS user value you specified with the -u option. This user must exist after the OS installation for the N1 SPS Remote Agent software to start on the target host.