N1 Provisioning Server 3.1, Blades Edition, Release Notes

ProcedureTo Prepare a Disk for Snapshot

Steps
  1. Boot the resource pool server from its disk into the image VLAN.

    On the system controller, type the following commands:


    sc>bootmode bootscript="boot disk" console-id
    sc>poweron console-id
    

    For example:


    sc>bootmode bootscript="boot disk" s5
    S5: Boot script set.
    sc>poweron s5
    S5: Poweron sequence started.
  2. On the newly installed Linux machine, exclude the dummy file system.

    Exclude the dummy file system created as described in Non-standard Disk Sizes and Linux. Comment out the entry for /dummy in the /etc/fstab file.

  3. Unmount the dummy file system.

    Type the following commands to unmount the file system and verify that it is no longer mounted:


    [root@linux-client root]# umount /dummy 
    [root@linux-client root]# df -k 
    Filesystem           1k-blocks      Used Available Use% Mounted on 
    /dev/hda1             26251900   1146164  23772204   5% / 
    none                   1029196         0   1029196   0% /dev/shm 
    /dev/hda3               507620      8253    473159   2% /tmp 
    [root@linux-client root]#
  4. Make the Linux installation compatible with the N1 Provisioning Server software.

    1. NFS mount the /tftpboot/terraspring directory from the Provisioning Server machine.

      Type the following command:


      [root@linux-client root]# mount PS-IP-address:/tftpboot/terraspring mount-point
      

      For example:


      [root@linux-client root]# mount 10.42.42.1:/tftpboot/terraspring /mnt  
      
    2. Create a download directory for software packages and change directory to that location.

      For example:


      [root@linux-client root]# mkdir -p /tmp/packages
      [root@linux-client root]# cd /tmp/packages 
      
    3. Copy the Sun Java Runtime Environment (JRE), N1 Provisioning Server Agent, and Content Load Balancing (CLB) modules.


      [root@linux-client root]# cp /mnt/packages/j2re-1_4_1_06-linux-i586-rpm.bin . 
      [root@linux-client root]# cp /mnt/packages/TSPRaglnx-3.1.6.i386.rpm . 
      [root@linux-client root]# cp /mnt/packages/sunclb-admin-1.36-1.i386.rpm . 
      [root@linux-client root]# cp /mnt/packages/sunclb-k2_4_9_e_3smp-1.36-1.i386.rpm . 
      [root@linux-client root]# cp /mnt/packages/sunclb-k2_4_9_e_3-1.36-1.i386.rpm . 
      
    4. Unmount the directory.


      [root@linux-client root]# umount /mnt
      
    5. Install the JRE software.

      Type the following commands:


      [root@linux-client root]# sh ./j2re-1_4_1_06-linux-i586-rpm.bin 
      [root@linux-client root]# rpm -i j2re-1_4_1_06-fcs-linux-i586.rpm 
      
    6. Install and configure the N1 Provisioning Server agent.

      Type the following commands:


      [root@linux-client root]# rpm -i TSPRaglnx-3.1.6.i386.rpm 
      [root@linux-client root]# ln -s /usr/java/j2re1.4.1_06/bin/java /opt/terraspring/lib/java 
      
    7. Install and configure the CLB modules (if required).

      If the server blade is to be part of a Sun Fire blade platform with content load-balancing capabilities (Sun Fire B10n series), type the following commands to install and configure the CLB modules:


      [root@linux-client root]# rpm -i sunclb-admin-1.36-1.i386.rpm 
      [root@linux-client root]# rpm -i sunclb-k2_4_9_e_3smp-1.36-1.i386.rpm 
      [root@linux-client root]# rpm -i sunclb-k2_4_9_e_3-1.36-1.i386.rpm  
      [root@linux-client root]# ln -s /etc/init.d/sun-clb /etc/rc3.d/S99sunclb
      
    8. Specify secondary Ethernet interfaces

      Determine the NIC driver present on the system (for example, snet, ce, bge) and write the names of all the secondary interfaces (for example, snet1, ce1, bge1) to the file /etc/opt/terraspring/managed_interfaces. The following example shows a single secondary interface of snet1:


      [root@linux-client root ]#cat /etc/opt/terraspring/managed_interfaces 
      snet1 
      [root@linux-client root ]#
  5. Halt the resource pool server.


    [root@linux-client root ]#/sbin/shutdown -h now 
    

    The blade is now ready for snapshot.

  6. Return to the image wizard and complete the last two steps in To Create a Linux Image (High-Level Task), starting with Step 9.