Skip to content

Commit fe27482

Browse files
authored
Merge pull request #153 from puppetlabs/SOLARCH-376
SOLARCH-376 language and terminology updates
2 parents ac7e5b4 + 85eefb3 commit fe27482

Some content is hidden

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

53 files changed

+345
-344
lines changed

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ As a services-led tool, Puppet Enterprise customers who are advised to start usi
3333
The normal usage pattern for peadm is as follows.
3434

3535
1. Users set up a Bolt host from which they can run peadm plans. The Bolt host can be any machine that has ssh access to all of the PE nodes.
36-
2. Users run the `peadm::provision` plan to bootstrap a new PE deployment. Depending on the architecture chosen, peadm may create some node groups in the classifier to set parameters on the built-in `puppet_enterprise` module, tuning it for large or extra large architectures.
37-
3. Users use and operate their PE deployment as normal. The peadm module is not used again until the next upgrade.
36+
2. Users run the `peadm::provision` plan to bootstrap a new PE cluster. Depending on the architecture chosen, peadm may create some node groups in the classifier to set parameters on the built-in `puppet_enterprise` module, tuning it for large or extra large architectures.
37+
3. Users use and operate their PE cluster as normal. The peadm module is not used again until the next upgrade.
3838
4. When it is time to upgrade, users run the `peadm::upgrade` plan from their Bolt host to accelerate and aid in the upgrade process.
3939

4040
### What peadm affects
@@ -44,8 +44,8 @@ The normal usage pattern for peadm is as follows.
4444

4545
### What peadm does not affect
4646

47-
* The peadm module is not required to exist or be present outside of the point(s) in time it is used to create a new PE deployment, or upgrade an existing deployment. No new Puppet classes or other persistent content not provided out-of-box by PE itself is applied to PE infrastructure nodes by the peadm module.
48-
* Having used the peadm module to provision or to upgrade a PE deployment is not known to affect or curtail the ability to use any normal, documented PE procedures, e.g. failover to a replica, or manual upgrade of a deployment.
47+
* The peadm module is not required to exist or be present outside of the point(s) in time it is used to create a new PE cluster, or upgrade an existing cluster. No new Puppet classes or other persistent content not provided out-of-box by PE itself is applied to PE infrastructure nodes by the peadm module.
48+
* Having used the peadm module to provision or to upgrade a PE cluster is not known to affect or curtail the ability to use any normal, documented PE procedures, e.g. failover to a replica, or manual upgrade of a cluster.
4949

5050
### Requirements
5151

Diff for: documentation/classification.md

+20-20
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Overview
44

5-
This reference implementation uses four non-default node classification groups to implement the Extra Large HA architecture. Intentionally, classification of default, out-of-box node groups is not modified. This allows normal commands such as `puppet infrastructure enable replica` to behave more or less exactly as they would in Standard or Large architecture deployments.
5+
This reference implementation uses four non-default node classification groups to implement the Extra Large DR architecture. Intentionally, classification of default, out-of-box node groups is not modified. This allows normal commands such as `puppet infrastructure enable replica` to behave more or less exactly as they would in Standard or Large architecture clusters.
66

77
This image shows a fully expanded view of the PE Infrastructure node group, highlighting the new additions made to support the Extra Large architecture.
88

@@ -12,37 +12,37 @@ This image shows a fully expanded view of the PE Infrastructure node group, high
1212

1313
The new groups are:
1414

15-
* PE Master A
16-
* PE Master B
15+
* PE Primary A
16+
* PE Primary B
1717
* PE Compiler Group A
1818
* PE Compiler Group B
1919

2020
The configuration applied in each group looks as follows:
2121

22-
### PE Master A
22+
### PE Primary A
2323

24-
![PE Master A group](images/pe-master-a.png)
24+
![PE Primary A group](images/pe-master-a.png)
2525

26-
Notes for PE Master A:
26+
Notes for PE Primary A:
2727

28-
* The (initial) Master is the only member of this node group
28+
* The (initial) Primary is the only member of this node group
2929
* Sets as data two parameters
3030
* `puppet_enterprise::profile::master_replica::database_host_puppetdb`
3131
* `puppet_enterprise::profile::puppetdb::database_host`
32-
* Sets both parameters to the name of the PuppetDB PostgreSQL node paired with this master
33-
* Uses a different PuppetDB PostgreSQL node than PE Master B
32+
* Sets both parameters to the name of the PuppetDB PostgreSQL node paired with this primary
33+
* Uses a different PuppetDB PostgreSQL node than PE Primary B
3434

