17.3 Partitioning the PSE Cluster

As the PSE cluster grows larger, it is desirable to partition the PSE cluster members into logical groupings. This can be according to your group's functions, PSE cluster members' similar characteristics, or other factors. You can create logical groupings of PSE cluster members by creating multiple PSE cluster partitions within the single PSE cluster. You cannot partition a basic PSE cluster.

A PSE cluster partition is a convenient way of grouping PSE cluster members that share the same characteristics, such as memory size, network adapters, or users. PSE cluster applications select a particular partition by specifying the -partition option, or by setting the environment variable PSE_PARTITION. Multiple partitions can exist within a PSE cluster domain and they can have a set of overlapping PSE cluster members. A partition can also inherit the membership and other characteristics of another partition. This is done by specifying the partition name to be inherited as a member of the partition.

To add a PSE cluster partition to your existing PSE cluster database, use psedbedit. See Example 17-1.

Example 17-1 Adding PSE Cluster Partitions to a Database

   .
   .
   .
Command <new load edit view quit help>: edit
Edit Command <SOA configuration_data partition print save quit help> : co
Enter a value for PSE_DEFAULT_PARTITION: allmembers
Enter PSE_SERVICE : 9000
Editing `PSE_PARTITIONS' list:
   .
   .
   .
Enter <add delete quit help> : add newpart1
Enter <add delete quit help> : add newpart2
   .
   .
   .
Enter <add delete quit help> : quit
Editing `PSE_LOADSERVERS'  . . .
Enter <add delete quit help> : quit
Enter token name (case insensitive) : quit
   .
   .
   .
(for each new partition added above the following sequence appears:)
Editing Partition `newpart1' resources:
Editing PSE_MEMBERS list:
Enter <add delete quit help> : add nodea
Enter <add delete quit help> : add nodeb
   .
   .
   .
Enter <add delete quit help> : q
Enter token name (case insensitive): (edit any optional tokens here)
   .
   .
   .
Edit Command <SOA configuration_data partition print save quit help> save
Edit Command <SOA configuration_data partition print save quit help> quit

To make a partition inherit another partition, specify the partition name to be inherited in the partition's PSE_MEMBERS list. This partition now inherits all tokens from the inherited partition, except when the tokens are defined on both partitions, in which case the partition's token overrides the values from the inherited partition.