Installing Oracle® Solaris 11.2 Systems

Exit Print View

Updated: July 2014

Unconfiguring an Oracle Solaris Instance

If you want to unconfigure a previously configured Solaris instance and leave it in an unconfigured state, use the unconfigure subcommand. You can choose to unconfigure all the functional groupings or just some of them. For further information, see the sysconfig (1M) man page.

Example 6-1  Unconfiguring a System

Use the sysconfig unconfigure command as in the following example to remove all configuration data from the system.

# sysconfig unconfigure -g system
Example 6-2  Unconfiguring SMF Data

Data stored in /etc/svc/profile/site and in the admin layer is not part of the functional groupings. In order to remove this data as well as unconfiguring the system, use the following command:

# sysconfig unconfigure -g system --include-site-profile

The XML profiles that are removed are archived in a tar file named /etc/svc/profile/sysconfig/site-profile.tar.

Example 6-3  Unconfiguring A Specific Functional Grouping

In this example we are configuring the date and time data on the system.

# sysconfig unconfigure -g date_time

Note - If the –g option is not specified, confirmation will be requested before the system is unconfigured.
Example 6-4  Rebooting after Unconfiguring a System

Alternately, you can unconfigure the system and shut down the system as follows.

# sysconfig unconfigure -s

The SCI Tool runs once the system reboots to reconfigure the system.