Sun N1 Service Provisioning System 5.1 Operation and Provisioning Guide

ProcedureHow to Create a Model to Install Comparison

This procedure describes creating a comparison by using the browser interface. You can also create comparisons by using the following command.

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

Before You Begin

The Remote Agents from each host must be set to use the same locale for Install to Install comparisons to function properly.

To create a new comparison, you must belong to a user group that has Create, Edit, Delete permission on comparisons.

Steps
  1. In the navigation menu, click Comparisons.

    The Comparisons page is displayed.

  2. Type the name and description of the comparison you want to create and click Create.

    The comparison's Details page is displayed.

  3. In the Style of Comparison area, click Model to Install.

  4. Select the level of detail that the comparison will use.

    • Directory and File properties. Confirms that both hosts have the same files and directories and that the files and directories are the same sizes.

    • File Contents. Compares the contents of files on both hosts.


      Note –

      If the component you are using in a comparison includes its own rules about files to ignore, those rules are used in addition to any ignore rules you define for this comparison.


  5. Select the scope of the comparison.

    • Host Set. Compares the last known state of the specified host set to its current state.

      1. Select Host Set from the Scope menu.

      2. Select the host set that you want to compare.

    • Host. Compares the last known state of the specified host to its current state.

      1. Select Host from the Scope menu.

      2. Type the name of the host that you want to compare.

    • Component. Compares the last known state of the specified component to its current state.

      1. Select Component from the Scope menu.

      2. Type the name of the host that contains the component and click Apply Change.

      3. Select the component from the Component (Path) menu.

  6. (Optional) Type the names of files or directories that you want the comparison to ignore.

    This feature allows the provisioning system to accommodate changes to things like log files without causing the comparison to fail.

    For more information, see Modifying Directories or Files to Ignore During Comparisons.

  7. In the Limits area, specify the maximum number of hours or minutes the comparison can run.

    By default, comparisons are allowed to run for 4 hours.

    If the comparison times out, an error message will display on the Comparisons page.

  8. Choose to save the comparison to run later or run it now.

    • To save the comparison without running it, click Save.

    • To both save the comparison and run it now, click Save & Run.