Skip to content

Commit

Permalink
Merge branch 'master' into bump-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
danpaul81 authored May 24, 2024
2 parents d948b44 + e19978f commit 0b21294
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
43 changes: 43 additions & 0 deletions docs/templates/async-dr/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Async-DR

Deploys 2 clusters with Portworx, sets up and configures a cluster pairing, configures an async DR schedule with a loadbalancer in front of the setup.

# Supported Environments

* AWS

No other enviroments are currently supported.

# Requirements

## Create a bucket for use by DR

You will need to create an S3 bucket for use by the DR migrations. You will add the name of this bucket to defaults.yml (per the below instructions.)

## Update defaults.yml

Update your `defaults.yml` with the following:

```
env:
operator: true
licenses: "XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX"
DR_BUCKET: "<YOUR BUCKET NAME>"
```

* `operator: true` ensures that Portworx is deployed as an operator.
* `licenses:` requires a valid license activation code that includes DR (the trial license does not include DR!!).
* `DR_BUCKET` is the name of the bucket created earlier.


## Deploy the template

It is a best practice to use your initials or name as part of the name of the deployment in order to make it easier for others to see the ownership of the deployment in the AWS console.

```
px-deploy create -C aws -t async-dr -n <my-deployment-name>
```

## Sample Demo Workflow

TBD
2 changes: 1 addition & 1 deletion px-deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ func destroy_deployment(name string, destroyForce bool) {

err := aws_delete_nodegroups(&config)
if err != nil {
fmt.Printf("error deleting eks nodegroups %v \n You might need to remove PX clouddrives manually \n", err.Error())
fmt.Printf("%v error deleting eks nodegroups \n %v \n You might need to remove PX clouddrives manually %v\n", Red, err.Error(), Reset)
}

}
Expand Down

0 comments on commit 0b21294

Please sign in to comment.