WEBVTT

1
00:00.000 --> 00:04.200
Now, in general, as we take a look at building a nested NSX lab,

2
00:04.200 --> 00:07.400
there are a lot of benefits in building a lab environment.

3
00:07.400 --> 00:11.300
Things like getting hands-on practice or the ability to revert back to a

4
00:11.300 --> 00:12.200
previous state

5
00:12.200 --> 00:15.000
so you can try something again or a slightly different way

6
00:15.000 --> 00:18.100
without having to rebuild the entire environment from scratch.

7
00:18.100 --> 00:21.400
Initially, when I went to go ahead and deploy NSX in my lab environment

8
00:21.400 --> 00:25.600
back here on my four Dell R630 rack servers behind me,

9
00:25.600 --> 00:27.400
there was a teeny little hiccup

10
00:27.400 --> 00:30.600
and the lifecycle manager completely would not cooperate
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

10
00:27.400 --> 00:30.600
and the lifecycle manager completely would not cooperate

11
00:30.600 --> 00:32.000
and I was dead in the water.

12
00:32.000 --> 00:35.400
So I learned early on that I needed a simple and easy way

13
00:35.400 --> 00:38.600
to go ahead and have a baseline for a lab environment all set up

14
00:38.600 --> 00:40.600
and then I could revert to if I needed to.

15
00:40.600 --> 00:43.800
So one of the benefits of building a nested NSX lab environment

16
00:43.800 --> 00:46.200
is that we can revert as needed,

17
00:46.200 --> 00:47.400
which is super important,

18
00:47.400 --> 00:51.000
especially if there's dozens of hours involved in getting it up to a certain

19
00:51.000 --> 00:52.000
baseline state.

20
00:52.000 --> 00:55.200
And of course, another benefit of having a lab at your fingertips

21
00:55.200 --> 00:58.000
is so you can get hands-on practice as needed.

22
00:58.000 --> 01:00.600
And although it's true, you get a lot of hands-on practice
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

22
00:58.000 --> 01:00.600
And although it's true, you get a lot of hands-on practice

23
01:00.600 --> 01:02.600
if you're building a whole lab from scratch.

24
01:02.600 --> 01:05.600
Once you've installed vCenter like five or six times,

25
01:05.600 --> 01:08.800
you've done it and you no longer need to do it over and over again.

26
01:08.800 --> 01:12.600
So you want a base infrastructure or you can start building on that

27
01:12.600 --> 01:13.600
infrastructure

28
01:13.600 --> 01:15.000
and implement the NSX.

29
01:15.000 --> 01:18.800
And also part of the revert as needed implies snapshots.

30
01:18.800 --> 01:22.400
Now, by default, the NSX manager itself, when you deploy it,

31
01:22.400 --> 01:25.200
does not allow snapshots.

32
01:25.200 --> 01:27.000
However, with a couple of little hacks,

33
01:27.000 --> 01:29.600
we can go ahead and modify that for our lab environment

34
01:29.600 --> 01:31.800
so that snapshots will be allowed.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

34
01:29.600 --> 01:31.800
so that snapshots will be allowed.

35
01:31.800 --> 01:34.610
And that's going to be a key component in being able to roll back the entire

36
01:34.610 --> 01:35.000
config

37
01:35.000 --> 01:36.200
whenever we need to.

38
01:36.200 --> 01:40.800
So some of the popular options for setting up a nested NSX lab environment

39
01:40.800 --> 01:44.000
would include running it in VMware Workstation

40
01:44.000 --> 01:46.000
or VMware Fusion on a Mac.

41
01:46.000 --> 01:49.000
But I found that the problem with that is that many times

42
01:49.000 --> 01:52.400
there's going to be resource requirements that are above and beyond

43
01:52.400 --> 01:55.200
what a single machine can provide.

44
01:55.200 --> 01:57.800
For example, if we're in VMware Workstation or VMware Fusion

45
01:57.800 --> 02:00.200
and we have 32 gigs of RAM on our system,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

45
01:57.800 --> 02:00.200
and we have 32 gigs of RAM on our system,

