127
Table of Contents Lab Overview .................................................................................................................... 2 HOL-PRT-1303 - EMC Lab - Using Puppet and the vSphere Web Client .................... 3 EMC and the vSphere Web Client ...................................................................................... 5 EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage ..6 EMC Enterprise Backup and Recovery..................................................................... 9 Using Puppet to Deploy EMC Avamar and More .............................................................. 38 Setting up a Puppet Master ................................................................................... 39 Facter and the Puppet Agent ................................................................................. 41 Your First Puppet Class - hellovmworld .................................................................. 44 Create a Puppet Class - avamar ............................................................................ 55 Create a Puppet Class - avamar-win...................................................................... 61 Optional Puppet Classes - avamar-vm, apache2, mssql, avamar-sql, hyperic, hyperic-win ........................................................................................................... 68 Puppet and VMware Guest Integration ........................................................................... 70 Using an External Node Classifier to Integrate Puppet and vSphere ..................... 71 VM Guest Facts...................................................................................................... 73 vCenter Hiera Lookup for Classes ......................................................................... 81 VM Image Backup Puppet Module ......................................................................... 87 Deploying PaaS with Puppet and vCO ............................................................................. 94 vCenter Orchestrator Workflows and Puppet ........................................................ 95 Review Provisioning Workflow ............................................................................... 96 Assign Workflows to VM Context Menu ............................................................... 103 Provisioning VMs and PaaS.................................................................................. 108 Review PaaS Deployment .................................................................................... 115 Monitoring PaaS and EMC Avamar with Hyperic ........................................................... 120 Configuring and Reviewing Hyperic Monitoring................................................... 121 vCOps and Conclusion ........................................................................................ 126 HOL-PRT-1303 Page 1 VMware Beta Program CONFIDENTIAL

Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Embed Size (px)

Citation preview

Page 1: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Table of ContentsLab Overview .................................................................................................................... 2

HOL-PRT-1303 - EMC Lab - Using Puppet and the vSphere Web Client....................3EMC and the vSphere Web Client...................................................................................... 5

EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage ..6EMC Enterprise Backup and Recovery..................................................................... 9

Using Puppet to Deploy EMC Avamar and More.............................................................. 38Setting up a Puppet Master................................................................................... 39Facter and the Puppet Agent................................................................................. 41Your First Puppet Class - hellovmworld.................................................................. 44Create a Puppet Class - avamar ............................................................................ 55Create a Puppet Class - avamar-win...................................................................... 61Optional Puppet Classes - avamar-vm, apache2, mssql, avamar-sql, hyperic,hyperic-win ........................................................................................................... 68

Puppet and VMware Guest Integration ........................................................................... 70Using an External Node Classifier to Integrate Puppet and vSphere.....................71VM Guest Facts...................................................................................................... 73vCenter Hiera Lookup for Classes ......................................................................... 81VM Image Backup Puppet Module ......................................................................... 87

Deploying PaaS with Puppet and vCO............................................................................. 94vCenter Orchestrator Workflows and Puppet ........................................................ 95Review Provisioning Workflow ............................................................................... 96Assign Workflows to VM Context Menu ............................................................... 103Provisioning VMs and PaaS.................................................................................. 108Review PaaS Deployment.................................................................................... 115

Monitoring PaaS and EMC Avamar with Hyperic ........................................................... 120Configuring and Reviewing Hyperic Monitoring................................................... 121vCOps and Conclusion ........................................................................................ 126

HOL-PRT-1303

Page 1VMware Beta Program CONFIDENTIAL

Page 2: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Lab Overview

HOL-PRT-1303

Page 2VMware Beta Program CONFIDENTIAL

Page 3: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

HOL-PRT-1303 - EMC Lab - UsingPuppet and the vSphere Web ClientLab Overview

Like many companies today, the management team at Rainpole has embracedvirtualized infrastructure to provide cloud based solutions. Up until now, theadministration team has been manually provisioning applications and visibility intooperations has been limited. Using this lab as a sandbox, you will help the team atRainpole transform their service offerings to accommodate greater scale, agility, andmore fluid operations. The CTO is asking you to leverage automation and workflowmanagement tools like Puppet and vCenter Orchestrator to pilot a PaaS (Platform as aService) offering for one of their biggest customers.

The first module includes a section on ViPR software defined storage and demonstrateshow the vCenter Web Client can be used to interface with ViPR to simplify storageprovisioning and infrastructure management. The module also uses the vCenter WebClient to introduce you to EMC Backup and Recovery. In this section, you will backupVM's directly from vCenter and perform both full and file level recovery without using aseparate element manager. And you experience the benefits of VMware's API's for DataProtection (VADP) and VMware changed block tracking (CBT) for backup and restoreoperations.

In the second module, you learn how to create a couple of simple Puppet modules. Youstart with a simple "hellovmworld" module and then use the same concepts to automatea simple EMC Avamar backup client installation for both Linux and Windows platforms.There are also some optional modules for you to review and play with if you like.

The third module really gets the creative juices flowing. You'll learn about External NodeClassifiers and how Puppet can be configured to interact with information and attributes(aka metadata) contained in vCenter. And you'll see how Puppet can be used to ensureyou never have a Virtual Machine that's without image protection older than 24-hours.

Next, you bring it all together and use vCenter Orchestrator to learn about workflowsand accomplish the lab's goal of providing Platform as a Service functionality.

And finally, there's a brief section on Hyperic monitoring goodness with some greatcustom integration with the EMC Avamar backup platform.

The EMC team wants to thank you in advance for choosing this lab! Please don'thesitate to raise your hand if you have any questions, lab feedback, or just want to talktech. Enjoy the lab and your experience here at VMworld 2013 - thanks again

- the EMC Lab Team

HOL-PRT-1303

Page 3VMware Beta Program CONFIDENTIAL

Page 4: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

NOTE: Would you like to be entered into a raffle for a chance to win anunlocked iPhone? Following the lab please click on the Help button to get acontest card from an EMC proctor. The proctors managing the raffle will havePuppet Labs or EMC shirts on.

HOL-PRT-1303

Page 4VMware Beta Program CONFIDENTIAL

Page 5: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

EMC and the vSphereWeb Client

HOL-PRT-1303

Page 5VMware Beta Program CONFIDENTIAL

Page 6: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

EMC Virtual Storage Integrator (VSI)powered by ViPR Software DefinedStorageWhat is ViPR?

EMC ViPR is a lightweight software platform that abstracts existing storage arrays into asingle pool of virtual storage. EMC software adapters connect to the underlying arrays,similar to how PCs and Macs use universal device drivers to connect to peripherals. Thisapproach creates an extensible “plug and play” storage environment that canautomatically discover and map to different arrays and understand their uniqueattributes. In the first release, ViPR supports EMC VMAX, VNX, VPLEX, RecoverPoint,Isilon, and Atmos storage, as well as third-party NetApp storage.

So what’s the big difference with ViPR? It's the “divide and conquer” approach to theData Plane and the Control Plane. ViPR uniquely manages both storage infrastructure (inthe Control Plane) and the data stored within that infrastructure (in the Data Plane).ViPR decouples the two, allowing the use of both together or enabling customers to useonly the Control Path to manage the underlying storage arrays.

By only abstracting the control plane, storage management operates at the virtual layer.Storage administrators partition their storage pools into various virtual storage arraysand manage them uniquely by policy just like a VMware vCenter administrator partitionsservers into many virtual machines. As a result, ViPR centralizes all storagemanagement tasks, yet allows applications to access file and block data directly. Block,file and object storage run on top of ViPR as virtual services that still leverage theunique capabilities of the underlying arrays. This means that for traditional file andblock storage platforms ViPR stays out of the data path, managing the underlyingplatforms without introducing any performance overhead. In the case of ViPR Objectstorage, it is implemented so that objects can be accessed as objects or as files, thusremoving a lot of the performance overhead traditionally associated with object storage.In addition, ViPR object storage is supported on any underlying file-based platformextending customers’ existing investments to support growing demand for objectstorage in the enterprise.

Further differentiating ViPR is its extensibility. Any customer, service provider or vendorcan easily extend ViPR to support additional storage platforms and integrate with cloudstacks such as VMware and OpenStack. ViPR also enables the development of newglobal data services that can span arrays and support hybrid data types. The ViPRobject-on-file data service stores, accesses and manipulates objects on file-basedstorage such as EMC VNX, EMC Isilon and NetApp without the need to rewrite existingapplications. Organizations can do more with existing file-based storage and increaseworkflow efficiency by allowing data to be manipulated in place through different access

HOL-PRT-1303

Page 6VMware Beta Program CONFIDENTIAL

Page 7: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

methods. ViPR transforms existing file data into cloud data and cloud data into file datawithout the need to move, copy or modify the data.

Virtual Storage Integrator (VSI) powered by ViPR

HOL-PRT-1303

Page 7VMware Beta Program CONFIDENTIAL

Page 8: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

VSI / ViPR Video

HOL-PRT-1303

Page 8VMware Beta Program CONFIDENTIAL

Page 9: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

EMC Enterprise Backup and RecoveryOverview

In this section, you are going to see how easy it is to perform backup and recoveryoperations natively from the vSphere Web Client. The Backup and Recovery tasks thatyou are going to be using take advantage of VMware API's for Data Protection (VADP)and leverage changed block tracking (CBT) to provide high-performance and superefficient data protection operations.

