Go to main content

Installing Oracle® Solaris 11.3 Systems

Exit Print View

Updated: April 2019
 
 

Managing System Configuration Profiles

This section provides instructions for updating, deleting, validating and exporting a system configuration profile.

Updating a System Configuration Profile

Use the installadm update-profile command to replace the specified profile from the specified install service with the contents of the named file. Any criteria remain with the profile following the update.

The name of the profile and the install service that includes the service may be specified. If the profile is not specified with the install service, the name of the profile to be updated is the base name of the file.

The following command updates the content of the sparc-ent profile in the solaris11_3-sparc service with the content of ./myprofiles/profile-new-sparc-ent.xml.

# installadm update-profile -n solaris11_3-sparc \
-f ./myprofiles/profile-new-sparc-ent.xml -p sparc-ent

Validating a System Configuration Profile

Use the installadm validate command to validate system configuration profiles for syntactic correctness.

Use the –P option to validate profiles that have not been added to the install service. The value of the –P argument is the is the pathname to the profile.

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

You must specify a service name for profiles that have been added to an install service and profiles that have not been added yet. The service name is required for profiles 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 profile must be validated against the DTD that will be in use on the AI client being installed. For more information see the service_bundle(4) man page.

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

Deleting a System Configuration Profile

Use the installadm delete-profile command to remove the profile system configuration profile from the svcname install service. The value of the profile argument is the profile name that the installadm list command returns. See Example 46, Listing All AI Manifests and System Configuration Profiles.

installadm delete-profile -p profile... -n svcname

The following command removes the sparc-ent system configuration profile from the solaris11_3-sparc install service.

# installadm delete-profile -p sparc-ent -n solaris11_3-sparc

Exporting an AI Manifest or a System Configuration Profile

Use the installadm export command to copy the contents of the specified AI manifests or system configuration profiles from the specified install service to the named file or directory.

If the –o option is not specified, the manifest and profile contents go to stdout. If only one input file is specified, the value of the pathname argument can be a file name. If more than one input file is specified, pathname must be a directory.

The specified manifest can be the name of an XML AI manifest or a derived manifest script. See Defining AI Client Installation Parameters for information about creating manifests and derived manifest scripts.

    Use the installadm export command for the following tasks:

  • Check the specifications in the manifests and profiles.

  • Modify an existing manifest or profile.

  • Use an existing manifest or profile as a base for creating a new manifest or profile.