Enabling DSEFS
Steps to enable DSEFS on DataStax Enterprise nodes.
DSEFS is automatically enabled on analytics nodes, and disabled on non-analytics nodes. You can enable the DSEFS service on any node in a DataStax Enterprise cluster. Nodes within the same datacenter with DSEFS enabled will join together to behave as a DSEFS cluster.
dse.yaml
The location of the dse.yaml file depends on the type of installation:Package installations | /etc/dse/dse.yaml |
Tarball installations | installation_location/resources/dse/conf/dse.yaml |
Procedure
On each node:
-
In the dse.yaml file, set the properties for
the DSE File System options:
dsefs_options: enabled: keyspace_name: dsefs work_dir: /var/lib/dsefs public_port: 5598 private_port: 5599 data_directories: - dir: /var/lib/dsefs/data storage_weight: 1.0 min_free_space: 5368709120
- Restart the node.
- Repeat steps for the remaining nodes.
- Optional:
With guidance from DataStax Support, you can tune advanced DSEFS
properties:
# service_startup_timeout_ms: 30000 # service_close_timeout_ms: 600000 # server_close_timeout_ms: 2147483647 # Integer.MAX_VALUE # compression_frame_max_size: 1048576 # query_cache_size: 2048 # query_cache_expire_after_ms: 2000 # gossip_options: # round_delay_ms: 2000 # startup_delay_ms: 5000 # shutdown_delay_ms: 10000 # rest_options: # request_timeout_ms: 330000 # connection_open_timeout_ms: 55000 # client_close_timeout_ms: 60000 # server_request_timeout_ms: 300000 # idle_connection_timeout_ms: 60000 # internode_idle_connection_timeout_ms: 120000 # core_max_concurrent_connections_per_host: 8 # transaction_options: # transaction_timeout_ms: 3000 # conflict_retry_delay_ms: 200 # conflict_retry_count: 40 # execution_retry_delay_ms: 1000 # execution_retry_count: 3 # block_allocator_options: # overflow_margin_mb: 1024 # overflow_factor: 1.05
- Continue with using DSEFS.