Skip to content

Data on SSD

Ashish Shinde edited this page Jul 11, 2020 · 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
    namespace:
      - name: test
        memory-size: 3000000000
        replication-factor: 2
        storage-engine:
          device:
            - /test/dev/xvdf

Get full CR file here.

Deploy the cluster

Follow the instructions here to deploy this configuration.

Clone this wiki locally