Default distribution configuration

This is the default distribution configuration.

Example 7.9. Default distribution configuration

// Name 
//    $RCSfile: distribution.kcs,v $
//
// History 
//    $Revision: 1.1.2.2.4.1 $ $Date: 2015/05/14 14:09:17 $ 
//
// COPYRIGHT
//    Copyright 2010-2015 Cloud Software Group, Inc. ALL RIGHTS RESERVED.
//    Cloud Software Group, Inc. Confidential Information
//
// Description
//    Distribution configuration
//

configuration "distribution" version "1.0" type "distribution"
{
    configure switchadmin
    {
        configure Distribution
        {
            //
            // High-Availability configuration data.
            //
            // Only one instance of this configuration can be 
            // specified.
            //
            HighAvailability
            {
                // 
                // Enable or disable node quorum behavior
                // 
                nodeQuorum = Disable;

                //
                // Number of remote nodes required for a quorum.
                // This is ignored if nodeQuorum is Disable.
                //
                minimumNumberQuorumNodes = 0;

                //
                // Keep-alive send interval
                //
                keepAliveSendIntervalSeconds = 1;

                //
                 // Keep-alive non-response timeout interval 
                // following a send.
                //
                nonResponseTimeoutSeconds = 2;
            };

            //
            // Transaction configuration data.
            //
            // Only one instance of this configuration can be 
            // specified.
            //
            Transaction
            {
                //
                // The number of seconds to wait for a 
                // distributed lock.  If this time value 
                // expires, a deadlock is thrown and the 
                // transaction is retried.
                //
                timeoutSeconds = 60;

                //
                // The maximum number of committed or aborted 
                // transactions to retain for each remote node.
                // This is used for recovery processing to 
                // determine the outcome of global transactions
                // if a remote node crashes and is restarted 
                // with a loss of shared memory.
                //
                numberCompletedTransactions = 1000;
            };


            //
            // Dynamic discovery configuration data.
            //
            // Only one instance of this configuration can be 
            // specified.
            //
            DynamicDiscovery
            {
                //
                // Enable or disable dynamic discovery
                //
                enabled = true;
            };

            //
            // Transport configuration data.
            //
            // Only a single instance of this interface can be 
            // specified.
            //
            Transport
            {
                //
                // Listener address list.
                //
                // A list of TCP network addresses on which to 
                // start a listener.  Remote nodes communicate 
                // to this node using these listeners.
                //
                // The format of each specified network 
                // listener address is:
                //
                //    IPv4|IPv6:<host address>:<port number>
                //
                // host address - default value is all 
                //           interfaces
                // port number - default value is 5557
                //    
                // For example to listen on all IPv4 interfaces
                // on port number 5557 would require the 
                // following entry:
                //
                //    { IPv4:: };
                //
                // To listen on all IPv6 interfaces on port 5558
                // would require the following entry:
                //
                //     { IPv6::5558 };
                //
                // To listen on both of these requires the 
                // following entry:
                //    {
                //        IPv4::,
                //        IPv6::5558
                //    };
                //
                // This value is audited at configuration 
                // activation.
                //
                listenerAddressList = 
                {
                    "IPv4::"
                };

                //
                // The number of ports to search before 
                // reporting a listener failure.  The search 
                // is started at the configured network 
                // listener port number and then incremented 
                // by one on each failure up to this value.  
                //
                // A value of 0 disables port search.
                //
                numberSearchPorts = 20;

                // 
                // The amount of time to wait for a remote 
                // node to move into the Active state before 
                // a resource unavailable exception is raised.  
                // 
                // The wait is done for a partition's active 
                // node when enabling a partition, or 
                // for each remote node when a discover 
                // cluster command is executed. 
                //
                // This value must be > 0.
                //
                nodeActiveTimeoutSeconds = 60;

                // 
                // Control enabling of TCP_NODELAY socket 
                // option on connection establishment.
                //
                tcpNoDelayEnabled = true;

                //
                // Control maximum PDU size used for 
                // distributed communications.
                //
                // This value must be > 4000.
                //
                maximumPDUSizeBytes = 1000000;
            };
        };
    };
};