Skip to content

Commit 23c6fe9

Browse files
author
Ben Mansheim
authored
5.6 Updates (RedisLabs#725)
1 parent c5207bb commit 23c6fe9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+737
-334
lines changed

content/cheatsheet.md

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -263,67 +263,71 @@ Output:
263263
This is how you make expanding blocks.
264264
{{% /expand%}}
265265

266-
### Excerpts
266+
### Embedded partials
267267

268-
**Defining an excerpt**
268+
A partial markdown or HTML file can be included in other files using the **embed-md** or **embed-html** shortcodes. Partials must be placed in `content/embeds` directory.
269+
270+
Embed a markdown partial
269271

270272
Syntax:
271273

272-
```md
273-
{{%/* excerpt */%}}The Redis OSS Cluster API support in Redis Enterprise Software (RS)
274-
provides a simple mechanism for cluster-aware Redis clients to learn
275-
and know the cluster topology. This enables clients to connect directly
276-
to an RS proxy on the node hosting the master shard for the data being
277-
operated on.{{%/* /excerpt */%}}
274+
```src
275+
{{</* embed-md "sample.md" */>}}
278276
```
279277

280278
Output:
281279

282-
{{% excerpt %}}The Redis OSS Cluster API support in Redis Enterprise Software (RS)
283-
provides a simple mechanism for cluster-aware Redis clients to learn
284-
and know the cluster topology. This enables clients to connect directly
285-
to an RS proxy on the node hosting the master shard for the data being
286-
operated on.{{% /excerpt %}}
280+
{{< embed-md "sample.md" >}}
287281

288-
**Including an excerpt**
282+
Embed an HTML partial
289283

290284
Syntax:
291285

292286
```src
293-
{{%/* excerpt-include filename="rs/concepts/data-access/oss-cluster-api.md" */%}}
287+
{{</* embed-html "sample-table.html" */>}}
294288
```
295289

296290
Output:
297291

298-
{{%excerpt-include filename="rs/concepts/data-access/oss-cluster-api.md" %}}
292+
{{< embed-html "sample.html" >}}
299293

300-
**Embedding a partial**
294+
### Excerpts
301295

302-
A partial markdown or HTML file can be included in other files using the **embed-md** or **embed-html** shortcodes. Partials should be placed in `content/embeds` directory.
296+
{{% warning %}}
297+
In most cases, use embedded partials instead of excerpts.
298+
{{% /warning %}}
303299

304-
Embed a markdown partial
300+
**Defining an excerpt**
305301

306302
Syntax:
307303

308-
```src
309-
{{</* embed-md "sample.md" */>}}
304+
```md
305+
{{%/* excerpt */%}}The Redis OSS Cluster API support in Redis Enterprise Software (RS)
306+
provides a simple mechanism for cluster-aware Redis clients to learn
307+
and know the cluster topology. This enables clients to connect directly
308+
to an RS proxy on the node hosting the master shard for the data being
309+
operated on.{{%/* /excerpt */%}}
310310
```
311311

312312
Output:
313313

314-
{{< embed-md "sample.md" >}}
314+
{{% excerpt %}}The Redis OSS Cluster API support in Redis Enterprise Software (RS)
315+
provides a simple mechanism for cluster-aware Redis clients to learn
316+
and know the cluster topology. This enables clients to connect directly
317+
to an RS proxy on the node hosting the master shard for the data being
318+
operated on.{{% /excerpt %}}
315319

316-
Embed an HTML partial
320+
**Including an excerpt**
317321

318322
Syntax:
319323

320324
```src
321-
{{</* embed-html "sample-table.html" */>}}
325+
{{%/* excerpt-include filename="rs/concepts/data-access/oss-cluster-api.md" */%}}
322326
```
323327

324328
Output:
325329

326-
{{< embed-html "sample.html" >}}
330+
{{%excerpt-include filename="rs/concepts/data-access/oss-cluster-api.md" %}}
327331

328332
## Informative Notices
329333

@@ -430,6 +434,7 @@ Ouput:
430434
See example [here](/rcessentials/administration).
431435

432436
### Recently updated
437+
433438
This shortcode can be used to display recently updated articles.
434439

435440
Syntax:

content/embeds/backup-locations.md

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### FTP server
22

3-
Before you specify to backup to an FTP server, make sure that:
3+
Before you choose to backup to an FTP server, make sure that:
44

55
- The RS cluster has network connectivity to the FTP server.
66
- The user that you specify in the FTP server location has read and write priviledges.
@@ -15,7 +15,7 @@ For example: `ftp://username:password@10.1.1.1/home/backups/`
1515

1616
### SFTP server
1717

18-
Before you specify to backup to an SFTP server, make sure that:
18+
Before you choose to backup to an SFTP server, make sure that:
1919

2020
- The RS cluster has network connectivity to the SFTP server.
2121
- The user that you specify in the SFTP server location has read and write priviledges.
@@ -35,15 +35,15 @@ For example: `sftp://username:password@10.1.1.1/home/backups/`
3535

3636
### AWS S3
3737

38-
Before you specify to backup to Amazon S3, make sure that you have:
38+
Before you choose to backup to Amazon S3, make sure that you have:
3939

40-
- Path in the format: `s3://bucketname/path/`
40+
- Storage location path in the format: `s3://bucketname/path/`
4141
- Access key ID
4242
- Secret access key
4343

4444
### Local mount point
4545

46-
Before you specify to backup to a local mount point, make sure that:
46+
Before you choose to backup to a local mount point, make sure that:
4747

4848
- The node has network connectivity to the destination server of the mount point.
4949
- The `redislabs:redislabs` user has read and write priviledges on the local mount point
@@ -69,10 +69,28 @@ To backup to a local mount point for a node:
6969
7070
### OpenStack Swift
7171
72-
Before you specify to backup to OpenStack Swift, make sure that you have:
72+
Before you choose to backup to OpenStack Swift, make sure that you have:
7373
7474
- Storage URL in the format: `https://<openstack_url>/v1`
7575
- Container
7676
- Prefix (Optional)
7777
- User
7878
- Key
79+
80+
### Azure Blob Storage
81+
82+
Before you choose to backup to OpenStack Swift, make sure that you have:
83+
84+
- Storage location path in the format: `/container_name/[path/]/`
85+
- Account name
86+
- Account key
87+
88+
### Google Cloud Storage
89+
90+
Before you choose to backup to OpenStack Swift, make sure that you have:
91+
92+
- Storage location path in the format: `/bucket_name/[path/]/`
93+
- Client ID
94+
- Client email
95+
- Private key ID
96+
- Private key
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Redis OSS Cluster API reduces access times and latency with near-linear scalability.
2+
The Redis OSS Cluster API provides a simple mechanism for Redis clients to know the cluster topology.
3+
4+
Clients must first connect to the master node to get the cluster topology,
5+
and then they connect directly to the Redis proxy on each node that hosts a master shard.
6+
7+
{{% note %}}
8+
You must use a client that supports the OSS cluster API to connect to a database
9+
that has the OSS cluster API enabled.
10+
{{% /note %}}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
To encrypt Replica Of synchronization traffic, you must also [configure encryption for the destination database](#configuring-tls-for-replica-of-traffic-on-the-destination-database).
2+
3+
### Configuring encryption for only Replica Of communication on the source database
4+
5+
To enable TLS for Replica Of communication only on the source database:
6+
7+
1. In **databases**, either:
8+
- Click ![icon_add](/images/rs/icon_add.png#no-click "Add") to create a new database.
9+
- Click on the database that you want to configure and at the bottom of the
10+
page click **edit**.
11+
1. Enable **TLS**.
12+
13+
![database-tls-config](/images/rs/database-tls-config.png "Database TLS Configuration")
14+
15+
1. Select the communication that you want to secure:
16+
- For a new database - **Require TLS for Replica Of communications only** is
17+
selected by default.
18+
- For an existing database that is configured to **Require TLS for all
19+
communications** - Select **Require TLS for Replica Of communications only**.
20+
21+
By default, client authentication is enforced so you must enter the syncer certificates
22+
of the clusters that host the destination databases.
23+
24+
1. To enter the syncer certificates:
25+
1. Copy the syncer certificates for each cluster with a destination database:
26+
1. Login to the cluster.
27+
1. Go to **Settings**.
28+
1. In the syncer certificates box, copy the entire text of the certificate.
29+
1. Click ![icon_add](/images/rs/icon_add.png#no-click "Add") to open the certificate box.
30+
31+
![database-tls-replica-certs](/images/rs/database-tls-replica-certs.png
32+
"Database TLS Configuration")
33+
34+
1. Paste the text of the certificates in the box.
35+
1. Click ![icon_save](/images/rs/icon_save.png#no-click "Save")
36+
to save the certificates.
37+
38+
You can also clear **Enforce client authentication** so that all clusters or
39+
clients can connect to your database without authentication.
40+
41+
To encrypt Replica Of synchronization traffic, you must also [configure encryption
42+
for the destination database]({{< relref "/rs/administering/active-passive.md#encryption" >}}).
43+
44+
### Configuring encryption for all communication on the source database
45+
46+
To enable TLS for Replica Of and client communication on the source database:
47+
48+
1. In **databases**, either:
49+
- Click ![icon_add](/images/rs/icon_add.png#no-click "Add")
50+
to create a new database.
51+
- Click on the database that you want to configure and at the bottom of the
52+
database page click **edit**.
53+
1. Enable **TLS** and select **Require TLS for all communications**.
54+
55+
![database-tls-all](/images/rs/database-tls-all.png "database-tls-all")
56+
57+
By default, client authentication is enforced so you must enter the syncer
58+
certificates of the clusters that host the destination databases.
59+
The certificates of the clients that connect to the database.
60+
61+
1. To enter the syncer and client certificates:
62+
1. Copy the entire text of the syncer and client certificates.
63+
64+
For each cluster with a destination database:
65+
66+
1. Login to the cluster.
67+
1. Go to **Settings**.
68+
1. In the syncer certificates box, copy the entire text of the certificate.
69+
1. Click ![icon_add](/images/rs/icon_add.png#no-click "Add")
70+
to open the certificate box.
71+
72+
![database-tls-replica-certs](/images/rs/database-tls-replica-certs.png
73+
"Database TLS Configuration")
74+
75+
1. Paste the text of the certificates in the box.
76+
1. Click ![icon_save](/images/rs/icon_save.png#no-click "Save")
77+
to save the certificates.
78+
79+
You can also clear **Enforce client authentication** so that all clusters or
80+
clients can connect to your database without authentication.

content/modules/upgrading-rs.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ This causes a short interruption in the availability of this database across the
4949
When you upgrade the module for a database, you can either:
5050

5151
- Specify the module arguments to replace the current arguments.
52-
- Specify the 'keep_module_args' flag to use the current argument.
52+
- Specify the `keep_args` flag to use the current argument.
5353

5454
1. Connect to the terminal of a node in the cluster
5555
1. Run `rladmin status` to list the databases on the node.
@@ -70,27 +70,31 @@ When you upgrade the module for a database, you can either:
7070
1. To upgrade the module for the database, run:
7171

7272
```src
73-
rladmin upgrade module db_name <database_name> module_name <module_name> version <new_module_version_number> module_args <module arguments>
73+
rladmin upgrade db <database_name> and module module_name <module_name> version <new_module_version_number> module_args "<module arguments>"
7474
```
7575
76+
- If you want to remove the existing module arguments, enter `""` without arguments.
77+
- If you want to use the exisintg module arguments, enter `"keep_args"`
78+
- If you want to update multiple modules, use the `and module` parameter for each module.
79+
7680
## Examples
7781
7882
Here are some examples of module upgrades:
7983
80-
- To upgrade the version of RediSearch to 1.6.7:
84+
- To upgrade the version of RediSearch to 1.6.7 and specify arguments:
8185
8286
```src
83-
rladmin upgrade module db_name MyAwesomeDB module_name ft version 10607 module_args "PARTITIONS AUTO"
87+
rladmin upgrade db <database_name> and module db_name MyAwesomeDB module_name ft version 10607 module_args "PARTITIONS AUTO"
8488
```
8589
86-
- To upgrade RedisBloom to version 2.2.1:
90+
- To upgrade RedisBloom to version 2.2.1 and remove arguments:
8791
8892
```src
89-
rladmin upgrade module db_name MyDB module_name bf version 20201 module_args ""
93+
rladmin upgrade db <database_name> and module db_name MyDB module_name bf version 20201 module_args ""
9094
```
9195
92-
- To upgrade RedisJSON to 1.0.4:
96+
- To upgrade RedisJSON to 1.0.4 and keep existing arguments and RedisBloom to version 2.2.1 and remove arguments:
9397
9498
```src
95-
rladmin upgrade module db_name MyDB module_name ReJSON version 10004 module_args ""
99+
rladmin upgrade module db_name MyDB module_name ReJSON version 10004 module_args "keep_args" and module db_name MyDB module_name bf version 20201 module_args ""
96100
```

content/rs/administering/active-active.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,11 @@ Before configuring a CRDB, you must:
3939
## CRDB Current Limitations
4040

4141
1. RS is limited to five Participating Clusters or CRDB Instances per CRDB.
42-
1. An existing database cannot modified to be a CRDB.
43-
To move existing data to a CRDB you must create a new CRDB and migrate your data.
42+
1. An existing database cannot be changed into a CRDB. To move data from an existing database to a CRDB you must create a new CRDB and migrate the data.
4443
1. CRDBs do not support [Redis modules]({{< relref "/rs/developing/modules/_index.md" >}}).
4544
1. CRDBs require FQDNs or mDNS (development only). Discovery Service is not supported with CRDBs.
4645
1. CRDBs are not compatible with [Replica Of]({{< relref "/rs/administering/active-passive.md" >}}).
4746

48-
ReplicaOf is a one-way replication, while CRDB utilize multi-master replication.
49-
1. [OSS cluster API]({{< relref "/rs/concepts/data-access/oss-cluster-api.md" >}}) is not supported with CRDB.
50-
5147
## Network Time Service (NTP or Chrony)
5248

5349
For CRDBs, you must use a time service like NTP or Chrony.

0 commit comments

Comments
 (0)