Veeam Tricksvolume1-Sample
Veeam Tricksvolume1-Sample
Volume 1
By Veeam Vanguards:
Dave Kawula Cristal Kawula Ian Sanderson
Karl Widmer Rhys Hammond Markus Kraus
Mike Conjoice Craig Dalrymple Didier Van Hoye
Eugene Kashperovetskyi
MVPDays Publishing
http://www.mvpdays.com
All rights reserved. No part of this book may be reproduced or transmitted in any form or by any
means without the prior written permission of the publisher.
ISBN: TBD
Feedback Information
We’d like to hear from you! If you have any comments about how we could improve the quality
of this book, please don’t hesitate to contact us by visiting www.checkyourlogs.net or sending an
email to [email protected].
iii
Foreword by: Rick Vanover
The Product Strategy Technology team at Veeam casually refers to the Vanguards as the Vannies,
and the Vannies are one of the most visible aspects of our team.
The idea of this book is great — a collection of tips from the best. This is just another resource
for the community to benefit from. The topics covered will outline how to use Veeam products,
as well as practical ways to go about using features and seeking performance gains along the
way.
Veeam products are inherently easy to use and required to be that way right from our co-
founder. However, there is a need for advanced use cases. In fact, this is an interesting
characteristic for one backup product (especially for virtual machines) that can work with the
smallest and largest enterprises. It is one of those scenarios where the smallest organizations can
indeed just “throw it in” and have a good experience, but the largest deployments do not enjoy
the same flexibility due to requirements, size of data, and the amount of time involved to move
data.
This book will guide readers through use cases, providing perspective from experts who have
gone through many situations with Veeam products. One other interesting aspect about the
Vannies is that many of them are some form of Veeam partner. Veeam has partnerships in its
DNA. Whether it is a reseller partner, a technology alliance partner, a service provider partner,
an integration partner, a service partner or a distribution partner (and there are more!) — the
Vannies bring perspectives bigger than just their own.
As you read this book, engage with the authors. They are active on social media. They are very
approachable, and they will respond to you. This is one of the key aspects of the Vannies; they
are stewards of what the Product Strategy Technology team drives in the community — and one
of the reasons this group continues to keep Vanguard status.
iii
Foreword by: Rick Vanover
Each Vannie comes in their own way. I know Dave Kawula well, but differently than the others
who contribute to the content. I also challenge that you too can nominate to be a Veeam
Vanguard. Look for the nominations to be open on the Veeam blog and on social media.
I will leave you where I started, honored to write this forward. Engage with the Vanguards, share
your feedback (critical for subsequent volumes!), and go forth with better usage of Veeam
products in your environment.
Respectfully,
Rick W. Vanover
iv
Acknowledgments
Acknowledgments
From Dave
Cristal, you are my rock and my source of inspiration. For the past 20 + years you have been
there with me every step of the way. Not only are you the “BEST Wife” in the world you are my
partner in crime. Christian, Trinity, Keira, Serena, Mickaila, Mackenzie, and Rycker you kids are so
patient with your dear old dad when he locks himself away in the office for yet another book.
Taking the time to watch you grow in life, sports, and become little leaders of this new world is
incredible to watch.
Thank you, Mom and Dad,, (Frank and Audry) and my brother Joe. You got me started in this
crazy IT world when I was so young. Brother, you mentored me along the way both coaching me
in hockey and helping me learn what you knew about PCs and Servers. I’ll never forget us as
teenage kids working the IT Support contract for the local municipal government. Remember
dad had to drive us to site because you weren’t old enough to drive ourselves yet. A great
career starts with the support of your family, and I’m so lucky because I have all the support one
could ever want.
Last but not least, the MVPDays volunteers, you have donated your time and expertise and
helped us run the event in over 20 cities across North America. Our latest journey has us
expanding the conference worldwide as a virtual conference. For those of you that will read this
book, your potential is limitless just expand your horizons, and you never know where life will
take you.
v
About the Authors
Dave is well-known in the community as an evangelist for Microsoft, 1E, and Veeam
technologies. Locating Dave is easy as he speaks at several conferences and sessions each year,
including TechEd, Ignite, MVP Days Community Roadshow, and VeeamOn.
Recently Dave has been honored to take on the role of Conference Co-Chair of TechMentor with
fellow MVP Sami Laiho. The lineup of speakers and attendees that have been to this conference
over the past 20 years is fantastic. Come down to Redmond or Orlando in 2018, and you can
meet him in person. Checkout his speaking site at www.davekawula.com
He recently tied for 1st place out of 1800 speakers at the Microsoft Ignite Conference in Orlando.
As the founder and Managing Principal Consultant at TriCon Elite Consulting, Dave is a leading
technology expert for both local customers and large international enterprises, providing optimal
guidance and methodologies to achieve and
maintain an efficient infrastructure.
BLOG: www.checkyourlogs.net
Twitter: @DaveKawula
vi
About the Authors
Cristal can be found speaking at Microsoft Ignite, MVPDays, and other local user groups. She is
extremely active in the community and has recently helped publish a book for other Women
MVP’s called Voices from the Data Platform.
This year at Microsoft Ignite she lead community meetups for various topics such as: Women in
IT, Parenting in IT, Diversity in Tech, and becoming a Community Rockstar.
BLOG: http://www.checkyourlogs.net
Twitter: @supercristal1
vii
About the Authors
Ian is a Veeam Vanguard, vExpert and a member of NetApp United as well as being one of the
Veeam User Group UK leaders and can be found presenting at events round the UK.
Twitter: @ian0x0r
Blog: https://www.snurf.co.uk
viii
About the Authors
After a year in the military (Swiss national service with the achievement of the officer rank) he
went back to the IT, to be more precisely to a software vendor and was responsible for the
internal IT systems and support for several years.
However, Karl wasn’t a software-type of guy. He liked, and still likes, to get the hands-on the
hardware. So he switched the job again after several years, back to the hardware sector, again at
an IT support company. He worked the ladder up from an IT supporter to the Engineering and
was responsible for the biggest customers of that company. All kinds of support, up to cloud
offerings and virtual infrastructure went over his desk.
After many years of customer support and consulting he decided to switch the job again, but this
time he went to the customer side. At a global acting company, Karl is now responsible in the
virtualization team for all things about the cloud, from private to public cloud, and also for
everything that he calls «basic infrastructure» like on-premises HCI systems and ESXi hosts.
Karl is also very active in the vCommunity as a VMUG leader, he writes blog posts with a focus on
products from Veeam and VMware, and also for solutions if there is an issue to solve. He has
been awarded twice Veeam Vanguard and also VMware vExpert, and he holds several
certifications in IT.
BLOG: www.driftar.ch
Twitter: @widmerkarl
ix
About the Authors
BLOG: https://rhyshammond.com
Twitter: @HammondRhys
x
About the Authors
Twitter: @vMarkus_K
xi
About the Authors
Mike now works as a Solution Architect at Bupa Dental Care, one of the UKs largest dental
chains, helping lead the strategy and architecture design for the business through a vast change
of Digital Transformation.
Along with his technical work, Mike has a love of teaching and sharing knowledge, speaking at
many events across the globe, including VeeamON and Gartner in not only technical sessions,
but business and strategy forums.
Blog: www.mikeconjoice.com
Twitter: @mikeconjoice
xii
About the Authors
Craig has been involved with implementing and providing support for systems ranging from the
early days of x386 to present day, with a background predominantly in field engineering.
Nowadays dealing primarily with virtualization technologies.
Craig is also one of the founding leaders of the Veeam User Group UK and can be found
presenting at these events from time to time.
Away from technology Craig helps run the vGamers discord channel and on the odd occasion can
be found playing a game of rugby now and then.
Blog: www.cragdoo.co.uk
Twitter: @cragdoo
xiii
About the Authors
Blog: https://blog.workinghardinit.work
Twitter: @workinghardinit
LinkedIn: https://be.linkedin.com/in/didiervanhoye
xiv
About the Authors
xv
About the Authors
Technical Editors
Emile Cabot - MVP
Emile started in the industry during the mid-90s working at an ISP and designing celebrity web
sites. He has a strong operational background specializing in Systems Management and
collaboration solutions and has spent many years performing infrastructure analyses and
solution implementations for organizations ranging from 20 to over 200,000 employees.
Coupling his wealth of experience with a small partner network, Emile works very closely with
TriCon Elite, 1E, and Veeam to deliver low-cost solutions with minimal infrastructure
requirements.
He actively volunteers as a member of the Canadian Ski Patrol, providing over 250 hours each
year for first aid services and public education at Castle Mountain Resort and in the community.
BLOG: http://www.checkyourlogs.net
Twitter: @ecabot
xvi
About the Authors
Cary Sun is CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) and MCSE, MCIPT, Citrix
CCA with over twenty years in the planning, design, and implementation of network technologies
and Management and system integration. Background includes hands-on experience with multi-
platform, all LAN/WAN topologies, network administration, E-mail and Internet systems, security
products, PCs and Servers environment. Expertise is analyzing user’s needs and coordinating
system designs from concept through implementation. Exceptional analysis, organization,
communication, and interpersonal skills. Demonstrated ability to work independently or as an
integral part of a team to achieve objectives and goals. Specialties: CCIE /CCNA / MCSE / MCITP /
MCTS / MCSA / Solution Expert / CCA
Cary’s is a very active blogger at checkyourlogs.net and always available online for questions
from the community. He passion for technology is contagious, and he makes everyone around
him better at what they do.
Blog:http://www.checkyourlogs.net
Twitter:@SifuSun
xvii
Contents
Contents
Acknowledgments ......................................................................................................... v
From Dave .............................................................................................................. v
Contents.....................................................................................................................xviii
Introduction ................................................................................................................. 24
Chapter 1...................................................................................................................... 27
Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication .............................................................................................................. 27
Upgrading to Windows Server 2019 ..................................................................... 28
Install and Configure Windows Deduplication ....................................................... 38
Tweak Windows Deduplication ............................................................................. 44
Chapter 2...................................................................................................................... 50
Chapter 3...................................................................................................................... 63
Chapter 4...................................................................................................................... 69
Chapter 5...................................................................................................................... 74
Chapter 6...................................................................................................................... 81
Chapter 7...................................................................................................................... 98
xx
Contents
Veeam Backup and Replication Preferred Subnet and SMB Multichannel ........... 125
Introduction ........................................................................................................ 125
Veeam Backup and Replication Preferred Subnet & SMB Multichannel ............. 126
So how do we control the NICs used with SMB Multichannel? ........................... 134
Some additional things to note ........................................................................... 134
Conclusion ......................................................................................................... 137
Configure 2 Factor Authentication (2FA) for Veeam with DUO .............................. 227
Important Notes.................................................................................................. 229
Creating a DUO Account .................................................................................... 229
Configuring DUO ................................................................................................ 236
Installing the DUO Client .................................................................................... 238
Adding DUO Users ............................................................................................. 242
Join us at MVPDays and meet great MVP’s like this in person .............................. 274
Live Presentations .................................................................................................. 274
Video Training......................................................................................................... 274
Live Instructor-led Classes ...................................................................................... 275
Consulting Services ................................................................................................ 275
xxiii
Introduction North American MVPDays Community Roadshow
Introduction
MVPDays was founded by Cristal and Dave Kawula back in 2013. It started as a simple idea;
“There’s got to be a good way for Microsoft MVPs to reach the IT community and share their
vast knowledge and experience in a fun and engaging way” I mean, what is the point in
recognizing these bright and inspiring individuals, and not leveraging them to inspire the
community that they are a part of.
Anyone that has an interest in technology is eager to learn and wants to meet other like-minded
individuals. This Roadshow is not just for Microsoft MVP’s it is for anyone in the IT Community.
Make sure you check out the MVPDays website at www.mvpdays.com. You never know maybe
the roadshow will be coming to a city near you.
The goal of this particular book is to give you some fantastic Veeam tips from the amazing
Veeam Vanguard Community. Each chapter is broken down into a unique tip, and we hope you
find some immense value in what we have written.
24
Introduction North American MVPDays Community Roadshow
Sample Files
All sample files for this book can be downloaded from www.checkyourlogs.net and
www.github.com/mvpdays
Additional Resources
In addition to all the tips and tricks provided in this book, you can find extra resources like
articles and video recordings on our blog http://www.checkyourlogs.net
25
Introduction North American MVPDays Community Roadshow
26
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
Chapter 1
I was working with a customer today, and we are finally ready to upgrade our primary Veeam
Backup Repository that is running Microsoft Storage Spaces on Windows Server 2016. The new
Operating System will be Windows Server 2019 LTSC, and the whole point of this upgrade is to
allow us to use ReFS + Deduplication.
The Deduplication feature is now supported in the LTSC builds of Windows Server and the
purpose of this post today is to show you how to upgrade the OS Drives, Install the Deduplication
Feature, Enable it and test.
27
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
2. Mount the ISO in the Target system that you want to be upgraded.
28
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
3. Before we pull the trigger on the upgrade, have a look at your Storage Pool’s Virtual Disk
for a before picture.
As you can see we have 6.66 TB of 29.9 TB free. We have this Storage Pool setup in a 3-
Way Mirror for maximum performance for the Veeam Backup Repository.
29
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
5. Choose Download updates, Drivers, and optional features (Recommended) and select I
want to help make the installation of Windows Better checkbox
30
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
31
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
32
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
33
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
9. Select keep personal files and apps (These means do you want to upgrade)
10. Because we are running a Storage Spaces Pool and have a Virtual Disk Choose Confirm
on Setup has detected that one or more virtual drives are directly attached to physical
34
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
devices. You might need to reconnect the virtual drives after the upgrade is complete.
35
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
12. Grab a cup of coffee and wait for the upgrade to complete.
36
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
13. 30 minutes later and we are back in business. The good news is our Storage Pool and
Volumes all came back online without having to do anything.
37
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
38
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
39
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
40
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
41
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
42
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
You can continue to view the progress until all of the Deduplication jobs are finished.
So, I would suggest it’s coffee time again while you wait.
43
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
2. View the final results. As a side note, I’m impatient when trying something out, so I
wanted to push the system on the first pass to speed it up. The initial 54 GB of RAM
wasn’t enough, so I did this. I grabbed a piece of code from my friend Mikael Nystrom
https://deploymentbunny.com/2017/04/28/powershell-is-king-a-data-deduplication-
script-that-run-the-optimizationgarbage-collection-and-scrubbing-in-a-single-sweep-
including-progress/
Function Wait-VIADedupJob
Get-DedupJob
Start-Sleep -Seconds 30
}
44
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
foreach($item in Get-DedupVolume){
Wait-VIADedupJob
Wait-VIADedupJob
Wait-VIADedupJob
Wait-VIADedupJob
Get-DedupStatus
45
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
46
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
4. Here is the memory usage for the Microsoft File Server Data Management Process now.
5. If you are curious about what is happening and which file the Deduplication engine is
working on your can open Resource Monitor and look for the process that is running
fsdmhost.exe. You will see the file that is being read and then you will see it being
broken up into the Chuck Store. In this case, we can see the files floating into the
D:\System Volume Information\Dedup\ChunkStore With an extension of ccc.new.
Until I checked this, I thought that the jobs were stalled. I was wrong the Deduplication
Engine was working through some very large Veeam Backup.VBK files.
47
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
NOTE: My estimates on how long the initial pass will take are as follows. I have seen the Disk
MB/Sec running consistently at around 300 MB/sec. Your calculation will look something like
this 300MB/sec * 60 Seconds * 60 Minutes = MB Per Hours Processing = Roughly 1 TB per Hour.
If there are 24 TB’s of data which in our case there is. It will take approximately 24 Hours for the
initial pass to complete.
6. You can see the time the job started and stopped by checking in the Deduplication Event
Log. Look for Event ID 6148 you will see the message: Optimization job has started.
48
Chapter 1 Upgrading a Veeam Backup Repository from Server 2016 to Server 2019 + ReFS
DeDuplication
7. We can check for the completion event ID when we come back to this later for the
complete duration of the post-processing. Moreover, after one day which was pretty
much my estimate the initial pass completed. I’ve now gained back about 14 TB of space
post-Windows 2019 Deduplication.
I hope you enjoyed reading this and happy upgrading to Windows Server 2019 with
Deduplication on ReFS.
Dave
49
Chapter 2 Veeam RESTful API and Postman
Chapter 2
Recently I’ve been trying to get to grips with RESTful API on a couple of solutions I use at work,
and as a relative newcomer to the whole world of RESTful APIs, I was looking for a simple/easy
way to query systems and view the responses. One of my colleagues, Matt Thompson, pointed
me in the direction of Postman www.getpostman.com.
Postman
Postman is a popular REST client, with an intuitive user interface that allows users to send
requests, save responses, add tests and create workflows
50