System Administration Guide: Virtualization Using the Solaris Operating System

ProcedureHow to Set Configuration Constraints

Constraints affect the range of possible configurations by eliminating some of the potential changes that could be made to a configuration. This procedure shows how to set the cpu.pinned property.

In the following examples, cpuid is an integer.

  1. Become superuser, or assume a role that includes the Process Management profile.

    The System Administrator role includes the Process Management profile. For more information about roles, see Using the Solaris Management Tools With RBAC (Task Map) in System Administration Guide: Basic Administration.

  2. Modify the cpu.pinned property in the static or dynamic configuration:

    • Modify the boot-time (static) configuration:


      # poolcfg -c 'modify cpu <cpuid> (boolean cpu.pinned = true)'
      
    • Modify the running (dynamic) configuration without modifying the boot-time configuration:


      # poolcfg -dc 'modify cpu <cpuid> (boolean cpu.pinned = true)'