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

Adding a JET Module

This section describes how you can add additional JET modules to the Solaris boot and install (JET) server. Although the process is describes in the context of a Flash module, the logic extends to other JET modules.

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.

    Use commands similar to the following example:


    # cat > /tmp/flash-profile <<- _EOF
    flash-with-ra
    Solaris10 Flash Archive With SPS RA
    base_config flash spsra
    _EOF
    cr_cli -cmd pe.p.run -u admin -p admin -PID NM:/com/sun/n1osp/untyped/SolarisImage-attach \
    -tar H:NM:masterserver-jet -comp + -vs solaris10 -pto 120 -nto 120 -f /tmp/flash-profile

    Tip –

    You can also create the Profile component through the N1 Grid 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.