Login to the vSphere Web Client

To get started, from the controlcenter host click on the Internet Explorer icon. The homepage will default to the vSphere Web Client login page.

Choose the "Use Windows session authentication" check box under the Password fieldand click the Login button.

HOL-PRT-1303

Page 9VMware Beta Program CONFIDENTIAL

Page 10: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

The EMC Backup and Recovery plugin

After logging into the vSphere Web Client, you will land at the home screen. On the lefthand side of the screen, you will see an icon labeled "EMC Backup and Recovery" - goahead and click it.

HOL-PRT-1303

Page 10VMware Beta Program CONFIDENTIAL

Page 11: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Connect to avamar01

The plugin welcomes you to EMC Backup and Recovery. If you had multiple Avamarservers in the environment, they would all be accessible from this page. In the case ofthe lab, the only choice we've got is an Avamar Virtual Edition server called avamar01.

Go ahead and click the Connect button to get started.

HOL-PRT-1303

Page 11VMware Beta Program CONFIDENTIAL

Page 12: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

The getting started tab

After you connect to avamar01, you are presented with an introductory landing page.From this page, you are able to create a backup job, restore a virtual machine, and seethe backup status for your virtual environment. Each option is really just a link to thedifferent tabs (Backup, Restore, and Reports) at the top of the EMC Backup andRecovery window.

Go ahead and click on "See an Overview" to navigate to the reports tab.

The reports tab

From this view, you can see the server status, backup capacity utilization, and check forsuccessful and failed jobs in a clear and concise way. The Integrity Check Status is "outof date" in this lab and that's by design - we're trying to keep the I/O levels as low aspossible and have intentionally disabled this check.

All of the VM's that are part of the vCenter environment are viewable in the VirtualMachines section. You can use the filter options and the text box to search for specifickeywords and/or machines, and also sort by the different column headers. If you placefocus into Virtual Machines area and have a column sorted alphabetically, you can alsotype a portion of a name to get you to the right place quickly. As an example, go aheadand click on the virtual machine linux01.

HOL-PRT-1303

Page 12VMware Beta Program CONFIDENTIAL

Page 13: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Once you have the Virtual Machine highlighted, additional details for that machinesprotection status are available at the bottom of the window.

The configuration tab

Click on the Configuration tab in the upper area of the window. You will see server anddeduplication stats relative to the Avamar system that's currently connected.

HOL-PRT-1303

Page 13VMware Beta Program CONFIDENTIAL

Page 14: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Also notice that you've got the ability to configure email alerting by clicking on theEmail button.

And you can view the backup server log by clicking on the Log button.

HOL-PRT-1303

Page 14VMware Beta Program CONFIDENTIAL

Page 15: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

The restore tab

Click on the restore tab. This is the page that's used to see what different restore pointsare available for a given Virtual Machine, and also to initiate a full image restore ifnecessary.

Expand each of the VM's represented here and you will notice that each has a singlerestore point.

Also notice that you can filter by different criteria by using the Filter option.

The backup tab

Now go ahead and click on the tab labeled Backup. You will see (3) different jobs thathave already been created - Linux VM's, Puppet Server, and Windows VM's. Click oneach of the (3) jobs and look in the Backup Job Details section at the bottom of thescreen to see what Virtual Machines the given job is responsible for.

HOL-PRT-1303

Page 15VMware Beta Program CONFIDENTIAL

Page 16: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Initiate a backup using CBT

Next, click the "Linux VMs" job so that it's highlighted and in focus. Then click the"Backup Now" button and choose "Backup all sources" to get a current system backup.

You should receive a confirmation that the backup job has been submitted - click OK.

HOL-PRT-1303

Page 16VMware Beta Program CONFIDENTIAL

Page 17: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Monitor the vCenter tasks

In order to view the Backup and Recovery tasks after the backup job starts, click on"More Tasks" link in the Recent Tasks window.

Image based backups use this workflow:

1. Snapshot the VM to be backed up for a consistent point-in-time view2. Present the snapshot to a proxy host using the VMware SCSI Hot Add functionality3. Perform a CBT backup from the proxy host that captures only blocks that have

changed since the last backup4. Unmount the snapshot from the proxy5. Remove the snapshot

In very little time, you will see events corresponding to the above workflow occurring.After the snapshot has been removed, you will see the parent task (EBR: Backup Job)complete indicating that the entire backup job has been completed.

HOL-PRT-1303

Page 17VMware Beta Program CONFIDENTIAL

Page 18: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Ever have one of those days?

It's not pleasant to think about, but it does happen. Every now and then a system getsstuck in a state that renders it unusable. For the purposes of this lab, we're going tocause one of those situations.

