Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
SmartSetup Scripting Toolkit Deployment Guide: HP Integrity Servers with Linux > Chapter 4 Setting Up the Toolkit Environment

Reviewing the main_toolkit_launch.sh Script

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

The main_toolkit_launch.sh script sets up the toolkit environment, prompts you to read the hardware configuration or install the OS, and responds to your input. Setting up the environment involves copying the repository to the RAMdisk, making sure the utilities are executable, creating an inventory of the hardware (hardware discovery).

The script obtains your input by reading the sstk_action variable in the elilo.conf file or your choice in the toolkit menu.

  • When you select linux, the script invokes the linux-setup.sh to launch the Linux installation.

    chmod +wx "$RAMDRIVE/scripts/linux-setup.sh"
          if ! eval "$RAMDRIVE/scripts/linux-setup.sh";
          then
          write_error "Linux setup failed"
          return 1
          fi
  • When you select readhwconfig, the following tasks are executed in the capture.sh script:

    • Run cpqacuxe to get the configuration of the storage array controller. The script writes this data to the acu.ini file.

      /usr/sbin/cpqacuxe -c "${CONFIGDIR}/acu.ini"
    • Run conrep to get the EFI environment variables from the server configuration. The script writes this data to the conrep.dat file.

      ./conrep --read -f ${CONFIGDIR}/conrep.dat
    • Run the hpqlarep utility to enable or disable the EFI boot setting on QLogic 2 GB or 4 GB HBAs. The script writes this data to the hba-qlogic.ini file as follows:

      $UTILITIES/hpqlarep /S "${CONFIGDIR}/hba-emulex.ini
       --- Run the hplpcfg utility to enable or disable the EFI boot 
       setting on HP Emulex HBA.
       The script writes this data to “hba-emulex.ini” file.
       $UTILITIES/hplpcfg /le "${CONFIGDIR}/hba-emulex.ini  
      * If you select lsi, then the script will run the 
      “raid1-lsi.sh” script  to create RAID1 to the LSI 1068 
      controller. This option will only be  available if there 
      is a 1068 controller in the system. The disk  connected to 
      the controller will be turned into a single disk using RAID1. 

If you maintain the repository structure suggested in this document, you do not need to make any changes in this script. If you set the sstk_action variable in the elilo.conf file, you do not need to interact with the script (it runs silently to execute the option you select (readhwconfig or linux).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2007–2008 Hewlett-Packard Development Company, L.P.