35-
### PE Master B
36-
![PE Master B group](images/pe-master-b.png)
35+
### PE Primary B
36+
![PE Primary B group](images/pe-master-b.png)
3737

38-
Notes for PE Master B:
38+
Notes for PE Primary B:
3939

40-
* The (initial) Master Replica is the only member of this node group
40+
* The (initial) Primary Replica is the only member of this node group
4141
* Sets as data two parameters
4242
* `puppet_enterprise::profile::master_replica::database_host_puppetdb`
4343
* `puppet_enterprise::profile::puppetdb::database_host`
4444
* Sets both parameters to the name of the PuppetDB PostgreSQL node paired with this master
45-
* Uses a different PuppetDB PostgreSQL node than PE Master A
45+
* Uses a different PuppetDB PostgreSQL node than PE Primary A
4646

4747
### PE Compiler Group A
4848
![PE Compiler Group A group](images/pe-compiler-group-a.png)
@@ -52,10 +52,10 @@ Notes for PE Compiler Group A:
5252
* Half of the compilers are members of this group
5353
* Applies the `puppet_enterprise::profile::puppetdb` class
5454
* Sets the `puppet_enterprise::profile::puppetdb::database_host` parameter
55-
* Should be set to `"pdb-pg-a"`, where "pdb-pg-a" is the name of the PuppetDB PostgreSQL database host paired with the (initial) Master
55+
* Should be set to `"pdb-pg-a"`, where "pdb-pg-a" is the name of the PuppetDB PostgreSQL database host paired with the (initial) Primary
5656
* Modifies the `puppet_enterprise::profile::master::puppetdb_host` parameter
57-
* Should be set to `[${clientcert}, "master-b"]`, where "master-b" is the name of the (initial) Master Replica.
58-
* If you have a load balancer for the compilers in PE Compiler Group B port 8081, you should use that load balancer address instead of "master-b"
57+
* Should be set to `[${clientcert}, "primary-b"]`, where "primary-b" is the name of the (initial) Primary Replica.
58+
* If you have a load balancer for the compilers in PE Compiler Group B port 8081, you should use that load balancer address instead of "primary-b"
5959
* Modifies the `puppet_enterprise::profile::master::puppetdb_port` parameter
6060
* Should be set to `[8081]`
6161

@@ -67,9 +67,9 @@ Notes for PE Compiler Group B:
6767
* The other half of the compilers (those not in the PE Compiler Group A node group) are members of this group
6868
* Applies the `puppet_enterprise::profile::puppetdb` class
6969
* Sets the `puppet_enterprise::profile::puppetdb::database_host` parameter
70-
* Should be set to `"pdb-pg-b"`, where "pdb-pg-b" is the name of the PuppetDB PostgreSQL database host paired with the (initial) Master Replica
70+
* Should be set to `"pdb-pg-b"`, where "pdb-pg-b" is the name of the PuppetDB PostgreSQL database host paired with the (initial) Primary Replica
7171
* Modifies the `puppet_enterprise::profile::master::puppetdb_host` parameter
72-
* Should be set to `[${clientcert}, "master-a"]`, where "master-a" is the name of the PuppetDB PostgreSQL node paired with the (initial) Master Replica.
73-
* If you have a load balancer for the compilers in PE Compiler Group A port 8081, you should use that load balancer address instead of "master-a"
72+
* Should be set to `[${clientcert}, "primary-a"]`, where "primary-a" is the name of the PuppetDB PostgreSQL node paired with the (initial) Primary Replica.
73+
* If you have a load balancer for the compilers in PE Compiler Group A port 8081, you should use that load balancer address instead of "primary-a"
7474
* Modifies the `puppet_enterprise::profile::master::puppetdb_port` parameter
7575
* Should be set to `[8081]`

Diff for: documentation/convert.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Prepare to run the plan against all servers in the PE infrastructure, using a pa
88