Start PuTTY (there's an icon on the desktop) and choose to connect to linux01 from thelist of available hosts.

Login using "root" for the username and "VMware1!" for the password.

Remove the /boot directory on linux01

Hopefully you never have this happen in your production environment, but a similarcatastrophe is possible for any number of different reasons. Let's go ahead and removethe /boot directory rendering this host unbootable.

# rm -rf /boot

Everything seems fine, right? Well, go ahead and reboot it - you won't see it come back.

HOL-PRT-1303

Page 18VMware Beta Program CONFIDENTIAL

Page 19: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

# reboot

Open a console for linux01

Switch back into the vSphere Web Client and open a console for linux01. The easiestway to do this is to enter "linux01" in the search bar in the upper right corner of thewindow and click linux01 when it appears. After you click Virtual Machine: linux01 link,there will be a "launch console" option available in the upper left corner of the screen.

The console will open (be patient) in another tab in the browser window. You will seelinux01 is no longer bootable. You can try typing "boot" at the grub prompt, but it's notgoing to help.

HOL-PRT-1303

Page 19VMware Beta Program CONFIDENTIAL

Page 20: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Power-Off linux01

Click back to your vSphere Web Client which should be the first tab in the browser (youmay need to press Ctrl-Alt to get out of the console window). Note that there is no needto close the linux01 console tab as this will be used later in the lab.

In order to do an "in-place" restore, the VM that is going to be replaced needs to be in apowered off state. Shutdown linux01 by right-clicking linux01 and selecting "Shut DownGuest OS". Answer yes to powering the system down.

HOL-PRT-1303

Page 20VMware Beta Program CONFIDENTIAL

Page 21: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Recover linux01

Right click on linux01 and choose "All EBR Actions" -> "Restore from Last Backup" (youmay need to wait a few seconds for the "All EBR Actions" choice to appear).

HOL-PRT-1303

Page 21VMware Beta Program CONFIDENTIAL

Page 22: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Recover linux01 - Select Backup

The Restore a backup wizard is started and the most recent backup is chosen for you bydefault. Expand linux01 if you want to drill deeper. Accept the default choice and clickNext.

HOL-PRT-1303

Page 22VMware Beta Program CONFIDENTIAL

Page 23: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Recover linux01 - Set Restore Options

We're going to perform an in-place VM restoration, but as you can see by this dialogthere is also an out-of-place option that is set by default.

Choose the "Restore to Original Location" check box and also select the "Reconnect NIC"option.

Click Next.

HOL-PRT-1303

Page 23VMware Beta Program CONFIDENTIAL

Page 24: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Recover linux01 - Ready to Complete

Review the details here and click Finish when you are ready to begin the restoreprocess. A box indicating that the restore was initiated will confirm the action. Click OK.

HOL-PRT-1303

Page 24VMware Beta Program CONFIDENTIAL

Page 25: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Incremental system restore using CBT

After the restore has been initiated, click on "More Tasks" to see a number of differenttasks kick off and complete in rapid succession. Because the restore is using the sameChanged Block Tracking mechanism to perform an incremental restore of the VM, theworkflow is similar to the one you saw for a backup:

1. Snapshot the VM to be restored.2. Present the snapshot to a proxy host using SCSI Hot Add functionality3. Perform a CBT restore writing only the blocks that differ from the last backup4. Unmount the snapshot from the proxy5. Merge/revert the snapshot into the original VM6. Delete the snapshot

In very little time, you should see task events corresponding to the above workflow.After the snapshot has been removed, you will see the parent task (EBR: Restore Job)complete indicating that the entire restore has been completed.

The VM will then be powered on and connected to the network to boot.

HOL-PRT-1303

Page 25VMware Beta Program CONFIDENTIAL

Page 26: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Check the console for linux01

The console for linux01 should still be open in the browser window (click the "OpenConsole" link if you don't have a console window open). Click back to the consolewindow and depending on your timing, you will either watch the system boot, or see alogin prompt.

Thanks to EMC Backup and Recovery, VMware administrators are empowered with aquick and easy system recovery mechanism directly from the vCenter Web Console.

File level recovery (FLR) - windows01

By now, you're probably starting to understand just how easy and convenient VMbackup and restore can be with EMC Backup and Recovery. But what if you don't want torestore an entire VM just to get access to a few key files that may not need a full VMrestore?

As long as you've got network connectivity to the backup server and Adobe Flashinstalled, file level recovery is no problem either.

HOL-PRT-1303

Page 26VMware Beta Program CONFIDENTIAL

Page 27: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Before we get started, let's see what it would take to get a quick backup of windows01 -after all, you can never be too careful and with CBT, backups are fast and easy.

If you're not already back in the vSphere Web Client, go ahead and navigate there (itshould be an open tab in your web browser). In the search bar (upper right corner), type"windows01" and select Virtual Machine: windows01 when it appears.

Start a backup of windows01

Right click windows01 and select "All EBR Actions" -> " Backup Now" from the menu(you may need to wait a few seconds for the "All EBR Actions" choice to appear).

HOL-PRT-1303

Page 27VMware Beta Program CONFIDENTIAL

Page 28: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Start a backup of windows01 - Backup Now

You are presented with a dialog box where you are able to modify the backupconfiguration if necessary. In this case, simply click cancel (you can click OK andperform a backup if you so choose - an optional step).

HOL-PRT-1303

Page 28VMware Beta Program CONFIDENTIAL

Page 29: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Optional - Monitor vCenter tasks if you started the backup

Please skip this step if you are not backing up windows01. Otherwise, if you want to seethe EBR tasks and backup workflow, click on "More Tasks."

Just like earlier, image backups use this workflow:

1. Snapshot the VM to be backed up for a consistent point-in-time view2. Present the snapshot to a proxy host using the VMware SCSI Hot Add functionality3. Perform a CBT backup from the proxy host that captures only blocks that have

changed since the last backup4. Unmount the snapshot from the proxy5. Remove the snapshot

In very little time, you see events corresponding to the backup workflow occurring. Afterthe snapshot has been removed, you will see the parent task (EBR: Backup Job)complete indicating that the entire backup job has been completed.

Please wait for backup job to complete before moving on to the next step.

HOL-PRT-1303

Page 29VMware Beta Program CONFIDENTIAL

Page 30: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Login to windows01

Open a remote desktop session to windows01. Click Start - Remote Desktop Connectionand choose windows01. Use "corp\administrator" for the username and "VMware1!"as the password.

Browse remote backup sets - Login

From windows01, open Internet Explorer. The default homepage is already setup toconnect to the EMC Data Protection Restore Client, but the url syntax is easy toremember for any environment:

https://avamar01:8543/flr

In this exercise, you are going to restore files from a machine that's different than theone you use to connect to the restore client with and as such, you are required to use a2-phase login. To enable this, click the "Advanced Login" link above the Login button.

HOL-PRT-1303

Page 30VMware Beta Program CONFIDENTIAL

Page 31: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Next, enter the local backup administrator credentials into the "Local Credentials"section:

Username: .\backup-adminPassword: VMware1!

And for the "vCenter Credentials", use any account with administrative rights:

Username: rootPassword: VMware1!

Click the Login button to proceed.

* Note that the ".\backup-admin" is a local account on windows01 and you could haveused any account that has backup rights on that local machine (including domainaccounts). If we were restoring files using a backup set created from the hostwindows01, no "Advanced Login" or vCenter administrative privileges are required.

HOL-PRT-1303

Page 31VMware Beta Program CONFIDENTIAL

Page 32: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Browse remote backup sets - Manage Mounted Backups

Using the advanced login, you are able to see backup sets that were created from allmachines in the inventory. Expand the windows00 host and mount the available backupset by highlighting the entry, clicking "Mount" and then "Close."

HOL-PRT-1303

Page 32VMware Beta Program CONFIDENTIAL

Page 33: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Browse remote backup sets - Mounted Backups

We want to restore the "Important Data" directory, so navigate through the backup set,into "Disk#1" and then select the directory called "Important Data" and choose thebutton labeled "Restore selected files..."

HOL-PRT-1303

Page 33VMware Beta Program CONFIDENTIAL

Page 34: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Restore selected files - Select Destination

Highlight the "C:" drive and click the Restore button.

Restore selected files - Initiate Restore

Choose "Yes" to initiate the file restoration. Then click OK.

HOL-PRT-1303

Page 34VMware Beta Program CONFIDENTIAL

Page 35: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Restore selected files - Monitor Restores

Use the Monitor Restores button to check the file restore status. If the restore doesn'tshow complete, use the Refresh button to force a status update.

HOL-PRT-1303

Page 35VMware Beta Program CONFIDENTIAL

Page 36: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Check to see if files were restored

Use Windows Explorer to navigate to the Important Documents directory and verify thatthe files are present on your local system disk.

HOL-PRT-1303

Page 36VMware Beta Program CONFIDENTIAL

Page 37: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Logoff windows01

Click Start -> Log off to disconnect from windows01. This concludes the EMC EnterpriseBackup and Recovery module.

HOL-PRT-1303

Page 37VMware Beta Program CONFIDENTIAL

Page 38: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Using Puppet to DeployEMC Avamar and More

HOL-PRT-1303

Page 38VMware Beta Program CONFIDENTIAL

Page 39: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Setting up a Puppet MasterConnect to puppet

From the desktop, click the PuTTY icon and choose the session named puppet.

Login to puppet using the following credentials:

Username: rootPassword: VMware1!

HOL-PRT-1303

Page 39VMware Beta Program CONFIDENTIAL

Page 40: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Start the puppet master service

Under normal circumstances, you would need to install the package using a linuxinstaller (aka YAST, zypper, etc.), but to save some time we've already done that foryou. Once you've got the puppet master package installed, you need to start the puppetmaster service (aka daemon) using the following command:

# service puppetmasterd start

The above command starts the puppet master service and sends the server process intothe background. But for troubleshooting purposes, you may want to have the daemonrunning in the foreground so you can actively troubleshoot errors. For the purposes ofthis lab we're going to recommend the background service option, but if you find youneed to review server side errors,try the following:

# service puppetmasterd stop

# puppet master --no-daemonize --verbose

HOL-PRT-1303

Page 40VMware Beta Program CONFIDENTIAL

Page 41: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Facter and the Puppet AgentWhat is facter?

Facter is a lightweight program written in Ruby that runs on a puppet client to gatherbasic node information about the hardware and operating system. Facter is used toretrieve information about the operating system, installed software, hardwarecharacteristics, and networking information.

HOL-PRT-1303

Page 41VMware Beta Program CONFIDENTIAL

Page 42: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Connect to linux01

At this point, you may already have a PuTTY session open with linux01 - you can eitherrestart the session, or open a new session by clicking the PuTTY icon on the desktop andselecting the linux01 configuration option.

Login using the following credentials:

Username: rootPassword: VMware1!

HOL-PRT-1303

Page 42VMware Beta Program CONFIDENTIAL

Page 43: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Execute the facter command

Inside the terminal window, type the command "facter" and observe the output. Thesedetails will be used by puppet to understand the current state of the client. Thisinformation will be checked against the current catalog and evaluated so that puppetcan provide instructions to get the client to the proper configuration.

HOL-PRT-1303

Page 43VMware Beta Program CONFIDENTIAL

Page 44: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Your First Puppet Class - hellovmworldCreate the directory structure for hellovmworld

Bring the PuTTY session labeled "puppet" back into focus (or restart the session ifnecessary).

In our configuration, the class files will be contained in the /etc/puppet/modulesdirectory. The first thing that needs to be done is to create the class path structure forour first module that we're going to call hellovmworld. You can do this by using thefollowing command:

# mkdir -p /etc/puppet/modules/hellovmworld/manifests

This command creates a directory that's the class name (hellovmworld) and then asubdirectory called manifests. You can execute the above command, but may noticethat the directory path already exists as we've taken the liberty to stage some things foryou in case you don't want to do as much typing.

Create the init.pp file for hellovmworld

Make sure you are in the /etc/puppet/modules/hellovmworld/manifests directory and usethe vi editor to create an init.pp file:

* Note that you can skip to the copy step at the bottom here if you don't want to type -the lab guide formatting (or lack thereof) does make the syntax a little more difficult toread.

# cd /etc/puppet/modules/hellovmworld/manifests# vi init.pp

Once you are inside the vi editor, press the "i" key to insert the following text:

HOL-PRT-1303

Page 44VMware Beta Program CONFIDENTIAL

Page 45: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

class hellovmworld {case $operatingsystem {'windows': {file { 'c:\\temp\\HelloVMworld.txt':ensure => file,content => "My First Puppet Class with Facters!"}}

default: {file { '/tmp/HelloVMworld.txt':ensure => file,content => "My First Puppet Class with Facters!"}}}}

To exit vi, press the "Esc" key and then type ":wq" (without the quotes) to write the fileto disk and quit the editor.

If you aren't comfortable in vi, or don't want to compose the text feel free to copy thetemplate example using the following syntax:

# cp init.template init.pp

What did you just do?

Take a moment and look at the file you just created using the unix cat command:

# cat init.pp

HOL-PRT-1303

Page 45VMware Beta Program CONFIDENTIAL

Page 46: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

The first line "class hellovmworld {" is used to declare the class that you just built. Youcan also use this section to tell this class to include other modules and/or classes thatare present in the environment.

The next line "case $operatingsystem {" checks the facter output and determines if thehost is or isn't running a Windows based operating system.

If the host is running Windows, then Puppet looks for a file in the temp directory of theC:\ drive called HelloVMworld.txt. If the file isn't there, then it will create the file andinsert the content that you see above (My First Puppet Class with Facters!). Notice thatthe backslash character is escaped with another backslash character (\\).

If the host is running anything other than Windows, then Puppet looks for a file in /tmpcalled HelloVMworld.txt and creates the file with the appropriate content as necessary.

Let's go ahead and see if it works.

HOL-PRT-1303

Page 46VMware Beta Program CONFIDENTIAL

Page 47: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Add hellovmworld as a default class

Next, we need to tell Puppet that all clients need to comply with the hellovmworld class.To do this, edit the /etc/puppet/manifests/nodes_default.pp file:

# vi /etc/puppet/manifests/nodes_default.pp

Then use the "o" key to add a new line and type the following text:

include hellovmworld

Then use the "Esc" key followed by ":wq" to write the file and quit the vi editor. Your fileshould now look like this.

Check linux01 for the HelloVMworld.txt file

Switch over to the white background putty window that is logged into linux01 (restartputty and choose linux01 if necessary). Issue the following command to check for thefile:

# ls -la /tmp/HelloVMworld.txt

You should receive an error as the file isn't there yet.

HOL-PRT-1303

Page 47VMware Beta Program CONFIDENTIAL

Page 48: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Manually run the puppet agent

From linux01, run the following command to start the puppet agent in test mode:

# puppet agent -t

If you got all of your syntax right, you will have seen the "Notice" event alerting you tothe fact that the HelloVMworld.txt file was created.

HOL-PRT-1303

Page 48VMware Beta Program CONFIDENTIAL

Page 49: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Check the HelloVMworld.txt file contents

Let's make sure the file really exists. Just like before we started, let's use the "ls"command to make sure the file exists:

# ls -la /tmp/HelloVMworld.txt

You can also check the file contents using the "cat" command:

# cat /tmp/HelloVMworld.txt

HOL-PRT-1303

Page 49VMware Beta Program CONFIDENTIAL

Page 50: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Connect to windows01

When we created the hellovmworld class, we included a case statement to helpdetermine if the host checking into puppet was running a Windows operating systemand we need to verify that it's working.

Click Start -> Remote Desktop Connection and connect to windows01.

Login using corp\administrator with the VMware1! password.

HOL-PRT-1303

Page 50VMware Beta Program CONFIDENTIAL

Page 51: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Check windows01 for the HelloVMworld.txt file

Using Windows Explorer (or a DOS prompt if you prefer), check the c:\temp directory forthe existence of the HelloVMworld.txt file.

HOL-PRT-1303

Page 51VMware Beta Program CONFIDENTIAL

Page 52: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Manually run the puppet agent

From the desktop, click the icon labeled "Start Command Prompt with ..." A DOS windowopens, enter the following command:

run_puppet_interactive.bat

Observe the initial SSL key generation and exchange as well as the creation of theHelloVMworld.txt file. If you don't see the "Notice" in white type, something is wrong.

HOL-PRT-1303

Page 52VMware Beta Program CONFIDENTIAL

Page 53: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Check the HelloVMworld.txt file contents

Press any key to close the interactive window. Next, jump back to windows explorer andyou should now see the HelloVMworld.txt file. Double click the file to confirm thecontents.

Minimize the remote desktop connection to windows01

Click the minimize icon for the windows01 desktop session at the top center of thescreen.

HOL-PRT-1303

Page 53VMware Beta Program CONFIDENTIAL

Page 54: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Congratulations

You've just completed writing your first puppet class, congratulations!

HOL-PRT-1303

Page 54VMware Beta Program CONFIDENTIAL

Page 55: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Create a Puppet Class - avamarSection overview

In this section, we're going to create a puppet module to install the Avamar backupclient and register with an Avamar server. We could have used a single module tosupport both Windows and Linux clients, but decided it was best to keep it simple. Assuch, there are (2) modules for each respective operating system: avamar and avamar-win.

The init.pp file (for linux clients)

The first thing we need to do is make sure you're back on the controlcenter host. Ifnecessary, minimize or close your remote desktop connection to windows01.

From controlcenter, open the PuTTY window that's connected to puppet (or start a newsession if necessary).

Next you need to change directories and get setup in the proper location, so let'snavigate using the following command:

cd /etc/puppet/modules/avamar/manifests

From this location, create the init.pp file and open it for editing:

vi init.pp

For those not familiar with vi, use the "i" key to place the editor into insert mode andbegin typing. If you don't feel like typing, go to the end of this step for bypassdirections.

The first line of the file will declare the class name (in this case avamar):

class avamar {

The next section of the file will be used to describe the installation package name andthe specifics about how the package should be handled if not already installed. Add thissection after the first line:

package { 'AvamarClient-7.0.100-379.x86_64':provider => rpm,ensure => installed,source =>"/usr/local/installs/AvamarClient-linux-sles11-x86_64-7.0.100-379.rpm",

HOL-PRT-1303

Page 55VMware Beta Program CONFIDENTIAL

Page 56: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

}-> notify {'AVAMAR client installed':}

The package that puppet is addressing is named AvamarClient-7.0.100-379.x86_64 andwe're indicating that this package is managed using the Linux RPM packagemanagement facility. We're setting the "ensure" directive to installed to tell Puppet thatthe avamar software should be present - if it's missing, puppet will manage theinstallation using the rpm file that is specified in the source directive. The - notifystatement at the end of this section is called chaining and will create an event indicatingthat the Avamar package was installed in the even that it was missing.

We're going to use the next section of the file to make sure that the agent service isrunning. Continue entering the following text into the init.pp file:

service { 'avagent':ensure => running,enable => true,subscribe => Package['AvamarClient-7.0.100-379.x86_64'],require => Exec['register'],}

This section describes the agent name (avagent) and tells Puppet to makes sure thatthe agent is running and if it's not, start it up. And the subscribe directive tells Puppet towait until the activity that's subscribed to has completed (in this case, it's the softwareinstallation that you just added moments ago). But before Puppet will try to take actionhere, it needs to check in with something called register (hence the require directive).

At this point, you probably realize that register section that we're requiring is stillmissing. Add this text as your final section:

exec { 'register':command =>"/usr/local/avamar/etc/avagent.d register avamar01.rainpole.comclients",onlyif =>"test `/usr/local/avamar/etc/avagent.d status | grep -c avamar01` -ne1",provider => shell,}-> notify {'AVAMAR client registered':}}

This last section handles the logic to ensure that the client we're installing the agentonto has been registered with the Avamar backup server. In this case, we're tellingPuppet to run a "status" command and verify the agent has been registered. If noregistration is present, Puppet will ask the client run the command specified by thecommand directive and create a logging event (notify directive). Otherwise, puppet willgo back to the service section and ensure that our backup agent is running.

HOL-PRT-1303

Page 56VMware Beta Program CONFIDENTIAL

Page 57: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Go ahead and save the init.pp file by pressing the "Esc" key followed by a ":wq" (withoutthe quotes) to write the file and quit the editor.

Alternatively, you can use the following command to populate your init.pp file:

# cp init.template init.pp

Assign the module to linux01 - nodes.pp

Now that we've got a module put together that can install the Avamar agent, let's goahead and assign it to our Linux client linux01. Change directories to /etc/puppet/manifests and create a nodes.pp file:

# cd /etc/puppet/manifests# vi nodes.pp

In the vi editor, use the letter "i" to signal that you want to insert text. Next, insert thefollowing:

node 'linux01.corp.local' {include avamar}

Press the "Esc" key followed by the a ":wq" to tell vi that you want to write the file andquit the editor. The information you added tells Puppet that linux01.corp.local needs tohave the avamar class is included in the inventory.

HOL-PRT-1303

Page 57VMware Beta Program CONFIDENTIAL

Page 58: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Now let's see this thing in action.

Check to see that the Avamar package isn't installed

Toggle over to the putty window that is connected to linux01 (white backgroundwindow) or restart putty and choose linux01 and login as root/VMware1!. Issue thefollowing command to query the rpm package database for anything with avamar in thename:

# rpm -qa | grep -i avamar

After a quick search, the prompt should return without any output.

HOL-PRT-1303

Page 58VMware Beta Program CONFIDENTIAL

Page 59: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Manually run the puppet agent

From linux01, issue the following command to force the puppet agent to check back inwith the master:

# puppet agent -t

If the init.pp doesn't have any typo's, you should see the notify statements that wereadded to indicate the Avamar client was installed and subsequently registered.

HOL-PRT-1303

Page 59VMware Beta Program CONFIDENTIAL

Page 60: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Confirm the Avamar package installed and registered

Once again, query the rpm package database for anything with avamar in the name:

# rpm -qa | grep -i avamar

This time, there should be output that returns the package name"AvamarClient-7.0.100-379.x86_64" that we asked Puppet to install.

Now let's make sure the client is registered with the Avamar serveravamar01.rainpole.com:

# /usr/local/avamar/etc/avagent.d status | grep -i avamar01

Assuming that everything worked correctly, you will see output from avagent.dindicating that the client is activated with avamar01.rainpole.com.

Congratulations!

Now that you see how easy it is to install the Avamar agent using puppet, we can goback and make the module more dynamic using variables instead of hard coded values.We can also leverage NFS or HTTPS to transfer package files rather than having themstored locally in a base operating system image.

HOL-PRT-1303

Page 60VMware Beta Program CONFIDENTIAL

Page 61: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Create a Puppet Class - avamar-winSection overview

In this section, we're going to create a puppet module to install the Avamar backupclient and register with an Avamar server in a use case that's specific to Windowsclients. Again, we could have used a single module to support both Windows and Linuxclients, but decided to keep it simple for the purposes of this lab. As such, there are (2)independent modules to install the Avamar client: avamar (Linux based) and avamar-win (Windows based).

The init.pp file (for windows clients)

Switch back to the PuTTY window logged into puppet and change the current directoryusing the following command:

# cd /etc/puppet/modules/avamar-win/manifests

Just like last time, you can read through this section and use the copy command to buildthe init.pp file as an alternative to using vi.

Create the init.pp file and open it for editing:

# vi init.pp

For those not familiar with vi, use the "i" key to place the editor into insert mode andbegin typing. The first line of the file will declare the class name (in this case avamar-win):

class avamar-win {

Just like avamar module, the next section of the file will be used to describe theinstallation package name and the specifics about how the package should be handled ifnot already installed. Add this section after the first line:

package { 'EMC Avamar for Windows':ensure => installed,install_options => { 'AGREETOLICENSE' = 'yes' },source =>"c:\\installs\\AvamarClient-windows-x86_64-7.0.100-379.msi",} ->

The package that puppet is addressing is named EMC Avamar for Windows. We'resetting the "ensure" directive to installed to tell Puppet that the avamar software shouldbe present - if it's missing, puppet will manage the installation using the msi file that isspecified in the source directive. The "->" at the end of this section will ensure the first

HOL-PRT-1303

Page 61VMware Beta Program CONFIDENTIAL

Page 62: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

action (installing the package) is executed before the next action is called. This is calledchaining.

We're going to use the next section of the file to make sure that the agent service isrunning. Continue entering the following text into the init.pp file:

service { 'avbackup':ensure = 'running',} ->notify {'AVAMAR running':}->

In the above section, we refer to the Windows service called avbackup and declare thatpuppet needs to "ensure" that it's running. After that task is complete, we chain thenext event which is the AVAMAR running notification, at which point our final section canthen execute.

Add the following text to complete the init.pp file:

exec { 'register':command => 'cmd.exe /c "c:\\program files\\avs\bin\avregister.bat"avamar01.rainpole.com client',unless =>"cmd.exe /c findstr.exe -i avamar c:\\programfiles\\avs\\var\\avagent.cfg",path => $::path}-> notify {'AVAMAR client registered':}}

This final section called register is the logic behind performing the initial clientregistration with the Avamar server. The declarative nature is pretty straightforward;execute the "command" option "unless" Puppet finds that it's already registered (byexecuting a command). And then create a notification event.

Go ahead and save the init.pp file by pressing the "Esc" key followed by a ":wq" (withoutthe quotes) to write the file and quit the editor.

If you didn't use vi to create your file, copy the init.template file to init.pp:

# cp init.template init.pp

HOL-PRT-1303

Page 62VMware Beta Program CONFIDENTIAL

Page 63: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

HOL-PRT-1303

Page 63VMware Beta Program CONFIDENTIAL

Page 64: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Assign the module to windows01 - nodes.pp

Now that we've got a module put together that can install the Avamar agent forWindows, let's go ahead and assign it to our Windows client windows01. Changedirectories to /etc/puppet/manifests and edit the nodes.pp file:

# cd /etc/puppet/manifests# vi nodes.pp

In the vi editor, use a "G" (shift-g) to signal that you want to jump to the bottom of thefile. Next, enter the letter "o" to indicate that you want to insert a new line.

Begin typing the following:

node 'windows01.corp.local' {include avamar-win}

Press the "Esc" key followed by the a ":wq" to tell vi that you want to write the file andquit the editor. The information you added tells Puppet that windows01.corp.local needsto have the avamar-win class included in the inventory.

Connect to windows01

Click the remote desktop icon for windows01. If you aren't still connected to windows01,click Start -> Remote Desktop Connection and connect to windows01. Use corp\administrator and VMware1! to login.

Check for the Avamar agent

The easiest way to check for the Avamar agent is to look in the toolbar at the bottom ofthe screen. You can also navigate to add/remove programs to look for "EMC Avamar forWindows" or even use the command "sc query avbackup" from a DOS window.

HOL-PRT-1303

Page 64VMware Beta Program CONFIDENTIAL

Page 65: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Once you are convinced that the agent is not installed, proceed to the next step.

HOL-PRT-1303

Page 65VMware Beta Program CONFIDENTIAL

Page 66: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Manually run the puppet agent

Toggle over to the "Administrator: Start Command Prompt with Puppet" DOS window, orfrom the desktop, click the icon labeled "Start Command Prompt with ..." In the window,enter the following command:

run_puppet_interactive.bat

After some time (~30 seconds), you should observe white "notice" text logging that"EMC Avamar for Windows" was created. Wait until the routine completes (indicated bythe "Press any key to continue" message).

HOL-PRT-1303

Page 66VMware Beta Program CONFIDENTIAL

Page 67: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Check for the Avamar agent

You may have seen the Avamar icon in the lower right corner of the screen after theinstall completed. You can also run the same command as you did earlier "sc queryavbackup" to confirm the Avamar backup agent is now present.

The host windows01 is now able to perform both image based and in-guest basedbackups.

Minimize the remote desktop connection to windows01

Click the minimize icon for the windows01 desktop session at the top center of thescreen.

HOL-PRT-1303

Page 67VMware Beta Program CONFIDENTIAL

Page 68: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Optional Puppet Classes - avamar-vm,apache2, mssql, avamar-sql, hyperic,hyperic-winavamar-vm

The avamar-vm module was created to demonstrate that Puppet could be used tomonitor the status of a VMware image based backup and ensure that there's always abackup image that's less that 24-hours old. It uses a homegrown REST interface tocheck backup status and initiate backup as necessary. More about this functionality willbe covered in module 3 of this lab.

This module can be found in /etc/puppet/modules/avamar-vm

apache2

The apache2 module will go out and use zypper to ensure that the necessary apache2webserver packages are present on a linux host, start the web server, and transfer afew files to establish an initial home page.

The module can be found in /etc/puppet/modules/apache2

mssql

The mssql module was downloaded from the Puppet Forge and MS-SQL software stagedinto our base Windows image to demonstrate ease of database installation on thewindows platform.

The module can be found in /etc/puppet/modules/mssql

avamar-sql

The avamar-sql module was written to demonstrate how easy it can be to deploy thedifferent Avamar plug-in's to provide application consistent backups for almost any usecase.

The module can be found in /etc/puppet/modules/avamar-sql

HOL-PRT-1303

Page 68VMware Beta Program CONFIDENTIAL

Page 69: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

hyperic

The hyperic puppet module will install and configure the hyperic agent, auto discoverany supported monitoring components, and register the platform with Hyperic. Thisagent is used in another module later in this lab.

The module can be found in /etc/puppet/modules/hyperic

hyperic-win

This module is the same as the hyperic module, except that it was written to supportinstallation and configuration on Windows clients. The hyperic and hyperic-win modulescould be combined with some additional work to have a common puppet module.

The module can be found in /etc/puppet/modules/hyperic-win

HOL-PRT-1303

Page 69VMware Beta Program CONFIDENTIAL

Page 70: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Puppet and VMwareGuest Integration

HOL-PRT-1303

Page 70VMware Beta Program CONFIDENTIAL

Page 71: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Using an External Node Classifier toIntegrate Puppet and vSphereIntroduction

So far we have demonstrated the most basic way that Puppet can leverage local files asmanifests that define which classes (or applications) get installed with which hosts.There are plenty of other ways to work with flat files to make Puppet more dynamic inhow it applies classes to nodes (servers).

The next section will demonstrate how Puppet can be extensible through another optioncalled External Node Classifiers (ENC). The ENC can augment traditional node lookupsby allowing external databases, REST interfaces, or scripts as long as they returnappropriately formatted results. In the case of the lab, we will be using Hiera, anembedded ENC for Puppet v3+, to lookup the classes appropriate for each VirtualMachine. Notice we are mentioning Virtual Machines instead of servers or guestoperating systems.

This information may be held within an external database categorized by domain name,but we will for this lab be storing the information alongside the VM in vCenter!

Review hiera configuration - /etc/puppet/hiera.yaml

Hiera requires that you configure what it calls the backend lookups. In this case we areleveraging a Hiera vCenter lookup backend.

Review the configuration file at /etc/puppet/hiera.yaml as seen in the screenshot below.This is where we specify the unique key to lookup (vminstanceuuid), as well as thelocation and authentication to vCenter. This vCenter account can be Read-only. Thisinformation will be leveraged by Hiera to retrieve the Custom Values per VM.

HOL-PRT-1303

Page 71VMware Beta Program CONFIDENTIAL

Page 72: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Review hiera configuration - /etc/puppet/manifests/site.pp

In order to tell Puppet to use Hiera as a lookup, review the /etc/puppet/manifests/site.ppfile. The hiera_include statement ensures that the field "classes" are passed as a lookupfield to the Hiera vCenter backend lookup.

HOL-PRT-1303

Page 72VMware Beta Program CONFIDENTIAL

Page 73: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

VM Guest FactsVM guest facts

In this lab the ENC returns the classes to be installed from based on information storedper Virtual Machine in vCenter. However, in order to know which VM to lookup we needto know something unique about the VM. In most cases, a VM can be addresseduniquely by something unique or a combination of many things. Some these being butnot limited to: DNS FQDN, MAC Address, IP, or BIOS UUID.

This lab introduces a new VMware integration for Puppet which makes use of a specificVirtual Machine guest fact that ensures uniqueness per vCenter instance. We are goingto leverage an identifier (instanceUuid) which is what vCenter tracks VMs by internallyand ensures uniqueness for Puppet! We are also going to leverage this instanceUuid fora new Avamar-VM puppet module to manage image based backups.

Is it completely necessary to leverage the instanceUuid? No, Puppet to this point hasbasically only been concerned with FQDN. But in order to future-proof and make Puppetmore consistent the instanceUuid may be a better long term approach to classifyingnodes.

The tricky part here is that the Puppet agent needs to have a fact that reports theinstanceUuid which then gets passed to the Puppet server. So how do we let a VM GuestOperating Systems know a fact that is held at the VMware or Hypervisor level?

VM advanced settings

There are specific settings that a Virtual Machine guest can retrieve about itself from thevCenter through VM Tools. This information can be custom if the name of the AdvancedSetting begins with "guestinfo." These advanced settings are persistently held with theVM .vmx file.

In our case we are going to leverage a custom Advanced Setting called"guestinfo.vminstanceuuid" which the guest can see.

Reviewing a custom fact

Let's review how to build a custom fact. In this case, we have "pluginsync" turned onwhich means Puppet will deploy custom facts that we create automatically. Review the/etc/puppet/modules/vmguest/lib/facter/vmguest.rb file.

Here you will see the structure that Puppet expects for custom facts. The goal of thisfact is to return the instanceUuid as a fact by using the VM Tools locally to run "info-getguestinfo.vminstanceuuid" and return the output.

HOL-PRT-1303

Page 73VMware Beta Program CONFIDENTIAL

Page 74: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Notice first that we have added some complexity here based on leveraging alreadyknown facts of whether a guest is Linux or Windows (if Facter.value('operatingsystem')== 'windows') to change the command.

Run the VM tools command #1

Open an SSH console to linux01 with PuTTY if you do not already have it open.

Run the following command.

# vmtoolsd --cmd "info-get guestinfo.vminstanceuuid"

The command should return a result of "No value found". This is because the VM doesnot currently have its vminstanceuuid assigned.

Since this is a "custom" Advanced Setting per VM, we must assign it through one ofmany different possibilities. We will demonstrate using a vCenter Orchestrator workflow.

*Further integration between Puppet and VMware could ensure that a guest can retrieveit's own instanceUuid without this step.*

HOL-PRT-1303

Page 74VMware Beta Program CONFIDENTIAL

Page 75: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Open vCenter Orchestrator

Open the vCenter Orchestrator Client shortcut from the start menu. Login wiith root asthe username and VMware1! as the password.

HOL-PRT-1303

Page 75VMware Beta Program CONFIDENTIAL

Page 76: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

HOL-PRT-1303

Page 76VMware Beta Program CONFIDENTIAL

Page 77: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Navigate to a vCO workflow

When it opens select the workflow icon in the top left. Scroll through the hierarchy toVMworld 2013 -> PaaS Helper Workflows.

HOL-PRT-1303

Page 77VMware Beta Program CONFIDENTIAL

Page 78: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Submit vCO workflow

Right click the Update Adv Setting with vminstanceuuid workflow and press StartWorkflow.

Press the "not set" link and select linux01 from the hierarchy (vCenter Server -> https -> Datacenters -> Datacenter Site A -> vm -> linux01). Press Select in the bottom right.Press Submit in the bottom right.

HOL-PRT-1303

Page 78VMware Beta Program CONFIDENTIAL

Page 79: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Workflow Success

You should then see a green arrow below the workflow indicating a successful run.

Run the VM tools command #2

Go back to the linux01 putty session. Re-enter the command from prior shown below.

# vmtoolsd --cmd "info-get guestinfo.vminstanceuuid"

Notice how the instanceUuid is being reported now!

Identify custom VM facts

Since we have autodeploy turned on for Puppet, the custom facts as part of theVmGuest module are already deployed to the agent. You can now run facter manually tosee what the Puppet agent will be reporting to the Puppet Master about itself next timeit checks in.

HOL-PRT-1303

Page 79VMware Beta Program CONFIDENTIAL

Page 80: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

# facter --puppet

Notice how the vminstanceuuid is now populated at the end. We also follow thecommand up with a command including "grep" to only include the vminstanceuuid.

HOL-PRT-1303

Page 80VMware Beta Program CONFIDENTIAL

Page 81: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

vCenter Hiera Lookup for ClassesIntroduction

Here we will demonstrate how vCenter will be used as the External Node Classifier (ENC)for our Virtual Machines. This is the case only if our VMs have "vminstanceuuid"reported as a fact. Otherwise lookups happen as they did before (FQDN) by thenodes.pp and then defaulting to nodes_default.pp file.

Clear nodes.pp file

Since we are using a new lookup for existing hosts that we previously configured let'sclear out the nodes.pp file.

# rm /etc/puppet/manifests/nodes.pp

# touch /etc/puppet/manifests/nodes.pp

HOL-PRT-1303

Page 81VMware Beta Program CONFIDENTIAL

Page 82: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Run Puppet agent #1

Let's run the Puppet Agent again interactively. On this run at the end we should noticethat the "hellovmworld" class is applied. This is because we removed the classificationfor linux01 from the nodes.pp file and the "hellovmworld" class is included in thenodes_default.pp manfiest.

Switch over to the linux01 window and clear out the old HelloVMworld.txt file and rerunthe puppet agent using the following commands:

# rm /tmp/HelloVMworld.txt# puppet agent -t

HOL-PRT-1303

Page 82VMware Beta Program CONFIDENTIAL

Page 83: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Open vSphere client

Let's go ahead and open the legacy vSphere Client from the Start Menu. This client isbeing used to review the Custom Values that are used per Virtual Machine to store thePuppet class includes.

Login with the username of root and password of VMware1!

HOL-PRT-1303

Page 83VMware Beta Program CONFIDENTIAL

Page 84: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Navigate to linux01

Select linux01 so that it's highlighted.

Notice the "puppet.classes" field that is listed under Annotations. This is considered acustom value and is associated per virtual machine as a result of the Puppet integrationthat we're demonstrating.

HOL-PRT-1303

Page 84VMware Beta Program CONFIDENTIAL

Page 85: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Update custom value

Press the Edit button and double click the value area next to puppet.classes until thevalue field is editable.

Enter "avamar" in this field.

Press the OK button at the bottom.

Run Puppet agent #2

Now let's run the Puppet Agent interactively again from linux01.

# puppet agent -t

Notice how the Avamar notices appeared stating that the Client is installed andregistered. Previously in Puppet Agent #1 we saw the "hellovmworld" class applied, here

HOL-PRT-1303

Page 85VMware Beta Program CONFIDENTIAL

Page 86: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

you can see now that we are looking to the Custom Value in vCenter the Puppet agentnow applies the "avamar" class as it is set in vCenter!

HOL-PRT-1303

Page 86VMware Beta Program CONFIDENTIAL

Page 87: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

VM Image Backup Puppet ModuleIntroduction

The concept of allowing a guest to report its underlying VM instanceUuid is important forother reasons than simply looking up classes with vCenter as an ENC. It can also beleveraged in Puppet modules that are VMware oriented or work at the Hypervisor level.As a great example we are including an Avamar Puppet module that manages VM imagebackups. Previous examples of Avamar in Puppet have been targeted at an in-guestagent which is viable for both Virtual and Physically provisioned servers.

This module works by having the guest report its instanceUuid as a fact and the Puppetmodule then leverages a REST provider from the VM guest Puppet agent in order toallow the guest to request registration and image based protection. The Recovery PointObjectives (RPO) are set as part of this Policy and default to a ensuring a backup every24 hours.

Review avamar-vm facts #1

We finished the last module where you were looking at the new "vminstanceuuid" fact.The facts were seen by running the following command from linux01.

# facter --puppet

As well as this fact, notice above this fact there are also facts that are listed asvm_backup. These facts are being provided by the avamar-vm module.

Let's now look at the facts the guest knows about for the actual VM image backupswhich are generated by the previous command.

vm_backup_clientlocation - The location of the Avamar VM Client accountvm_backup_current_jobstate - The current activity for the Avamar VM Clientvm_backup_last_hoursago - Hours since last image backupvm_backup_lastcompletedjob_aftersourcededupe_kbyetessent - The actual bytesafter deduplication that were actually transmitted from the Avamar Image Proxy to theProtection Storage. This represents previously "unseen" blocks.vm_backup_lastcompletedjob_durationseconds - Seconds it took to backup the VMon the last jobvm_backup_lastjob_state - Indicates whether the last backup job was successful ornotvm_backup_recovery_point_date_range - The date range of backups that currentlyexist for this VM

As you can see there is some awesome information for the server admins that can beused to help them understand the current state of backups for a VM, which in turn

HOL-PRT-1303

Page 87VMware Beta Program CONFIDENTIAL

Page 88: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

serves as an important role for Puppet. Some of this information is also available fromthe guest by leveraging the File Level Restore (FLR) GUI as shown in a previous module.

HOL-PRT-1303

Page 88VMware Beta Program CONFIDENTIAL

Page 89: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Update linux01 VM class

In order to leverage the new module, let's update the Advanced Setting on the linux01VM to include "avamar-vm" it as we did for "avamar" previously.

Note: This field permits multiple module names separated by commas.

From the vSphere Client, navigate to linux01. Look for Annotations in the Summarypage, and press Edit. Where we previously entered "avamar" for puppet.classes, let'snow enter avamar-vm.

Another note: When leveraging the avamar class we were actually installing a guestagent into the virtual machine. The avamar-vm agent performs agent-less backups ofvirtual machines and allows for granular file level recovery or image recovery. An agentbased protection mechanism can still make sense in certain scenarios where VMwaresnapshots are not preferred. With an Avamar in-guest agent you still get the benefit ofFile Level Recovery and Source-based deduplication, but do not have VMware Imagelevel recovery flexibility.

HOL-PRT-1303

Page 89VMware Beta Program CONFIDENTIAL

Page 90: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Run Puppet agent #1

From linux01, let's run the Puppet agent interactively again to load the avamar-vmmodule. As you saw above, the facts for this module were already loaded. This run ofthe agent will actually take action with these facts to ensure the VM is registered andbacked up.

# puppet agent -t

If the new module is running then you will see notices that describe the VM asregistered and the status of backups for the VM.

HOL-PRT-1303

Page 90VMware Beta Program CONFIDENTIAL

Page 91: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Remove Linux backups

One of the conditions of the avamar-vm module is to ensure a backup has occurredwithin the last 24 hours. If there has not been a backup or a backup is not running orqueued, then one will be started. Since we previously took a backup of this VM, let'sremove it.

Open the vSphere web client. Go to EMC Backup and Recovery. Connect to avamar01 ifnot connected already. Press the Restore tab. Expand the linux01 system and check thebackups within the past 24 hours. Press the Delete button. Confirm the delete as showbelow.

HOL-PRT-1303

Page 91VMware Beta Program CONFIDENTIAL

Page 92: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Review avamar-vm facts #2

Since we removed the backups you should see that the fact for"vm_backup_last_hoursago" is now hundreds or thousands of hours. Run the followingcommand from linux01 to verify:

# facter --puppet | grep vm_backup

Run Puppet agent #2

Now lets run the Puppet agent manually again from linux01 (puppet agent -t). This willensure that the Virtual Machine has a current image based backup that's taken place inthe last 24 hours.

HOL-PRT-1303

Page 92VMware Beta Program CONFIDENTIAL

Page 93: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Review avamar-vm facts #3

Once again, run facter to show the status of backups.

# facter --puppet | grep vm_backup

Depending on how quickly you run the facter command you may notice the jobRUNNING with the vm_backup_current_jobstate field. If not, then you will see the nextrun of facter which shows IDLE for this field.

Continue to the next step once you see the job as IDLE. Review the duration andupdated RPO date ranges which reflect the date range for eligible recoveries.

HOL-PRT-1303

Page 93VMware Beta Program CONFIDENTIAL

Page 94: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Deploying PaaS withPuppet and vCO

HOL-PRT-1303

Page 94VMware Beta Program CONFIDENTIAL

Page 95: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

vCenter Orchestrator Workflows andPuppetBringing it all together

We have been showing a lot about how Puppet can be used to not only ensure theinstallation of applications but also help set VMware oriented policy for things likebackups. Everything so far has been manual to help show the fundamental workingsbelow the covers.

In this module we introduce vCenter Orchestrator to show how Rainpole can leveragepre-built workflows in vCO that can provision, customize, set Puppet classes, and thenstart the Puppet agent to bring the guest to an expected state.

Here we leverage vCO to do more of the VMware oriented (IaaS) tasks. We end theworkflows by issuing command to start the Puppet Agent which completes a (PaaS)deployment and makes the Rainpole CTO a happy executive.

HOL-PRT-1303

Page 95VMware Beta Program CONFIDENTIAL

Page 96: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Review Provisioning WorkflowIn this section, you are going to take a few minutes and walk through a vCenterOrchestrator workflow.

HOL-PRT-1303

Page 96VMware Beta Program CONFIDENTIAL

Page 97: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Open vCO and PaaS workflow

We previously opened vCO to add a vminstanceuuid to a VM. If you do not have it open,do so by going to the Start Menu and clicking vCenter Orchestrator. Login with root/VMware1!.

Press the workflows icon at the top, and then drill down from root- VMworld2013 Lab -PaaS VM Workflows.

Right click the EMC - New PaaS Linux VM workflow and click Edit.

HOL-PRT-1303

Page 97VMware Beta Program CONFIDENTIAL

Page 98: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Review provisioning workflow schema

Press the Schema button. Here we can see the workflow visually that occurs during theprovisioning process. Right click anywhere in the schema window and press Zoom Out.

HOL-PRT-1303

Page 98VMware Beta Program CONFIDENTIAL

Page 99: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Review workflow schema and start Puppet client

Out of the box, vCenter Orchestrator has workflows for provisioning in all types ofdifferent scenarios. Here we are taking a provisioning workflow and customizing it forthe following purposes. We have included a screenshot that shows the additions forreview only.

1) Update Advanced Settings to include vminstanceuuid

2) Update Custom Values (attributes, annotations) to include Puppet classes chosen

3) Start Puppet agent after Guest Customization completes (hostname, IP, etc set)

