Skip to content

Commit

Permalink
Update to NoSQL CE 23.3.30 (#2769)
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-vega authored Mar 6, 2024
1 parent a79b41c commit caea5ad
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 29 deletions.
25 changes: 12 additions & 13 deletions NoSQL/README-sec.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ For example, to check the version of KVLite, use the `version` command:

```shell
$ docker run --rm -ti --link kvlite:store oracle/nosql:ce-sec java -Xmx64m -Xms64m -jar lib/kvstore.jar version
22.3.32 2023-02-14 19:38:03 UTC Build id: 23acbda81a26 Edition: Community
23.3.30 2023-12-01 19:37:33 UTC Build id: c5db6593507b Edition: Community
```

To check the size of the storage shard:
Expand All @@ -110,18 +110,17 @@ $ docker run --rm -ti -v secfiles:/shared_conf:ro --link kvlite:store oracle/nos
-security /shared_conf/user.security

kv-> ping

Pinging components of store kvstore based upon topology sequence #14
10 partitions and 1 storage nodes
Time: 2023-02-27 06:37:49 UTC Version: 22.3.32
Time: 2024-02-28 08:20:36 UTC Version: 23.3.30
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 kvlite: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 22.3.32 2023-02-14
19:38:03 UTC Build id: 23acbda81a26 Edition: Community isMasterBalanced: true serviceStartTime: 2023-02-27 06:36:21 UTC
Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2023-02-27 06:36:26 UTC stateChangeTime: 2023-02-27 06:36:25 UTC
availableStorageSize: 2 GB
Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 361 haPort: 5011 availableStorageSize: 9 GB storageType: HD serviceStartTime:
2023-02-27 06:36:28 UTC stateChangeTime: 2023-02-27 06:36:28 UTC
Storage Node [sn1] on kvlite: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 23.3.30 2023-12-01 19:37:33 UTC Build id: c5db6593507b Edition: Community isMasterBalanced: true serviceStartTime: 2024-02-28 08:11:20 UTC
Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2024-02-28 08:11:23 UTC stateChangeTime: 2024-02-28 08:11:23 UTC availableStorageSize: 2 GB
Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 508 haPort: 5011 availableStorageSize: 6 GB storageType: HD serviceStartTime: 2024-02-28 08:11:25 UTC stateChangeTime: 2024-02-28 08:11:25 UTC


kv-> put kv -key /SomeKey -value SomeValue
Operation successful, record inserted.
Expand Down Expand Up @@ -203,7 +202,7 @@ $ openssl x509 -text -noout -in /mylocalpath/certificate.pem | grep CN
````
Note: the certicate can be customized in the script setup-http-proxy-sec.sh
(e.g adding [SAN](https://docs.oracle.com/en/database/other-databases/nosql-database/22.1/security/ssl-using-openssl.html))
(e.g adding [SAN](https://docs.oracle.com/en/database/other-databases/nosql-database/23.1/security/ssl-using-openssl.html))
## Advanced Scenario: connecting to Oracle NoSQL CE from another host
Expand All @@ -218,7 +217,7 @@ be made via the Oracle NoSQL Database Proxy on the `KV_PROXY_PORT`.
First, install the latest version of Oracle NoSQL on your remote host:
```shell
KV_VERSION=22.3.32
KV_VERSION=23.3.30
rm -rf kv-$KV_VERSION
DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database
DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip"
Expand Down Expand Up @@ -401,7 +400,7 @@ number used for the image tag:
```shell
KV_VERSION=22.3.32 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce-sec:$KV_VERSION" .
KV_VERSION=23.3.30 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce-sec:$KV_VERSION" .
```
## More information
Expand All @@ -424,9 +423,9 @@ Oracle provides no commercial support for the Oracle NoSQL Community Edition.
## Copyright
Copyright (c) 2017, 2023 Oracle and/or its affiliates.
Copyright (c) 2017, 2024 Oracle and/or its affiliates.
[NOSQL]: http://www.oracle.com/technetwork/database/database-technologies/nosqldb/overview/index.html
[DOCS]: https://docs.oracle.com/en/database/other-databases/nosql-database/index.html
[Apache-2.0]: https://docs.oracle.com/en/database/other-databases/nosql-database/22.3/license/index.html#NSXLI-GUID-006E432E-1965-45A2-AEDE-204BD05E1560
[Apache-2.0]: https://docs.oracle.com/en/database/other-databases/nosql-database/23.3/license/index.html#GUID-006E432E-1965-45A2-AEDE-204BD05E1560
[GraalVM-License]: https://github.com/graalvm/container/blob/master/LICENSE.md
22 changes: 10 additions & 12 deletions NoSQL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ For example, to check the version of KVLite, use the `version` command:

```shell
$ docker run --rm -ti --link kvlite:store oracle/nosql:ce java -Xmx64m -Xms64m -jar lib/kvstore.jar version
22.3.32 2023-02-14 19:38:03 UTC Build id: 23acbda81a26 Edition: Community
23.3.30 2023-12-01 19:37:33 UTC Build id: c5db6593507b Edition: Community
```

To check the size of the storage shard:
Expand All @@ -98,16 +98,14 @@ $ docker run --rm -ti --link kvlite:store oracle/nosql:ce \

Pinging components of store kvstore based upon topology sequence #14
10 partitions and 1 storage nodes
Time: 2023-02-27 06:25:43 UTC Version: 22.3.32
Time: 2024-02-28 08:20:36 UTC Version: 23.3.30
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 kvlite: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 22.3.32 2023-02-14
19:38:03 UTC Build id: 23acbda81a26 Edition: Community isMasterBalanced: true serviceStartTime: 2023-02-27 06:24:27 UTC
Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2023-02-27 06:24:30 UTC stateChangeTime: 2023-02-27 06:24:30 UTC
availableStorageSize: 2 GB
Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 314 haPort: 5011 availableStorageSize: 9 GB storageType: HD
serviceStartTime: 2023-02-27 06:24:33 UTC stateChangeTime: 2023-02-27 06:24:34 UTC
Storage Node [sn1] on kvlite: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 23.3.30 2023-12-01 19:37:33 UTC Build id: c5db6593507b Edition: Community isMasterBalanced: true serviceStartTime: 2024-02-28 08:11:20 UTC
Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2024-02-28 08:11:23 UTC stateChangeTime: 2024-02-28 08:11:23 UTC availableStorageSize: 2 GB
Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 508 haPort: 5011 availableStorageSize: 6 GB storageType: HD serviceStartTime: 2024-02-28 08:11:25 UTC stateChangeTime: 2024-02-28 08:11:25 UTC


kv-> put kv -key /SomeKey -value SomeValue
Operation successful, record inserted.
Expand Down Expand Up @@ -175,7 +173,7 @@ be made via the Oracle NoSQL Database Proxy on the `KV_PROXY_PORT`.
First, install the latest version of Oracle NoSQL on your remote host:

```shell
KV_VERSION=22.3.32
KV_VERSION=23.3.30
rm -rf kv-$KV_VERSION
DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database
DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip"
Expand Down Expand Up @@ -335,7 +333,7 @@ number used for the image tag:


```shell
KV_VERSION=22.3.32 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce:$KV_VERSION" .
KV_VERSION=23.3.30 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce:$KV_VERSION" .
```

## More information
Expand All @@ -358,9 +356,9 @@ Oracle provides no commercial support for the Oracle NoSQL Community Edition.

## Copyright

Copyright (c) 2017, 2023 Oracle and/or its affiliates.
Copyright (c) 2017, 2024 Oracle and/or its affiliates.

[NOSQL]: http://www.oracle.com/technetwork/database/database-technologies/nosqldb/overview/index.html
[DOCS]: https://docs.oracle.com/en/database/other-databases/nosql-database/index.html
[Apache-2.0]: https://docs.oracle.com/en/database/other-databases/nosql-database/22.3/license/index.html#NSXLI-GUID-006E432E-1965-45A2-AEDE-204BD05E1560
[Apache-2.0]: https://docs.oracle.com/en/database/other-databases/nosql-database/23.3/license/index.html#GUID-006E432E-1965-45A2-AEDE-204BD05E1560
[GraalVM-License]: https://github.com/graalvm/container/blob/master/LICENSE.md
4 changes: 2 additions & 2 deletions NoSQL/ce-sec/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Copyright (c) 2022, 2023 Oracle and/or its affiliates.
# Copyright (c) 2022, 2024 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
#
FROM ghcr.io/graalvm/jdk:ol8-java17

LABEL org.opencontainers.image.source = "https://github.com/oracle/docker-images"

ARG KV_VERSION=22.3.32
ARG KV_VERSION=23.3.30
ARG DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database
ARG DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip"
ARG DOWNLOAD_LINK="${DOWNLOAD_ROOT}/${DOWNLOAD_FILE}"
Expand Down
4 changes: 2 additions & 2 deletions NoSQL/ce/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Copyright (c) 2022, 2023 Oracle and/or its affiliates.
# Copyright (c) 2022, 2024 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
#
FROM ghcr.io/graalvm/jdk:ol8-java17

LABEL org.opencontainers.image.source = "https://github.com/oracle/docker-images"

ARG KV_VERSION=22.3.32
ARG KV_VERSION=23.3.30
ARG DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database
ARG DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip"
ARG DOWNLOAD_LINK="${DOWNLOAD_ROOT}/${DOWNLOAD_FILE}"
Expand Down

0 comments on commit caea5ad

Please sign in to comment.