46
02:00.200 --> 02:03.000
there may be times and there probably are going to be times

47
02:03.000 --> 02:05.400
when we're going to need more RAM than that.

48
02:05.400 --> 02:09.200
So all of that can be an option for building a VMware nested lab environment

49
02:09.200 --> 02:10.600
on VMware Workstation.

50
02:10.600 --> 02:15.000
I would recommend the option of building it on top of an ESXi environment.

51
02:15.000 --> 02:19.000
Now, if we're using an ESXi host as the home for our nested environment,

52
02:19.000 --> 02:22.600
we still may have some limitations regarding capacity.

53
02:22.600 --> 02:25.000
So in addition to using ESXi,

54
02:25.000 --> 02:29.800
I would also recommend using vSphere in combination with vCenter,

55
02:29.800 --> 02:31.600
the vCenter server appliance.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

55
02:29.800 --> 02:31.600
the vCenter server appliance.

56
02:31.600 --> 02:35.600
And that way we can set up two or three ESXi hosts

57
02:35.600 --> 02:39.000
and then run features like DRS, distributed resource scheduler

58
02:39.000 --> 02:41.000
and use options like VMotion,

59
02:41.000 --> 02:43.200
presuming we have shared storage that we're using.

60
02:43.200 --> 02:48.000
And that way we can leverage the resources of two or three physical hosts

61
02:48.000 --> 02:50.000
to support our nested environment.

62
02:50.000 --> 02:54.400
So for the implementation of a nested lab that's based on vSphere

63
02:54.400 --> 02:55.800
with a vCenter server,

64
02:55.800 --> 02:59.310
that's going to presume that you have some basic knowledge of working with v

65
02:59.310 --> 03:00.000
Center
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

66
03:00.000 --> 03:04.400
and the vSphere client and are aware of features like vMotion and DRS

67
03:04.400 --> 03:06.800
that we can leverage in a vSphere environment.

68
03:06.800 --> 03:10.600
So also, let's talk about the physical host for ESXi.

69
03:10.600 --> 03:14.850
What I have in my lab environment, I've got some R630s that I have had for a

70
03:14.850 --> 03:15.800
long time.

71
03:15.800 --> 03:19.400
And so the actual CPUs in those rack mounted servers,

72
03:19.400 --> 03:22.760
even though they're not officially supported by VMware for a production

73
03:22.760 --> 03:23.400
environment,

74
03:23.400 --> 03:26.000
they run vSphere version eight like a champ.

75
03:26.000 --> 03:29.000
And the only negative I've experienced is the fact that when I do the initial

76
03:29.000 --> 03:29.800
install

77
03:29.800 --> 03:33.000
of the ESXi host software on one of these servers,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

77
03:29.800 --> 03:33.000
of the ESXi host software on one of these servers,

78
03:33.000 --> 03:36.200
is that it gives me a little warning saying the CPU is not fully supported,

79
03:36.200 --> 03:39.400
which I accept and continue on and away I go.

80
03:39.400 --> 03:43.400
And a lot of these rack mounted servers can be acquired for like under $500.

81
03:43.400 --> 03:47.200
And the biggest distraction with these rack servers is oftentimes the noise

82
03:47.200 --> 03:49.600
and most of that noise comes from the fans.

83
03:49.600 --> 03:54.690
So using the iDRAC feature on these Dell R630s and also other Dell rack mounted

84
03:54.690 --> 03:55.200
servers,

85
03:55.200 --> 03:57.600
we can use iDRAC and actually control the fan.

86
03:57.600 --> 04:01.000
So what I do is I load my rack servers up, get them pretty busy,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

86
03:57.600 --> 04:01.000
So what I do is I load my rack servers up, get them pretty busy,

87
04:01.000 --> 04:03.000
then I take a look at the temperatures,

88
04:03.000 --> 04:06.000
courtesy of iDRAC that can tell me exactly the temperatures involved,

89
04:06.000 --> 04:09.800
and then I just the fans low enough so it's not too noisy and at the same time,

90
04:09.800 --> 04:13.400
I'm not destroying the hardware based on temperatures getting too hot.