HOL-PRT-1303

Page 99VMware Beta Program CONFIDENTIAL

Page 100: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Review workflow presentation

Now you have seen the workflow, but there are questions that must be asked wheneach workflow executes! For this there is a "presentation" tab.

Press the presentation tab at the top. Continue to drill through the hierarchy as shown inthe screenshot below. Each section is briefly explained below.

VMware Information - Basic VM Information

This is where we ask basic information such as the IP and name of the VM.

VMware Information - Puppet PaaS - Installs

HOL-PRT-1303

Page 100VMware Beta Program CONFIDENTIAL

Page 101: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

This is where we add the different applications or modules that we have for puppet. Bypopulating parameters here we are effectively adding classes that are set in the VMCustom Values.

VMware Information - Puppet PaaS - Backups

Here we select guest, application, and VMware oriented backups.

HOL-PRT-1303

Page 101VMware Beta Program CONFIDENTIAL

Page 102: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Close workflow

In the bottom of the workflow press the Cancel button followed by the Close Anywaybutton that appears.

HOL-PRT-1303

Page 102VMware Beta Program CONFIDENTIAL

Page 103: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Assign Workflows to VM Context MenuIntroduction

Now we could have executed the workflow from vCO, but let's make this even coolerand run it from the new vCO plugin for vSphere Web Client!

