Skip to content

Data on SSD

Sage edited this page Mar 17, 2021 · 9 revisions

Here we provide namespace storage configuration for storing namespace data on a provisioned SSD storage device.

For more details, visit configuration of SSD Storage Engine.

Create the namespace configuration

Following is the Storage specific config for aerospike cluster CR file.

  storage:
    volumes:
      - storageClass: ssd
        path: /opt/aerospike
        volumeMode: filesystem
        sizeInGB: 1
      - path: /test/dev/xvdf
        storageClass: ssd
        volumeMode: block
        sizeInGB: 5
 .
 .
 .
  aerospikeConfig:
    service:
      feature-key-file: /etc/aerospike/secret/features.conf
    security:
      enable-security: true
    namespaces:
      - name: test
        memory-size: 3000000000
        replication-factor: 2
        storage-engine:
          devices:
            - /test/dev/xvdf

Get full CR file here.

Deploy the cluster

Follow the instructions here to deploy this configuration.