Sun N1 System Manager 1.3 Operating System Provisioning Guide

Configuring the Diskless File System

To enable loading of diskless clients through the N1 System Manager, you need to set up a diskless client server and link diskless client images to he management server.

ProcedureTo Configure a Link to a Solaris Diskless Client Image

Steps
  1. Access the n1sh shell or go to the command line in the N1 System Manager browser.


    N1-ok>
  2. To define a link to the diskless client image, use the create os command.


    Tip –

    When you define the link to the diskless client image, a default OS profile is created automatically.



    N1-ok> create os os-name type os-type format diskless \
    tftpserver ip kernelimage path-to-kernelimage \
    bootimage1 path-to-bootimage1 bootimage2 path-to-bootimage2
    

    Where:

    • os-name is a unique name for the distribution image. The os-name may include numbers, letters, and some special symbols. The following special symbols are prohibited: comma (,), asterisk (*), single quote ('), double quote (“), parenthesis (), question mark (?), equal sign (=), and newline (\).

    • ip identifies the IP address of the TFTP server. The default is the IP address of the management server.

    • os-type specifies the operating system of the diskless client image. Valid diskless client types include solaris and redhat.

    • path-to-kernelimage is the path to the kernel image relative to the TFTP server root directory.

    • path-to-bootimage1 is the path to the first boot image relative to the TFTP server root directory.

    • path-to-bootimage2 is the path to the second boot image relative to the TFTP server root directory.


Example 4–1 Configuring a Link to a Solaris Diskless Client Image

The following example defines a Solaris diskless client image based on a two-part boot image.


N1-ok> create os my-diskless type solaris format diskless tftpserver 10.5.4.3 \
kernelimage images/diskless-kernel bootimage1 images/diskless-boot-1 bootimage2 images/diskless-boot-2

ProcedureTo Create a Diskless Client Profile

The following procedure explains how to create an OS profile for the diskless client. Creating an OS profile is especially useful for Linux diskless clients, when you want to define NFS options or the size of the RAM disk.

Step

    To create an OS profile for the diskless client, use the create osprofile command.


    create osprofile osprofile os <os-name> desc <description> 
     [nfsopts <nfsopts>[,nfsopts <nfsopts>]] 
                        [ramdisksize <ramdisksize>]

    Where:

    • osprofile is a unique name for the OS profile.

    • os-name is the name of the OS distribution to install. as defined when the image was linked.

    • description provides an optional description of the profile.

    • nfsopts specify optional NFS-specific information using the format option/value.

    • ramdisksize specifies the size of the RAM disk in Mbytes. The default value is 512 Mbytes.


Example 4–2 Creating an OS Profile for a Linux Diskless Client

The following example creates an OS profile for a Linux diskless client.


N1-ok> create osprofile my-diskless-pro os my-diskless desc "RedHat diskless client profile" nfsopts=rsize=8192,wsize=8192 ramdisksize=1048576