Logout of vSphere Web Client

In order to leverage vCenter Orchestrator from the vSphere Web Client you must loginwith different credentials based on the way we have configured this lab. We could havegranted the "Domain Administrators" group access to vCO workflows, but for purposesof lab, we chose to use a different administrative user. Press the Logout button from the"[email protected]" drop down at the top right of the vSphere Web Client.

HOL-PRT-1303

Page 103VMware Beta Program CONFIDENTIAL

Page 104: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Login to vSphere Web Client

Login with the username of root and password of VMware1!

HOL-PRT-1303

Page 104VMware Beta Program CONFIDENTIAL

Page 105: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Open vCO and vCO workflows in vSphere Web Client

Press the vCenter Orchestrator button on the left side.

Next, make sure you are on the "Manage" tab. Here you see workflows that are currentlyassigned to different menu context options in the vSphere Web Client. For example,when right clicking a Datastore, there is a workflow that is for converting disks to thinprovisioned.

Click the "+" icon at the top left of the same window to add a workflow.

Manage assigned workflows

Expand the vCO Servers list vCO Servers -> https -> VMworld 2013 Lab -> PaaS VMWorkflows.

Press EMC - New PaaS Linux VM.

In the bottom right, check the box next to Virtual Machine.

HOL-PRT-1303

