You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 1, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: docs/quick-start.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,14 +57,14 @@ Alternatively, we can use the `Get-Module` cmdlet to verify if all modules are s
57
57
The output shows that all modules are successfully installed on this system.
58
58
59
59
## Components
60
-
In order to get started with Backup Validation there are several components that you need to understand. The PowerShell Modules that are required to run and connect to both vCenter cluster and Rubrik cluster, and the InvokeBuild module that will execute the build tasks.
60
+
In order to get started with Backup Validation there are several components that you need to understand. The PowerShell Modules that are required to run and connect to both vCenter cluster and Rubrik cluster, and the InvokeBuild module that will execute the build tasks.
61
61
62
62
Then we will move on the different configuration and credential files and how these files tie into the backup validation process.
63
63
64
64
Finally, we will look at the `.build.ps1` file, what it contains and how we can make additions to this.
65
65
66
66
### PowerShell Modules
67
-
This use case leverages several PowerShell modules, outlined in this section.
67
+
This use case leverages several PowerShell modules, outlined in this section.
68
68
69
69
#### Rubrik SDK for PowerShell
70
70
Rubrik’s API first architecture enables organizations to embrace and integrate Rubrik functionality into their existing automation processes. While Rubrik APIs can be consumed natively, companies are at various stages in their automation journey with different levels of automation knowledge on staff. The Rubrik SDK for PowerShell is a project that provides a Microsoft PowerShell module for managing and monitoring Rubrik's Cloud Data Management fabric by way of published RESTful APIs.
@@ -136,9 +136,9 @@ Use the [`generateCreds.ps1`](https://github.com/rubrikinc/PowerShell-Backup-Val
@@ -209,20 +209,20 @@ At the end of the script we will logically group together the different build ta
209
209
```
210
210
task 1_Init `
211
211
GetConfig
212
-
212
+
213
213
task 2_Connect `
214
214
ConnectRubrik,
215
215
ConnectVMware
216
-
216
+
217
217
task 3_LiveMount `
218
218
CreateLiveMount,
219
219
ValidateLiveMount,
220
220
ValidateLiveMountTools
221
-
221
+
222
222
task 4_LiveMountNetwork `
223
223
MoveLiveMountNetwork,
224
224
MoveLiveMountNetworkAddress
225
-
225
+
226
226
task 5_Testing `
227
227
LiveMountTest
228
228
```
@@ -255,7 +255,7 @@ task Ping {
255
255
The `tests.ps1` file can be updated with additional tests, and once these tests have been created they can be added to the Config JSON files for the relevant systems.
256
256
257
257
## Validate Backup
258
-
Now that we have all components in place, we will create our own backup validation workflow.
258
+
Now that we have all components in place, we will create our own backup validation workflow.
259
259
260
260
### Prepare the Environment
261
261
To get started we will download the Build Validation package and extract it to a folder named “Backup Validations”. The package is available in the [PowerShell-Backup-Validation](https://github.com/rubrikinc/Use-Case-PowerShell-Backup-Validation) repository. The zipped file is available for download [here](https://github.com/rubrikinc/PowerShell-Backup-Validation/archive/master.zip).
@@ -272,7 +272,7 @@ In the Config files a number of configuration options are available:
272
272
*`mountName` - the name of the live mount
273
273
*`guestCred` - the credentials file, only the filename is required, no path needs to be specified
274
274
*`testIp` - IP Address configured for Live Mounted VM
275
-
*`testNetwork` - virtual network used by the adapter of the Live Mount
275
+
*`testNetwork` - virtual network used by the adapter of the Live Mount
276
276
*`testGateway` - the gateway address of the network adapter
277
277
*`tasks` - which tasks will run against this specific VM
This will select a random virtual machine and create a `config.json` which can then be used for backup validation.
371
+
This will select a random virtual machine and create a `config.json` which can then be used for backup validation.
372
372
373
373
### Run `Invoke-Build`
374
374
Once the Environment, Config, and Identity requirements are met, use the `Invoke-Build` function to execute a build. Here is a sample command using a PowerShell technique called splatting to store the parameters and arguments and execute `Invoke-Build`.
0 commit comments