This space contains documentation for TrueSight Server Automation 8.9.03 and the later service packs for 8.9. For earlier releases, see BMC Server Automation 8.9.

Updating the Solaris 11 patch repository

To update a Solaris 11 patch repository, you create and run an NSH Script Job from the provided Solaris 11 Update Repository script. The repository must reside on an Oracle Solaris 11 Image Packaging System (IPS) server. If you plan to use multiple repositories later in your patch analysis, you can run this job on each of the different repositories that you plan to use (in separate job runs).


If you have set up your own repository (for example, an Image Packaging System (IPS) repository or a repository downloaded from Oracle), you do not need to use the provided script described here.

Before you begin

Ensure that you have installed the scripts for the Solaris 11 patching solution, as described in Installing the script-based patching solution for Solaris 11.

The Solaris 11 system with the IPS repository must have outbound internet access (either directly or through a http proxy) to update the repository.

To create an NSH Script Job for updating the Solaris 11 patch repository

  1. In the TrueSight Server Automation Console, browse to Depot > Solaris11 Patching Solution > Script.
  2. Right-click the Solaris 11 Update Repository script, and select NSH Script Job.
    The New NSH Script Job wizard opens. 
  3. In the New NSH Script Job wizard, configure the job through the various panels. Use the following steps to perform the most basic configuration for this job.
    1. On the General panel, define a name for the job and specify a location in the Jobs folder in which to save the job.
    2. On the Targets panel, choose the servers where the job should run. All target servers must be Solaris 11 IPS servers where a patch repository resides.
    3. On the Parameters panel, adjust the values of the script parameters:

      ParameterFlagDescriptionDefault value
      Repository Location-dLocation of the repository to be created or updated on the repository server./export/repoSolaris11
      Source Location-sFull URL or location path from where the repository is to be downloaded.
      Oracle Key Location-kLocation of the Oracle key that is kept on the repository server./home/Oracle_Solaris_11_Support.key.pem
      Oracle Certificate Location-c

      Location of the Oracle certificate that is kept on the repository server.

      Note: For information about downloading and installing the Oracle key and certificate, see the following Oracle page:

      Cache Directory-zThe path to an optional cache directory to be used to resume download after a download failure.(no default value)
      Number of Retries-rThe number times to try to update the repository before marking the update as failed.3 tries
      Packages to update-p

      A list of specific packages that you want to download from the source.

      Use the space character to separate multiple packages. The maximum allowed length of this string is 255 characters (the maximum length of any parameter value in an NSH script).

      (that is, all available packages)
    4. On the Schedules panel, schedule the execution of the job (either immediately or at a later time).
    5. When you finish all relevant job configuration on the remaining panels (Default Notifications, Properties, and Permissions), click Finish.

Where to go from here

Now that your repository is updated, you can go ahead and run a patching analysis job.

Was this page helpful? Yes No Submitting... Thank you