• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Understanding the sysconfig utility in Solaris 11

by admin

The sysconfig utility is used in Oracle Solaris 11 to unconfigure and reconfigure an existing Oracle Solaris 11 system or its subsystem. The subsystems of a system that is configurable are referred to as “functional groupings”. A functional grouping is a service or collection of services that are configured or unconfigured when the utility is executed.

The sysconfig utility replaces the sysunconfig and sysidtool utilities. The sysconfig utility launches the System Configuration tool. You use the System Configuration tool to interactively unconfigure and configure the OS image.

You can perform the following three operations by using the sysconfig utility:

  • Unconfiguration of the system: Brings the OS image to a pristine (unconfigured) state
  • Configuration of the system: Enables you to reconfigure the OS image. It helps you to change the hostname, IP address, name service, time zone, initial user account, and root password.
  • System configuration profile creation: Helps you to create a system configuration profile. The system configuration profile is an XML-based file that contains the hostname, IP address, name service, time zone, initial user account, and root password configuration properties. The system configuration profile can be used with the sysconfig configure command or with Automatic Installation (AI) to configure an OS image.

Apart from using sysconfig to perform system configurations, you can also reconfigure and unconfigure individual functional groups. The functional groupings that can be configured on a system are date_time, network, naming_services, location, users, identity, support, and keyboard. The system grouping will configure or unconfigure all functional groupings. Groupings can also be unconfigured and left in an unconfigured state.

The following command reconfigures the network and naming services functional groupings. The SCI Tool is invoked and the groupings will be reconfigured interactively.

# sysconfig configure -g network,naming_services

The following sequence of commands creates a profile for the network and naming services, and then use the profile to reconfigure the groupings non-interactively:

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

Filed Under: Solaris, Solaris 11

Some more articles you might also be interested in …

  1. How to share ZFS as NFS in Solaris 11
  2. Solaris ZFS : How to replace a failed disk in rpool (x86)
  3. How to force a crash dump on T1000/T2000 servers from ALOM
  4. How to log SSH login attempts to a file in Solaris
  5. Oracle VM Server for SPARC (Ldoms) : How to Change Primary/Control Domain’s UUID
  6. What are Oracle Solaris 11 Installation Methods
  7. How to add Additional Storage Space Created from Dynamic LUN Expansion in SVM online
  8. How To Determine Approximate Solaris Crash Dump File Size Requirements
  9. Solaris Performance troubleshooting : Disk (I/O) performance issues
  10. Understanding “Holding a ZFS Snapshot” Feature

You May Also Like

Primary Sidebar

Recent Posts

  • grpck command – Remove corrupt or duplicate entries in the /etc/group and /etc/gshadow files.
  • xxd command – Expressed in hexadecimal form
  • sesearch: command not found
  • macof: command not found

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright