N1 Grid Service Provisioning System 5.0 Operation and Provisioning Guide

Managing Comparisons

Running comparisons can often take a significant amount of time. After a comparison has been created, you can run, modify, or view it.

ProcedureHow to Run a Comparison

This procedure describes how to run comparisons by using the browser interface. You can also run comparisons by using the following command.

For a detailed description of this command, see Chapter 5, cmp: CLI Commands for Running Comparisons, in N1 Grid Service Provisioning System 5.0 Command-Line Interface Reference Manual.


Note –

If you have saved a comparison involving a component, and that component has been upgraded or its version numbers have changed for some other reason, the provisioning software automatically updates the comparison you saved to run against the new version of the component.


Before You Begin

You must belong to a user group that has permission to run comparisons on a particular host set.

Steps
  1. From the Comparisons page, select the comparison that you want to run.

  2. (Optional) Modify the comparison criteria.

  3. Click Save & Run.

    The comparison's Progress page is displayed.

    After the comparison completes, the comparison's Results page is displayed.


    Note –

    Running a comparison does not lock down the ability to perform other operations. You can perform other operations while waiting for a comparison to complete.


  4. (Optional) To view the comparison's results in another format, click either Print or Download.

  5. Click Done.

ProcedureHow to View Comparisons

This procedure describes how to view comparisons by using the browser interface. You can also view comparisons by using the following commands.

Steps
  1. In the navigation menu, click Comparisons.

    The Comparisons page is displayed.

  2. (Optional) To view the details of a specific comparison, click Details in the row listing the plan you're interested in.

    The comparison's Details page is displayed.

ProcedureHow to View the Progress of a Comparison

This procedure describes how to view the progress of a comparison by using the browser interface. You can also view a comparison's history by using the following commands.

For a detailed description of these commands, see Chapter 5, cmp: CLI Commands for Running Comparisons, in N1 Grid Service Provisioning System 5.0 Command-Line Interface Reference Manual.

Steps
  1. In the navigation menu, expand the Application Deployment category and click Run History.

    All running and completed comparisons are listed. Running comparisons are indicated in the Completed column with text describing the time when the plan started running.

  2. To view the details about a particular plan, click Results.

ProcedureHow to Stop a Running Comparison

This procedure describes how to run comparisons by using the browser interface. You can also run comparisons by using the following command.

For a detailed description of this command, see Chapter 5, cmp: CLI Commands for Running Comparisons, in N1 Grid Service Provisioning System 5.0 Command-Line Interface Reference Manual.

Before You Begin

To stop a comparison, you must be either the user that started the comparison or a member of the admin user group.

Steps
  1. From the Run History page, determine the comparison you want to stop.

  2. In the Action column, click Progress.

  3. Click Cancel Comparison.


    Note –

    If you cancel a comparison in progress, you are returned to the page listing all the comparisons. Occasionally, it may take a short time for the listing to refresh and show you that the comparison that you canceled has been stopped.


ProcedureModifying Directories or Files to Ignore During Comparisons

In addition to describing the level of detail and what hosts or components that you want to compare, you have the option of defining sets of files or directories to exclude from a comparison. You might want to do this if you know that particular resources have many differences that are not important to you. You can save these definitions and reuse them in other comparison definitions.

You can also modify comparisons by using the following command.

For a detailed description of this command, see Chapter 5, cmp: CLI Commands for Running Comparisons, in N1 Grid Service Provisioning System 5.0 Command-Line Interface Reference Manual.

Before You Begin

To modify a comparison, you must belong to a user group with Create, Edit, Delete permission on comparisons.

Steps
  1. If necessary, select the Model to Install comparison or the Install to Install comparison that you want to modify.

    The comparison's Details page is displayed.

  2. Modify the Directories and Files to Ignore During Comparisons table.

    • Add a directory or file to the ignore list.

      1. From the comparison's Details page, type the name of the directory or file you want to ignore and click Add.

        You can also provide an expression to represent the directories or files that you want to ignore by using wildcards (*). For example, if you want to ignore all log files, you can specify *.log to be excluded.


        Note –

        You must specify a complete pattern (with or without wildcards) all the way to the file name. Simply specifying down to the directory level will not exclude the files in that directory unless you add a * to the end. For example, if you want to exclude all the files in /usr/apache/logs, you must specify /usr/apache/logs*.


      2. Click Add.

        Your specification will be added to the list of directories and files to be ignored.

    • Remove a directory or file from the ignore list.

      1. Choose which directory or file you want to remove.


        Note –

        You cannot remove or disable a global ignore rule.


      2. Click Remove.

  3. Click Save.