When you deploy a policy-managed database you must first determine the services and their required sizing, taking into account that services cannot span server pools. If you are going to collocate this database with other databases, then you should factor in its CPU requirements relative to the other hosted databases, and also factor in the value of its CPU_COUNT
attribute for instance caging, so that you can size the database both vertically and horizontally in one or more server pools.
If you are going to collocate the server pools for this database with other server pools, then consider configuring the server pools to adjust the server pool sizes on a calendar or event basis to optimize meeting demand and business requirements. Once you have determined the sizes of the server pools, and configured the appropriate values for the MIN_SIZE
and MAX_SIZE
server pool attributes, you can then determine the relative importance of each server pool.
See Also:
Oracle Clusterware Administration and Deployment Guide for more information about server pool attributes
You, as the cluster administrator, create policy-managed database server pools using the srvctl add serverpool
command. You can modify the properties of the server pool using the srvctl modify serverpool
command in the Oracle Grid Infrastructure home.
See Also:
Oracle Database Quality of Service Management User's Guide for more information about creating server pools
While it is possible to create a server pool using DBCA, Oracle recommends this only for small, single server pool deployments, because DBCA will fail if servers are already allocated to other server pools. Additionally, if the cluster is made up of servers with different capacities, such as old and new servers, Oracle recommends that you set up server category definitions defining the minimum server requirements for a server to join each server pool.
See Also:
Oracle Clusterware Administration and Deployment Guide for more information about server categorization
After you create the server pools, you can run DBCA from the appropriate database home. Depending on the database type and task, you will be presented with different default options. For all new Oracle RAC and Oracle RAC One Node databases, including container databases (CDBs), the Policy-Managed option is the default and the option that Oracle recommends.
If you are upgrading your database from an administrator-managed database or a database earlier than Oracle Database 11g release 2 (11.2), then you will not have the option to directly upgrade to a policy-managed database. After you upgrade, however, you can convert the database to policy managed using the srvctl modify database
command.
When you convert from an administrator-managed database to a policy-managed database, the instance names are automatically updated to include the underscore (for example: orcl1
becomes orcl_1
). The underscore is required so that the database can automatically create instances when a server pool grows in size.