Installing and Administering Solaris Container Manager 3.6.1

Container Manager Examples

The following examples show how you can use Container Manager.

Multiple Projects With a Zone for Oracle

In this example, you have a default resource pool with a zone. You then set up a container with one resource pool with two zones. One zone, zone_ora1, has the Oracle database application and the second zone, zone_ws01, has a web server application. Each resource pool has two CPUs. You set up eight CPU shares on the container, four shares for zone_ora1 and three shares for zone_ws01. The container uses the fair share scheduler.

Dynamic Resource Pool Example

In this example, you set up one container with two resource pools. Pool1 has one to three CPUs assigned. The load goal for pool1 is greater than 20 percent and less than 80 percent. Pool2 is used by a mail server. Depending on the load that the mail server requires, the other pool is dynamic and can use from one to three CPUs for its applications.

Applications Sharing the Same Container

In this example, you set up one container with two zones. The first zone, zone_ora02 has seven projects: one project for the user ORACLE, one project for any process run by the group database administrator, and five default projects: system, user.root, noproject, default, and group.staff. A total of 100 CPU shares are in the first zone. Each of the default projects is assigned one share each. The first project for user ORACLE is assigned 75 shares and the second project for group.dba is assigned 20 shares.

The second zone, zone_ws_02, is for a web server.

Oracle 10g Rack on Multiple Systems

In this example, the application Oracle 10g runs on multiple systems. You create a project on system 1 with one pool and one zone for the Oracle 10g application. You then copy the project with its zone and pool onto a second system and associate the project on the second system with the Oracle 10g application.

Multiple Systems With Multiple Resource Pools

In this example, you have two systems with two pools each. You have a project with a web server on system 1 and a project with a web server on system 2. Each project has 10 CPU shares with each web server allocated 5 shares. The other 5 shares are reserved for future use.