@@ -14,7 +14,7 @@ This container image uses a simplified version of the Oracle NoSQL Database call
14
14
15
15
This container image configures an Oracle NoSQL Database secure configuration
16
16
1 . Create a KVlite secured configuration with the
17
- [ password complexity policy] ( https://docs.oracle.com/en/database/other-databases/nosql-database/22.1 /security/password-complexity-policies.html )
17
+ [ password complexity policy] ( https://docs.oracle.com/en/database/other-databases/nosql-database/24.3 /security/password-complexity-policies.html )
18
18
enabled
19
19
2 . Create the ` root ` user and the file ` user.security ` that contain property settings for the login as admin
20
20
3 . Generate the ` certificate.pem ` file allowing to establish a HTTP secure communication between the proxy and the driver
@@ -86,7 +86,7 @@ For example, to check the version of KVLite, use the `version` command:
86
86
87
87
``` shell
88
88
$ docker run --rm -ti --link kvlite:store oracle/nosql:ce-sec java -Xmx64m -Xms64m -jar lib/kvstore.jar version
89
- 23 .3.32 2024-03-06 18:21:38 UTC Build id: 69f48431fc69 Edition: Community
89
+ 24 .3.9 2024-09-26 18:01:32 UTC Build id: 0d82533c492e Edition: Community
90
90
```
91
91
92
92
To check the size of the storage shard:
@@ -113,13 +113,13 @@ $ docker run --rm -ti -v secfiles:/shared_conf:ro --link kvlite:store oracle/nos
113
113
114
114
Pinging components of store kvstore based upon topology sequence # 14
115
115
10 partitions and 1 storage nodes
116
- Time: 2024-04-25 08:13:14 UTC Version: 23 .3.32
116
+ Time: 2024-12-04 12:14:44 UTC Version: 24 .3.9
117
117
Shard Status: healthy: 1 writable-degraded: 0 read-only: 0 offline: 0 total: 1
118
118
Admin Status: healthy
119
119
Zone [name= KVLite id= zn1 type= PRIMARY allowArbiters= false masterAffinity= false] RN Status: online: 1 read-only: 0 offline: 0
120
- Storage Node [sn1] on kvlite: 5000 Zone: [name= KVLite id= zn1 type= PRIMARY allowArbiters= false masterAffinity= false] Status: RUNNING Ver: 23 .3.32 2024-03-06 18:21:38 UTC Build id: 69f48431fc69 Edition: Community isMasterBalanced: true serviceStartTime: 2024-04-25 08:10:10 UTC
121
- Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2024-04-25 08:10:13 UTC stateChangeTime: 2024-04-25 08:10:13 UTC availableStorageSize: 2 GB
122
- Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 86 haPort: 5011 availableStorageSize: 9 GB storageType: HD serviceStartTime: 2024-04-25 08:10:14 UTC stateChangeTime: 2024-04-25 08:10:15 UTC
120
+ Storage Node [sn1] on kvlite: 5000 Zone: [name= KVLite id= zn1 type= PRIMARY allowArbiters= false masterAffinity= false] Status: RUNNING Ver: 24 .3.9 2024-09-26 18:01:32 UTC Build id: 0d82533c492e Edition: Community isMasterBalanced: true serviceStartTime: 2024-12-04 12:06:43 UTC
121
+ Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2024-12-04 12:06:47 UTC stateChangeTime: 2024-12-04 12:06:47 UTC availableStorageSize: 2 GB
122
+ Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 131 haPort: 5011 availableStorageSize: 9 GB storageType: HD serviceStartTime: 2024-12-04 12:06:49 UTC stateChangeTime: 2024-12-04 12:06:50 UTC
123
123
124
124
125
125
kv-> put kv -key /SomeKey -value SomeValue
@@ -140,13 +140,17 @@ $ docker run --rm -ti -v secfiles:/shared_conf:ro --link kvlite:store oracle/nos
140
140
tables
141
141
SYS$IndexStatsLease
142
142
SYS$MRTableAgentStat
143
+ SYS$MRTableInfo
143
144
SYS$MRTableInitCheckpoint
144
145
SYS$PartitionStatsLease
145
146
SYS$SGAttributesTable
146
147
SYS$StreamRequest
147
148
SYS$StreamResponse
149
+ SYS$TableMetadata
148
150
SYS$TableStatsIndex
149
151
SYS$TableStatsPartition
152
+ SYS$TopologyHistory
153
+
150
154
sql-> exit
151
155
```
152
156
@@ -202,7 +206,7 @@ $ openssl x509 -text -noout -in /mylocalpath/certificate.pem | grep CN
202
206
203
207
````
204
208
Note: the certicate can be customized in the script setup-http-proxy-sec.sh
205
- (e.g adding [SAN](https://docs.oracle.com/en/database/other-databases/nosql-database/23.1 /security/ssl-using-openssl.html))
209
+ (e.g adding [SAN](https://docs.oracle.com/en/database/other-databases/nosql-database/24.3 /security/ssl-using-openssl.html))
206
210
207
211
## Advanced Scenario: connecting to Oracle NoSQL CE from another host
208
212
@@ -217,10 +221,10 @@ be made via the Oracle NoSQL Database Proxy on the `KV_PROXY_PORT`.
217
221
First, install the latest version of Oracle NoSQL on your remote host:
218
222
219
223
```shell
220
- KV_VERSION=23 .3.32
224
+ KV_VERSION=24 .3.9
221
225
rm -rf kv-$KV_VERSION
222
226
DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database
223
- DOWNLOAD_FILE="community-edition -${KV_VERSION}.zip"
227
+ DOWNLOAD_FILE="kv-ce -${KV_VERSION}.zip"
224
228
DOWNLOAD_LINK="${DOWNLOAD_ROOT}/${DOWNLOAD_FILE}"
225
229
curl -OLs $DOWNLOAD_LINK
226
230
jar tf $DOWNLOAD_FILE | grep "kv-$KV_VERSION/lib" > extract.libs
@@ -400,7 +404,7 @@ number used for the image tag:
400
404
401
405
402
406
```shell
403
- KV_VERSION=23 .3.32 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce-sec:$KV_VERSION" .
407
+ KV_VERSION=24 .3.9 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce-sec:$KV_VERSION" .
404
408
```
405
409
406
410
## More information
@@ -427,5 +431,5 @@ Copyright (c) 2017, 2024 Oracle and/or its affiliates.
427
431
428
432
[NOSQL]: http://www.oracle.com/technetwork/database/database-technologies/nosqldb/overview/index.html
429
433
[DOCS]: https://docs.oracle.com/en/database/other-databases/nosql-database/index.html
430
- [Apache-2.0]: https://docs.oracle.com/en/database/other-databases/nosql-database/23 .3/license/index .html#GUID-006E432E-1965-45A2-AEDE-204BD05E1560
434
+ [Apache-2.0]: https://docs.oracle.com/en/database/other-databases/nosql-database/24 .3/license/apache-license .html
431
435
[GraalVM-License]: https://github.com/graalvm/container/blob/master/LICENSE.md
0 commit comments