91
04:13.400 --> 04:17.600
So for a lab environment being able to acquire a blade server with quite a bit

92
04:17.600 --> 04:18.400
of RAM

93
04:18.400 --> 04:22.800
at a fairly low price is a great option for a nested lab environment.

94
04:22.800 --> 04:25.400
Now another element going into this I'd like to make you aware of is some

95
04:25.400 --> 04:26.400
important prep work

96
04:26.400 --> 04:28.000
and resources that we'd want to have available.

97
04:28.000 --> 04:32.380
So we'd want to have some hardware resources where we could actually build the
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

97
04:28.000 --> 04:32.380
So we'd want to have some hardware resources where we could actually build the

98
04:32.380 --> 04:33.800
nested NSX lab.

99
04:33.800 --> 04:38.000
And we'd also want to have some system where we can set up a records in DNS.

100
04:38.000 --> 04:42.000
So in my lab environment, I'm using a Windows server, but you could use Linux

101
04:42.000 --> 04:43.400
or something else as well.

102
04:43.400 --> 04:47.220
But having DNS at your fingertips for your lab environment is an important

103
04:47.220 --> 04:47.600
aspect.

104
04:47.600 --> 04:51.800
We're also going to want to have time synchronization available using NTP.

105
04:51.800 --> 04:54.800
So you could also take care of that in-house inside your lab environment

106
04:54.800 --> 04:58.910
or you could reach out to an internet resource to one of the public NTP pools

107
04:58.910 --> 04:59.800
to synchronize time.

108
04:59.800 --> 05:03.640
But either way DNS services and time synchronization are going to be important
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

108
04:59.800 --> 05:03.640
But either way DNS services and time synchronization are going to be important

109
05:03.640 --> 05:05.800
for success in your lab environment.

110
05:05.800 --> 05:08.400
Another important consideration is licensing.

111
05:08.400 --> 05:10.000
So what are we going to need licensing for?

112
05:10.000 --> 05:14.210
We're going to need licensing for ESXi hosts, for vCenter, for the NSX

113
05:14.210 --> 05:14.800
components,

114
05:14.800 --> 05:17.100
including NSX Manager and more.

115
05:17.100 --> 05:20.690
And the best way, if you're building a home lab environment to get the

116
05:20.690 --> 05:21.800
licensing that's needed

117
05:21.800 --> 05:25.000
for that is a VMUG Advantage membership.

118
05:25.000 --> 05:26.600
That's the VM user group.

119
05:26.600 --> 05:28.000
That's the VMUG acronym.

120
05:28.000 --> 05:32.120
So once you sign up for the VMUG Advantage membership, again, that's about $200
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

120
05:28.000 --> 05:32.120
So once you sign up for the VMUG Advantage membership, again, that's about $200

121
05:32.120 --> 05:32.600
US a year,

122
05:32.600 --> 05:36.060
then they've got some steps you can follow where you can actually get the EVAL

123
05:36.060 --> 05:36.800
licenses.

124
05:36.800 --> 05:40.050
And again, those licenses are good for a year, which is more than enough time

125
05:40.050 --> 05:41.000
for a lab environment.

126
05:41.000 --> 05:44.960
The only negative there with the VMUG Advantage licensing is that the actual

127
05:44.960 --> 05:46.600
software you have for NSX,

128
05:46.600 --> 05:50.000
it's a non-export license, meaning that at the end of the day,

129
05:50.000 --> 05:55.000
it's not going to support features like VPNs, Layer 2 VPNs or IPsec VPNs.

130
05:55.000 --> 05:58.200
But most of the other features, including global manager functionality,

131
05:58.200 --> 06:02.600
is going to be available as part of the licensing and software you get as part
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

131
05:58.200 --> 06:02.600
is going to be available as part of the licensing and software you get as part

132
06:02.600 --> 06:04.400
of the VMUG Advantage program.

133
06:04.400 --> 06:08.140
Now, another important aspect regarding prep work is we need to have Internet

134
06:08.140 --> 06:08.800
access,

135
06:08.800 --> 06:11.800
which also implies network address translation.

