Sun N1 Service Provisioning System User's Guide and Release Notes for the OS Provisioning Plug-In 2.0

ProcedureHow to Add a Flash Module

Steps
  1. Download the JetFLASH.pkg onto the Solaris boot and install server.

  2. Install the JetFLASH package.

    Use commands similar to the following example:


    # cat >/tmp/admin-file <<- _EOF
    mail=\n
    instance=unique
    partial=quit
    runlevel=ask
    idepend=quit
    rdepend=nocheck
    space=quit
    setuid=nocheck
    conflict=nocheck
    action=nocheck
    basedir=/opt/SUNWjet/Products
    _EOF
      pkgadd -a /tmp/admin-file -d JetFLASH.pkg 
  3. Copy the Flash image to the Solaris boot and install server.

    Use commands similar to the following example:


    # telnet solaris-bis-ip-address 
      # cp flash-archive /export/install/flash/sol10_xall_sparc.flar
    
  4. Create a Solaris Profile for this Flash image.

    1. To create a variable set for the Solaris 10 Flash image, type a command similar to the following example:


      # cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/untyped/SolarisImage \
      -name "solaris10sparc" -u admin -p admin -vars "version=10;release=ga;architecture=sparc; \
      image_path=/export/install/s10ga-sparc;image_subnet_addr=10.42.42.2; \
      image_subnet_mask=255.255.255.0;media_src="
      
    2. To provide Flash information, create a file /tmp/flash-profile that contains the following entries:

      flash-with-ra
      Solaris10 Flash Archive With SPS RA
      base_config flash spsra

      Where:

      • The first line in the file corresponds to the Profile Name field in the plan variables section of the browser interface.

      • The second line in the file corresponds to the Profile Description field in the plan variables section of the browser interface.

      • The third line in the file corresponds to the JET Module Name(s) field in the plan variables section of the browser interface.

    3. To create the component, type a command similar to the following example:


      # cr_cli -cmd pe.p.run -u admin -p admin \
      -PID NM:/com/sun/n1osp/untyped/SolarisImage-create-profile -tar H:NM:biss1-jet \
      -comp - -vs solaris10sparc -pto 30 -nto 10 -f /tmp/flash-profile
      

      Tip –

      You can also create the Profile component through the N1 SPS browser interface. Use the Solaris Image: create profile option.


  5. Edit the Profile component that you created in the previous step.

    The profile is located at /com/sun/n1osp/autogen-masterserver-jet/provision/. In this example task, the Profile component is /com/sun/n1osp/autogen-masterserver-jet/provision/Solaris_10.flash.

  6. In the Profile component, change the archive_locations_flash variable value to point to the flash archive.

    For example:

    archive_locations_flash nfs://10.216.0.55/export/install/flash/sol10_xall_sparc.flar
  7. Check in the component.

    You are now ready to use the above Solaris Profile to deploy on desired target host.