Skip to content
ajantis edited this page Feb 7, 2013 · 4 revisions

Overview

By default, C3 stores it's config files in $USER_HOME/.c3 directory. It can be overriden by "-Dc3.home" java option.

Platform config

Platform configuration file is called: c3-platform-config.json

Example:

{
	"c3.remote.https.port": "7374",
	"c3.search.index.count": "2",
	"c3.remote.replication.secure_data": "false",
	"c3.search.index.extract_content": "false",
	"c3.remote.replication.port": "7375",
	"c3.platform.id": "K~~64g79",
	"c3.storage.bdb.filethreshold": "102400",
	"c3.remote.replication.queue": "",
	"c3.storage.bdb.cachepercent": "20",
	"c3.search.index.max_size": "100",
	"c3.storage.bdb.txnosync": "false",
	"c3.public.hostname": "localhost",
	"c3.search.index.tika_address": "https://tika-ifunsoftware.rhcloud.com",
	"c3.search.index.path": "/Users/ajantis/.c3data/index",
	"c3.search.index.create_timestamp": "0",
	"c3.remote.http.port": "7373",
	"c3.storage.bdb.embedthreshold": "5120"
}

Zones configuration

Zones configuration file is called: c3-zones.json

Example:

{
    "timeranges": [
        {
            "start": 0,
            "end": 9223372036854775807,
            "idRanges": [
                {
                    "start": 0,
                    "end": 32767,
                    "zone": {
                        "storages": [
                            "5Kfg"
                        ]
                    }
                }
            ]
        }
    ]
}

Clone this wiki locally