Aerospike commands
https://medium.com/techclub/starting-out-with-aerospike-10ce0358e955
docker run -d --name aerospike -p 3000:3000 -p 3001:3001 -p 3002:3002 -p 3003:3003 aerospike
docker run -d --name aerospike -v $PWD:/opt/aerospike/data aerospike/aerospike-server -p 3000:3000 -p 3001:3001 -p 3002:3002 -p 3003:3003 aerospike
docker run --name aerospike -v $PWD:/opt/aerospike/data aerospike/aerospike-server -p 3000:3000 -p 3001:3001 -p 3002:3002 -p 3003:3003 aerospike
docker run -it aerospike/aerospike-tools aql -h $(docker inspect -f '{{.NetworkSettings.IPAddress }}' aerospike)
https://schoolofsoftware.com/Docker/Aerospike
docker run --name aerospike1 aerospike:latest
docker run --name aerospike1 aerospike:latest
link eth0 state up
link eth0 state up in 0
Feb 17 2022 01:59:08 GMT: INFO (as): (as.c:306) <><><><><><><><><><> Aerospike Enterprise Edition build 5.5.0.9 <><><><><><><><><><>
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # Aerospike database configuration file.
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # This stanza must come first.
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) service {
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) user root
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) group root
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1.
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) pidfile /var/run/aerospike/asd.pid
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # service-threads 4 # default is 5 x cpus
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # transaction-queues 4 # obsolete as of 4.7
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # transaction-threads-per-queue 4 #obsolete as of 4.7
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) proto-fd-max 15000
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) feature-key-file /etc/aerospike/features.conf
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) }
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) logging {
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # Log file must be an absolute path.
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) file /dev/null {
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) context any info
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) }
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # Send log messages to stdout
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) console {
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) context any info
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) }
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) }
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) network {
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) service {
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) address any
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) port 3000
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # Uncomment the following to set the `access-address` parameter to the
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # IP address of the Docker host. This will the allow the server to correctly
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # publish the address which applications and other nodes in the cluster to
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # use when addressing this node.
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # access-address <IPADDR>
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) }
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) heartbeat {
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) address any
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # mesh is used for environments that do not support multicast
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) mode mesh
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) port 3002
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # use asinfo -v 'tip:host=<ADDR>;port=3002' to inform cluster of
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # other mesh nodes
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) interval 150
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) timeout 10
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) }
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) fabric {
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) address any
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) port 3001
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) }
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) info {
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) address any
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) port 3003
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) }
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) }
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) namespace test {
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) replication-factor 2
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) memory-size 1G
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) default-ttl 30d # 5 days, use 0 to never expire/evict.
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) nsup-period 120
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # storage-engine memory
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # To use file storage backing, comment out the line above and use the
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) # following lines instead.
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944)
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) storage-engine device {
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) file /opt/aerospike/data/test.dat
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) filesize 4G
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) data-in-memory true # Store data in memory in addition to file.
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) }
Feb 17 2022 01:59:08 GMT: INFO (config): (cfg.c:3944) }
Feb 17 2022 01:59:08 GMT: WARNING (misc): (fetch.c:211) unable to open file /etc/aerospike/features.conf: No such file or directory
Feb 17 2022 01:59:08 GMT: CRITICAL (config): (features_ee.c:142) failed to get feature key /etc/aerospike/features.conf
Feb 17 2022 01:59:08 GMT: WARNING (as): (signal.c:166) SIGINT received, shutting down Aerospike Enterprise Edition build 5.5.0.9 os debian9
Feb 17 2022 01:59:08 GMT: WARNING (as): (signal.c:169) startup was not complete, exiting immediately
Last updated
Was this helpful?