Page 105VMware Beta Program CONFIDENTIAL

Page 106: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Press the Add button at the top.

Repeat these steps for The Windows VM workflow.

Press OK.

HOL-PRT-1303

Page 106VMware Beta Program CONFIDENTIAL

Page 107: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

HOL-PRT-1303

Page 107VMware Beta Program CONFIDENTIAL

Page 108: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Provisioning VMs and PaaSPress the home button

Press the Home button to return to the vSphere Web Client to leverage the Workflows.

Go to template folder

From the vSphere web client, in the top right let's use the Search functionality to findthe Template folder with the appropriate VMs for provisioning. Enter templates, and waitfor the results to populate and press Templates. Select Templates.

HOL-PRT-1303

Page 108VMware Beta Program CONFIDENTIAL

Page 109: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Provision new Windows VM

Click the Virtual Machines icon in the upper left window.

Right click the win-base-gold VM.

Wait for All vCenter Orchestrator Actions to appear and click this option.

Click the EMC - New PaaS Windows VM menu choice.

HOL-PRT-1303

Page 109VMware Beta Program CONFIDENTIAL

Page 110: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Answer Windows VM questions

1. Enter the name of the virtual machine as "windows02" and press Next.

Installs Menu

1. Select the check box next to Microsoft SQL 2008 R2.

