Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-basic.xsd"
3
  xmlns="http://www.hazelcast.com/schema/config"
4
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5
  <group>
6
    <name>metacat</name>
7
    <password>password</password>
8
  </group>
9

    
10
  <network>
11
    <port auto-increment="true">5701</port>
12
    <join>
13
      <multicast enabled="false">
14
        <multicast-group>224.2.2.3</multicast-group>
15
        <multicast-port>54327</multicast-port>
16
      </multicast>
17
      <tcp-ip enabled="true">
18
        <hostname>127.0.0.1</hostname>
19
      </tcp-ip>
20
    </join>
21
    <interfaces enabled="true">
22
      <interface>127.0.0.1</interface>
23
    </interfaces>
24
    <symmetric-encryption enabled="false">
25
      <!--
26
         encryption algorithm such as
27
         DES/ECB/PKCS5Padding,
28
         PBEWithMD5AndDES,
29
         AES/CBC/PKCS5Padding,
30
         Blowfish,
31
         DESede
32
      -->
33
      <algorithm>PBEWithMD5AndDES</algorithm>
34
      <!-- salt value to use when generating the secret key -->
35
      <salt>thesalt</salt>
36
      <!-- pass phrase to use when generating the secret key -->
37
      <password>thepass</password>
38
      <!-- iteration count to use when generating the secret key -->
39
      <iteration-count>19</iteration-count>
40
    </symmetric-encryption>
41
    <asymmetric-encryption enabled="false">
42
      <!-- encryption algorithm -->
43
      <algorithm>RSA/NONE/PKCS1PADDING</algorithm>
44
      <!-- private key password -->
45
      <keyPassword>thekeypass</keyPassword>
46
      <!-- private key alias -->
47
      <keyAlias>local</keyAlias>
48
      <!-- key store type -->
49
      <storeType>JKS</storeType>
50
      <!-- key store password -->
51
      <storePassword>thestorepass</storePassword>
52
      <!-- path to the key store -->
53
      <storePath>keystore</storePath>
54
    </asymmetric-encryption>
55
  </network>
56

    
57
  <executor-service>
58
    <core-pool-size>16</core-pool-size>
59
    <max-pool-size>64</max-pool-size>
60
    <keep-alive-seconds>60</keep-alive-seconds>
61
  </executor-service>
62

    
63
  <map name="hzSystemMetadata">
64
    <backup-count>3</backup-count>
65
    <eviction-policy>LRU</eviction-policy>
66
    <max-size policy="cluster_wide_map_size">1000</max-size>
67
    <eviction-percentage>25</eviction-percentage>
68
    <merge-policy>hz.ADD_NEW_ENTRY</merge-policy>
69
    <map-store enabled="true">
70
      <class-name>edu.ucsb.nceas.metacat.dataone.hazelcast.SystemMetadataMap</class-name>
71
      <write-delay-seconds>0</write-delay-seconds>
72
    </map-store>
73
  </map>
74
  <map name="hzObjectPath">
75
    <backup-count>3</backup-count>
76
    <eviction-policy>NONE</eviction-policy>
77
    <max-size policy="cluster_wide_map_size">0</max-size>
78
    <eviction-percentage>25</eviction-percentage>
79
    <merge-policy>hz.ADD_NEW_ENTRY</merge-policy>
80
    <map-store enabled="true">
81
      <class-name>edu.ucsb.nceas.metacat.dataone.hazelcast.ObjectPathMap</class-name>
82
      <write-delay-seconds>0</write-delay-seconds>
83
    </map-store>
84
  </map>
85
  <map name="hzIndexEventMap">
86
    <backup-count>3</backup-count>
87
    <eviction-policy>LRU</eviction-policy>
88
    <max-size policy="cluster_wide_map_size">1000</max-size>
89
    <eviction-percentage>25</eviction-percentage>
90
    <merge-policy>hz.ADD_NEW_ENTRY</merge-policy>
91
    <map-store enabled="true">
92
      <class-name>edu.ucsb.nceas.metacat.index.IndexEventMapStore</class-name>
93
      <write-delay-seconds>0</write-delay-seconds>
94
    </map-store>
95
  </map>
96
</hazelcast>
(4-4/21)