This procedure describes creating a comparison by using the browser interface. You can also create comparisons by using the following command.
cmp.ds.add – Creates a new comparison.
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.
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.
In the navigation menu, click Comparisons.
The Comparisons page is displayed.
Type the name and description of the comparison you want to create and click Create.
The comparison's Details page is displayed.
In the Style of Comparison area, click Model to Install.
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.
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.
Select the scope of the comparison.
Host Set. Compares the last known state of the specified host set to its current state.
Host. Compares the last known state of the specified host to its current state.
Component. Compares the last known state of the specified component to its current state.
(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.
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.
Choose to save the comparison to run later or run it now.