Document Information
Preface
Solaris Virtualization Product Overview
Part I Resource Management
1. Introduction to Solaris Resource Management
Resource Management Overview
When to Use Resource Management
2. Projects and Tasks (Overview)
3. Administering Projects and Tasks
4. Extended Accounting (Overview)
5. Administering Extended Accounting (Tasks)
6. Resource Controls (Overview)
7. Administering Resource Controls (Tasks)
8. Fair Share Scheduler (Overview)
9. Administering the Fair Share Scheduler (Tasks)
10. Physical Memory Control Using the Resource Capping Daemon (Overview)
11. Administering the Resource Capping Daemon (Tasks)
12. Resource Pools (Overview)
13. Creating and Administering Resource Pools (Tasks)
14. Resource Management Configuration Example
15. Resource Control Functionality in the Solaris Management Console
Part II Zones
16. Introduction to Solaris Zones
17. Non-Global Zone Configuration (Overview)
18. Planning and Configuring Non-Global Zones (Tasks)
19. About Installing, Halting, Cloning, and Uninstalling Non-Global Zones (Overview)
20. Installing, Booting, Halting, Uninstalling, and Cloning Non-Global Zones (Tasks)
21. Non-Global Zone Login (Overview)
22. Logging In to Non-Global Zones (Tasks)
23. Moving and Migrating Non-Global Zones (Tasks)
24. About Packages and Patches on a Solaris System With Zones Installed (Overview)
25. Adding and Removing Packages and Patches on a Solaris System With Zones Installed (Tasks)
26. Solaris Zones Administration (Overview)
27. Administering Solaris Zones (Tasks)
28. Troubleshooting Miscellaneous Solaris Zones Problems
Part III Branded Zones
29. About Branded Zones and the Linux Branded Zone
30. Planning the lx Branded Zone Configuration (Overview)
31. Configuring the lx Branded Zone (Tasks)
32. About Installing, Booting, Halting, Cloning, and Uninstalling lx Branded Zones (Overview)
33. Installing, Booting, Halting, Uninstalling and Cloning lx Branded Zones (Tasks)
34. Logging In to lx Branded Zones (Tasks)
35. Moving and Migrating lx Branded Zones (Tasks)
36. Administering and Running Applications in lx Branded Zones (Tasks)
Part IV Sun xVM
37. Sun xVM Hypervisor System Requirements
38. Booting and Running the Sun xVM Hypervisor
39. Xvnc
40. Using virt-install to Install a Domain
41. xVM System Administration
42. Troubleshooting Miscellaneous Sun xVM Problems
Glossary
Index
|
Setting Up Resource Management (Task Map)
The following task map provides a high-level overview of the steps that are
involved in setting up resource management on your system. Task |
Description |
For Instructions |
Identify the workloads
on your system and categorize each workload by project. |
Create project entries in either
the /etc/project file, in the NIS map, or in the LDAP directory service. |
project Database |
Prioritize
the workloads on your system. |
Determine which applications are critical. These workloads might
require preferential access to resources. |
Refer to your business service goals. |
Monitor real-time activity on
your system. |
Use performance tools to view the current resource consumption of workloads that
are running on your system. You can then evaluate whether you must
restrict access to a given resource or isolate particular workloads from other workloads. |
Monitoring by System
and cpustat(1M), iostat(1M), mpstat(1M), prstat(1M), sar(1), and vmstat(1M) man pages |
Make temporary modifications
to the workloads that are running on your system. |
To determine which values can
be altered, refer to the resource controls that are available in the Solaris
system. You can update the values from the command line while the task
or process is running. |
Available Resource Controls, Global and Local Actions on Resource Control Values, Temporarily Updating Resource Control Values on a Running System and rctladm(1M) and prctl(1) man pages. |
Set
resource controls and project attributes for every project entry in the project database
or naming service project database. |
Each project entry in the /etc/project file or the
naming service project database can contain one or more resource controls or attributes.
Resource controls constrain tasks and processes attached to that project. For each threshold
value that is placed on a resource control, you can associate one or
more actions to be taken when that value is reached. You can set
resource controls by using the command-line interface. Certain configuration parameters can also be
set by using the Solaris Management Console. |
project Database, Local /etc/project File Format, Available Resource Controls, Global and Local Actions on Resource Control Values, and Chapter 8, Fair Share Scheduler (Overview) |
Place an
upper bound on the resource consumption of physical memory by collections of processes
attached to a project. |
The resource cap enforcement daemon will enforce the physical
memory resource cap defined for the project's rcap.max-rss attribute in the /etc/project file. |
project Database and
Chapter 10, Physical Memory Control Using the Resource Capping Daemon (Overview) |
Create resource pool configurations. |
Resource pools provide a way to partition system resources,
such as processors, and maintain those partitions across reboots. You can add one
project.pool attribute to each entry in the /etc/project file. |
project Database and Chapter 12, Resource Pools (Overview) |
Make the
fair share scheduler (FSS) your default system scheduler. |
Ensure that all user processes
in either a single CPU system or a processor set belong to the
same scheduling class. |
Configuring the FSS and dispadmin(1M) man page |
Activate the extended accounting facility to
monitor and record resource consumption on a task or process basis. |
Use extended accounting
data to assess current resource controls and to plan capacity requirements for future
workloads. Aggregate usage on a system-wide basis can be tracked. To obtain complete
usage statistics for related workloads that span more than one system, the project
name can be shared across several machines. |
How to Activate Extended Accounting for Processes, Tasks, and Flows and acctadm(1M) man page |
(Optional) If you
need to make additional adjustments to your configuration, you can continue to alter
the values from the command line. You can alter the values while the
task or process is running. |
Modifications to existing tasks can be applied on
a temporary basis without restarting the project. Tune the values until you are
satisfied with the performance. Then, update the current values in the /etc/project file or
in the naming service project database. |
Temporarily Updating Resource Control Values on a Running System and rctladm(1M) and prctl(1) man pages |
(Optional)
Capture extended accounting data. |
Write extended accounting records for active processes and active
tasks. The files that are produced can be used for planning, chargeback, and
billing purposes. There is also a Practical Extraction and Report Language (Perl) interface to
libexacct that enables you to develop customized reporting and extraction scripts. |
wracct(1M) man page and
Perl Interface to libexacct |
|