Adding software to the Depot
You can add a software package to the Depot, which you can then deploy to servers. A software package consists of all the files necessary to perform an unattended installation of a software executable.
When you add software to the Depot, the system provides built-in support for packaging many types of software. If you are adding one of these types, the system automatically generates the appropriate install and uninstall commands. If necessary, the standard commands include references to support files. For example, installation of some types of software requires a response file. When you add software to the Depot, you must provide the location of any support files.
You can also add custom software to the Depot by packaging any kind of software that provides a command line-based, unattended installation. For custom software packages, you must determine the necessary command line options for silently installing and uninstalling the software. The install and uninstall commands should reference required support files.
Adding Windows hotfixes to the Depot requires a similar procedure. See Adding a hotfix to the Depot.
After adding a software package to the Depot, you can deploy it using a Deploy Job. For a description of this procedure, see Creating a Deploy Job. You can also modify the definition of an existing software package or modify the contents of a software package).
To add software to the Depot
- Perform one of the following actions to open the Add Depot Software wizard:
Using the Depot folder, right-click the folder where you want to add a software package. Select New > Software, and then select the type of software package to create.
If you are trying to add an AIX patch with extension epkg.Z in DEPOT as AIX Patch, and the
Invalid AIX Header Magic Numbererror message appears, import the AIX Patch as Custom Software Package, as described in the knowledge base article, BMC BladeLogic Server Automation support of “EPKG” files as part of AIX Patch Analysis.
Using the Servers folder, right-click a server and select Browse, which displays the Live node in a tab in the content editor. Using the File System object type, select one or more files or directories and right-click. Or, using a software server object type, such as a Solaris patch or an HP-UX bundle, select one or more server objects, right-click, and select Add To Depot As. Then select the type of software package to create.
Selecting Add To Depot > Hotfix initiates a related procedure, described in Adding a hotfix to the Depot.
Unix file system permissions are not preserved when adding depot software. When the payload is deployed to the target(s), it is granted read, write, and execute (0700) permissions for the local user running the deployment. Any required permission changes must be performed in the installation routine.
- Using the results of a Snapshot Job, select software packages to add to the Depot, as described in Adding software to the Depot from snapshot results.
- Using the Select Matching Software window, you can add software packages to the Depot, as described in Matching software with depot items. The Select Matching Software window appears in many contexts throughout the BMC Server Automation Console.
- Provide information for the wizard, as described in the following sections:
- After completing the last step of the wizard, click Finish.
A background process saves the software package to the Depot. Depending on how you have specified behavior for background processes, either a dialog box opens or the Show background operations icon appears in the lower right corner of the console. Both indicate an operation is running in the background.