Go to main content

Installing Oracle® Solaris 11.3 Systems

Exit Print View

Updated: May 2019
 
 

Managing AI Manifests

This section shows how to update, delete, validate, or export an AI manifest.

Updating an AI Manifest

Use the installadm update-manifest command to replace the contents of the specified AI manifest or derived manifest script file with the contents of the manifest or script file for the specified install service. The criteria, default status, and manifest name are not changed as a result of the update.

The update-manifest subcommand validates XML manifest files before adding them to the install service.

The manifest must already exist in the specified service. Use the installadm list command to confirm, as shown in Example 40, Listing All AI Manifests and System Configuration Profiles.

    If no manifest is specified, then the manifest that is replaced is identified in one of the following ways:

  • The name attribute of the ai_instance element in the specified manifest, if this attribute is specified and if the value of this attribute matches the name of an existing manifest for this install service.

  • The base name of the specified file name if this name matches the name of an existing manifest for this install service.

This example updates the content of the sparc-ent manifest in the solaris11_3-sparc service with the content of ./mymanifests/manifest-new-sparc-ent.xml. The name of the manifest in installadm list is still sparc-ent.

# installadm update-manifest -n solaris11_3-sparc \
-f ./mymanifests/manifest-new-sparc-ent.xml -m sparc-ent

Validating an AI Manifest

Use the installadm validate command to validate AI manifests for syntactic correctness.

Use the –M option to validate manifests that have not been added to the install service. The value of the –M argument is the pathname to the manifest.

Use the –m option to validate manifests that have already been added to the specified install service. Use the installadm list command, as shown in Example 40, Listing All AI Manifests and System Configuration Profiles, to display possible values for the manifest name. The create-manifest subcommand validates AI manifests before adding them to the install service. The validate -m subcommand verifies that the manifest has not become corrupted since it was added.

You must specify a service name for manifests that have been added to an install service and manifests that have not been added yet. The service name is required for manifests that have not yet been added to an install service because the DTD might be different in different versions of the OS. An install service might be defined to install a different version of the OS than the version your AI server is running. The manifest must be validated against the DTD that will be in use on the AI client being installed. For more information see the ai_manifest(4) man page.

Validated manifests are output to stdout. Errors are listed to stderr.

Deleting an AI Manifest

Use the installadm delete-manifest command to remove the specified AI manifest or derived manifest script from the specified install service. The manifest name is the same name that the installadm list command returns, as shown in Example 40, Listing All AI Manifests and System Configuration Profiles.

You cannot delete the default AI manifest.

The following command removes the sparc-ent AI manifest from the solaris11_3-sparc install service:

# installadm delete-manifest -m sparc-ent -n solaris11_3-sparc