- Quick Start to KVLite
- Verify your Installation
Verify your Installation
You can verify your installation and ensure that KVLite is running.
- Start a new shell and run the following command:
$ jps -m
Your list of processes running will include the kvlite(kvstore.jar) and the proxy that you configured and started. You get an output similar to the one shown below.3523439 Jps -m 3500313 httpproxy.jar -helperHosts localhost:5000 -storeName kvstore -httpPort 8080 -verbose true 3499946 kvstore.jar kvlite -secure-config disable -root kvroot -host localhost -port 5000 -admin-web-port 5999 -harange 5010,5020 -servicerange 5021,5049 -storagedirsizegb 10
You can also ping your KVLite instance to see if the KVLite is configured and started successfully.
For secure KVLite:java -Xmx64m -Xms64m -jar lib/kvstore.jar ping -host localhost \ -port 5000 -security kvroot/security/user.security
For non-secure KVLlite:java -Xmx64m -Xms64m -jar lib/kvstore.jar ping -host localhost -port 5000
You get an output similar to the one shown below:Pinging components of store kvstore based upon topology sequence #14 10 partitions and 1 storage nodes Time: 2024-10-21 05:23:45 UTC Version: 24.1.11 Shard Status: healthy: 1 writable-degraded: 0 read-only: 0 offline: 0 total: 1 Admin Status: healthy Zone [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] RN Status: online: 1 read-only: 0 offline: 0 Storage Node [sn1] on localhost: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 24.1.11 2024-10-21 05:24:19 UTC Build id: e0c93c1f1395 Edition: Enterprise isMasterBalanced: true serviceStartTime: 2024-10-21 05:24:21 UTC Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2024-10-21 05:24:23 UTC stateChangeTime: 2024-10-21 05:25:04 UTC availableStorageSize: 2 GB Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 85 haPort: 5011 availableStorageSize: 9 GB storageType: HD serviceStartTime: 2024-10-21 05:24:05 UTC stateChangeTime: 2024-10-21 05:24:07 UTC