2. Select Hyperic Platform/Application Performance Monitoring.

Press Next

HOL-PRT-1303

Page 110VMware Beta Program CONFIDENTIAL

Page 111: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Backups Menu

1. Select Avamar Backups for Microsoft SQL.

2. Select Virtual Machine Image Backups.

Press Finish

HOL-PRT-1303

Page 111VMware Beta Program CONFIDENTIAL

Page 112: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Provision new Linux VM

Right click lin-base-gold and go to All vCenter Orchestrator Actions. Press the EMC - NewPaaS Linux VM button.

From there a window appears and similar questions will be asked from prior.

1. Enter the name of the virtual machine as "lin-sles-221"

2. Enter the IP as 192.168.110.221

Press Next

HOL-PRT-1303

Page 112VMware Beta Program CONFIDENTIAL

Page 113: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Installs Menu

1. Select Apache2 Web Services

2. Select Hyperic Platform/Application Performance Monitoring

Press Next

Backups Menu

1. Select Virtual Machine Image Backups

Press Finish

Watch recent tasks

Notice in the top right corner there are two tasks that are progressing which representrunning workflows.

Based on recent explanations, you saw that there were three extra pieces to thisstandard provisioning workflow So when these items complete, the VM will be ready andthe Puppet agent is then free to complete it's work.

