Go to main content

Installing Oracle® Solaris 11.3 Systems

Exit Print View

Updated: May 2019
 
 

Customizing Installation Instructions

You can employ AI manifests or derived manifest scripts to provide specific installation instructions for an install service. System configuration profiles provide configuration instructions. Multiple system configuration profiles can be associated with a service or with an AI client. Also, the profiles can be shared between many services.

Associating Client-Specific Installation Instructions With an Install Service

Use the installadm create-manifest command to associate a custom AI manifest with a specific install service. You can also add a derived manifest script to an install service. Note that each install service may have multiple AI manifests or derived manifest scripts associated with it. Any manifest or script that is not configured as the default manifest for a given service, should have client criteria defined, so that the right instructions are used for each AI client.

Before using any of the following examples, you must have first created an AI manifest. See Defining AI Client Installation Parameters for instructions on creating an AI manifest.

The syntax of the command is:

installadm create-manifest -n service -f filename
service

Specifies the service that the manifest or derived manifest script is to be associated with.

filename

Identifies the path of the manifest or derived manifest script to associate with the service.

Example 18  Associating Client Criteria With a Manifest

This example adds the manifest-sparc-ent.xml manifest to the solaris11_3-sparc install service. The –c option specifies that any AI clients that are using this install service and identify themselves as M5000 or M4000 servers are assigned the manifest-sparc-ent.xml installation instructions. The –m option sets the AI instance name of the manifest to sparc-ent.

# installadm create-manifest -n solaris11_3-sparc -f ./manifest-sparc-ent.xml \
-m sparc-ent -c platform="SUNW,SPARC-Enterprise"
Example 19  Associating Client Criteria With a Script

This example adds the manifest-sparc-ent.xml manifest to the solaris11_3-sparc install service. The client criteria are defined in the criteria-sparc-ent.xml file.

# installadm create-manifest -n solaris11_3-sparc -f ./manifest-sparc-ent.xml \
-m sparc-ent -C ./criteria-sparc-ent.xml

The content of the criteria-sparc-ent.xml file is as follows:

<ai_criteria_manifest>
    <ai_criteria name="platform">
        <value>SUNW,SPARC-Enterprise</value>
    </ai_criteria>
</ai_criteria_manifest>
Example 20  Creating a Default Manifest for an Install Service

This example uses the –d option to specify that the named manifest or script is the new default for this service. Any client criteria associated with the manifest are stored but are ignored while this manifest or script is the default.

# installadm create-manifest -n solaris11_3-sparc -f ./manifest-sparc-ent.xml -d

Associating Client-Specific Configuration Instructions With Install Services

Multiple system configuration profiles can be specified in one create-profile command because a single AI client can use multiple profiles. You can specify the same client selection criteria, or overlapping criteria, or no criteria for multiple profiles. When no criteria are specified, the profile is used by all AI clients that use this install service.

You must have first created a system configuration profile. See Defining AI Client System Configuration Parameters for instructions.

The syntax of the command is:

# installadm create-profile -n service -f filename
service

Specifies the service that the profile is to be associated with.

filename

Identifies the pathname of the profile to associate with the service.

Example 21  Associating Client Criteria With A System Configuration Profile

The following command adds the profile-sparc-ent.xml profile to the solaris11_3-sparc install service. The –c option specifies that any AI clients that are using this install service and identify themselves as M4000 or M5000 servers are assigned the profile-sparc-ent.xml system configuration information. The –p option sets the name of the profile to sparc-ent.

# installadm create-profile -n solaris11_3-sparc -f ./profile-sparc-ent.xml \
-p sparc-ent -c platform="SUNW,SPARC-Enterprise"