Project

General

Profile

« Previous | Next » 

Revision 6482

Added by Chris Jones over 13 years ago

A default hazelcast config file for metacat.

View differences:

lib/hazelcast.xml
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>DataONE</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>localhost</hostname>
19
      </tcp-ip>
20
    </join>
21
    <interfaces enabled="false">
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>NONE</eviction-policy>
66
    <max-size policy="cluster_wide_map_size">0</max-size>
67
    <eviction-percentage>25</eviction-percentage>
68
    <merge-policy>hz.ADD_NEW_ENTRY</merge-policy>
69
    <map-store enabled="false">
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
</hazelcast>

Also available in: Unified diff