Skip to content

Commit 7d978a3

Browse files
committed
docusaurus conversion
1 parent 7e51b4a commit 7d978a3

File tree

1,744 files changed

+109560
-8078
lines changed

Some content is hidden

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

1,744 files changed

+109560
-8078
lines changed

.github/workflows/deploy.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,11 @@ jobs:
5454
5555
- name: Build Docusaurus site
5656
env:
57-
DOCS_PATH: ${{ vars.DOCS_PATH }}
5857
DOCUSAURUS_BASE_URL: ${{ vars.DOCUSAURUS_BASE_URL }}
5958
DOCUSAURUS_URL: ${{ vars.DOCUSAURUS_URL }}
6059
IMAGES_PATH: ${{ vars.IMAGES_PATH }}
6160
run: |
6261
echo "Building Docusaurus site..."
63-
echo "Using DOCS_PATH: $DOCS_PATH"
6462
echo "Using DOCUSAURUS_BASE_URL: $DOCUSAURUS_BASE_URL"
6563
echo "Using DOCUSAURUS_URL: $DOCUSAURUS_URL"
6664
echo "Using IMAGES_PATH: $IMAGES_PATH"

docs/README.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs/SUMMARY.md

Lines changed: 0 additions & 268 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"label": "Administration",
3+
"position": 2,
4+
"link": {
5+
"type": "generated-index",
6+
"title": "Administration Documentation",
7+
"description": "Guides for managing and administering HarperDB instances",
8+
"keywords": [
9+
"administration"
10+
]
11+
}
12+
}
Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Best Practices and Recommendations
3+
---
4+
15
# Best Practices and Recommendations
26

37
Harper is designed for minimal administrative effort, and with managed services these are handled for you. But there are important things to consider for managing your own Harper servers.
@@ -7,22 +11,22 @@ Harper is designed for minimal administrative effort, and with managed services
711
As a distributed database, data protection and recovery can benefit from different data protection strategies than a traditional single-server database. But multiple aspects of data protection and recovery should be considered:
812

