Skip to content

Commit

Permalink
Release/2021 04 22 (#1289)
Browse files Browse the repository at this point in the history
* Minor tweaks to EDB Plus guide

* Minor tweaks to epas guide

* New PDFs generated by Github Actions

* Hotfix: CNP links (#1288)

* removed: nesting for interactive

* fix: cnp-plugin link

* fix: broken links to API reference

* Fix rest of relative links

Co-authored-by: Josh Heyer <[email protected]>

Co-authored-by: sheetal <[email protected]>
Co-authored-by: Robert Stringer <[email protected]>
Former-commit-id: 1841c9e
  • Loading branch information
3 people authored Apr 22, 2021
1 parent 9dc8798 commit d91ed57
Show file tree
Hide file tree
Showing 10 changed files with 157 additions and 202 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ katacodaPanel:
scenario: minikube
codelanguages: shell, yaml
showInteractiveBadge: true
legacyRedirects:
- "/kubernetes/cloud_native_postgresql/interactive/installation_and_deployment"
---

Want to see what it takes to get the Cloud Native PostgreSQL Operator up and running? This section will demonstrate the following:
Expand Down Expand Up @@ -221,7 +219,7 @@ status:
By default, the operator will install the latest available minor version
of the latest major version of PostgreSQL when the operator was released.
You can override this by setting [the `imageName` key in the `spec` section of
the `Cluster` definition](../api_reference/#clusterspec).
the `Cluster` definition](api_reference/#clusterspec).

!!! Important
The immutable infrastructure paradigm requires that you always
Expand Down Expand Up @@ -266,15 +264,15 @@ cluster-example-3 0/6000060 0/6000060 6941211174657425425
```

!!! Note "There's more"
See [the Cloud Native PostgreSQL Plugin page](../cnp-plugin/) for more commands and options.
See [the Cloud Native PostgreSQL Plugin page](cnp-plugin/) for more commands and options.


### Further reading

This is all it takes to get a PostgreSQL cluster up and running, but of course there's a lot more possible - and certainly much more that is prudent before you should ever deploy in a production environment!

- For information on using the Cloud Native PostgreSQL Operator to deploy on public cloud platforms, see the [Cloud Setup](.../cloud_setup/) section.
- For information on using the Cloud Native PostgreSQL Operator to deploy on public cloud platforms, see the [Cloud Setup](cloud_setup/) section.

- For the design goals and possibilities offered by the Cloud Native PostgreSQL Operator, check out the [Architecture](../architecture/) and [Use cases](../use_cases/) sections.
- For the design goals and possibilities offered by the Cloud Native PostgreSQL Operator, check out the [Architecture](architecture/) and [Use cases](use_cases/) sections.

- And for details on what it takes to configure a secure and reliable system, read through the [Security](../security/), [Failure Modes](../failure_modes/) and [Backup and Recovery](../backup_recovery/) sections.
- And for details on what it takes to configure a secure and reliable system, read through the [Security](security/), [Failure Modes](failure_modes/) and [Backup and Recovery](backup_recovery/) sections.
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ The following steps will walk you through using the EDB apt repository to instal
apt-get -y install edb-asxx-edbplus
```

Where, xx is the Advanced Server version.
Where, `xx` is the Advanced Server version.

## Configuring an RPM Installation

Expand Down
15 changes: 8 additions & 7 deletions product_docs/docs/epas/13/edb_plus/04_using_edb_plus.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ legacyRedirects:

<div id="starting_edb_plus" class="registered_link"></div>

To open an EDB\*Plus command line, navigate through the `Applications` or `Start` menu to the `Advanced Server` menu, to the `Run SQL Command Line` menu, and select the `EDB*Plus` option. You can also invoke `EDB*Plus` from the operating system command line with the following command:
To open an EDB\*Plus command line, navigate through the `Applications` or `Start` menu to the Advanced Server menu, to the `Run SQL Command Line` menu, and select the EDB\*Plus option. You can also invoke EDB\*Plus from the operating system command line with the following command:

```text
edbplus [ -S[ILENT ] ] [ <login> | /NOLOG ] [ @<scriptfile>[.<ext> ] ]
Expand All @@ -22,7 +22,9 @@ edbplus [ -S[ILENT ] ] [ <login> | /NOLOG ] [ @<scriptfile>[.<ext> ] ]

Login information for connecting to the database server and database. `login` takes the following form; there must be no white space within the login information.

`<username>[/<password>][@{<connectstring> | <variable> } ]`
```text
<username>[/<password>][@{<connectstring> | <variable> } ]
```

Where:

Expand Down Expand Up @@ -74,20 +76,19 @@ C:\Program Files\edb\as13\edbplus>edbplus enterprisedb/password
Connected to EnterpriseDB 13.0.1 (localhost:5444/edb) AS enterprisedb

EDB*Plus: Release 13 (Build 39.0.0)
Copyright (c) 2008-2020, EnterpriseDB Corporation. All rights reserved.
Copyright (c) 2008-2021, EnterpriseDB Corporation. All rights reserved.

SQL>
```
The following example shows user `enterprisedb` with password, `password`, connecting to database `edb` running on a database server on the `localhost` at port `5445`.
```text
C:\Program Files\edb\as13\edbplus>edbplus enterprisedb/
password@localhost:5445/edb
C:\Program Files\edb\as13\edbplus>edbplus enterprisedb/password@localhost:5445/edb
Connected to EnterpriseDB 13.0.1 (localhost:5445/edb) AS enterprisedb
EDB*Plus: Release 13 (Build 39.0.0)
Copyright (c) 2008-2020, EnterpriseDB Corporation. All rights reserved.
Copyright (c) 2008-2021, EnterpriseDB Corporation. All rights reserved.
SQL>
```
Expand All @@ -99,7 +100,7 @@ C:\Program Files\edb\as13\edbplus>edbplus enterprisedb/password@hr_5445
Connected to EnterpriseDB 13.0.1 (localhost:5445/hr) AS enterprisedb
EDB*Plus: Release 13 (Build 39.0.0)
Copyright (c) 2008-2020, EnterpriseDB Corporation. All rights reserved.
Copyright (c) 2008-2021, EnterpriseDB Corporation. All rights reserved.
SQL>
```
Expand Down
26 changes: 12 additions & 14 deletions product_docs/docs/epas/13/edb_plus/05_using_edb_plus_with_ssl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ $ cp server.crt root.crt
$ rm -f server.csr
```

**Step 5:** Move or copy the certificate and private key files to the Advanced Server data directory (for example, `/opt/edb/as10/data`).
**Step 5:** Move or copy the certificate and private key files to the Advanced Server data directory (for example, `/opt/edb/as13/data`).

```text
$ mv root.crt /opt/edb/as10/data
$ mv server.crt /opt/edb/as10/data
$ mv server.key /opt/edb/as10/data
$ mv root.crt /opt/edb/as13/data
$ mv server.crt /opt/edb/as13/data
$ mv server.key /opt/edb/as13/data
```

**Step 6:** Set the file ownership and permissions on the certificate files and private key file.
Expand Down Expand Up @@ -294,13 +294,12 @@ Logged into Linux with the account named `user`, EDB\*Plus is successfully invok
```text
$ export PGSSLCERTPASS=keypass
$ export PGSSLKEYPASS=exppass
$ cd /opt/edb/as10/edbplus
$ cd /opt/edb/as13/edbplus
$ ./edbplus.sh enterprisedb/[email protected]:5444/edb?ssl=true
Connected to EnterpriseDB 10.0.1 (192.168.2.22:5444/edb)
AS enterprisedb
Connected to EnterpriseDB 13.0.1 (192.168.2.22:5444/edb) AS enterprisedb
EDB*Plus: Release 10 (Build 36.0.0)
Copyright (c) 2008-2020, EnterpriseDB Corporation. All rights reserved.
EDB*Plus: Release 13 (Build 39.0.0)
Copyright (c) 2008-2021, EnterpriseDB Corporation. All rights reserved.
SQL>
```
Expand All @@ -312,13 +311,12 @@ $ export PGSSLCERT=/home/user/ssl/postgresql.keystore
$ export PGSSLKEY=/home/user/ssl/postgresql.p12
$ export PGSSLCERTPASS=keypass
$ export PGSSLKEYPASS=exppass
$ cd /opt/edb/as10/edbplus
$ cd /opt/edb/as13/edbplus
$ ./edbplus.sh enterprisedb/[email protected]:5444/edb?ssl=true
Connected to EnterpriseDB 10.0.1 (192.168.2.22:5444/edb)
AS enterprisedb
Connected to EnterpriseDB 13.0.1 (192.168.2.22:5444/edb) AS enterprisedb
EDB*Plus: Release 10 (Build 36.0.0)
Copyright (c) 2008-2020, EnterpriseDB Corporation. All rights reserved.
EDB*Plus: Release 13 (Build 39.0.0)
Copyright (c) 2008-2021, EnterpriseDB Corporation. All rights reserved.
SQL>
```
Expand Down
5 changes: 2 additions & 3 deletions product_docs/docs/epas/13/edb_plus/06_command_summary.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,7 @@ DEFINE NAME = "John Smith"
`DEL` is a line editor command that deletes one or more lines from the SQL buffer.

```text
DEL [ n | n m | n * | n L[AST ] | * | * n | * L[AST ] |
L[AST ] ]
DEL [ n | n m | n * | n L[AST ] | * | * n | * L[AST ] | L[AST ] ]
```

The parameters specify which lines are to be deleted from the SQL buffer. Two parameters specify the start and end of a range of lines to be deleted. If the `DEL` command is given with no parameters, the current line is deleted.
Expand Down Expand Up @@ -385,7 +384,7 @@ The `DESCRIBE` command displays:

- A list of columns, column data types, and column lengths for a table or view
- A list of parameters for a procedure or function
- A list of procedures and functions and their respective parameters for a package.
- A list of procedures and functions and their respective parameters for a package

The `DESCRIBE` command will also display the structure of the database object referred to by a synonym. The syntax is:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ The following is a list of conventions used throughout this document.
- For PostgreSQL Linux installations, this defaults to `/opt/PostgreSQL/x.x` for version 10 and earlier. For later versions, use the PostgreSQL community packages.
- For Advanced Server Linux installations accomplished using the interactive installer for version 10 and earlier, this defaults to `/opt/edb/asx.x`.
- For Advanced Server Linux installations accomplished using an RPM package, this defaults to `/usr/edb/asxx`.
- For Advanced Server Windows installations, this defaults to `C:\Program Files\edb\as\xx`. The product version number is represented by `x.x` or by `xx` for version 10 and later.
- For Advanced Server Windows installations, this defaults to `C:\Program Files\edb\asxx`. The product version number is represented by `x.x` or by `xx` for version 10 and later.
Loading

0 comments on commit d91ed57

Please sign in to comment.