Create a Solaris patch policy

In the SA Client, you create a Solaris patch policy by using one of the Library features.

You must have permissions to create and manage a Solaris patch policy. To obtain these permissions, contact your system administrator. See the the SA 10.51 Administer section for more information about patch management permissions.

Library—By type

To use the By Type feature to create a patch policy:

  1. In the navigation pane, select Library > By Type> Patch Policies > Solaris. The content pane displays a list of patch policies. By default, the patch policies are organized by operating system families.
  2. Double-click to select an operating system.
  3. From the Actions menu, select New to open the Solaris Patch Policy window.
  4. In the Name field, enter the name of the Solaris patch policy.
  5. (Optional) In the Description field, enter text that describes the purpose or contents of the policy.
  6. Click Browse to specify the location for the Solaris patch policy in the folder hierarchy. The Select Folder window appears.
  7. In the Select Folder window, select a folder in the Library to specify the location of the Solaris patch policy and then click Select to save your setting.
  8. From the Availability drop-down list, select an SA server life cycle value for the Solaris patch policy.
  9. From the OS drop-down list, select the operating system family or specific operating systems in that family.
  10. To save your changes, select Save from the File menu.

Library—By folder

To use the By Folder feature to create a patch policy:

  1. In the navigation pane, select Library > By Folder. The content pane displays the folder hierarchy in the library.
  2. Select the folder that should contain the Solaris patch policy.
  3. From the Actions menu, select New > Solaris Patch Policy to open the Solaris Patch Policy window.
  4. In the Name field, enter the name of the Solaris patch policy.
  5. (Optional) In the Description field, enter text that describes the purpose or contents of the policy.
  6. Click Browse to change the location for the Solaris patch policy in the folder hierarchy. The Select Folder window appears.
  7. Select a folder in the Library to specify the location of the Solaris patch policy and then click Select.
  8. From the Availability drop-down list, select an SA server life cycle value for the Solaris patch policy.
  9. From the OS drop-down list, select the operating system family or specific operating systems in that family.
  10. From the File menu, select Save.

solpatch_import

You can create a Solaris patch policy using the solpatch_import command and then add patches to the policy.

  • Example A: Show vendor-recommended patches

    The following command displays all vendor-recommended Solaris patches for all managed servers running Solaris 5.8:

    solpatch_import --action=show --filter=”rec,OS=5.8”

  • Example B: Vendor recommended patches and security patches in a policy

    The following command downloads all vendor-recommended patches and security patches for all managed servers running Solaris 5.8, uploads these patches to the SA library, and then adds them to the Sol/SolPatches patch policy in the SA library:

    solpatch_import --action=policy --policy_path=/Sol/Solpatches \
      --filter=”rec,sec,OS=5.8”

  • Example C: Patch cluster in a policy

    The following command downloads the Solaris 10 SPARC Sun Alert Patch Cluster and adds all patches in that cluster to the SolClusterPatches policy. The cluster is not added to the policy; however, all patches in the cluster are added to the policy.

    echo “Solaris 10 SPARC Sun Alert Patch Cluster” | solpatch_import\
      -a policy --policy_path=”/Sol/SolClusterPatches”