913
- Availability: As a distributed database Harper is intrinsically built for high-availability and a cluster will continue to run even with complete server(s) failure. This is the first and primary defense for protecting against any downtime or data loss. Harper provides fast horizontal scaling functionality with node cloning, which facilitates ease of establishing high availability clusters.
10-
- [Audit log](logging/audit-logging.md): Harper defaults to tracking data changes so malicious data changes can be found, attributed, and reverted. This provides security-level defense against data loss, allowing for fine-grained isolation and reversion of individual data without the large-scale reversion/loss of data associated with point-in-time recovery approaches.
11-
- Snapshots: When used as a source-of-truth database for crucial data, we recommend using snapshot tools to regularly snapshot databases as a final backup/defense against data loss (this should only be used as a last resort in recovery). Harper has a [`get_backup`](../developers/operations-api/databases-and-tables.md#get-backup) operation, which provides direct support for making and retrieving database snapshots. An HTTP request can be used to get a snapshot. Alternatively, volume snapshot tools can be used to snapshot data at the OS/VM level. Harper can also provide scripts for replaying transaction logs from snapshots to facilitate point-in-time recovery when necessary (often customization may be preferred in certain recovery situations to minimize data loss).
14+
- [Audit log](logging/audit-logging): Harper defaults to tracking data changes so malicious data changes can be found, attributed, and reverted. This provides security-level defense against data loss, allowing for fine-grained isolation and reversion of individual data without the large-scale reversion/loss of data associated with point-in-time recovery approaches.
15+
- Snapshots: When used as a source-of-truth database for crucial data, we recommend using snapshot tools to regularly snapshot databases as a final backup/defense against data loss (this should only be used as a last resort in recovery). Harper has a [`get_backup`](../developers/operations-api/databases-and-tables#get-backup) operation, which provides direct support for making and retrieving database snapshots. An HTTP request can be used to get a snapshot. Alternatively, volume snapshot tools can be used to snapshot data at the OS/VM level. Harper can also provide scripts for replaying transaction logs from snapshots to facilitate point-in-time recovery when necessary (often customization may be preferred in certain recovery situations to minimize data loss).
1216

1317
### Horizontal Scaling with Node Cloning
1418

15-
Harper provides rapid horizontal scaling capabilities through [node cloning functionality described here](cloning.md).
19+
Harper provides rapid horizontal scaling capabilities through [node cloning functionality described here](cloning).
1620

1721
### Monitoring
1822

1923
Harper provides robust capabilities for analytics and observability to facilitate effective and informative monitoring:
2024

21-
- Analytics provides statistics on usage, request counts, load, memory usage with historical tracking. The analytics data can be [accessed through querying](../technical-details/reference/analytics.md).
22-
- A large variety of real-time statistics about load, system information, database metrics, thread usage can be retrieved through the [`system_information` API](../developers/operations-api/system-operations.md).
23-
- Information about the current cluster configuration and status can be found in the [cluster APIs](../developers/operations-api/clustering.md).
24-
- Analytics and system information can easily be exported to Prometheus with our [Prometheus exporter component](https://github.com/HarperDB-Add-Ons/prometheus_exporter), making it easy visualize and monitor Harper with Graphana.
25+
- Analytics provides statistics on usage, request counts, load, memory usage with historical tracking. The analytics data can be [accessed through querying](../technical-details/reference/analytics).
26+
- A large variety of real-time statistics about load, system information, database metrics, thread usage can be retrieved through the [`system_information` API](../developers/operations-api/system-operations).
27+
- Information about the current cluster configuration and status can be found in the [cluster APIs](../developers/operations-api/clustering).
28+
- Analytics and system information can easily be exported to Prometheus with our [Prometheus exporter component](https:/github.com/HarperDB-Add-Ons/prometheus_exporter), making it easy visualize and monitor Harper with Graphana.
2529

2630
### Replication Transaction Logging
2731

28-
Harper utilizes NATS for replication, which maintains a transaction log. See the [transaction log documentation for information on how to query this log](logging/transaction-logging.md).
32+
Harper utilizes NATS for replication, which maintains a transaction log. See the [transaction log documentation for information on how to query this log](logging/transaction-logging).

docs/administration/cloning.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Clone Node
3+
---
4+
15
# Clone Node
26

37
Clone node is a configurable node script that when pointed to another instance of Harper will create a clone of that
@@ -22,7 +26,7 @@ To start clone run `harperdb` in the CLI with either of the following variables
2226
For example:
2327

2428
```
25-
HDB_LEADER_URL=https://node-1.my-domain.com:9925 REPLICATION_HOSTNAME=node-1.my-domain.com HDB_LEADER_USERNAME=... HDB_LEADER_PASSWORD=... harperdb
29+
HDB_LEADER_URL=https:/node-1.my-domain.com:9925 REPLICATION_HOSTNAME=node-1.my-domain.com HDB_LEADER_USERNAME=... HDB_LEADER_PASSWORD=... harperdb
2630
```
2731

2832
#### Command line variables
@@ -35,7 +39,7 @@ HDB_LEADER_URL=https://node-1.my-domain.com:9925 REPLICATION_HOSTNAME=node-1.my-
3539
For example:
3640

3741
```
38-
harperdb --HDB_LEADER_URL https://node-1.my-domain.com:9925 --REPLICATION_HOSTNAME node-1.my-domain.com --HDB_LEADER_USERNAME ... --HDB_LEADER_PASSWORD ...
42+
harperdb --HDB_LEADER_URL https:/node-1.my-domain.com:9925 --REPLICATION_HOSTNAME node-1.my-domain.com --HDB_LEADER_USERNAME ... --HDB_LEADER_PASSWORD ...
3943
```
4044

4145
Each time clone is run it will set a value `cloned: true` in `harperdb-config.yaml`. This value will prevent clone from
@@ -46,7 +50,7 @@ Clone node does not require any additional configuration apart from the variable
4650
However, if you wish to set any configuration during clone this can be done by passing the config as environment/CLI
4751
variables or cloning overtop of an existing `harperdb-config.yaml` file.
4852

49-
More can be found in the Harper config documentation [here](../deployments/configuration.md).
53+
More can be found in the Harper config documentation [here](../deployments/configuration).
5054

5155
### Excluding database and components
5256

@@ -121,12 +125,12 @@ leader and the clone.
121125
Clone node will execute the following steps when ran:
122126

123127
1. Look for an existing Harper install. It does this by using the default (or user provided) `ROOTPATH`.
124-
2. If an existing instance is found it will check for a `harperdb-config.yaml` file and search for the `cloned` value. If the value exists and is `true` clone will skip the clone logic and start Harper.
125-
3. Clone harperdb-config.yaml values that don't already exist (excluding values unique to the leader node).
126-
4. Fully clone any databases that don't already exist.
127-
5. If classed as a "fresh clone", install Harper. An instance is classed as a fresh clone if there is no system database.
128-
6. If `REPLICATION_HOSTNAME` is set, set up replication between the leader and clone.
129-
7. Clone is complete, start Harper.
128+
1. If an existing instance is found it will check for a `harperdb-config.yaml` file and search for the `cloned` value. If the value exists and is `true` clone will skip the clone logic and start Harper.
129+
1. Clone harperdb-config.yaml values that don't already exist (excluding values unique to the leader node).
130+
1. Fully clone any databases that don't already exist.
131+
1. If classed as a "fresh clone", install Harper. An instance is classed as a fresh clone if there is no system database.
132+
1. If `REPLICATION_HOSTNAME` is set, set up replication between the leader and clone.
133+
1. Clone is complete, start Harper.
130134

131135
### Cloning with Docker
132136

@@ -139,7 +143,7 @@ docker run -d \
139143
-v <host directory>:/home/harperdb/hdb \
140144
-e HDB_LEADER_PASSWORD=password \
141145
-e HDB_LEADER_USERNAME=admin \
142-
-e HDB_LEADER_URL=https://1.123.45.6:9925 \
146+
-e HDB_LEADER_URL=https:/1.123.45.6:9925 \
143147
-e REPLICATION_HOSTNAME=1.123.45.6 \
144148
-p 9925:9925 \
145149
-p 9926:9926 \

docs/administration/compact.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Compact
3+
---
4+
15
# Compact
26

37
Database files can grow quickly as you use them, sometimes impeding performance. Harper has multiple compact features that can be used to reduce database file size and potentially improve performance. The compact process does not compress your data, it instead makes your database file smaller by eliminating free-space and fragmentation.
@@ -6,15 +10,15 @@ There are two options that Harper offers for compacting a Database.
610

711
_Note: Some of the storage configuration (such as compression) cannot be updated on existing databases, this is where the following options are useful. They will create a new compressed copy of the database with any updated configuration._
812

9-
More information on the storage configuration options can be [found here](../deployments/configuration.md#storage)
13+
More information on the storage configuration options can be [found here](../deployments/configuration#storage)
1014

1115
### Copy compaction
1216

1317
It is recommended that, to prevent any record loss, Harper is not running when performing this operation.
1418

1519
This will copy a Harper database with compaction. If you wish to use this new database in place of the original, you will need to move/rename it to the path of the original database.
1620

17-
This command should be run in the [CLI](../deployments/harper-cli.md)
21+
This command should be run in the [CLI](../deployments/harper-cli)
1822

1923
```bash
2024
harperdb copy-db <source-database> <target-database-path>

docs/administration/harper-studio/README.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs/administration/harper-studio/create-account.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
1+
---
2+
title: Create a Studio Account
3+
---
4+
15
# Create a Studio Account
26

3-
Start at the [Harper Studio sign up page](https://studio.harperdb.io/sign-up).
7+
Start at the [Harper Studio sign up page](https:/studio.harperdb.io/sign-up).
48

59
1. Provide the following information:
610
- First Name
711
- Last Name
812
- Email Address
913
- Subdomain
1014

11-
_Part of the URL that will be used to identify your Harper Cloud Instances. For example, with subdomain “demo” and instance name “c1” the instance URL would be: https://c1-demo.harperdbcloud.com._
15+
_Part of the URL that will be used to identify your Harper Cloud Instances. For example, with subdomain “demo” and instance name “c1” the instance URL would be: https:/c1-demo.harperdbcloud.com._
1216

1317
- Coupon Code (optional)
1418

15-
2. Review the Privacy Policy and Terms of Service.
16-
3. Click the sign up for free button.
17-
4. You will be taken to a new screen to add an account password. Enter your password.
19+
1. Review the Privacy Policy and Terms of Service.
20+
1. Click the sign up for free button.
21+
1. You will be taken to a new screen to add an account password. Enter your password.
1822
_Passwords must be a minimum of 8 characters with at least 1 lower case character, 1 upper case character, 1 number, and 1 special character._
19-
5. Click the add account password button.
23+
1. Click the add account password button.
2024

2125
You will receive a Studio welcome email confirming your registration.
2226

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
---
2+
title: Enable Mixed Content
3+
---
4+
15
# Enable Mixed Content
26

37
Enabling mixed content is required in cases where you would like to connect the Harper Studio to Harper Instances via HTTP. This should not be used for production systems, but may be convenient for development and testing purposes. Doing so will allow your browser to reach HTTP traffic, which is considered insecure, through an HTTPS site like the Studio.
48

5-
A comprehensive guide is provided by Adobe [here](https://experienceleague.adobe.com/docs/target/using/experiences/vec/troubleshoot-composer/mixed-content.html).
9+
A comprehensive guide is provided by Adobe [here](https:/experienceleague.adobe.com/docs/target/using/experiences/vec/troubleshoot-composer/mixed-content.html).

0 commit comments

Comments
 (0)