How To Install Software Packages And Support Packs
Article: 20000042
Applies to: All releases
To create a job that installs software:
| 1. |
On the Deployment Server, create a directory in the express share for the file(s).
|
| 2. |
Download the file(s) into the new directory.
|
| 3. |
Write down the name of the install or setup executable.
If the installation requires more than one step, like installing multiple Windows hotfixes, create a batch or script file for all of the steps.
|
| 4. |
Write down any command-line parameters needed to execute the installer in a silent, non-interactive manner.
|
| 5. |
Write down any non-zero exit codes that mean success.
Most installers return 0 on success and non-zero on error. However, some installers also return other success codes.
For example, some Microsoft installers return 3010 for "success, reboot required".
|
| 6. |
In the Deployment Console, create a new job.
| a. |
Add a Distribute Software task with the following options:
|
| Field |
Value |
|
| Name |
The file from step 3 above |
|
| Additional command-line switches |
The parameters from step 4 above |
|
| Copy all directory files |
Selected |
|
| Return Codes |
For each code from step 5 above, add the value and set Response = Continue and Result = Success |
|
|
|
NOTE: Select Yes if a warning appears about the file specified is not a valid RapidInstall or PC Transplant package.
|
| b. |
Add a Power Control task with the following options:
|
| Field |
Value |
|
| Restart |
Selected |
|
| Force applications to close without a message |
Selected |
|
|
|
| 7. |
Execute the new job on the desired servers.
|
Example information to create a job to install a Windows ProLiant Support Pack (PSP):
| 1. |
Download and extract the PSP files into a directory on the Deployment Server express share, for example ws6-x64-psp.
|
| 2. |
Create the Distribute Software task in the job with .\ws6-x64-psp\hpsum.exe in the Name field and
-silent -force in the Additional command-line switches field. Add 1 and 3 as
return codes that are a success and the job should continue.
|
Example information to create a job to install a Linux ProLiant Support Pack (LSP):
NOTE: When editing Linux files on the Deployment Server, use a text editor that saves the file in
Linux compatible format without adding extra characters.
| 1. |
Download and extract the LSP files into a directory on the Deployment Server express share, for example rhel5-x64-psp.
|
| 2. |
For custom SNMP configurations, create a text file in the directory, for example hpmgmt.conf.
Refer to the HP ProLiant Support Pack User Guide for the LSP scripted install file format and parameters.
|
| 3. |
Create a script file, for example rdpinstall.sh, in the directory that will be used as a wrapper script to call the LSP installer.
This is necessary since the LSP installer does not work when called with an absolute path. The script should contain the following code:
pushd "$(dirname "$0")"
chmod +x install???.sh
./install???.sh --silent --force --inputfile hpmgmt.conf
rc=$?
popd
exit $rc
where hpmgmt.conf is the file created in step 2.
|
| 4. |
Create the Distribute Software task in the job with .\rhel5-x64-psp\rdpinstall.sh in the Name field.
Add 16 as a return code that is a success and the job should continue.
|
|