-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
255 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
formatVersion: 1 | ||
inputs: | ||
adminUser: | ||
type: string | ||
title: DB Admin User Account Name | ||
default: admin | ||
adminPassword: | ||
type: string | ||
title: DB Admin User Password | ||
encrypted: true | ||
default: VMware1!VMware1! | ||
cpuCores: | ||
type: string | ||
title: Number of CPUs | ||
default: '4' | ||
memory: | ||
type: string | ||
title: Memory (GB) | ||
default: '4' | ||
diskSize: | ||
type: string | ||
title: Disk Size (GB) | ||
default: '100' | ||
automatedBackupStartTime: | ||
type: string | ||
default: '06:00' | ||
enum: | ||
- '06:00' | ||
- '08:00' | ||
- '23:00' | ||
title: Automated Backup Start Time | ||
databaseVersion: | ||
type: string | ||
title: Database Version | ||
default: POSTGRES 12.7.0 | ||
dbName: | ||
type: string | ||
title: Database Name | ||
default: db | ||
instanceName: | ||
type: string | ||
title: instance Name | ||
default: instance | ||
resources: | ||
Custom_dms_database_1: | ||
type: Custom.dms.database | ||
properties: | ||
adminPassword: '${input.adminPassword}' | ||
adminUser: '${input.adminUser}' | ||
automatedBackupStartTime: '${input.automatedBackupStartTime}' | ||
cpuCores: '${input.cpuCores}' | ||
memory: '${input.memory}' | ||
databaseVersion: '${input.databaseVersion}' | ||
dbName: '${input.dbName}' | ||
numLocalBackupDays: 3 | ||
numRemoteBackupDays: 6 | ||
instanceName: '${input.instanceName}' | ||
diskSize: '${input.diskSize}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,23 @@ | ||
# dms-vra | ||
# Integrating Data Management for VMware Tanzu with vRealize Automation using Dynamic Types | ||
|
||
File repository for configuring vRealize Automation workflows to interact with Data Management for VMware Tanzu to provide Self-Service capabilities within vRA Service Broker. | ||
|
||
Full technical walkthrough on how to configure these packages: | ||
Blog Post | ||
<http://vexpert.me/dms-tanzu-vra> | ||
Recording | ||
<https://youtu.be/L_3DcejGKzM> | ||
|
||
## High Level Steps | ||
|
||
Within vRO: | ||
|
||
* Import "com.vmware.dms.backup.package" on the packages UI | ||
* Update REST Host to point to your correct URL | ||
* Update the Configuration Asset "DMS - Login Details" with appropiate username and password (ORG Admin user needed) | ||
* Import "dynamictypes-config.package" using the appropiate workflow | ||
Within vRA | ||
* Create a custom resource pointing to the appropiate LifeCycle Actions | ||
* Link Day 2 Actions | ||
* Create a cloud template that consumes the Custom Resource | ||
* Release cloud template to the service broker, configure catalog item to use vRO action "get_configuration_values" to populate the template version as a drop down list for the user to select from |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
layout: | ||
pages: | ||
- id: page_general | ||
sections: | ||
- id: section_project | ||
fields: | ||
- id: project | ||
display: dropDown | ||
signpostPosition: right-middle | ||
- id: section_deploymentName | ||
fields: | ||
- id: deploymentName | ||
display: textField | ||
signpostPosition: right-middle | ||
- id: section_adminUser | ||
fields: | ||
- id: adminUser | ||
display: textField | ||
state: | ||
visible: true | ||
read-only: false | ||
signpostPosition: right-middle | ||
- id: section_adminPassword | ||
fields: | ||
- id: adminPassword | ||
display: passwordField | ||
state: | ||
visible: true | ||
read-only: false | ||
signpostPosition: right-middle | ||
- id: section_cpuCores | ||
fields: | ||
- id: cpuCores | ||
display: textField | ||
state: | ||
visible: true | ||
read-only: false | ||
signpostPosition: right-middle | ||
- id: section_memory | ||
fields: | ||
- id: memory | ||
display: textField | ||
state: | ||
visible: true | ||
read-only: false | ||
signpostPosition: right-middle | ||
- id: section_diskSize | ||
fields: | ||
- id: diskSize | ||
display: textField | ||
state: | ||
visible: true | ||
read-only: false | ||
signpostPosition: right-middle | ||
- id: section_automatedBackupStartTime | ||
fields: | ||
- id: automatedBackupStartTime | ||
display: dropDown | ||
state: | ||
visible: true | ||
read-only: false | ||
signpostPosition: right-middle | ||
- id: section_databaseVersion | ||
fields: | ||
- id: databaseVersion | ||
display: dropDown | ||
state: | ||
visible: true | ||
read-only: false | ||
signpostPosition: right-middle | ||
- id: section_dbName | ||
fields: | ||
- id: dbName | ||
display: textField | ||
state: | ||
visible: true | ||
read-only: false | ||
signpostPosition: right-middle | ||
- id: section_instanceName | ||
fields: | ||
- id: instanceName | ||
display: textField | ||
state: | ||
visible: true | ||
read-only: false | ||
signpostPosition: right-middle | ||
title: General | ||
state: {} | ||
schema: | ||
project: | ||
label: Project | ||
type: | ||
dataType: string | ||
isMultiple: false | ||
valueList: | ||
id: projects | ||
type: scriptAction | ||
constraints: | ||
required: true | ||
deploymentName: | ||
label: Deployment Name | ||
type: | ||
dataType: string | ||
isMultiple: false | ||
constraints: | ||
required: true | ||
max-value: 80 | ||
adminUser: | ||
label: DB Admin User Account Name | ||
type: | ||
dataType: string | ||
isMultiple: false | ||
default: admin | ||
adminPassword: | ||
label: DB Admin User Password | ||
type: | ||
dataType: secureString | ||
isMultiple: false | ||
default: VMware1!VMware1! | ||
cpuCores: | ||
label: Number of CPUs | ||
type: | ||
dataType: string | ||
isMultiple: false | ||
default: '4' | ||
memory: | ||
label: Memory (GB) | ||
type: | ||
dataType: string | ||
isMultiple: false | ||
default: '4' | ||
diskSize: | ||
label: Disk Size (GB) | ||
type: | ||
dataType: string | ||
isMultiple: false | ||
default: '100' | ||
automatedBackupStartTime: | ||
label: Automated Backup Start Time | ||
type: | ||
dataType: string | ||
isMultiple: false | ||
default: '06:00' | ||
valueList: | ||
- label: '06:00' | ||
value: '06:00' | ||
- label: '08:00' | ||
value: '08:00' | ||
- label: '23:00' | ||
value: '23:00' | ||
databaseVersion: | ||
label: Database Version | ||
type: | ||
dataType: string | ||
isMultiple: false | ||
default: POSTGRES 12.7.0 | ||
valueList: | ||
id: com.vmware.dms/get_configuration_values | ||
type: scriptAction | ||
parameters: [] | ||
constraints: {} | ||
dbName: | ||
label: Database Name | ||
type: | ||
dataType: string | ||
isMultiple: false | ||
default: db | ||
instanceName: | ||
label: instance Name | ||
type: | ||
dataType: string | ||
isMultiple: false | ||
default: instance | ||
options: | ||
externalValidations: [] |
Binary file not shown.
Binary file not shown.
Binary file not shown.