Installing Oracle® Solaris 11.2 Systems

Exit Print View

Updated: July 2014

Creating a System Configuration Profile Using the SCI Tool

You can run the SCI Tool to generate a new system configuration profile based on the configuration specifications entered in the SCI Tool panels. The default location for the new profile is /system/volatile/profile/sc_profile.xml.

To create a new system configuration profile, use the sysconfig create-profile command. A profile will be created but the configuration will not be applied to the system.

Note -  You must include the .xml extension for the profile in order to successfully use that profile for reconfiguration.

For further information, see the sysconfig (1M) man page. Also, see Chapter 11, Configuring the Client System.

Example 6-6  Using the Default Profile

The SCI Tool creates the new system configuration profile based on the specifications that you provide in the SCI Tool panels. The new profile is stored in the default location. You can use that new profile to configure a system, as shown in the following example.

# sysconfig configure -g system -c /etc/system/profile/sysconfig/sc_profile.xml
Example 6-7  Creating and Using a Profile

The –g option is used to specify a specific functional grouping that should be configured. In this example, the full system will be configured. For a list of the functional groupings, see Table 6–1. The following example creates a profile and then uses the profile to non-interactively reconfigure the system.

# sysconfig create-profile -o /tmp/myprofile.xml
# sysconfig configure -g system -c /tmp/myprofile.xml
Example 6-8  Creating and Using a Profile to Configure Functional Groupings

The following example creates a profile for the network and naming_services functional groups. Then the profile is used to reconfigure the functional groupings non-interactively.

# sysconfig create-profile -g network,naming_services -o /tmp/myprofile.xml
# sysconfig configure -g network,naming_services -c /tmp/myprofile.xml