HOL-PRT-1303

Page 113VMware Beta Program CONFIDENTIAL

Page 114: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

The expected time for the Linux VM is around 2 minutes. Once you see the workflowcomplete, you should be able to open a PuTTY session to the name as entered (lin-sles-221) or Remote Desktop to the windows system (windows02). The windows systemwill take a few more minutes since it needs to go through an Active Directory join andsysprep process. As well the SQL server installation takes a few more minutes tocomplete.

HOL-PRT-1303

Page 114VMware Beta Program CONFIDENTIAL

Page 115: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Review PaaS DeploymentWait for Linux workflow to complete

Watch the recent tasks on the right side, you should see a green check box next to theEMC - New PaaS Linux VM task once it completes successfully.

HOL-PRT-1303

Page 115VMware Beta Program CONFIDENTIAL

Page 116: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Check for Puppet agent status for Linux

Using PuTTY, SSH to the linux system you deployed (lin-sles-221) with root/VMware1!.Check that the puppet agent process is running.

# ps auxw | grep puppet

If the Puppet agent was currently applying modules you would see this as a separateprocess. If there is only only one process listed then it is idle.

Review installed classes

Each agent holds information about previous runs and installed classes locally. Since thislab is focused more on the Puppet modules themselves, we will not be diving into thedifferent ways to manage Puppet as a whole. For now lets just look at the classes thatare installed.

# cat /var/lib/puppet/state/classes.txt

Here you can see that all of our classes that we requests are installed (apache2,hyperic, avamar-vm).

Review apache2 web page

From the vSphere Web Client, go ahead and open a new tab by pressing the empty tabon the right side.

Enter http://lin-sles-221 in the top and press enter.

HOL-PRT-1303

Page 116VMware Beta Program CONFIDENTIAL

Page 117: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

You should see the default web page that we distribute with Apache2 installed!

HOL-PRT-1303

Page 117VMware Beta Program CONFIDENTIAL

Page 118: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Check VM image backup state

Along with Apache2 you should be able to see that VM Image level backups haveoccurred due to the avamar-vm module. Execute the following command.

# facter --puppet | grep vm_backup

Here you should see the backup job status and last backup. Depending on how quicklyyou were checking the status the job may still be running. In this case thevm_backup_current_jobstate should report as RUNNING and NO_BACKUPS_EXIST shouldbe listed under vm_backup_last_hoursago.

If it is already finished then you should see it similar to the screenshot below.

HOL-PRT-1303

Page 118VMware Beta Program CONFIDENTIAL

Page 119: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Checking the status of the Windows deployment

The Windows deployment will take a bit more time to complete. However, we areprobably running a bit short on time, so we are simply going to present what thedeployment should look like. Feel free to wait around for it, if the deployment is doneyou should be able to see the verify the installs in a few places.

Control Panel -> Programs and Features - Shows the status of Avamar guest agent,Avamar Windows SQL Agent, and Microsoft SQL 2008.

Control Panel -> Administrative Tools -> Services - The status of the Hyperic agent canbe seen here as Running

Start -> All Programs -> Puppet -> Start Command Prompt with Puppet ->run_puppet_interactive.bat -> facter --puppet

HOL-PRT-1303

Page 119VMware Beta Program CONFIDENTIAL

Page 120: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Monitoring PaaS and EMCAvamar with Hyperic

HOL-PRT-1303

Page 120VMware Beta Program CONFIDENTIAL

Page 121: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Configuring and Reviewing HypericMonitoringIntroduction

Up to now we have leveraged Puppet to perform the installation and configuration stepsfor our Platforms. As part of this we have included the Hyperic module which wasresponsible for loading and configuring the Hyperic agent. This means we should haverepresentation in the Hyperic console for the platforms that included hyperic or hyperic-win as classes!

This section is meant to be a brief look at Hyperic focusing on the application agentauto-discovery and Avamar information.

Login to Hyperic

Open a new tab in Internet Explorer.

Use the shortcut within the favorites bar in Internet Explorer and enter hqadmin/hqadmin for username and password.

Press the Sign in button.

HOL-PRT-1303

Page 121VMware Beta Program CONFIDENTIAL

Page 122: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Review auto-discovery list

In the top right corner you should see platforms that have been detected and theirassociated services. Press the green Add to Inventory button for each platform to startmonitoring it.

At this point the platform is now being monitored, and details about the services andgeneral operating system information is being collected.

Review Avamar resource

Press the Resources tab at the top and press the Avamar01 resource.

HOL-PRT-1303

Page 122VMware Beta Program CONFIDENTIAL

Page 123: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

EMC Avamar Backup Basic Stats

From there select the EMC Avamar Backup Basic Stats in the Platform Services Healthview.

HOL-PRT-1303

Page 123VMware Beta Program CONFIDENTIAL

Page 124: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Review indicators

Initially you will be looking at the Indicators tab which is a method that Hypericleverages to graph metrics over time. Since we are pulling real information for this lab,the graphs will not have much information.

Press the Metric Data tab to review that raw metrics values.

Review metric data

Here you can see that we are populating useful information for VMware admins aboutthe Avamar backup appliance. Certain things like backup, replication, and other keystats are populated.

Performance - Backup-Rolling24Hr-Common - Reports the commonality percentage ofthe data is being protected by Avamar.

Throughput - Backup-Rolling24Hr-Activities - How many backup activities occurred in thepast 24 hours

HOL-PRT-1303

Page 124VMware Beta Program CONFIDENTIAL

Page 125: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

Throughput - Backup-Rolling24Hr-New - New data seen in the past 24 hours

Throughput - Backup-Rolling24Hr-Scanned - Amount of provisioned space scanned in thepast 24 hours

Throughput - Backup-Rolling24Hr-SourceDedupe - Amount of space savings on backupsdue to Avamar source side deduplication

Utilization - Data-Protected - Total data protected (VMs * Backups)

HOL-PRT-1303

Page 125VMware Beta Program CONFIDENTIAL

Page 126: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

vCOps and ConclusionvCenter Operations

The stats that are collected by Hyperic can be very important to combine with VMwarestats. When looking at the broader stack, Hyperic can be targeted for the PaaS and up,while vCenter Operations can be targeted at IaaS and below.

The combination of these two leads to some really killer views of your environment.Although we do not show it in this lab, there is a natural integration between vCOps andHyperic that can be leveraged to combine the data collection capabilities with theanalytics of vCOps to provide a broader view of your Datacenter!

Summary

The Rainpole CTO is pleased with the work you've highlighted and is really excited to beable to offer Platform as a Service that includes Data Protection to his biggest customer.There's a new puppetmaster role that he's posting shortly and wants you to considerapplying for it...

In all seriousness, we hope you enjoyed the time you spent working in this lab andfound it both fun and educational. We realize that the lab wasn't 100% EMC productfocused and that was by design. As we continue to evolve into the next generation ofsoftware defined everything, you should expect to see products like ViPR that work withboth EMC and other vendor's technologies, and EMC taking a more active role in helpingour customers use Open Source tools like Puppet to make the deployment of EMCtechnologies even easier.

We welcome any and all feedback and once again encourage you to use the "raise yourhand" option in the lab if you have want to speak with us directly. Thanks again fortaking the time to complete this lab and we hope you enjoy the rest of the conference.

- the EMC Lab Team (Clint, Jeff, and Joel)

NOTE: Would you like to be entered into a raffle for a chance to win anunlocked iPhone? Following the lab please click on the Help button to get acontest card from an EMC proctor. The proctors managing the raffle will havePuppet Labs or EMC shirts on.

HOL-PRT-1303

Page 126VMware Beta Program CONFIDENTIAL

Page 127: Table of Contents - docs.hol.vmware.comdocs.hol.vmware.com/HOL-2013/hol-prt-1303_beta_pdf_en.pdf · EMC Virtual Storage Integrator (VSI) powered by ViPR Software Defined Storage What

ConclusionThank you for participating in the VMware 2013 Hands-on Labs. Be sure to visithttp://hol.vmware.com/ to continue your lab experience online.

Lab SKU: HOL-PRT-1303

Version: 20140213-184057

HOL-PRT-1303

Page 127VMware Beta Program CONFIDENTIAL