99
```json
1010
{
11-
"master_host": "pe-xl-core-0.lab1.puppet.vm",
12-
"master_replica_host": "pe-xl-core-1.lab1.puppet.vm",
11+
"primary_host": "pe-xl-core-0.lab1.puppet.vm",
12+
"primary_replica_host": "pe-xl-core-1.lab1.puppet.vm",
1313
"compiler_hosts": [
1414
"pe-xl-compiler-0.lab1.puppet.vm",
1515
"pe-xl-compiler-1.lab1.puppet.vm"

Diff for: documentation/docker_examples.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Docker Based Examples
2-
This module provides docker compose files for the various architectures for experimentation purposes. This gives you the ability to stand up an entire PE stack in order to learn how this module and HA works. If you have docker and docker-compose you can start up a full Puppet architecture with a single command. Please note that Puppet does not support PE on containers in production.
2+
This module provides docker compose files for the various architectures for experimentation purposes. This gives you the ability to stand up an entire PE stack in order to learn how this module and DR works. If you have docker and docker-compose you can start up a full Puppet architecture with a single command. Please note that Puppet does not support PE on containers in production.
33

44
In order to decouple Bolt from a dev system, a special bolt container is created that will run all the bolt commands. This is
55
required to achieve maximum portability. Should you want to run bolt commands against the PE stack you must
@@ -10,9 +10,10 @@ Example: `docker-compose run --entrypoint=/bin/bash bolt`
1010
### Requirements
1111
To run the container based examples you will need the following requirements:
1212

13-
2. Docker
14-
3. Docker compose
15-
4. 16GB memory, 24GB+ for XL and XL-HA architectures
13+
1. Docker
14+
2. Docker compose
15+
3. realpath (brew install coureutils on mac)
16+
4. 16GB memory, 24GB+ for XL and XL-DR architectures
1617
5. CPU with many cores (Tested with Core i7 6700)
1718

1819
### Starting the example

Diff for: documentation/images/pe-master-a.png

-132 KB
Binary file not shown.

Diff for: documentation/images/pe-master-b.png

-136 KB
Binary file not shown.

Diff for: documentation/images/pe-primary-a.png

149 KB
Loading

Diff for: documentation/images/pe-primary-b.png

147 KB
Loading

Diff for: documentation/images/pe-xl-classification.png

-105 KB
Loading

Diff for: documentation/pre_post_checks.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Note that if you are using Litmus against a host once the agent is installed (no
3838
groups:
3939
- name: peserver
4040
nodes:
41-
- master.puppet.example.net
41+
- primary.puppet.example.net
4242
features: ['puppet-agent']
4343
config:
4444
transport: ssh
@@ -60,7 +60,7 @@ groups:
6060
private-key: "~/.ssh/example.pem"
6161
- name: ha
6262
nodes:
63-
- ha-master.puppet.example.net
63+
- ha-primary.puppet.example.net
6464
features: ['puppet-agent']
6565
config:
6666
transport: ssh

Diff for: documentation/provision.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@ The peadm provisioning plan creates base reference implementation. Once a base s
66

77
## Reference Architectures
88

9-
When provisioning a new PE stack using peadm, there are several different host parameters which can be specified. At a minimum, you must always specify the master parameter. Depending on which architecture you are deploying, other host parameters may be needed as well. The following is a list of the architectures peadm can provision and the required parameters.
9+
When provisioning a new PE stack using peadm, there are several different host parameters which can be specified. At a minimum, you must always specify the primary parameter. Depending on which architecture you are deploying, other host parameters may be needed as well. The following is a list of the architectures peadm can provision and the required parameters.
1010

1111
* Standard
12-
- master
13-
* Standard with HA
14-
- master
15-
- master-replica
12+
- primary
13+
* Standard with DR
14+
- primary
15+
- primary-replica
1616
* Large
17-
- master
17+
- primary
1818
- compilers
19-
* Large with HA
20-
- master
21-
- master-replica
19+
* Large with DR
20+
- primary
21+
- primary-replica
2222
- compilers
2323
* Extra Large
24-
- master
24+
- primary
2525
- pdb-database
2626
- compilers (optional)
27-
* Extra Large with HA
28-
- master
29-
- master-replica
27+
* Extra Large with DR
28+
- primary
29+
- primary-replica
3030
- pdb-database
3131
- pdb-database-replica
3232
- compilers (optional)
@@ -38,7 +38,7 @@ Supplying a combination of host parameters which does not match one of the suppo
3838
### Bolt 3 usage
3939
We will name the bolt project `large_ha_peadm` in this example but the project name can be anything.
4040

41-
1. Install Bolt on a jumphost. This can be the master, or any other system. (via package)
41+
1. Install Bolt on a jumphost. This can be the primary, or any other system. (via package)
4242
2. Run `mkdir large_ha_peadm && cd large_ha_peadm && bolt project init large_ha_peadm --modules puppetlabs-peadm`
4343
4. Create an inventory file with connection information. Example included below.
4444
5. Create a parameters file. Example included below.
@@ -47,7 +47,7 @@ We will name the bolt project `large_ha_peadm` in this example but the project n
4747
4848
### Bolt 2 usage
4949

50-
1. Install Bolt on a jumphost. This can be the master, or any other system.
50+
1. Install Bolt on a jumphost. This can be the primary, or any other system.
5151
2. Download or git clone the peadm module and put it somewhere on the jumphost. e.g. ~/modules/peadm.
5252
3. Download or git clone the module dependencies, and put them somewhere on the jumphost. e.g. ~/modules/stdlib, ~/modules/node\_manager, etc.
5353
4. Create an inventory file with connection information. Example included below.
@@ -83,13 +83,13 @@ groups:
8383
uri: 10.234.14.131
8484
```
8585
86-
Example params.json Bolt parameters file (shown: Extra Large with HA):
86+
Example params.json Bolt parameters file (shown: Extra Large with DR):
8787
8888
```json
8989
{
90-
"master_host": "pe-xl-core-0.lab1.puppet.vm",
90+
"primary_host": "pe-xl-core-0.lab1.puppet.vm",
9191
"puppetdb_database_host": "pe-xl-core-1.lab1.puppet.vm",
92-
"master_replica_host": "pe-xl-core-2.lab1.puppet.vm",
92+
"primary_replica_host": "pe-xl-core-2.lab1.puppet.vm",
9393
"puppetdb_database_replica_host": "pe-xl-core-3.lab1.puppet.vm",
9494
"compiler_hosts": [
9595
"pe-xl-compiler-0.lab1.puppet.vm",
@@ -146,8 +146,8 @@ A parameters JSON file can then reference the target names, which will become th
146146
147147
```json
148148
{
149-
"master_host": "pe-xl-core-0.lab1.puppet.vm",
150-
"master_replica_host": "pe-xl-core-1.lab1.puppet.vm",
149+
"primary_host": "pe-xl-core-0.lab1.puppet.vm",
150+
"primary_replica_host": "pe-xl-core-1.lab1.puppet.vm",
151151

152152
"console_password": "puppetlabs",
153153
"dns_alt_names": [ "puppet", "puppet.lab1.puppet.vm" ],
@@ -165,5 +165,5 @@ Besides getting Puppet Enterprise installed, the key configuration supporting La
165165
* [classification.md](classification.md)
166166
* [peadm::setup::node\_manager class](../manifests/setup/node_manager.pp)
167167

168-
The reference implementation uses trusted facts to put nodes in the right groups. Because the important puppet\_enterprise::\* class parameters and data are specified in the console, it should also be safe to have a pe.conf present on both the master, and the master replica nodes.
168+
The reference implementation uses trusted facts to put nodes in the right groups. Because the important puppet\_enterprise::\* class parameters and data are specified in the console, it should also be safe to have a pe.conf present on both the primary, and the primary replica nodes.
169169

Diff for: documentation/recovery.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This procedure uses the following placeholder references.
2626
curl -k https://<primary-server-fqdn>:8140/packages/current/install.bash \
2727
| bash -s -- \
2828
main:certname=<replacement-replica-fqdn> \
29-
extension_requests:1.3.6.1.4.1.34380.1.1.9812=puppet/master \
29+
extension_requests:1.3.6.1.4.1.34380.1.1.9812=puppet/server \
3030
extension_requests:1.3.6.1.4.1.34380.1.1.9813=<replacement-avail-group-letter>
3131

3232
puppet agent -t

0 commit comments

Comments
 (0)