Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

Internal Zone Configuration

The system configuration data can exist as either a single profile, sc_profile.xml or as a directory, profiles, of SMF profiles. The single file or directory both describe the zones system configuration data that will be passed to the automated installer during zone installation. If no sc_profile.xml file or profiles directory is given during zone installation, the sysconfig interactive tool will query the administrator for the data the first time the console zlogin command is used.

This release uses SMF to centralize the configuration information.

An Oracle Solaris instance is created and configured during installation. An Oracle Solaris instance is defined as a boot environment in either a global or a non-global zone. You can use the sysconfig utility to perform configuration tasks on an Oracle Solaris instance, or to unconfigure an Oracle Solaris instance and reconfigure the instance. The sysconfig command can be used to create an SMF profile.

After the installation or creation of an Oracle Solaris instance in a global or non-global zone, where system configuration is needed, system configuration will happen automatically. System configuration is not needed in the case of a zoneadm clone operation in which the –p option to preserve system identity is specified, or in the case of an attach operation in which the –cprofile.xmlsysconfig file option is not specified.

You can do the following:

  • Use the sysconfig configure command to reconfigure (unconfigure then configure) that Oracle Solaris instance.

    • Use the sysconfig configure command to configure that Oracle Solaris instance and cause the SCI tool to start on the console.

      # sysconfig configure
    • Use the sysconfig configure command to configure an unconfigured Solaris instance in the global or a non-global zone.

      # sysconfig configure -c sc_profile.xml

      If you specify an existing configuration profile with the command, a non-interactive configuration is performed. If you do not specify an existing configuration profile with the command, the System Configuration Interactive (SCI) Tool runs. The SCI Tool enables you to provide specific configuration information for that Oracle Solaris instance.

  • You can use the sysconfig create-profile command to create a new system configuration profile.

The sysconfig interface is described in Chapter 6, Unconfiguring or Reconfiguring an Oracle Solaris Instance, in Installing Oracle Solaris 11.2 Systems and in the sysconfig(1M) man page.