Professional Documents
Culture Documents
Examples of Using Server Pools
Examples of Using Server Pools
Examples of Using Server Pools
In this policy-managed deployment, the value of the MIN_SIZE server pool attribute for the online server
pool is 2, while the value of the MIN_SIZE server pool attribute for the backoffice server pool is 1.
Configured this way, Oracle Clusterware ensures that there are always two servers in the online server pool
and one server in the backoffice server pool. Because this is a four-node cluster, there is one server left not
assigned to either server pool. Where that last server gets deployed is determined by the MAX_SIZE server
pool parameter of each server pool. If the sum of the values of the MAX_SIZE server pool attribute for each
server pool is less than the total number of servers in the cluster, then the remaining servers stay in the Free
server pool awaiting a failure of a deployed node.
If the value of MAX_SIZE is greater than that of MIN_SIZE, then the remaining server will be deployed into
the server pool whose importance value is greatest, as shown in Figure 1-2, and fully discussed in the next
section. In this case, the server is a shareable resource that can be relocated online to join the server pool where
it is required. For example, during business hours the server could be given to the online server pool to add
an instance of the dbsales database but after hours could be relocated to the backoffice server pool,
adding a dberp database instance. All such movements are online and instances are shut down,
transactionally.
These two policy-managed databases are running only the instances that are required and they can be
dynamically increased or decreased to meet demand or business requirements.
Consolidation of Databases
You can use several different approaches, either discretely or combined, to consolidate Oracle databases.
Policy-managed deployments facilitate consolidation. In the case of schema consolidation, where multiple
applications are being hosted in a single database separated into discrete schemas or pluggable databases
(PDBs), you can use server pools to meet required capacity. Because of the dynamic scaling property of server
pools, you can increase or decrease the number of database instances to meet current demand or business
requirements. Since server pools also determine which services run together or separately, you can configure
and maintain required affinity or isolation.
When it is not possible to use schema consolidation because of, for example, version requirements, you can
host multiple databases on a single set of servers. Using policy-managed databases facilitates this database
consolidation because they can share the same server pool by making use of instance caging, which enables
you to dynamically increase or decrease databases, both horizontally (using server pool size) and vertically
(using the CPU_COUNT server configuration attribute) to meet demand or business policies and schedules.
See Also:
Oracle Clusterware Administration and Deployment Guide for more information about the CPU_COUNT server
configuration attribute
By contrast, with administrator-managed databases, you are required to reserve capacity on each server to
absorb workload failing over should a database instance or server fail. With policy-managed databases,
however, you can effectively rank server pools by the business necessity of the workloads that they are running
using the MIN_SIZE, MAX_SIZE, and IMPORTANCE server pool attributes.
When the failure of a server brings a server pool to below its configured minimum number of servers, another
server will move from a less important server pool to take its place and bring the number of servers back up to
the configured minimum. This eliminates the risk of cascade failures due to overloading the remaining servers
and enables you to significantly reduce or even eliminate the need to reserve capacity for handling failures.
Migrating or converting to policy-managed databases also enables cluster consolidation and creates larger
clusters that have greater availability and scalability because of the increased number of servers available to
host and scale databases. Because policy-managed databases do not require binding their instance names to a
particular server and binding services to particular instances, the complexity of configuring and managing
large clusters is greatly reduced.
An example deployment is shown in Figure 1-4 where the previous two cluster examples (shown in Figure 1-
2 and Figure 1-3) are consolidated into a single cluster, making use of both database consolidation (using
instance caging) and cluster consolidation (using server pools) configured so that workloads are properly sized
and prioritized.