Sun N1 Service Provisioning System User's Guide for Solaris Plug-In 4.0

Solaris Patch Component Type

To deploy Solaris patches using the Sun N1 Service Provisioning System, create components of type com.sun.solaris#Patch. For more information about creating components, see Chapter 4, Plans, in Sun N1 Service Provisioning System 5.2 Plan and Component Developer’s Guide.

ProcedureHow to Deploy a Solaris Patch from the Solaris Patch Component Type

Before You Begin

Obtain the patch that you want to deploy.


Caution – Caution –

The Sun N1 Service Provisioning System does not check for patch dependencies. Be sure to install patches in the proper sequence to account for patch dependencies.


Steps
  1. In the left control panel, under Common Tasks, click the Solaris link.

    The Common Tasks for the Solaris Plug-In appear in the right panel of the browser interface.

  2. Click the Solaris Patch Component Type: Create Patch Component link.

  3. Define the component.

  4. In the left control panel, under Application Deployment, click Components.

    A list of components appears.

  5. Click the component that you just created.

  6. (Optional) Click the Edit button to change any of the component variables.

    For details about the component variables, see Component Variables.

  7. Choose the Component Procedure that you want to run and click the Run link.

    For details about the component procedures, see Component Procedures.

  8. Complete the plan run page to run the procedure.

Component Variables

installName

The name to use for the patch when it is installed. The default value is the name of the patch component.

installPath

The path on the target host where the patch will be downloaded.

rootDirectory

The path on the target host where the patch will be installed.

validateFiles

This variable enables you to supply the -u option to patchadd(1M) when the patch is added to the target host. The -u option turns off file validation.patchadd applies the patch even if some of the files to be patched have been modified since their original installation. Valid values are true and false.

patchID

This value is the ID of the patch.


Note –

Changing the value of this variable might cause the patch deployment to fail.


Component Procedures

default: install

Use this procedure to install a patch on a target system or systems.

markOnly: install

If you manually installed a patch on a target system or systems but want the provisioning system database to be aware that the patch is installed on those systems, use this procedure.

default: uninstall

Use this procedure to uninstall a patch from a target system or systems.

markOnly: uninstall

If you manually uninstalled a patch from a target system or systems but want the provisioning system database to be aware that the patch has been uninstalled from those systems, use this procedure.