136
06:11.800 --> 06:15.330
So what I've got here in my office, I've got a management network that goes to

137
06:15.330 --> 06:17.200
a default gateway at .1,

138
06:17.200 --> 06:20.940
which does network address translation and then provides access out to the

139
06:20.940 --> 06:21.600
Internet.

140
06:21.600 --> 06:25.200
And then there's one last piece I want to chat about as far as prep work goes,

141
06:25.200 --> 06:29.200
and that is we are going to need a top of rack switch.

142
06:29.200 --> 06:33.280
And the primary function for that top of rack switch is going to be the feature
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

142
06:29.200 --> 06:33.280
And the primary function for that top of rack switch is going to be the feature

143
06:33.280 --> 06:34.600
of doing trunking.

144
06:34.600 --> 06:37.400
So if you have a top of rack switch that supports Layer 2 trunking

145
06:37.400 --> 06:41.400
and can also support logical Layer 3 routing, that'd be fantastic.

146
06:41.400 --> 06:45.400
So in my lab environment, I'm using an $80 switch.

147
06:45.400 --> 06:47.800
You might say, "Well, Keith, what can we really get for $80?"

148
06:47.800 --> 06:49.200
Well, check this out.

149
06:49.200 --> 06:53.890
If you get a Cisco 3750, now these were manufactured, I don't know, over a

150
06:53.890 --> 06:54.600
decade ago,

151
06:54.600 --> 07:00.050
and they're now end of life, over like $80, you can get a 3750, which is a
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

151
06:54.600 --> 07:00.050
and they're now end of life, over like $80, you can get a 3750, which is a

152
07:00.050 --> 07:01.200
multi-layer switch,

153
07:01.200 --> 07:03.400
which can do routing and switching.

154
07:03.400 --> 07:07.510
And it's my primary tool that I use in my rack environment, and that was a

155
07:07.510 --> 07:08.600
whopping $80.

156
07:08.600 --> 07:12.200
And again, that's a Cisco Catalyst 3750 switch.

157
07:12.200 --> 07:16.800
And that is a 48 port switch, and those are gigabit ports.

158
07:16.800 --> 07:21.560
And there's also a module in the one I happen to get, which has two 10 gig

159
07:21.560 --> 07:22.600
ports as well.

160
07:22.600 --> 07:26.600
And the other thing I have in my lab environment is I have some shared storage.

161
07:26.600 --> 07:29.400
So if you want to use V-SAN, you can.

162
07:29.400 --> 07:33.530
I would recommend if you can do something else other than V-SAN for your lab
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

162
07:29.400 --> 07:33.530
I would recommend if you can do something else other than V-SAN for your lab

163
07:33.530 --> 07:35.000
environment, that's better.

164
07:35.000 --> 07:36.000
I'll tell you why.

165
07:36.000 --> 07:39.200
Once V-SAN is in place, you have three or four hosts supporting the V-SAN.

166
07:39.200 --> 07:43.600
It's not really simple to remove or change your network topology too much

167
07:43.600 --> 07:48.000
and move ESXi hosts in and out because they're relying on the hosts providing

168
07:48.000 --> 07:49.600
that V-SAN functionality.

169
07:49.600 --> 07:54.400
So what I did, I just got a Synology external network attached storage device,

170
07:54.400 --> 07:58.400
which I'm using my shared storage for my ESXi host in my cluster.

171
07:58.400 --> 08:01.000
So I wanted to mention a few of these elements right here up front.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

171
07:58.400 --> 08:01.000
So I wanted to mention a few of these elements right here up front.

172
08:01.000 --> 08:05.600
And as we go through this together, I'm going to show you each and every part

173
08:05.600 --> 08:07.200
of exactly what I'm using

174
08:07.200 --> 08:09.800
to make this NSX lab environment work.

175
08:09.800 --> 08:13.970
In fact, let's go ahead in the next video and take a closer look at my top-of-

176
08:13.970 --> 08:15.200
rack switch environment

177
08:15.200 --> 08:19.400
and how I have it configured as part of my infrastructure for my nested lab.

178
08:19.400 --> 08:21.600
So I'll see you for that in the very next video.
