N1 Grid Service Provisioning System User's Guide and Release Notes for the Solaris Plug-In 2.0

Deploying Solaris Packages

The N1 Grid Service Provisioning System uses the pkgadd(1M) command to install Solaris packages and the pkgrm(1M) command to remove Solaris packages.

Some Solaris packages contain a request script that asks you questions prior to installation. If you want to use the N1 Grid Service Provisioning System to install a package that has a request script, you must create a response file that contains the responses to the questions asked by the request script. Use one of the following procedures to install a Solaris package:

ProcedureHow to Deploy a Solaris Package or Datastream Package Without a Response File

If the package you want to install does not include a request script that requires responses, follow the steps below to use the N1 Grid Service Provisioning System to install the package.

Before You Begin

Obtain the package that you want to install.


Caution – Caution –

The N1 Grid Service Provisioning System does not check for package dependencies. Be sure to install packages in the proper sequence to account for package dependencies.


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

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

  2. Create a Package component.

    • If you want to deploy a Solaris file system package, click the Solaris Package: Create Package Component link.

    • If you want to deploy a Solaris datastream package, click the Solaris Datastream Package: Create Datastream Package Component link.

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

  4. From the list of components, click the component that you created.

  5. (Optional) Edit the component variables by clicking the Edit button.


    Note –

    If you are deploying a datastream package, you might need to edit the pkgName component variable for the package to deploy successfully.


    For more information, see Component Variables.

  6. In the Component Procedures section, click the Run link associated with the component procedure that you want to run.

    For more information, see Component Procedures.

ProcedureHow to Deploy a Solaris Package or DataStream Packages With a Response File

If the package that you want to install includes a request script that asks you questions prior to installation, follow the steps below to install the package.

Before You Begin

Obtain the package that you want to install.

Use the pkgask(1M) command to create the response file. For more information about creating and using response files, see Avoiding User Interaction When Adding Packages (pkgadd) in System Administration Guide: Basic Administration


Caution – Caution –

The N1 Grid Service Provisioning System does not check for package dependencies. Be sure to install packages in the proper sequence to account for package dependencies.


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

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

  2. Create a Package component.

    • If you want to deploy a Solaris file system package, click the Solaris Package: Create Package Component link.

    • If you want to deploy a Solaris datastream package, click the Solaris Datastream Package: Create Datastream Package Component link.

  3. In the left control panel, under Common Tasks, click the Sun Solaris icon.

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

  4. Click the Response File: Create Response File Component link.

    Define the response file component to reference the response file that you created for use with the package you want to install.

  5. In the left control panel, under Common Tasks, click the Sun Solaris icon.

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

  6. Create a Container that includes the Package component and the Response File component.

    • If you want to deploy a Solaris file system package, click the Package with Response File: Create Package With Response File Container link.

    • If you want to deploy a Solaris datastream package, click the Datastream Package with Response File: Create Datastream Package With Response File Container link.

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

  8. From the list of components, click the container that you created.

  9. (Optional) Edit the component variables by clicking the Edit button.


    Note –

    If you are deploying a datastream package, you might need to edit the pkgName component variable for the package to deploy successfully.


    For more information, see Component Variables.

  10. In the Component Procedures section, click the Run link associated with the Component Procedure that you want to run.

    For more information, see Component Procedures.