Sun N1 System Manager 1.3 Operating System Provisioning Guide

ProcedureTo Modify a Solaris 9 OS Profile for a Sun Fire V20z Server With a K2.0 Motherboard

This procedure describes how to create and add a script to your Solaris OS profile. This script installs the Broadcom 5704 NIC driver needed for Solaris 9 x86 to recognize the NIC Ethernet interface on a Sun Fire V20z server with a K2.0 motherboard. Earlier versions of the Sun Fire V20z server use the K1.0 motherboard. Newer versions use the K2.0 motherboard.


Note –

This patch is needed for K2.0 motherboards but can also be used on K1.0 motherboards without negative consequences.


Steps
  1. Log in to the N1 System Manager.

    See To Access the N1 System Manager Command Line in Sun N1 System Manager 1.3 Discovery and Administration Guide for details.

  2. Type the following command:


    % /opt/sun/n1gc/bin/n1sh show os
    

    The list of available OS distributions appears.

  3. Note down the ID for the Solaris 9 distribution.

    You use this ID, which is in fact the DISTRO_ID of the OS, in the next step.

  4. Type the following command:


    # mkdir /js/DISTRO_ID/patch
    

    Here, distro_id is the ID you noted previously. A patch directory is created for the Solaris 9 distribution.

  5. Download the 116666-04 patch from http://sunsolve.sun.com to the /js/DISTRO_ID/patch directory.

  6. Change to the /js/DISTRO_ID/patch directory.


    # cd /js/DISTRO_ID/patch
    
  7. Unzip the patch file.


    # unzip 116666-04.zip
    
  8. Type the following command:


    # mkdir /js/scripts
    
  9. In the /js/scripts directory, create a script called patch_sol9_k2.sh that includes the following three lines:


    #!/bin/sh
    echo "Adding patch for bge devices."
    patchadd -R /a -M /cdrom/patch 116666-04

    Note –

    Ensure the script is executable. You can use the chmod 775 patch_sol9_k2.sh command.


  10. Add the script to the Solaris 9 OS profile.


    N1-ok> add osprofile osprofile script /js/scripts/patch_sol9_k2.sh type post 
    

Example 2–10 Adding a Script to a Solaris OS Profile

This example shows how to add a script to an OS profile. The type attribute specifies that the script is to be run after the installation.


N1-ok> add osprofile sol9K2 script /js/scripts/patch_sol9_k2.sh 
type post

Next Steps

To load the modified Solaris OS profile, see To Load an OS Profile on a Server or a Server Group.